diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2024-04-17 20:56:39 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2024-04-17 20:56:39 (GMT) |
commit | e97dda4a993713aea7452a604086c9e4f0ebdd7e (patch) | |
tree | af675891f6dc93a38c4ccb00801d13e490eddd6a /src/common/bits.h | |
parent | 6b06aa505ee0b183894d0c785f4f4a81839cb906 (diff) |
Diffstat (limited to 'src/common/bits.h')
-rw-r--r-- | src/common/bits.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/bits.h b/src/common/bits.h index cd71681..608db39 100644 --- a/src/common/bits.h +++ b/src/common/bits.h @@ -96,6 +96,9 @@ bool test_zeros_within_bit_field(const bitfield_t *, size_t, const bitfield_t *) /* Teste l'état à 1 de bits selon un masque de bits. */ bool test_ones_within_bit_field(const bitfield_t *, size_t, const bitfield_t *); +/* Recherche un prochain bit défini dans un champ de bits. */ +size_t find_next_set_in_bit_field(const bitfield_t *, const size_t *); + /* Recherche l'indice idéal pour placer un champ dans un autre. */ size_t find_interleaving_index_for_acism(const bitfield_t *, const bitfield_t *, size_t *); |