Skip to content

Commit 951d682

Browse files
authored
Fixed comment typos. (#49)
1 parent b018c94 commit 951d682

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

include/xorfilter.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ static inline uint32_t xor_flushone_decrement_buffer(xor_setbuffer_t *buffer,
421421

422422
// Construct the filter, returns true on success, false on failure.
423423
// The algorithm fails when there is insufficient memory.
424-
// The caller is responsable for calling binary_fuse8_allocate(size,filter)
424+
// The caller is responsable for calling xor8_allocate(size,filter)
425425
// before. For best performance, the caller should ensure that there are not too
426426
// many duplicated keys.
427427
static inline bool xor8_buffered_populate(const uint64_t *keys, uint32_t size, xor8_t *filter) {
@@ -632,7 +632,7 @@ static inline bool xor8_buffered_populate(const uint64_t *keys, uint32_t size, x
632632

633633
// Construct the filter, returns true on success, false on failure.
634634
// The algorithm fails when there is insufficient memory.
635-
// The caller is responsable for calling binary_fuse8_allocate(size,filter)
635+
// The caller is responsable for calling xor8_allocate(size,filter)
636636
// before. For best performance, the caller should ensure that there are not too
637637
// many duplicated keys.
638638
static inline bool xor8_populate(const uint64_t *keys, uint32_t size, xor8_t *filter) {
@@ -839,7 +839,7 @@ static inline bool xor8_populate(const uint64_t *keys, uint32_t size, xor8_t *fi
839839

840840
// Construct the filter, returns true on success, false on failure.
841841
// The algorithm fails when there is insufficient memory.
842-
// The caller is responsable for calling binary_fuse8_allocate(size,filter)
842+
// The caller is responsable for calling xor16_allocate(size,filter)
843843
// before. For best performance, the caller should ensure that there are not too
844844
// many duplicated keys.
845845
static inline bool xor16_buffered_populate(const uint64_t *keys, uint32_t size, xor16_t *filter) {
@@ -1053,7 +1053,7 @@ static inline bool xor16_buffered_populate(const uint64_t *keys, uint32_t size,
10531053

10541054
// Construct the filter, returns true on success, false on failure.
10551055
// The algorithm fails when there is insufficient memory.
1056-
// The caller is responsable for calling binary_fuse8_allocate(size,filter)
1056+
// The caller is responsable for calling xor16_allocate(size,filter)
10571057
// before. For best performance, the caller should ensure that there are not too
10581058
// many duplicated keys.
10591059
static inline bool xor16_populate(const uint64_t *keys, uint32_t size, xor16_t *filter) {

0 commit comments

Comments
 (0)