/dports/security/suricata/suricata-6.0.4/src/ |
H A D | util-rohash.c | 64 ROHashTable *ROHashInit(uint8_t hash_bits, uint16_t item_size) in ROHashInit() argument 70 if (hash_bits < 4 || hash_bits > 31) { in ROHashInit() 75 uint32_t size = hashsize(hash_bits) * sizeof(ROHashTableOffsets); in ROHashInit() 86 table->hash_bits = hash_bits; in ROHashInit() 105 return (uint32_t)(hashsize(table->hash_bits) * sizeof(ROHashTableOffsets) + in ROHashMemorySize() 119 uint32_t hash = hashword(data, table->item_size/4, 0) & hashmask(table->hash_bits); in ROHashLookup() 195 … hash = hashword((void *)item + sizeof(*item), table->item_size/4, 0) & hashmask(table->hash_bits); in ROHashInitFinalize() 220 for (x = 0; x < hashsize(table->hash_bits); x++) { in ROHashInitFinalize() 232 … hash = hashword((void *)item + sizeof(*item), table->item_size/4, 0) & hashmask(table->hash_bits); in ROHashInitFinalize()
|
/dports/graphics/freeimage/FreeImage/Source/LibWebP/src/utils/ |
H A D | color_cache_utils.c | 23 int VP8LColorCacheInit(VP8LColorCache* const cc, int hash_bits) { in VP8LColorCacheInit() argument 24 const int hash_size = 1 << hash_bits; in VP8LColorCacheInit() 26 assert(hash_bits > 0); in VP8LColorCacheInit() 30 cc->hash_shift_ = 32 - hash_bits; in VP8LColorCacheInit() 31 cc->hash_bits_ = hash_bits; in VP8LColorCacheInit()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libwebp/src/utils/ |
H A D | color_cache_utils.c | 23 int VP8LColorCacheInit(VP8LColorCache* const cc, int hash_bits) { in VP8LColorCacheInit() argument 24 const int hash_size = 1 << hash_bits; in VP8LColorCacheInit() 26 assert(hash_bits > 0); in VP8LColorCacheInit() 30 cc->hash_shift_ = 32 - hash_bits; in VP8LColorCacheInit() 31 cc->hash_bits_ = hash_bits; in VP8LColorCacheInit()
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/libwebp-sys2-0.1.2/c_src/src/utils/ |
H A D | color_cache_utils.c | 23 int VP8LColorCacheInit(VP8LColorCache* const cc, int hash_bits) { in VP8LColorCacheInit() argument 24 const int hash_size = 1 << hash_bits; in VP8LColorCacheInit() 26 assert(hash_bits > 0); in VP8LColorCacheInit() 30 cc->hash_shift_ = 32 - hash_bits; in VP8LColorCacheInit() 31 cc->hash_bits_ = hash_bits; in VP8LColorCacheInit()
|
/dports/www/firefox-esr/firefox-91.8.0/media/libwebp/src/utils/ |
H A D | color_cache_utils.c | 23 int VP8LColorCacheInit(VP8LColorCache* const cc, int hash_bits) { in VP8LColorCacheInit() argument 24 const int hash_size = 1 << hash_bits; in VP8LColorCacheInit() 26 assert(hash_bits > 0); in VP8LColorCacheInit() 30 cc->hash_shift_ = 32 - hash_bits; in VP8LColorCacheInit() 31 cc->hash_bits_ = hash_bits; in VP8LColorCacheInit()
|
/dports/devel/godot/godot-3.2.3-stable/thirdparty/libwebp/src/utils/ |
H A D | color_cache_utils.c | 23 int VP8LColorCacheInit(VP8LColorCache* const cc, int hash_bits) { in VP8LColorCacheInit() argument 24 const int hash_size = 1 << hash_bits; in VP8LColorCacheInit() 26 assert(hash_bits > 0); in VP8LColorCacheInit() 30 cc->hash_shift_ = 32 - hash_bits; in VP8LColorCacheInit() 31 cc->hash_bits_ = hash_bits; in VP8LColorCacheInit()
|
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/libwebp/src/utils/ |
H A D | color_cache_utils.c | 23 int VP8LColorCacheInit(VP8LColorCache* const cc, int hash_bits) { in VP8LColorCacheInit() argument 24 const int hash_size = 1 << hash_bits; in VP8LColorCacheInit() 26 assert(hash_bits > 0); in VP8LColorCacheInit() 30 cc->hash_shift_ = 32 - hash_bits; in VP8LColorCacheInit() 31 cc->hash_bits_ = hash_bits; in VP8LColorCacheInit()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/libwebp/src/utils/ |
H A D | color_cache_utils.c | 23 int VP8LColorCacheInit(VP8LColorCache* const cc, int hash_bits) { in VP8LColorCacheInit() argument 24 const int hash_size = 1 << hash_bits; in VP8LColorCacheInit() 26 assert(hash_bits > 0); in VP8LColorCacheInit() 30 cc->hash_shift_ = 32 - hash_bits; in VP8LColorCacheInit() 31 cc->hash_bits_ = hash_bits; in VP8LColorCacheInit()
|
/dports/security/keybase/client-v5.7.1/shared/ios/Pods/libwebp/src/utils/ |
H A D | color_cache_utils.c | 23 int VP8LColorCacheInit(VP8LColorCache* const cc, int hash_bits) { in VP8LColorCacheInit() argument 24 const int hash_size = 1 << hash_bits; in VP8LColorCacheInit() 26 assert(hash_bits > 0); in VP8LColorCacheInit() 30 cc->hash_shift_ = 32 - hash_bits; in VP8LColorCacheInit() 31 cc->hash_bits_ = hash_bits; in VP8LColorCacheInit()
|
/dports/www/firefox/firefox-99.0/media/libwebp/src/utils/ |
H A D | color_cache_utils.c | 23 int VP8LColorCacheInit(VP8LColorCache* const color_cache, int hash_bits) { in VP8LColorCacheInit() argument 24 const int hash_size = 1 << hash_bits; in VP8LColorCacheInit() 26 assert(hash_bits > 0); in VP8LColorCacheInit() 30 color_cache->hash_shift_ = 32 - hash_bits; in VP8LColorCacheInit() 31 color_cache->hash_bits_ = hash_bits; in VP8LColorCacheInit()
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/WebP/src/utils/ |
H A D | color_cache_utils.c | 23 int VP8LColorCacheInit(VP8LColorCache* const cc, int hash_bits) { in VP8LColorCacheInit() argument 24 const int hash_size = 1 << hash_bits; in VP8LColorCacheInit() 26 assert(hash_bits > 0); in VP8LColorCacheInit() 30 cc->hash_shift_ = 32 - hash_bits; in VP8LColorCacheInit() 31 cc->hash_bits_ = hash_bits; in VP8LColorCacheInit()
|
/dports/graphics/webp/libwebp-1.2.1/src/utils/ |
H A D | color_cache_utils.c | 23 int VP8LColorCacheInit(VP8LColorCache* const color_cache, int hash_bits) { in VP8LColorCacheInit() argument 24 const int hash_size = 1 << hash_bits; in VP8LColorCacheInit() 26 assert(hash_bits > 0); in VP8LColorCacheInit() 30 color_cache->hash_shift_ = 32 - hash_bits; in VP8LColorCacheInit() 31 color_cache->hash_bits_ = hash_bits; in VP8LColorCacheInit()
|
/dports/www/gohugo/hugo-0.91.2/vendor/github.com/bep/gowebp/libwebp_src/src/utils/ |
H A D | color_cache_utils.c | 23 int VP8LColorCacheInit(VP8LColorCache* const cc, int hash_bits) { in VP8LColorCacheInit() argument 24 const int hash_size = 1 << hash_bits; in VP8LColorCacheInit() 26 assert(hash_bits > 0); in VP8LColorCacheInit() 30 cc->hash_shift_ = 32 - hash_bits; in VP8LColorCacheInit() 31 cc->hash_bits_ = hash_bits; in VP8LColorCacheInit()
|
/dports/devel/godot2/godot-2.1.6-stable/thirdparty/libwebp/src/utils/ |
H A D | color_cache_utils.c | 23 int VP8LColorCacheInit(VP8LColorCache* const cc, int hash_bits) { in VP8LColorCacheInit() argument 24 const int hash_size = 1 << hash_bits; in VP8LColorCacheInit() 26 assert(hash_bits > 0); in VP8LColorCacheInit() 30 cc->hash_shift_ = 32 - hash_bits; in VP8LColorCacheInit() 31 cc->hash_bits_ = hash_bits; in VP8LColorCacheInit()
|
/dports/devel/godot2-tools/godot-2.1.6-stable/thirdparty/libwebp/src/utils/ |
H A D | color_cache_utils.c | 23 int VP8LColorCacheInit(VP8LColorCache* const cc, int hash_bits) { in VP8LColorCacheInit() argument 24 const int hash_size = 1 << hash_bits; in VP8LColorCacheInit() 26 assert(hash_bits > 0); in VP8LColorCacheInit() 30 cc->hash_shift_ = 32 - hash_bits; in VP8LColorCacheInit() 31 cc->hash_bits_ = hash_bits; in VP8LColorCacheInit()
|
/dports/graphics/opencv/opencv-4.5.3/3rdparty/libwebp/src/utils/ |
H A D | color_cache_utils.c | 23 int VP8LColorCacheInit(VP8LColorCache* const cc, int hash_bits) { in VP8LColorCacheInit() argument 24 const int hash_size = 1 << hash_bits; in VP8LColorCacheInit() 26 assert(hash_bits > 0); in VP8LColorCacheInit() 30 cc->hash_shift_ = 32 - hash_bits; in VP8LColorCacheInit() 31 cc->hash_bits_ = hash_bits; in VP8LColorCacheInit()
|
/dports/www/zola/zola-0.15.2/cargo-crates/libwebp-sys-0.2.0/vendor/src/utils/ |
H A D | color_cache_utils.c | 23 int VP8LColorCacheInit(VP8LColorCache* const cc, int hash_bits) { 24 const int hash_size = 1 << hash_bits; 26 assert(hash_bits > 0); 30 cc->hash_shift_ = 32 - hash_bits; 31 cc->hash_bits_ = hash_bits;
|
/dports/mail/thunderbird/thunderbird-91.8.0/media/libwebp/src/utils/ |
H A D | color_cache_utils.c | 23 int VP8LColorCacheInit(VP8LColorCache* const cc, int hash_bits) { in VP8LColorCacheInit() argument 24 const int hash_size = 1 << hash_bits; in VP8LColorCacheInit() 26 assert(hash_bits > 0); in VP8LColorCacheInit() 30 cc->hash_shift_ = 32 - hash_bits; in VP8LColorCacheInit() 31 cc->hash_bits_ = hash_bits; in VP8LColorCacheInit()
|
/dports/lang/spidermonkey78/firefox-78.9.0/media/libwebp/src/utils/ |
H A D | color_cache_utils.c | 23 int VP8LColorCacheInit(VP8LColorCache* const cc, int hash_bits) { in VP8LColorCacheInit() argument 24 const int hash_size = 1 << hash_bits; in VP8LColorCacheInit() 26 assert(hash_bits > 0); in VP8LColorCacheInit() 30 cc->hash_shift_ = 32 - hash_bits; in VP8LColorCacheInit() 31 cc->hash_bits_ = hash_bits; in VP8LColorCacheInit()
|
/dports/graphics/dssim/dssim-3.1.2/cargo-crates/libwebp-sys2-0.1.2/c_src/src/utils/ |
H A D | color_cache_utils.c | 23 int VP8LColorCacheInit(VP8LColorCache* const cc, int hash_bits) { in VP8LColorCacheInit() argument 24 const int hash_size = 1 << hash_bits; in VP8LColorCacheInit() 26 assert(hash_bits > 0); in VP8LColorCacheInit() 30 cc->hash_shift_ = 32 - hash_bits; in VP8LColorCacheInit() 31 cc->hash_bits_ = hash_bits; in VP8LColorCacheInit()
|
/dports/graphics/qt5-imageformats/kde-qtimageformats-5.15.2p3/src/3rdparty/libwebp/src/utils/ |
H A D | color_cache_utils.c | 23 int VP8LColorCacheInit(VP8LColorCache* const cc, int hash_bits) { in VP8LColorCacheInit() argument 24 const int hash_size = 1 << hash_bits; in VP8LColorCacheInit() 26 assert(hash_bits > 0); in VP8LColorCacheInit() 30 cc->hash_shift_ = 32 - hash_bits; in VP8LColorCacheInit() 31 cc->hash_bits_ = hash_bits; in VP8LColorCacheInit()
|
/dports/archivers/rzip/rzip-2.1/ |
H A D | rzip.c | 70 unsigned int hash_bits; member 164 return t & ((1 << st->hash_bits) - 1); in primary_hash() 237 h &= ((1 << st->hash_bits) - 1); in insert_hash() 359 h &= ((1 << st->hash_bits) - 1); in find_best_match() 371 for (i=0;i<(1 << st->hash_bits);i++) { in show_distrib() 407 for (st->hash_bits = 0; in hash_search() 408 (1<<st->hash_bits) < hashsize; in hash_search() 409 st->hash_bits++); in hash_search() 413 hashsize, st->hash_bits, st->level->mb_used); in hash_search() 416 st->hash_limit = (1<<st->hash_bits)/3 * 2; in hash_search() [all …]
|
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/state-0.4.2/src/thread_local/ |
H A D | mod.rs | 63 hash_bits: usize, field 126 hash_bits: 1, in new() 173 for entry in table.entries.iter().cycle().skip(hash(id, table.hash_bits)) { in lookup() 230 hash_bits: table.hash_bits + 1, in insert() 240 for entry in table.entries.iter().cycle().skip(hash(id, table.hash_bits)) { in insert()
|
/dports/dns/knot3/knot-3.1.5/src/contrib/libbpf/bpf/ |
H A D | hashmap.c | 106 h = hash_bits(map->hash_fn(cur->key, map->ctx), new_cap_bits); in hashmap_grow() 155 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap__insert() 179 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap__insert() 199 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap__find() 214 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap__delete()
|
/dports/dns/knot3-lib/knot-3.1.5/src/contrib/libbpf/bpf/ |
H A D | hashmap.c | 106 h = hash_bits(map->hash_fn(cur->key, map->ctx), new_cap_bits); in hashmap_grow() 155 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap__insert() 179 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap__insert() 199 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap__find() 214 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap__delete()
|