Home
last modified time | relevance | path

Searched refs:hash32_buf (Results 1 – 25 of 35) sorted by relevance

12

/dports/databases/mdcached/mdcached-1.0.9/mdcached/test/
H A Dtestmh2.c23 printf("%x\n", hash32_buf("abcde", 5)); in main()
24 printf("%x\n", hash32_buf("abcdef", 6)); in main()
25 printf("%x\n", hash32_buf("abcdefg", 7)); in main()
39 j += hash32_buf("abcde", 5); in main()
40 j += hash32_buf("abcdef", 6); in main()
41 j += hash32_buf("abcdefg", 7); in main()
42 j += hash32_buf("abcdefgh", 8); in main()
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/cpp/src/gandiva/precompiled/
H A Dhash_test.cc104 EXPECT_NE(hash32_buf((const gdv_uint8*)buf, buf_len, 0), 0); in TEST()
108 EXPECT_NE(hash32_buf((const gdv_uint8*)buf, buf_len, 0), in TEST()
109 hash32_buf((const gdv_uint8*)buf, buf_len - 1, 0)); in TEST()
115 EXPECT_NE(hash32_buf((const gdv_uint8*)buf, buf_len, 0), in TEST()
116 hash32_buf((const gdv_uint8*)buf, buf_len, 1)); in TEST()
H A Dhash.cc344 FORCE_INLINE gdv_int32 hash32_buf(const gdv_uint8* buf, int len, gdv_int32 seed) { in hash32_buf() function
367 return hash32_buf(reinterpret_cast<const uint8_t*>(in), len, seed); \
379 return is_valid ? hash32_buf(reinterpret_cast<const uint8_t*>(in), len, 0) : 0; \
H A Ddecimal_wrapper.cc276 ? hash32_buf(gandiva::BasicDecimal128(x_high, x_low).ToBytes().data(), 16, 0) in hash32_decimal128()
301 return hash32_buf(gandiva::BasicDecimal128(x_high, x_low).ToBytes().data(), 16, seed); in hash32WithSeed_decimal128()
318 ? hash32_buf(gandiva::BasicDecimal128(x_high, x_low).ToBytes().data(), 16, 0) in hash32AsDouble_decimal128()
338 return hash32_buf(gandiva::BasicDecimal128(x_high, x_low).ToBytes().data(), 16, seed); in hash32AsDoubleWithSeed_decimal128()
/dports/databases/arrow/apache-arrow-6.0.1/cpp/src/gandiva/precompiled/
H A Dhash_test.cc104 EXPECT_NE(hash32_buf((const gdv_uint8*)buf, buf_len, 0), 0); in TEST()
108 EXPECT_NE(hash32_buf((const gdv_uint8*)buf, buf_len, 0), in TEST()
109 hash32_buf((const gdv_uint8*)buf, buf_len - 1, 0)); in TEST()
115 EXPECT_NE(hash32_buf((const gdv_uint8*)buf, buf_len, 0), in TEST()
116 hash32_buf((const gdv_uint8*)buf, buf_len, 1)); in TEST()
H A Dhash.cc344 FORCE_INLINE gdv_int32 hash32_buf(const gdv_uint8* buf, int len, gdv_int32 seed) { in hash32_buf() function
367 return hash32_buf(reinterpret_cast<const uint8_t*>(in), len, seed); \
379 return is_valid ? hash32_buf(reinterpret_cast<const uint8_t*>(in), len, 0) : 0; \
H A Ddecimal_wrapper.cc276 ? hash32_buf(gandiva::BasicDecimal128(x_high, x_low).ToBytes().data(), 16, 0) in hash32_decimal128()
301 return hash32_buf(gandiva::BasicDecimal128(x_high, x_low).ToBytes().data(), 16, seed); in hash32WithSeed_decimal128()
318 ? hash32_buf(gandiva::BasicDecimal128(x_high, x_low).ToBytes().data(), 16, 0) in hash32AsDouble_decimal128()
338 return hash32_buf(gandiva::BasicDecimal128(x_high, x_low).ToBytes().data(), 16, seed); in hash32AsDoubleWithSeed_decimal128()
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/cpp/src/gandiva/precompiled/
H A Dhash_test.cc104 EXPECT_NE(hash32_buf((const gdv_uint8*)buf, buf_len, 0), 0); in TEST()
108 EXPECT_NE(hash32_buf((const gdv_uint8*)buf, buf_len, 0), in TEST()
109 hash32_buf((const gdv_uint8*)buf, buf_len - 1, 0)); in TEST()
115 EXPECT_NE(hash32_buf((const gdv_uint8*)buf, buf_len, 0), in TEST()
116 hash32_buf((const gdv_uint8*)buf, buf_len, 1)); in TEST()
H A Dhash.cc344 FORCE_INLINE gdv_int32 hash32_buf(const gdv_uint8* buf, int len, gdv_int32 seed) { in hash32_buf() function
367 return hash32_buf(reinterpret_cast<const uint8_t*>(in), len, seed); \
379 return is_valid ? hash32_buf(reinterpret_cast<const uint8_t*>(in), len, 0) : 0; \
H A Ddecimal_wrapper.cc276 ? hash32_buf(gandiva::BasicDecimal128(x_high, x_low).ToBytes().data(), 16, 0) in hash32_decimal128()
301 return hash32_buf(gandiva::BasicDecimal128(x_high, x_low).ToBytes().data(), 16, seed); in hash32WithSeed_decimal128()
318 ? hash32_buf(gandiva::BasicDecimal128(x_high, x_low).ToBytes().data(), 16, 0) in hash32AsDouble_decimal128()
338 return hash32_buf(gandiva::BasicDecimal128(x_high, x_low).ToBytes().data(), 16, seed); in hash32AsDoubleWithSeed_decimal128()
H A Dtypes.h74 gdv_int32 hash32_buf(const gdv_uint8* buf, int len, gdv_int32 seed);
/dports/misc/rump/buildrump.sh-b914579/src/sys/external/bsd/drm/dist/bsd-core/
H A Ddrm_hashtab.c64 hashed_key = hash32_buf(&key, sizeof(key), ht->order); in drm_ht_verbose_list()
78 hashed_key = hash32_buf(&key, sizeof(key), ht->order); in drm_ht_find_key()
97 hashed_key = hash32_buf(&key, sizeof(key), ht->order); in drm_ht_insert_item()
127 unshifted_key = hash32_buf(&seed, sizeof(seed), unshifted_key); in drm_ht_just_insert_please()
/dports/textproc/bsdgrep/grep-2.6.0-FreeBSD/regex/
H A Dhashtable.c45 hash32_buf(const void *buf, size_t len, uint32_t hash) in hash32_buf() function
115 hash = hash32_buf(key, tbl->key_size, hash) % tbl->table_size; in hashtable_put()
183 hash = hash32_buf(key, tbl->key_size, hash) % tbl->table_size; in hashtable_lookup()
/dports/databases/mdcached/mdcached-1.0.9/mdcached/
H A Dbench_utils.c29 *key_len = asprintf(key, "k%u-:-%x", n, hash32_buf(&n, sizeof n)); in gen_data()
H A DDataStore.h26 #define hash32_buf(buf, size) (MurmurHash3_32(buf, size, 0xA00AAFFA)) macro
38 #define ITEM_BUCKET_INDEX(name,name_size) (hash32_buf(name, name_size) & ITEM_BUCKETS_MASK)
H A Dhash.h61 hash32_buf(const void *buf, size_t len) in hash32_buf() function
/dports/sysutils/udfclient/UDFclient.0.8.11/
H A Dhash.h52 hash32_buf(const void *bf, size_t len, uint32_t hash) in hash32_buf() function
/dports/misc/rump/buildrump.sh-b914579/src/sys/sys/
H A Dhash.h52 hash32_buf(const void *bf, size_t len, uint32_t hash) in hash32_buf() function
/dports/mail/milter-greylist/milter-greylist-4.6.4/
H A Dman2 The hhaasshh hash32_buf hash32_str hash32_strn functions returns a hhaasshh of the given bu…
/dports/misc/rump/buildrump.sh-b914579/src/sys/uvm/
H A Duvm_pdpolicy_clockpro.c319 hash = hash32_buf(&idx, sizeof(idx), hash); in pageidentityhash1()
320 hash = hash32_buf(&obj, sizeof(obj), hash); in pageidentityhash1()
322 hash = hash32_buf(&obj, sizeof(obj), hash); in pageidentityhash1()
323 hash = hash32_buf(&idx, sizeof(idx), hash); in pageidentityhash1()
333 hash = hash32_buf(&obj, sizeof(obj), hash); in pageidentityhash2()
334 hash = hash32_buf(&idx, sizeof(idx), hash); in pageidentityhash2()
/dports/misc/rump/buildrump.sh-b914579/src/sys/net/agr/
H A Dif_agrether_hash.c48 #define HASH(p, l, h) hash32_buf((p), (l), (h))
/dports/misc/rump/buildrump.sh-b914579/src/sys/ufs/chfs/
H A Dchfs_vnode.c290 nfd->nhash = hash32_buf(nfd->name, cnp->cn_namelen, HASH32_BUF_INIT); in chfs_makeinode()
/dports/misc/rump/buildrump.sh-b914579/src/sys/kern/
H A Dkern_fileassoc.c88 (hash32_buf((handle), FHANDLE_SIZE(handle), HASH32_BUF_INIT) \
/dports/misc/rump/buildrump.sh-b914579/src/sys/ufs/lfs/
H A Dulfs_dirhash.c912 hash = hash32_buf(name, namelen, HASH32_BUF_INIT); in ulfsdirhash_hash()
913 hash = hash32_buf(&dh, sizeof(dh), hash); in ulfsdirhash_hash()
/dports/misc/rump/buildrump.sh-b914579/src/sys/ufs/ufs/
H A Dufs_dirhash.c903 hash = hash32_buf(name, namelen, HASH32_BUF_INIT); in ufsdirhash_hash()
904 hash = hash32_buf(&dh, sizeof(dh), hash); in ufsdirhash_hash()

12