|
actf 0.0.1
An acute CTF reader
|
Range set related methods. More...
#include <stdbool.h>#include <stdint.h>Go to the source code of this file.
Typedefs | |
| typedef struct actf_rng_set | actf_rng_set |
| A range set. | |
Functions | |
| bool | actf_rng_set_intersect_rng_set (const actf_rng_set *restrict rs_a, const actf_rng_set *restrict rs_b) |
| Check whether two range sets intersect. | |
| bool | actf_rng_set_intersect_sint (const actf_rng_set *rs, int64_t pt) |
| Check if a range set intersects with a point. | |
| bool | actf_rng_set_intersect_uint (const actf_rng_set *rs, uint64_t pt) |
| Check if a range set intersects with a point. | |
Range set related methods.
| bool actf_rng_set_intersect_rng_set | ( | const actf_rng_set *restrict | rs_a, |
| const actf_rng_set *restrict | rs_b ) |
Check whether two range sets intersect.
| rs_a | range set a |
| rs_b | range set b |
| bool actf_rng_set_intersect_sint | ( | const actf_rng_set * | rs, |
| int64_t | pt ) |
Check if a range set intersects with a point.
| rs | the range set |
| pt | the point |
| bool actf_rng_set_intersect_uint | ( | const actf_rng_set * | rs, |
| uint64_t | pt ) |
Check if a range set intersects with a point.
| rs | the range set |
| pt | the point |