/dports/sysutils/syslog-ng/syslog-ng-3.35.1/modules/kvformat/tests/ |
H A D | test_linux_audit_scanner.c | 44 assert_current_key_is(const gchar *expected_key) in assert_current_key_is() argument 48 …cr_assert_str_eq(key, expected_key, "current key mismatch, key: %s, expected_key: %s", key, expect… in assert_current_key_is() 61 assert_current_kv_is(const gchar *expected_key, const gchar *expected_value) in assert_current_kv_is() argument 63 assert_current_key_is(expected_key); in assert_current_kv_is() 68 assert_next_kv_is(const gchar *expected_key, const gchar *expected_value) in assert_next_kv_is() argument 71 assert_current_kv_is(expected_key, expected_value); in assert_next_kv_is()
|
/dports/devel/mtbl/mtbl-1.4.0/t/ |
H A D | test-iter-seek.c | 109 ubuf *expected_key = ubuf_init(1); in test_iter() local 110 ubuf_add_fmt(expected_key, KEY_FMT, i); in test_iter() 117 assert(bytes_compare(ubuf_data(expected_key), ubuf_size(expected_key), key, len_key) == 0); in test_iter() 119 ubuf_destroy(&expected_key); in test_iter() 142 ubuf *expected_key = ubuf_init(1); in test_iter() local 143 ubuf_add_fmt(expected_key, KEY_FMT, j); in test_iter() 147 assert(bytes_compare(ubuf_data(expected_key), ubuf_size(expected_key), key, len_key) == 0); in test_iter() 149 ubuf_destroy(&expected_key); in test_iter()
|
/dports/lang/mono/mono-5.10.1.57/external/boringssl/crypto/newhope/ |
H A D | newhope_vectors_test.cc | 56 epp_bytes, expected_pk, expected_rec, expected_key; in TestNewhope() local 65 !t->GetBytes(&expected_key, "Key")) { in TestNewhope() 84 t->ExpectBytesEqual(expected_key.data(), expected_key.size(), in TestNewhope() 91 std::vector<uint8_t> s_bytes, in_pk_bytes, in_rec_bytes, expected_key; in TestNewhope() local 95 !t->GetBytes(&expected_key, "Key")) { in TestNewhope() 105 return t->ExpectBytesEqual(expected_key.data(), expected_key.size(), key, in TestNewhope()
|
/dports/www/drupal8/drupal-8.9.20/core/tests/Drupal/Tests/Core/Plugin/Discovery/ |
H A D | YamlDiscoveryTest.php | 57 foreach ($this->expectedKeys as $expected_key) { 58 $this->assertArrayHasKey($expected_key, $definitions); 114 foreach ($this->expectedKeys as $expected_key) { 115 … $this->assertEquals($definitions[$expected_key], $this->discovery->getDefinition($expected_key));
|
/dports/www/drupal9/drupal-9.2.10/core/tests/Drupal/Tests/Core/Plugin/Discovery/ |
H A D | YamlDiscoveryTest.php | 57 foreach ($this->expectedKeys as $expected_key) { 58 $this->assertArrayHasKey($expected_key, $definitions); 114 foreach ($this->expectedKeys as $expected_key) { 115 … $this->assertEquals($definitions[$expected_key], $this->discovery->getDefinition($expected_key));
|
/dports/science/py-cirq-aqt/Cirq-0.12.0/examples/ |
H A D | bb84.py | 119 expected_key = bitstring( 136 assert expected_key == obtained_key, "Keys don't match" 138 print_results(alice_basis, bob_basis, alice_state, expected_key, obtained_key) 148 expected_key = bitstring( 173 assert expected_key != obtained_key, "Keys shouldn't match" 177 print_results(alice_basis, bob_basis, alice_state, expected_key, obtained_key) 212 def print_results(alice_basis, bob_basis, alice_state, expected_key, obtained_key): argument
|
/dports/science/py-cirq-ionq/Cirq-0.13.1/examples/ |
H A D | bb84.py | 119 expected_key = bitstring( 136 assert expected_key == obtained_key, "Keys don't match" 138 print_results(alice_basis, bob_basis, alice_state, expected_key, obtained_key) 148 expected_key = bitstring( 173 assert expected_key != obtained_key, "Keys shouldn't match" 177 print_results(alice_basis, bob_basis, alice_state, expected_key, obtained_key) 212 def print_results(alice_basis, bob_basis, alice_state, expected_key, obtained_key): argument
|
/dports/science/py-cirq-pasqal/Cirq-0.13.1/examples/ |
H A D | bb84.py | 119 expected_key = bitstring( 136 assert expected_key == obtained_key, "Keys don't match" 138 print_results(alice_basis, bob_basis, alice_state, expected_key, obtained_key) 148 expected_key = bitstring( 173 assert expected_key != obtained_key, "Keys shouldn't match" 177 print_results(alice_basis, bob_basis, alice_state, expected_key, obtained_key) 212 def print_results(alice_basis, bob_basis, alice_state, expected_key, obtained_key): argument
|
/dports/science/py-cirq-core/Cirq-0.13.1/examples/ |
H A D | bb84.py | 119 expected_key = bitstring( 136 assert expected_key == obtained_key, "Keys don't match" 138 print_results(alice_basis, bob_basis, alice_state, expected_key, obtained_key) 148 expected_key = bitstring( 173 assert expected_key != obtained_key, "Keys shouldn't match" 177 print_results(alice_basis, bob_basis, alice_state, expected_key, obtained_key) 212 def print_results(alice_basis, bob_basis, alice_state, expected_key, obtained_key): argument
|
/dports/science/py-cirq-google/Cirq-0.13.0/examples/ |
H A D | bb84.py | 119 expected_key = bitstring( 136 assert expected_key == obtained_key, "Keys don't match" 138 print_results(alice_basis, bob_basis, alice_state, expected_key, obtained_key) 148 expected_key = bitstring( 173 assert expected_key != obtained_key, "Keys shouldn't match" 177 print_results(alice_basis, bob_basis, alice_state, expected_key, obtained_key) 212 def print_results(alice_basis, bob_basis, alice_state, expected_key, obtained_key): argument
|
/dports/security/py-paramiko/paramiko-2.7.2/paramiko/ |
H A D | ssh_exception.py | 121 def __init__(self, hostname, got_key, expected_key): 122 SSHException.__init__(self, hostname, got_key, expected_key) 125 self.expected_key = expected_key 134 self.expected_key.get_base64(),
|
/dports/devel/buildstream/BuildStream-1.2.8/tests/cachekey/ |
H A D | cachekey.py | 92 expected_key = f.read() 93 expected_key = expected_key.strip() 95 expected_key = None 102 expected_keys[element_name] = expected_key
|
/dports/devel/libfreefare/libfreefare-libfreefare-0.4.0/test/ |
H A D | test_mifare_desfire_des.c | 46 uint8_t expected_key[8] = { 1, 1, 1, 1, 1, 1, 1, 1 }; in test_mifare_desfire_des_receive() local 51 cut_assert_equal_memory (&expected_key, 8, key->data, 8, cut_message ("Wrong key")); in test_mifare_desfire_des_receive() 67 uint8_t expected_key[8] = { 1, 1, 1, 1, 1, 1, 1, 1 }; in test_mifare_desfire_des_send() local 72 cut_assert_equal_memory (&expected_key, 8, key->data, 8, cut_message ("Wrong key")); in test_mifare_desfire_des_send()
|
/dports/databases/percona56-client/percona-server-5.6.51-91.0/storage/tokudb/PerconaFT/src/tests/ |
H A D | get_key_after_bytes_unit.cc | 108 …int expected_key = std::min(real_start_key + (e->skip_len / (2 * sizeof(int))), (uint64_t) num_key… in check_callback() local 111 if (!e->filled || expected_key >= num_keys) { in check_callback() 112 expected_key = -1; in check_callback() 115 if (expected_key == -1) { in check_callback() 120 assert(end_key->size == sizeof expected_key); in check_callback() 121 assert((*(int *) end_key->data) == expected_key); in check_callback() 138 assert(found <= expected_key + key_slack); in check_callback() 139 assert(found >= expected_key - key_slack); in check_callback()
|
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/storage/tokudb/PerconaFT/src/tests/ |
H A D | get_key_after_bytes_unit.cc | 108 …int expected_key = std::min(real_start_key + (e->skip_len / (2 * sizeof(int))), (uint64_t) num_key… in check_callback() local 111 if (!e->filled || expected_key >= num_keys) { in check_callback() 112 expected_key = -1; in check_callback() 115 if (expected_key == -1) { in check_callback() 120 assert(end_key->size == sizeof expected_key); in check_callback() 121 assert((*(int *) end_key->data) == expected_key); in check_callback() 138 assert(found <= expected_key + key_slack); in check_callback() 139 assert(found >= expected_key - key_slack); in check_callback()
|
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/tokudb/PerconaFT/src/tests/ |
H A D | get_key_after_bytes_unit.cc | 108 …int expected_key = std::min(real_start_key + (e->skip_len / (2 * sizeof(int))), (uint64_t) num_key… in check_callback() local 111 if (!e->filled || expected_key >= num_keys) { in check_callback() 112 expected_key = -1; in check_callback() 115 if (expected_key == -1) { in check_callback() 120 assert(end_key->size == sizeof expected_key); in check_callback() 121 assert((*(int *) end_key->data) == expected_key); in check_callback() 138 assert(found <= expected_key + key_slack); in check_callback() 139 assert(found >= expected_key - key_slack); in check_callback()
|
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/tokudb/PerconaFT/src/tests/ |
H A D | get_key_after_bytes_unit.cc | 108 …int expected_key = std::min(real_start_key + (e->skip_len / (2 * sizeof(int))), (uint64_t) num_key… in check_callback() local 111 if (!e->filled || expected_key >= num_keys) { in check_callback() 112 expected_key = -1; in check_callback() 115 if (expected_key == -1) { in check_callback() 120 assert(end_key->size == sizeof expected_key); in check_callback() 121 assert((*(int *) end_key->data) == expected_key); in check_callback() 138 assert(found <= expected_key + key_slack); in check_callback() 139 assert(found >= expected_key - key_slack); in check_callback()
|
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/tokudb/PerconaFT/src/tests/ |
H A D | get_key_after_bytes_unit.cc | 108 …int expected_key = std::min(real_start_key + (e->skip_len / (2 * sizeof(int))), (uint64_t) num_key… in check_callback() local 111 if (!e->filled || expected_key >= num_keys) { in check_callback() 112 expected_key = -1; in check_callback() 115 if (expected_key == -1) { in check_callback() 120 assert(end_key->size == sizeof expected_key); in check_callback() 121 assert((*(int *) end_key->data) == expected_key); in check_callback() 138 assert(found <= expected_key + key_slack); in check_callback() 139 assert(found >= expected_key - key_slack); in check_callback()
|
/dports/databases/percona56-server/percona-server-5.6.51-91.0/storage/tokudb/PerconaFT/src/tests/ |
H A D | get_key_after_bytes_unit.cc | 108 …int expected_key = std::min(real_start_key + (e->skip_len / (2 * sizeof(int))), (uint64_t) num_key… in check_callback() local 111 if (!e->filled || expected_key >= num_keys) { in check_callback() 112 expected_key = -1; in check_callback() 115 if (expected_key == -1) { in check_callback() 120 assert(end_key->size == sizeof expected_key); in check_callback() 121 assert((*(int *) end_key->data) == expected_key); in check_callback() 138 assert(found <= expected_key + key_slack); in check_callback() 139 assert(found >= expected_key - key_slack); in check_callback()
|
/dports/databases/mariadb104-server/mariadb-10.4.24/storage/tokudb/PerconaFT/src/tests/ |
H A D | get_key_after_bytes_unit.cc | 108 …int expected_key = std::min(real_start_key + (e->skip_len / (2 * sizeof(int))), (uint64_t) num_key… in check_callback() local 111 if (!e->filled || expected_key >= num_keys) { in check_callback() 112 expected_key = -1; in check_callback() 115 if (expected_key == -1) { in check_callback() 120 assert(end_key->size == sizeof expected_key); in check_callback() 121 assert((*(int *) end_key->data) == expected_key); in check_callback() 138 assert(found <= expected_key + key_slack); in check_callback() 139 assert(found >= expected_key - key_slack); in check_callback()
|
/dports/databases/mariadb104-client/mariadb-10.4.24/storage/tokudb/PerconaFT/src/tests/ |
H A D | get_key_after_bytes_unit.cc | 108 …int expected_key = std::min(real_start_key + (e->skip_len / (2 * sizeof(int))), (uint64_t) num_key… in check_callback() local 111 if (!e->filled || expected_key >= num_keys) { in check_callback() 112 expected_key = -1; in check_callback() 115 if (expected_key == -1) { in check_callback() 120 assert(end_key->size == sizeof expected_key); in check_callback() 121 assert((*(int *) end_key->data) == expected_key); in check_callback() 138 assert(found <= expected_key + key_slack); in check_callback() 139 assert(found >= expected_key - key_slack); in check_callback()
|
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/tokudb/PerconaFT/src/tests/ |
H A D | get_key_after_bytes_unit.cc | 108 …int expected_key = std::min(real_start_key + (e->skip_len / (2 * sizeof(int))), (uint64_t) num_key… in check_callback() local 111 if (!e->filled || expected_key >= num_keys) { in check_callback() 112 expected_key = -1; in check_callback() 115 if (expected_key == -1) { in check_callback() 120 assert(end_key->size == sizeof expected_key); in check_callback() 121 assert((*(int *) end_key->data) == expected_key); in check_callback() 138 assert(found <= expected_key + key_slack); in check_callback() 139 assert(found >= expected_key - key_slack); in check_callback()
|
/dports/databases/mariadb103-client/mariadb-10.3.34/storage/tokudb/PerconaFT/src/tests/ |
H A D | get_key_after_bytes_unit.cc | 108 …int expected_key = std::min(real_start_key + (e->skip_len / (2 * sizeof(int))), (uint64_t) num_key… in check_callback() local 111 if (!e->filled || expected_key >= num_keys) { in check_callback() 112 expected_key = -1; in check_callback() 115 if (expected_key == -1) { in check_callback() 120 assert(end_key->size == sizeof expected_key); in check_callback() 121 assert((*(int *) end_key->data) == expected_key); in check_callback() 138 assert(found <= expected_key + key_slack); in check_callback() 139 assert(found >= expected_key - key_slack); in check_callback()
|
/dports/databases/mariadb103-server/mariadb-10.3.34/storage/tokudb/PerconaFT/src/tests/ |
H A D | get_key_after_bytes_unit.cc | 108 …int expected_key = std::min(real_start_key + (e->skip_len / (2 * sizeof(int))), (uint64_t) num_key… 111 if (!e->filled || expected_key >= num_keys) { 112 expected_key = -1; 115 if (expected_key == -1) { 120 assert(end_key->size == sizeof expected_key); 121 assert((*(int *) end_key->data) == expected_key); 138 assert(found <= expected_key + key_slack); 139 assert(found >= expected_key - key_slack);
|
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/tokudb/PerconaFT/src/tests/ |
H A D | get_key_after_bytes_unit.cc | 108 …int expected_key = std::min(real_start_key + (e->skip_len / (2 * sizeof(int))), (uint64_t) num_key… in check_callback() local 111 if (!e->filled || expected_key >= num_keys) { in check_callback() 112 expected_key = -1; in check_callback() 115 if (expected_key == -1) { in check_callback() 120 assert(end_key->size == sizeof expected_key); in check_callback() 121 assert((*(int *) end_key->data) == expected_key); in check_callback() 138 assert(found <= expected_key + key_slack); in check_callback() 139 assert(found >= expected_key - key_slack); in check_callback()
|