Current section
Files
Jump to
Current section
Files
src/cuckoo_filter.hrl
-record(cuckoo_filter, {
buckets :: atomics:atomics_ref(),
lock :: spinlock:spinlock(),
num_buckets :: pos_integer(),
max_hash :: pos_integer(),
bucket_size :: pos_integer(),
fingerprint_size :: 4 | 8 | 16 | 32 | 64,
max_evictions :: non_neg_integer(),
hash_function :: fun((any()) -> non_neg_integer())
}).