mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-20 23:16:27 -05:00
hashset.hpp
This commit is contained in:
parent
128aac3163
commit
8ede80285b
1 changed files with 3 additions and 2 deletions
|
|
@ -72,11 +72,12 @@ public:
|
|||
put(const char *str_,
|
||||
const uint64_t len_)
|
||||
{
|
||||
uint64_t hashval;
|
||||
size_t size;
|
||||
str_set_itr itr;
|
||||
|
||||
size = str_set_size(&_str_set);
|
||||
itr = str_set_get_or_insert(&_str_set,str_);
|
||||
size = u64_set_size(&_u64_set);
|
||||
itr = str_set_get_or_insert(&_u64_set,hashval);
|
||||
|
||||
return (size == size);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue