Home
last modified time | relevance | path

Searched refs:hash1 (Results 1 – 25 of 1824) sorted by relevance

12345678910>>...73

/dports/archivers/par2cmdline/par2cmdline-0.8.1/src/
H A Dmd5_test.cpp38 MD5Hash hash1; in test1() local
39 context1.Final(hash1); in test1()
46 if (hash1 != hash2) { in test1()
62 MD5Hash hash1; in test2() local
99 MD5Hash hash1; in test3() local
103 hash2 = hash1; in test3()
113 if (hash1 < hash2) { in test3()
117 if (hash1 > hash2) { in test3()
131 hash1.hash[0] = 0x0; in test3()
145 if (hash1 > hash2) { in test3()
[all …]
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/storage/ndb/src/common/util/
H A DHashMap2.cpp128 hash1.setSize(j); in TAPTEST()
145 OK(hash1.add(&pool[i])); in TAPTEST()
181 hash1.reset(); in TAPTEST()
191 hash1.setSize(j); in TAPTEST()
208 OK(hash1.add(&pool[i])); in TAPTEST()
234 hash1.setSize(j); in TAPTEST()
251 OK(hash1.add(&pool[i])); in TAPTEST()
276 hash1.setSize(150 - j); in TAPTEST()
314 hash1.reset(); in TAPTEST()
324 hash1.setSize(j); in TAPTEST()
[all …]
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/ndb/src/common/util/
H A DHashMap2.cpp128 hash1.setSize(j); in TAPTEST()
145 OK(hash1.add(&pool[i])); in TAPTEST()
181 hash1.reset(); in TAPTEST()
191 hash1.setSize(j); in TAPTEST()
208 OK(hash1.add(&pool[i])); in TAPTEST()
234 hash1.setSize(j); in TAPTEST()
251 OK(hash1.add(&pool[i])); in TAPTEST()
276 hash1.setSize(150 - j); in TAPTEST()
314 hash1.reset(); in TAPTEST()
324 hash1.setSize(j); in TAPTEST()
[all …]
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/ndb/src/common/util/
H A DHashMap2.cpp128 hash1.setSize(j); in TAPTEST()
145 OK(hash1.add(&pool[i])); in TAPTEST()
181 hash1.reset(); in TAPTEST()
191 hash1.setSize(j); in TAPTEST()
208 OK(hash1.add(&pool[i])); in TAPTEST()
234 hash1.setSize(j); in TAPTEST()
251 OK(hash1.add(&pool[i])); in TAPTEST()
276 hash1.setSize(150 - j); in TAPTEST()
314 hash1.reset(); in TAPTEST()
324 hash1.setSize(j); in TAPTEST()
[all …]
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/ndb/src/common/util/
H A DHashMap2.cpp128 hash1.setSize(j); in TAPTEST()
145 OK(hash1.add(&pool[i])); in TAPTEST()
181 hash1.reset(); in TAPTEST()
191 hash1.setSize(j); in TAPTEST()
208 OK(hash1.add(&pool[i])); in TAPTEST()
234 hash1.setSize(j); in TAPTEST()
251 OK(hash1.add(&pool[i])); in TAPTEST()
276 hash1.setSize(150 - j); in TAPTEST()
314 hash1.reset(); in TAPTEST()
324 hash1.setSize(j); in TAPTEST()
[all …]
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/storage/ndb/src/common/util/
H A DHashMap2.cpp128 hash1.setSize(j); in TAPTEST()
145 OK(hash1.add(&pool[i])); in TAPTEST()
181 hash1.reset(); in TAPTEST()
191 hash1.setSize(j); in TAPTEST()
208 OK(hash1.add(&pool[i])); in TAPTEST()
234 hash1.setSize(j); in TAPTEST()
251 OK(hash1.add(&pool[i])); in TAPTEST()
276 hash1.setSize(150 - j); in TAPTEST()
314 hash1.reset(); in TAPTEST()
324 hash1.setSize(j); in TAPTEST()
[all …]
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/storage/ndb/src/common/util/
H A DHashMap2.cpp128 hash1.setSize(j); in TAPTEST()
145 OK(hash1.add(&pool[i])); in TAPTEST()
181 hash1.reset(); in TAPTEST()
191 hash1.setSize(j); in TAPTEST()
208 OK(hash1.add(&pool[i])); in TAPTEST()
234 hash1.setSize(j); in TAPTEST()
251 OK(hash1.add(&pool[i])); in TAPTEST()
276 hash1.setSize(150 - j); in TAPTEST()
314 hash1.reset(); in TAPTEST()
324 hash1.setSize(j); in TAPTEST()
[all …]
/dports/devel/cutter/cutter-1.2.6/test/gcutter/
H A Dtest-gcut-hash-table.c16 static GHashTable *hash1, *hash2; variable
22 hash1 = NULL; in cut_setup()
31 if (hash1) in cut_teardown()
32 g_hash_table_unref(hash1); in cut_teardown()
56 hash1 = gcut_hash_table_string_string_new("key1", "value1", in test_new()
71 hash1 = gcut_hash_table_string_string_new("key1", "value1", in test_equal_same_content()
109 hash1 = gcut_hash_table_string_string_new(NULL, NULL); in test_equal_empty()
126 inspected = gcut_hash_table_string_string_inspect(hash1); in test_inspect()
134 hash1 = gcut_hash_table_string_string_new(NULL, NULL); in test_inspect_empty()
135 inspected = gcut_hash_table_string_string_inspect(hash1); in test_inspect_empty()
[all …]
/dports/games/KnightCap/Export/
H A Dhash.c140 t->hash1 != b->hash1) { in check_hash()
195 t->hash1 != b->hash1) { in fetch_hash()
228 if (t[0].hash1 != b->hash1) in insert_hash()
275 t->hash1 = b->hash1; in insert_hash()
405 hash1 = b->hash1; in ettc_check_hash()
424 b->hash1 = hash1; in ettc_check_hash()
440 b->hash1 = hash1; in ettc_check_hash()
456 hash1 = b->hash1; in hash_ordering()
479 b->hash1 = hash1; in hash_ordering()
487 b->hash1 = hash1; in hash_ordering()
[all …]
/dports/devel/p5-DB_File-Lock/DB_File-Lock-0.05/
H A Dtest.pl46 report_result( tie %hash1, 'DB_File::Lock', $file1, O_CREAT|O_RDWR, 0600, $DB_HASH, "write" );
48 report_result( untie %hash1 );
54 report_result( untie %hash1 );
58 report_result( tie %hash1, 'DB_File::Lock', $file1, O_CREAT|O_RDWR, 0664, $DB_HASH,
61 report_result( untie %hash1 );
68 untie %hash1;
78 report_result( untie %hash1 and untie %hash2 );
94 $hash1{a} = 1;
97 report_result( $hash1{a} == 1 and $hash1{b} == 2 );
98 report_result( untie %hash1 );
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/
H A DStringUtil.cs39 int hash1 = (5381 << 16) + 5381; in GetStableHashCode()
40 int hash2 = hash1; in GetStableHashCode()
47 hash1 = ((hash1 << 5) + hash1 + (hash1 >> 27)) ^ pint[0]; in GetStableHashCode()
55 hash1 = ((hash1 << 5) + hash1 + (hash1 >> 27)) ^ pint[0]; in GetStableHashCode()
58 return hash1 + (hash2 * 1566083941); in GetStableHashCode()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chromecast/crypto/
H A Dsignature_cache_unittest.cc13 const std::string hash1("hash1"); in TEST() local
18 cache.Put(private_key1, hash1, signature1); in TEST()
26 const std::string hash1("hash1"); in TEST() local
30 cache.Put(private_key1, hash1, signature1); in TEST()
37 const std::string hash1("hash1"); in TEST() local
40 cache.Put(private_key1, hash1, signature1); in TEST()
41 cache.Put(private_key2, hash1, signature1); in TEST()
48 const std::string hash1("hash1"); in TEST() local
51 cache.Put(private_key1, hash1, signature1); in TEST()
52 ASSERT_EQ("", cache.Get(private_key2, hash1)); in TEST()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Collections.NonGeneric/tests/
H A DHashtableTests.cs51 Assert.Equal(0, hash1.Count); in Ctor_IDictionary()
54 Assert.Equal(0, hash1.Count); in Ctor_IDictionary()
73 Assert.Equal(0, hash1.Count); in Ctor_IDictionary_HashCodeProvider_Comparer()
76 Assert.Equal(0, hash1.Count); in Ctor_IDictionary_HashCodeProvider_Comparer()
81 VerifyHashtable(hash1, hash2, hash1.EqualityComparer); in Ctor_IDictionary_HashCodeProvider_Comparer()
140 Assert.Equal(0, hash1.Count); in Ctor_IDictionary_Int()
144 Assert.Equal(0, hash1.Count); in Ctor_IDictionary_Int()
149 VerifyHashtable(hash1, hash2, hash1.EqualityComparer); in Ctor_IDictionary_Int()
924 int count = hash1.Count; in VerifyHashtable()
927 hash1.Add(i, i); in VerifyHashtable()
[all …]
/dports/math/libmesh/libmesh-1.6.2/contrib/fparser/fpoptimizer/
H A Dhash.hh21 fphash_value_t hash1, hash2; member
23 fphash_t() : hash1(0), hash2(0) { } in fphash_t()
25 const fphash_value_t& b) : hash1(a), hash2(b) { } in fphash_t()
28 { return hash1 == rhs.hash1 && hash2 == rhs.hash2; } in operator ==()
31 { return hash1 != rhs.hash1 || hash2 != rhs.hash2; } in operator !=()
34 { return hash1 != rhs.hash1 ? hash1 < rhs.hash1 : hash2 < rhs.hash2; } in operator <()
/dports/security/zeronet/ZeroNet-0.7.1/plugins/disabled-Bootstrapper/Test/
H A DTestBootstrapper.py33 hash1 = hashlib.sha256(b"site1").digest()
39 "hashes": [hash1, hash2],
55 hash1 = hashlib.sha256(b"site1").digest()
61 "hashes": [hash1, hash2],
71 "hashes": [hash1, hash2],
80 "hashes": [hash1, hash2],
89 "hashes": [hash1, hash2, hash3],
115 hash1 = hashlib.sha256(b"hash1").digest()
220 "hashes": [hash1, hash2],
234 "hashes": [hash1],
[all …]
/dports/security/botan110/Botan-1.10.17/src/hash/comb4p/
H A Dcomb4p.cpp38 hash1(h1), hash2(h2) in Comb4P()
40 if(hash1->name() == hash2->name()) in Comb4P()
43 if(hash1->output_length() != hash2->output_length()) in Comb4P()
54 return hash1->hash_block_size(); in hash_block_size()
65 hash1->clear(); in clear()
69 hash1->update(0); in clear()
75 hash1->update(input, length); in add_data()
81 SecureVector<byte> h1 = hash1->final(); in final_result()
88 comb4p_round(h2, h1, 1, hash1, hash2); in final_result()
91 comb4p_round(h1, h2, 2, hash1, hash2); in final_result()
[all …]
/dports/net-mgmt/nitpicker/nitpicker-1.2.1/tools/parse_flowfile/src/
H A Diptable.c37 int hash1,hash2; in addflow() local
45 hash1=matchip(htonl(flow->sip)); in addflow()
53 if( (hash1 > 0) && (hash2 > 0) ) { in addflow()
60 else if ( (hash1 == -1 ) && (hash2 == -1 ) ) { in addflow()
69 if (iptable[hash1].starttime==0) in addflow()
71 iptable[hash1].starttime = absflowstart; in addflow()
72 iptable[hash1].stoptime = absflowstop; in addflow()
92 iptable[hash1].starttime = absflowstart ; in addflow()
95 iptable[hash1].stoptime = absflowstop ; in addflow()
113 if ( iptable[hash1].stoptime < absflowstop ) in addflow()
[all …]
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/sofia-sip/libsofia-sip-ua/url/
H A Dtorture_url.c108 url_digest(hash1, sizeof(hash1), u, NULL); in test_quote()
110 TEST(memcmp(hash1, hash2, sizeof(hash1)), 0); in test_quote()
114 url_digest(hash1, sizeof(hash1), u, NULL); in test_quote()
115 TEST(memcmp(hash1, hash2, sizeof(hash1)), 0); in test_quote()
117 TEST(memcmp(hash1, hash2, sizeof(hash1)), 0); in test_quote()
130 url_digest(hash1, sizeof(hash1), u, NULL); in test_quote()
132 TEST(memcmp(hash1, hash2, sizeof(hash1)), 0); in test_quote()
144 url_digest(hash1, sizeof(hash1), u, NULL); in test_quote()
146 TEST(memcmp(hash1, hash2, sizeof(hash1)), 0); in test_quote()
152 url_digest(hash1, sizeof(hash1), u, NULL); in test_quote()
[all …]
/dports/net/sofia-sip/sofia-sip-1.13.4/libsofia-sip-ua/url/
H A Dtorture_url.c108 url_digest(hash1, sizeof(hash1), u, NULL); in test_quote()
110 TEST(memcmp(hash1, hash2, sizeof(hash1)), 0); in test_quote()
114 url_digest(hash1, sizeof(hash1), u, NULL); in test_quote()
115 TEST(memcmp(hash1, hash2, sizeof(hash1)), 0); in test_quote()
117 TEST(memcmp(hash1, hash2, sizeof(hash1)), 0); in test_quote()
130 url_digest(hash1, sizeof(hash1), u, NULL); in test_quote()
132 TEST(memcmp(hash1, hash2, sizeof(hash1)), 0); in test_quote()
144 url_digest(hash1, sizeof(hash1), u, NULL); in test_quote()
146 TEST(memcmp(hash1, hash2, sizeof(hash1)), 0); in test_quote()
152 url_digest(hash1, sizeof(hash1), u, NULL); in test_quote()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corert/src/Common/src/TypeSystem/Common/
H A DTypeHashingAlgorithms.cs57 int hash1 = _hash1 + _rotl(_hash1, 8); in ToHashCode()
60 return hash1 ^ hash2; in ToHashCode()
75 int hash1 = 0x6DA3B944; in ComputeNameHashCode()
80 hash1 = (hash1 + _rotl(hash1, 5)) ^ src[i]; in ComputeNameHashCode()
85 hash1 += _rotl(hash1, 8); in ComputeNameHashCode()
88 return hash1 ^ hash2; in ComputeNameHashCode()
93 int hash1 = 0x6DA3B944; in ComputeASCIINameHashCode()
101 hash1 = (hash1 + _rotl(hash1, 5)) ^ b1; in ComputeASCIINameHashCode()
110 hash1 += _rotl(hash1, 8); in ComputeASCIINameHashCode()
115 return hash1 ^ hash2; in ComputeASCIINameHashCode()
/dports/security/seal/SEAL-3.7.2/native/tests/seal/util/
H A Dhash.cpp26 HashFunction::hash_block_type hash1, hash2; in TEST() local
27 hash(0, hash1); in TEST()
30 ASSERT_TRUE(hash1 != hash2); in TEST()
33 ASSERT_TRUE(hash1 == hash2); in TEST()
36 ASSERT_TRUE(hash1 != hash2); in TEST()
38 hash(0x123456, hash1); in TEST()
40 ASSERT_TRUE(hash1 != hash2); in TEST()
44 hash(0x123456, hash1); in TEST()
46 ASSERT_TRUE(hash1 != hash2); in TEST()
/dports/converters/wkhtmltopdf/qt-5db36ec/tests/auto/qhash/
H A Dtst_qhash.cpp512 QVERIFY(hash1.key(2) == "deux" || hash1.key(2) == "two"); in key()
513 QVERIFY(hash1.key(2, def) == "deux" || hash1.key(2, def) == "two"); in key()
789 hash1.squeeze(); in compare()
795 hash1.take(234); in compare()
1106 hash1.remove(9, 99); in qmultihash_specific()
1110 hash1.remove(9, 99); in qmultihash_specific()
1114 hash1.remove(1, 99); in qmultihash_specific()
1117 hash1.insert(1, 99); in qmultihash_specific()
1118 hash1.insert(1, 99); in qmultihash_specific()
1121 hash1.remove(1, 99); in qmultihash_specific()
[all …]
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/util/hash/
H A Dhash_test.go68 hash1 := hasher1.Sum32()
71 if hash1 != hash2 {
72 …("hash of the same object (%q) produced different results: %d vs %d", toString(tc()), hash1, hash2)
82 if hash1a != hash1 {
83 … hash of the same object (%q) produced different results: %d vs %d", toString(tc()), hash1, hash1a)
126 hash1 := hasher1.Sum32()
135 if hash1 != hash1a {
136 t.Errorf("repeated hash of the same object produced different results: %d vs %d", hash1, hash1a)
139 if hash1 == hash2 {
140 …) and hash2(%d) must be different because they have different values for wheel size", hash1, hash2)
[all …]
/dports/devel/lazygit/lazygit-0.31.4/vendor/github.com/jesseduffield/go-git/v5/go-git-341962be15a4/plumbing/protocol/packp/
H A Dupdreq_encode_test.go39 hash1 := plumbing.NewHash("1ecf0ef2c2dffb796033e5a02219af86ec6584e5")
45 {Name: name, Old: hash1, New: hash2},
57 hash1 := plumbing.NewHash("1ecf0ef2c2dffb796033e5a02219af86ec6584e5")
62 {Name: plumbing.ReferenceName("myref1"), Old: hash1, New: hash2},
78 hash1 := plumbing.NewHash("1ecf0ef2c2dffb796033e5a02219af86ec6584e5")
83 {Name: plumbing.ReferenceName("myref1"), Old: hash1, New: hash2},
100 hash1 := plumbing.NewHash("1ecf0ef2c2dffb796033e5a02219af86ec6584e5")
105 {Name: plumbing.ReferenceName("myref1"), Old: hash1, New: hash2},
110 r.Shallow = &hash1
124 hash1 := plumbing.NewHash("1ecf0ef2c2dffb796033e5a02219af86ec6584e5")
[all …]
/dports/sysutils/chezmoi/chezmoi-2.9.3/vendor/github.com/go-git/go-git/v5/plumbing/protocol/packp/
H A Dupdreq_encode_test.go38 hash1 := plumbing.NewHash("1ecf0ef2c2dffb796033e5a02219af86ec6584e5")
44 {Name: name, Old: hash1, New: hash2},
56 hash1 := plumbing.NewHash("1ecf0ef2c2dffb796033e5a02219af86ec6584e5")
61 {Name: plumbing.ReferenceName("myref1"), Old: hash1, New: hash2},
77 hash1 := plumbing.NewHash("1ecf0ef2c2dffb796033e5a02219af86ec6584e5")
82 {Name: plumbing.ReferenceName("myref1"), Old: hash1, New: hash2},
99 hash1 := plumbing.NewHash("1ecf0ef2c2dffb796033e5a02219af86ec6584e5")
104 {Name: plumbing.ReferenceName("myref1"), Old: hash1, New: hash2},
109 r.Shallow = &hash1
123 hash1 := plumbing.NewHash("1ecf0ef2c2dffb796033e5a02219af86ec6584e5")
[all …]

12345678910>>...73