Home
last modified time | relevance | path

Searched refs:hashtype (Results 1 – 25 of 439) sorted by relevance

12345678910>>...18

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/smhasher/src/
H A Dmain.cpp127 template < typename hashtype >
128 void test ( hashfunc<hashtype> hash, HashInfo * info ) in test()
130 const int hashbits = sizeof(hashtype) * 8; in test()
162 … TinySpeedTest(hashfunc<hashtype>(info->hash),sizeof(hashtype),i,info->verification,true,cycles); in test()
195 result &= DiffDistTest2<uint64_t,hashtype>(hash); in test()
244 BicTest3<Blob<88>,hashtype>(hash,2000000); in test()
260 result &= CyclicKeyTest<hashtype>(hash,sizeof(hashtype)+0,8,10000000,drawDiagram); in test()
261 result &= CyclicKeyTest<hashtype>(hash,sizeof(hashtype)+1,8,10000000,drawDiagram); in test()
262 result &= CyclicKeyTest<hashtype>(hash,sizeof(hashtype)+2,8,10000000,drawDiagram); in test()
263 result &= CyclicKeyTest<hashtype>(hash,sizeof(hashtype)+3,8,10000000,drawDiagram); in test()
[all …]
H A DKeysetTest.h27 template< typename hashtype >
40 hashtype h; in CombinationKeygenRecurse()
52 template< typename hashtype >
59 std::vector<hashtype> hashes; in CombinationKeyTest()
84 template< typename hashtype >
89 hashtype h; in PermutationKeygenRecurse()
108 template< typename hashtype >
115 std::vector<hashtype> hashes; in PermutationKeyTest()
141 hashtype h; in SparseKeygenRecurse()
178 hashtype h; in SparseKeyTest()
[all …]
H A DStats.h41 template< typename hashtype >
105 template< typename hashtype >
140 hashtype & hash = hashes[j]; in TestDistribution()
190 template < typename hashtype >
204 HashSet<hashtype> collisions; in TestHashList()
250 template < typename hashtype >
253 std::vector<hashtype> collisions; in TestHashList()
265 std::vector<hashtype> hashes; in TestKeyList()
299 template < typename hashtype >
353 template < typename hashtype >
[all …]
H A DDifferentialTest.h103 template < typename keytype, typename hashtype >
104 void DiffTestRecurse ( pfHash hash, keytype & k1, keytype & k2, hashtype & h1, hashtype & h2, int s… in DiffTestRecurse()
132 template < typename keytype, typename hashtype >
136 const int hashbits = sizeof(hashtype) * 8; in DiffTest()
147 hashtype h1,h2; in DiffTest()
188 template < typename keytype, typename hashtype >
192 std::vector<hashtype> A(trials),B(trials); in DiffDistTest()
214 hashtype h2; in DiffDistTest()
245 template < typename keytype, typename hashtype >
254 std::vector<hashtype> hashes(keycount); in DiffDistTest2()
[all …]
H A DAvalancheTest.h31 const int hashbytes = sizeof(hashtype); in calcBias()
37 hashtype A,B; in calcBias()
74 const int hashbytes = sizeof(hashtype); in AvalancheTest()
116 const int hashbytes = sizeof(hashtype); in BicTest()
122 hashtype h1,h2; in BicTest()
137 hashtype d = h1 ^ h2; in BicTest()
243 const int hashbytes = sizeof(hashtype);
255 hashtype h1,h2;
272 hashtype d = h1 ^ h2;
362 hashtype h1,h2;
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/smhasher/src/
H A Dmain.cpp127 template < typename hashtype >
128 void test ( hashfunc<hashtype> hash, HashInfo * info ) in test()
130 const int hashbits = sizeof(hashtype) * 8; in test()
162 … TinySpeedTest(hashfunc<hashtype>(info->hash),sizeof(hashtype),i,info->verification,true,cycles); in test()
195 result &= DiffDistTest2<uint64_t,hashtype>(hash); in test()
244 BicTest3<Blob<88>,hashtype>(hash,2000000); in test()
260 result &= CyclicKeyTest<hashtype>(hash,sizeof(hashtype)+0,8,10000000,drawDiagram); in test()
261 result &= CyclicKeyTest<hashtype>(hash,sizeof(hashtype)+1,8,10000000,drawDiagram); in test()
262 result &= CyclicKeyTest<hashtype>(hash,sizeof(hashtype)+2,8,10000000,drawDiagram); in test()
263 result &= CyclicKeyTest<hashtype>(hash,sizeof(hashtype)+3,8,10000000,drawDiagram); in test()
[all …]
H A DKeysetTest.h27 template< typename hashtype >
40 hashtype h; in CombinationKeygenRecurse()
52 template< typename hashtype >
59 std::vector<hashtype> hashes; in CombinationKeyTest()
84 template< typename hashtype >
89 hashtype h; in PermutationKeygenRecurse()
108 template< typename hashtype >
115 std::vector<hashtype> hashes; in PermutationKeyTest()
141 hashtype h; in SparseKeygenRecurse()
178 hashtype h; in SparseKeyTest()
[all …]
H A DStats.h41 template< typename hashtype >
105 template< typename hashtype >
140 hashtype & hash = hashes[j]; in TestDistribution()
190 template < typename hashtype >
204 HashSet<hashtype> collisions; in TestHashList()
250 template < typename hashtype >
253 std::vector<hashtype> collisions; in TestHashList()
265 std::vector<hashtype> hashes; in TestKeyList()
299 template < typename hashtype >
353 template < typename hashtype >
[all …]
H A DDifferentialTest.h103 template < typename keytype, typename hashtype >
104 void DiffTestRecurse ( pfHash hash, keytype & k1, keytype & k2, hashtype & h1, hashtype & h2, int s… in DiffTestRecurse()
132 template < typename keytype, typename hashtype >
136 const int hashbits = sizeof(hashtype) * 8; in DiffTest()
147 hashtype h1,h2; in DiffTest()
188 template < typename keytype, typename hashtype >
192 std::vector<hashtype> A(trials),B(trials); in DiffDistTest()
214 hashtype h2; in DiffDistTest()
245 template < typename keytype, typename hashtype >
254 std::vector<hashtype> hashes(keycount); in DiffDistTest2()
[all …]
H A DAvalancheTest.h31 const int hashbytes = sizeof(hashtype); in calcBias()
37 hashtype A,B; in calcBias()
74 const int hashbytes = sizeof(hashtype); in AvalancheTest()
116 const int hashbytes = sizeof(hashtype); in BicTest()
122 hashtype h1,h2; in BicTest()
137 hashtype d = h1 ^ h2; in BicTest()
243 const int hashbytes = sizeof(hashtype);
255 hashtype h1,h2;
272 hashtype d = h1 ^ h2;
362 hashtype h1,h2;
[all …]
/dports/benchmarks/smhasher/smhasher-1.0/
H A Dmain.cpp127 template < typename hashtype >
128 void test ( hashfunc<hashtype> hash, HashInfo * info ) in test()
130 const int hashbits = sizeof(hashtype) * 8; in test()
162 … TinySpeedTest(hashfunc<hashtype>(info->hash),sizeof(hashtype),i,info->verification,true,cycles); in test()
195 result &= DiffDistTest2<uint64_t,hashtype>(hash); in test()
244 BicTest3<Blob<88>,hashtype>(hash,2000000); in test()
260 result &= CyclicKeyTest<hashtype>(hash,sizeof(hashtype)+0,8,10000000,drawDiagram); in test()
261 result &= CyclicKeyTest<hashtype>(hash,sizeof(hashtype)+1,8,10000000,drawDiagram); in test()
262 result &= CyclicKeyTest<hashtype>(hash,sizeof(hashtype)+2,8,10000000,drawDiagram); in test()
263 result &= CyclicKeyTest<hashtype>(hash,sizeof(hashtype)+3,8,10000000,drawDiagram); in test()
[all …]
H A DKeysetTest.h27 template< typename hashtype >
40 hashtype h; in CombinationKeygenRecurse()
52 template< typename hashtype >
59 std::vector<hashtype> hashes; in CombinationKeyTest()
84 template< typename hashtype >
89 hashtype h; in PermutationKeygenRecurse()
108 template< typename hashtype >
115 std::vector<hashtype> hashes; in PermutationKeyTest()
141 hashtype h; in SparseKeygenRecurse()
178 hashtype h; in SparseKeyTest()
[all …]
H A DStats.h41 template< typename hashtype >
105 template< typename hashtype >
140 hashtype & hash = hashes[j]; in TestDistribution()
190 template < typename hashtype >
204 HashSet<hashtype> collisions; in TestHashList()
250 template < typename hashtype >
253 std::vector<hashtype> collisions; in TestHashList()
265 std::vector<hashtype> hashes; in TestKeyList()
299 template < typename hashtype >
353 template < typename hashtype >
[all …]
H A DDifferentialTest.h103 template < typename keytype, typename hashtype >
104 void DiffTestRecurse ( pfHash hash, keytype & k1, keytype & k2, hashtype & h1, hashtype & h2, int s… in DiffTestRecurse()
132 template < typename keytype, typename hashtype >
136 const int hashbits = sizeof(hashtype) * 8; in DiffTest()
147 hashtype h1,h2; in DiffTest()
188 template < typename keytype, typename hashtype >
192 std::vector<hashtype> A(trials),B(trials); in DiffDistTest()
214 hashtype h2; in DiffDistTest()
245 template < typename keytype, typename hashtype >
254 std::vector<hashtype> hashes(keycount); in DiffDistTest2()
[all …]
H A DAvalancheTest.h31 const int hashbytes = sizeof(hashtype); in calcBias()
37 hashtype A,B; in calcBias()
74 const int hashbytes = sizeof(hashtype); in AvalancheTest()
116 const int hashbytes = sizeof(hashtype); in BicTest()
122 hashtype h1,h2; in BicTest()
137 hashtype d = h1 ^ h2; in BicTest()
243 const int hashbytes = sizeof(hashtype);
255 hashtype h1,h2;
272 hashtype d = h1 ^ h2;
362 hashtype h1,h2;
[all …]
/dports/net/isc-dhcp44-client/dhcp-4.4.2-P1/includes/omapip/
H A Dhash.h76 #define HASH_FUNCTIONS_DECL(name, bufarg, type, hashtype) \ argument
77 void name##_hash_add (hashtype *, bufarg, unsigned, type *, \
79 void name##_hash_delete (hashtype *, bufarg, unsigned, \
81 int name##_hash_lookup (type **, hashtype *, bufarg, unsigned, \
83 unsigned char * name##_hash_report(hashtype *); \
84 int name##_hash_foreach (hashtype *, hash_foreach_func); \
85 int name##_new_hash (hashtype **, unsigned, const char *, int); \
86 void name##_free_hash_table (hashtype **, const char *, int);
90 void name##_hash_add (hashtype *table, \
105 int name##_hash_lookup (type **ptr, hashtype *table, \
[all …]
/dports/net/isc-dhcp44-relay/dhcp-4.4.2-P1/includes/omapip/
H A Dhash.h76 #define HASH_FUNCTIONS_DECL(name, bufarg, type, hashtype) \ argument
77 void name##_hash_add (hashtype *, bufarg, unsigned, type *, \
79 void name##_hash_delete (hashtype *, bufarg, unsigned, \
81 int name##_hash_lookup (type **, hashtype *, bufarg, unsigned, \
83 unsigned char * name##_hash_report(hashtype *); \
84 int name##_hash_foreach (hashtype *, hash_foreach_func); \
85 int name##_new_hash (hashtype **, unsigned, const char *, int); \
86 void name##_free_hash_table (hashtype **, const char *, int);
90 void name##_hash_add (hashtype *table, \
105 int name##_hash_lookup (type **ptr, hashtype *table, \
[all …]
/dports/net/isc-dhcp44-server/dhcp-4.4.2-P1/includes/omapip/
H A Dhash.h76 #define HASH_FUNCTIONS_DECL(name, bufarg, type, hashtype) \ argument
77 void name##_hash_add (hashtype *, bufarg, unsigned, type *, \
79 void name##_hash_delete (hashtype *, bufarg, unsigned, \
81 int name##_hash_lookup (type **, hashtype *, bufarg, unsigned, \
83 unsigned char * name##_hash_report(hashtype *); \
84 int name##_hash_foreach (hashtype *, hash_foreach_func); \
85 int name##_new_hash (hashtype **, unsigned, const char *, int); \
86 void name##_free_hash_table (hashtype **, const char *, int);
90 void name##_hash_add (hashtype *table, \
105 int name##_hash_lookup (type **ptr, hashtype *table, \
[all …]
/dports/devel/ucommon/ucommon-7.0.0/nossl/
H A Ddigest.cpp42 hashtype = "m"; in set()
47 hashtype = "1"; in set()
52 hashtype = "2"; in set()
57 hashtype = "3"; in set()
66 if(context && hashtype) { in release()
91 hashtype = NULL; in release()
97 if(!context || !hashtype) in put()
100 switch(*((char *)hashtype)) { in put()
120 if(hashtype) { in reset()
153 if(!context || !hashtype) in recycle()
[all …]
/dports/net-p2p/bitcoin/bitcoin-22.0/test/functional/
H A Dfeature_taproot.py200 hashtype = get(ctx, "hashtype_actual")
252 hashtype = get(ctx, "hashtype")
255 return hashtype
259 return (hashtype & ~3) | SIGHASH_NONE
260 return hashtype
637 for hashtype in VALID_SIGHASHES_TAPROOT:
713 …en/padzero_keypath", tap=tap, key=secs[3], hashtype=hashtype, **SIG_ADD_ZERO, **(ERR_SIG_HASHTYPE …
714 …, tap=tap, key=secs[2], leaf="csv", hashtype=hashtype, **SINGLE_SIG, **SIG_ADD_ZERO, **(ERR_SIG_HA…
720 …glen/popbyte_keypath", tap=tap, key=secs[3], hashtype=hashtype, **SIG_POP_BYTE, **(ERR_SIG_SIZE if…
721 …v", tap=tap, key=secs[2], leaf="csv", hashtype=hashtype, **SINGLE_SIG, **SIG_POP_BYTE, **(ERR_SIG_…
[all …]
/dports/net-p2p/bitcoin-utils/bitcoin-22.0/test/functional/
H A Dfeature_taproot.py200 hashtype = get(ctx, "hashtype_actual")
252 hashtype = get(ctx, "hashtype")
255 return hashtype
259 return (hashtype & ~3) | SIGHASH_NONE
260 return hashtype
637 for hashtype in VALID_SIGHASHES_TAPROOT:
713 …en/padzero_keypath", tap=tap, key=secs[3], hashtype=hashtype, **SIG_ADD_ZERO, **(ERR_SIG_HASHTYPE …
714 …, tap=tap, key=secs[2], leaf="csv", hashtype=hashtype, **SINGLE_SIG, **SIG_ADD_ZERO, **(ERR_SIG_HA…
720 …glen/popbyte_keypath", tap=tap, key=secs[3], hashtype=hashtype, **SIG_POP_BYTE, **(ERR_SIG_SIZE if…
721 …v", tap=tap, key=secs[2], leaf="csv", hashtype=hashtype, **SINGLE_SIG, **SIG_POP_BYTE, **(ERR_SIG_…
[all …]
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/test/functional/
H A Dfeature_taproot.py200 hashtype = get(ctx, "hashtype_actual")
252 hashtype = get(ctx, "hashtype")
255 return hashtype
259 return (hashtype & ~3) | SIGHASH_NONE
260 return hashtype
637 for hashtype in VALID_SIGHASHES_TAPROOT:
713 …en/padzero_keypath", tap=tap, key=secs[3], hashtype=hashtype, **SIG_ADD_ZERO, **(ERR_SIG_HASHTYPE …
714 …, tap=tap, key=secs[2], leaf="csv", hashtype=hashtype, **SINGLE_SIG, **SIG_ADD_ZERO, **(ERR_SIG_HA…
720 …glen/popbyte_keypath", tap=tap, key=secs[3], hashtype=hashtype, **SIG_POP_BYTE, **(ERR_SIG_SIZE if…
721 …v", tap=tap, key=secs[2], leaf="csv", hashtype=hashtype, **SINGLE_SIG, **SIG_POP_BYTE, **(ERR_SIG_…
[all …]
/dports/net-p2p/namecoin-utils/namecoin-core-nc0.21.0.1/test/functional/
H A Dfeature_taproot.py196 hashtype = get(ctx, "hashtype_actual")
248 hashtype = get(ctx, "hashtype")
251 return hashtype
255 return (hashtype & ~3) | SIGHASH_NONE
256 return hashtype
632 for hashtype in VALID_SIGHASHES_TAPROOT:
708 …en/padzero_keypath", tap=tap, key=secs[3], hashtype=hashtype, **SIG_ADD_ZERO, **(ERR_SIG_HASHTYPE …
709 …, tap=tap, key=secs[2], leaf="csv", hashtype=hashtype, **SINGLE_SIG, **SIG_ADD_ZERO, **(ERR_SIG_HA…
715 …glen/popbyte_keypath", tap=tap, key=secs[3], hashtype=hashtype, **SIG_POP_BYTE, **(ERR_SIG_SIZE if…
716 …v", tap=tap, key=secs[2], leaf="csv", hashtype=hashtype, **SINGLE_SIG, **SIG_POP_BYTE, **(ERR_SIG_…
[all …]
/dports/net-p2p/namecoin-daemon/namecoin-core-nc0.21.0.1/test/functional/
H A Dfeature_taproot.py196 hashtype = get(ctx, "hashtype_actual")
248 hashtype = get(ctx, "hashtype")
251 return hashtype
255 return (hashtype & ~3) | SIGHASH_NONE
256 return hashtype
632 for hashtype in VALID_SIGHASHES_TAPROOT:
708 …en/padzero_keypath", tap=tap, key=secs[3], hashtype=hashtype, **SIG_ADD_ZERO, **(ERR_SIG_HASHTYPE …
709 …, tap=tap, key=secs[2], leaf="csv", hashtype=hashtype, **SINGLE_SIG, **SIG_ADD_ZERO, **(ERR_SIG_HA…
715 …glen/popbyte_keypath", tap=tap, key=secs[3], hashtype=hashtype, **SIG_POP_BYTE, **(ERR_SIG_SIZE if…
716 …v", tap=tap, key=secs[2], leaf="csv", hashtype=hashtype, **SINGLE_SIG, **SIG_POP_BYTE, **(ERR_SIG_…
[all …]
/dports/net-p2p/namecoin/namecoin-core-nc0.21.0.1/test/functional/
H A Dfeature_taproot.py196 hashtype = get(ctx, "hashtype_actual")
248 hashtype = get(ctx, "hashtype")
251 return hashtype
255 return (hashtype & ~3) | SIGHASH_NONE
256 return hashtype
632 for hashtype in VALID_SIGHASHES_TAPROOT:
708 …en/padzero_keypath", tap=tap, key=secs[3], hashtype=hashtype, **SIG_ADD_ZERO, **(ERR_SIG_HASHTYPE …
709 …, tap=tap, key=secs[2], leaf="csv", hashtype=hashtype, **SINGLE_SIG, **SIG_ADD_ZERO, **(ERR_SIG_HA…
715 …glen/popbyte_keypath", tap=tap, key=secs[3], hashtype=hashtype, **SIG_POP_BYTE, **(ERR_SIG_SIZE if…
716 …v", tap=tap, key=secs[2], leaf="csv", hashtype=hashtype, **SINGLE_SIG, **SIG_POP_BYTE, **(ERR_SIG_…
[all …]

12345678910>>...18