Home
last modified time | relevance | path

Searched refs:hash0 (Results 1 – 25 of 600) sorted by relevance

12345678910>>...24

/dports/databases/puredb/pure-db-2.1/src/
H A Dpuredb_write.c72 if (hash0->hash1_list == NULL) { in puredbw_add()
74 if ((hash0->hash1_list = malloc(hash0->hash1_list_size)) == NULL) { in puredbw_add()
85 hash0->hash1_list = newpnt; in puredbw_add()
165 if (hash0->hash1_list_size <= 0U) { in writekeys()
172 hash0++; in writekeys()
184 hash0 = dbw->hash_table0; in writekeys()
223 hash0++; in writekeys()
236 if (hash0->hash1_list != NULL) { in freestructs()
237 free(hash0->hash1_list); in freestructs()
238 hash0->hash1_list = NULL; in freestructs()
[all …]
H A Dpuredb_read.c155 puredb_u32_t hash0; in puredb_find() local
166 hash0 = sizeof PUREDB_VERSION - (size_t) 1U + in puredb_find()
169 if ((hash0 + sizeof(puredb_u32_t) * 2U) > db->size) { in puredb_find()
172 if (read_be_long(db, hash0, &hash1) < 0) { in puredb_find()
175 if (read_be_long(db, hash0 + sizeof(puredb_u32_t), &hash1e) < 0) { in puredb_find()
/dports/ftp/pure-ftpd/pure-ftpd-1.0.50/puredb/src/
H A Dpuredb_write.c89 if (hash0->hash1_list == NULL) { in puredbw_add()
91 if ((hash0->hash1_list = malloc(hash0->hash1_list_size)) == NULL) { in puredbw_add()
102 hash0->hash1_list = newpnt; in puredbw_add()
189 hash0++; in writekeys()
201 hash0 = dbw->hash_table0; in writekeys()
203 Hash1 *hash1 = hash0->hash1_list; in writekeys()
240 hash0++; in writekeys()
249 Hash0 *hash0 = dbw->hash_table0; in freestructs() local
253 free(hash0->hash1_list); in freestructs()
254 hash0->hash1_list = NULL; in freestructs()
[all …]
H A Dpuredb_read.c154 puredb_u32_t hash0; in puredb_find() local
165 hash0 = sizeof PUREDB_VERSION - (size_t) 1U + in puredb_find()
168 if ((hash0 + sizeof(puredb_u32_t) * 2U) > db->size) { in puredb_find()
171 if (read_be_long(db, hash0, &hash1) < 0) { in puredb_find()
174 if (read_be_long(db, hash0 + sizeof(puredb_u32_t), &hash1e) < 0) { in puredb_find()
/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/ext4/
H A Dhash.c105 __u32 hash, hash0 = 0x12a3fe2d, hash1 = 0x37abe8f9; in dx_hack_hash_unsigned() local
109 hash = hash1 + (hash0 ^ (((int) *ucp++) * 7152373)); in dx_hack_hash_unsigned()
113 hash1 = hash0; in dx_hack_hash_unsigned()
114 hash0 = hash; in dx_hack_hash_unsigned()
116 return hash0 << 1; in dx_hack_hash_unsigned()
121 __u32 hash, hash0 = 0x12a3fe2d, hash1 = 0x37abe8f9; in dx_hack_hash_signed() local
125 hash = hash1 + (hash0 ^ (((int) *scp++) * 7152373)); in dx_hack_hash_signed()
129 hash1 = hash0; in dx_hack_hash_signed()
130 hash0 = hash; in dx_hack_hash_signed()
132 return hash0 << 1; in dx_hack_hash_signed()
/dports/multimedia/libv4l/linux-5.13-rc2/fs/ext4/
H A Dhash.c105 __u32 hash, hash0 = 0x12a3fe2d, hash1 = 0x37abe8f9; in dx_hack_hash_unsigned() local
109 hash = hash1 + (hash0 ^ (((int) *ucp++) * 7152373)); in dx_hack_hash_unsigned()
113 hash1 = hash0; in dx_hack_hash_unsigned()
114 hash0 = hash; in dx_hack_hash_unsigned()
116 return hash0 << 1; in dx_hack_hash_unsigned()
121 __u32 hash, hash0 = 0x12a3fe2d, hash1 = 0x37abe8f9; in dx_hack_hash_signed() local
125 hash = hash1 + (hash0 ^ (((int) *scp++) * 7152373)); in dx_hack_hash_signed()
129 hash1 = hash0; in dx_hack_hash_signed()
130 hash0 = hash; in dx_hack_hash_signed()
132 return hash0 << 1; in dx_hack_hash_signed()
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/ext4/
H A Dhash.c105 __u32 hash, hash0 = 0x12a3fe2d, hash1 = 0x37abe8f9; in dx_hack_hash_unsigned() local
109 hash = hash1 + (hash0 ^ (((int) *ucp++) * 7152373)); in dx_hack_hash_unsigned()
113 hash1 = hash0; in dx_hack_hash_unsigned()
114 hash0 = hash; in dx_hack_hash_unsigned()
116 return hash0 << 1; in dx_hack_hash_unsigned()
121 __u32 hash, hash0 = 0x12a3fe2d, hash1 = 0x37abe8f9; in dx_hack_hash_signed() local
125 hash = hash1 + (hash0 ^ (((int) *scp++) * 7152373)); in dx_hack_hash_signed()
129 hash1 = hash0; in dx_hack_hash_signed()
130 hash0 = hash; in dx_hack_hash_signed()
132 return hash0 << 1; in dx_hack_hash_signed()
/dports/www/py-werkzeug/Werkzeug-2.0.2/tests/
H A Dtest_security.py12 hash0 = generate_password_hash("default")
13 assert check_password_hash(hash0, "default")
14 assert hash0.startswith("pbkdf2:sha256:260000$")
/dports/games/quakeforge/quakeforge-0.7.2/libs/util/
H A Dhash.c110 uint32_t hash0 = 0x12a3fe2d, hash1 = 0x37abe8f9; in Hash_String() local
112 uint32_t hash = hash1 + (hash0 ^ ((unsigned char)*str++ * 71523)); in Hash_String()
114 hash1 = hash0; in Hash_String()
115 hash0 = hash; in Hash_String()
117 return hash0; in Hash_String()
137 uint32_t hash0 = 0x12a3fe2d, hash1 = 0x37abe8f9; in Hash_Buffer() local
139 uint32_t hash = hash1 + (hash0 ^ ((unsigned char)*buf++ * 71523)); in Hash_Buffer()
141 hash1 = hash0; in Hash_Buffer()
142 hash0 = hash; in Hash_Buffer()
144 return hash0; in Hash_Buffer()
/dports/security/afl++/AFLplusplus-3.14c/test/unittests/
H A Dunit_hash.c52 u64 hash0 = hash64(bitmap, sizeof(bitmap), 0xa5b35705); in test_hash() local
57 assert_int_not_equal(hash0, hash1); in test_hash()
60 assert_int_equal(hash0, hash64(bitmap, sizeof(bitmap), 0xa5b35705)); in test_hash()
/dports/net/aprsc/aprsc-2.1.10.gd72a17c/src/
H A Dkeyhash.h15 extern uint32_t keyhash(const void *s, int slen, uint32_t hash0);
16 extern uint32_t keyhashuc(const void *s, int slen, uint32_t hash0);
/dports/lang/rexx-regina/regina-rexx-3.9.3/
H A Dlibrary.c344 int hash0; in add_entry() local
366 hash0 = fptr->hash % EP_COUNT; in add_entry()
367 fptr->next = lt->ep[slot][hash0]; in add_entry()
368 lt->ep[slot][hash0] = fptr; in add_entry()
387 unsigned hash, hash0; in find_entry_point() local
393 hash0 = hash % EP_COUNT; in find_entry_point()
394 for ( lptr = lt->ep[slot][hash0]; lptr; lptr = lptr->next ) in find_entry_point()
419 unsigned hash, hash0; in find_first_entry_point() local
424 hash0 = hash % EP_COUNT; in find_first_entry_point()
448 unsigned hash, hash0; in find_all_entries() local
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/js/src/vm/
H A DShape-inl.h235 MOZ_ALWAYS_INLINE HashNumber Hash1(HashNumber hash0, uint32_t shift) { in Hash1() argument
236 return hash0 >> shift; in Hash1()
239 MOZ_ALWAYS_INLINE HashNumber Hash2(HashNumber hash0, uint32_t log2, in Hash2() argument
241 return ((hash0 << log2) >> shift) | 1; in Hash2()
250 HashNumber hash0 = HashId(id); in searchUnchecked() local
251 HashNumber hash1 = Hash1(hash0, hashShift_); in searchUnchecked()
263 HashNumber hash2 = Hash2(hash0, sizeLog2, hashShift_); in searchUnchecked()
/dports/net/rclone/rclone-1.57.0/vendor/github.com/klauspost/compress/s2/
H A Dencode_all.go101 hash0 := hash6(cv, tableBits)
103 candidate = int(table[hash0])
105 table[hash0] = uint32(s)
309 hash0 := hash6(cv, tableBits)
311 candidate = int(table[hash0])
313 table[hash0] = uint32(s)
/dports/www/gitea/gitea-1.16.5/vendor/github.com/klauspost/compress/s2/
H A Dencode_all.go101 hash0 := hash6(cv, tableBits)
103 candidate = int(table[hash0])
105 table[hash0] = uint32(s)
309 hash0 := hash6(cv, tableBits)
311 candidate = int(table[hash0])
313 table[hash0] = uint32(s)
/dports/www/minio-client/mc-RELEASE.2021-12-10T00-14-28Z/vendor/github.com/klauspost/compress/s2/
H A Dencode_all.go101 hash0 := hash6(cv, tableBits)
103 candidate = int(table[hash0])
105 table[hash0] = uint32(s)
309 hash0 := hash6(cv, tableBits)
311 candidate = int(table[hash0])
313 table[hash0] = uint32(s)
/dports/irc/soju/soju-0.3.0/vendor/github.com/klauspost/compress/s2/
H A Dencode_all.go101 hash0 := hash6(cv, tableBits)
103 candidate = int(table[hash0])
105 table[hash0] = uint32(s)
309 hash0 := hash6(cv, tableBits)
311 candidate = int(table[hash0])
313 table[hash0] = uint32(s)
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/firmware/fx2/common/
H A Deeprom_init.c31 __xdata __at USRP_HASH_SLOT_0_ADDR unsigned char hash0[USRP_HASH_SIZE]; variable
65 hash0[i] = 0; in eeprom_init()
/dports/graphics/sam2p/sam2p-0.49.4/
H A Dcols2.pl267 sub hash0($) { subroutine
276 for (@L) { hash0($_); }
/dports/lang/spidermonkey78/firefox-78.9.0/js/src/vm/
H A DShape-inl.h294 MOZ_ALWAYS_INLINE HashNumber Hash1(HashNumber hash0, uint32_t shift) { in Hash1() argument
295 return hash0 >> shift; in Hash1()
298 MOZ_ALWAYS_INLINE HashNumber Hash2(HashNumber hash0, uint32_t log2, in Hash2() argument
300 return ((hash0 << log2) >> shift) | 1; in Hash2()
309 HashNumber hash0 = HashId(id); in searchUnchecked() local
310 HashNumber hash1 = Hash1(hash0, hashShift_); in searchUnchecked()
326 HashNumber hash2 = Hash2(hash0, sizeLog2, hashShift_); in searchUnchecked()
/dports/graphics/alembic/alembic-1.8.3/lib/Alembic/AbcCoreOgawa/
H A DOwImpl.cpp98 Util::uint64_t hash0, hash1; in ~OwImpl() local
99 hash.Final( &hash0, &hash1 ); in ~OwImpl()
104 parent->fillHash( m_index, hash0, hash1 ); in ~OwImpl()
/dports/net/tcpflow/tcpflow-1.5.0/src/
H A Dscan_md5.cpp34 static const std::string hash0("<hashdigest type='MD5'>"); in scan_md5() local
37 … (*sp.sxml) << hash0 << md5_generator::hash_buf(sp.sbuf.buf,sp.sbuf.bufsize).hexdigest() << hash1; in scan_md5()
/dports/benchmarks/polygraph/polygraph-4.13.0/src/xstd/
H A DNetAddr.cc157 unsigned int NetAddr::hash0() const { in hash0() function in NetAddr
159 return addrN().hash0() + thePort; in hash0()
166 return (addrN().hash0() ^ thePort) + addrN().hash1(); in hash1()
/dports/misc/e2fsprogs-libblkid/e2fsprogs-1.46.5/lib/ext2fs/
H A Ddirhash.c129 __u32 hash, hash0 = 0x12a3fe2d, hash1 = 0x37abe8f9; in dx_hack_hash() local
139 hash = hash1 + (hash0 ^ (c * 7152373)); in dx_hack_hash()
142 hash1 = hash0; in dx_hack_hash()
143 hash0 = hash; in dx_hack_hash()
145 return (hash0 << 1); in dx_hack_hash()
/dports/misc/e2fsprogs-libuuid/e2fsprogs-1.46.5/lib/ext2fs/
H A Ddirhash.c129 __u32 hash, hash0 = 0x12a3fe2d, hash1 = 0x37abe8f9; in dx_hack_hash() local
139 hash = hash1 + (hash0 ^ (c * 7152373)); in dx_hack_hash()
142 hash1 = hash0; in dx_hack_hash()
143 hash0 = hash; in dx_hack_hash()
145 return (hash0 << 1); in dx_hack_hash()

12345678910>>...24