| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_kx/ |
| H A D | crypto_kx.c | 42 unsigned char keys[2 * crypto_kx_SESSIONKEYBYTES]; in crypto_kx_client_session_keys() local 58 crypto_generichash_init(&h, NULL, 0U, sizeof keys); in crypto_kx_client_session_keys() 63 crypto_generichash_final(&h, keys, sizeof keys); in crypto_kx_client_session_keys() 66 rx[i] = keys[i]; in crypto_kx_client_session_keys() 67 tx[i] = keys[i + crypto_kx_SESSIONKEYBYTES]; in crypto_kx_client_session_keys() 69 sodium_memzero(keys, sizeof keys); in crypto_kx_client_session_keys() 99 crypto_generichash_init(&h, NULL, 0U, sizeof keys); in crypto_kx_server_session_keys() 104 crypto_generichash_final(&h, keys, sizeof keys); in crypto_kx_server_session_keys() 107 tx[i] = keys[i]; in crypto_kx_server_session_keys() 108 rx[i] = keys[i + crypto_kx_SESSIONKEYBYTES]; in crypto_kx_server_session_keys() [all …]
|
| /f-stack/app/redis-5.0.5/tests/unit/ |
| H A D | scan.tcl | 7 set keys {} 16 set keys [lsort -unique $keys] 25 set keys {} 34 set keys [lsort -unique $keys] 43 set keys {} 52 set keys [lsort -unique $keys] 76 set keys {} 85 set keys [lsort -unique $keys] 110 set keys {} 150 set keys {} [all …]
|
| /f-stack/dpdk/app/test/ |
| H A D | test_hash.c | 115 static struct flow_key keys[5] = { { variable 283 print_key_info("Add", &keys[0], pos0); in test_add_delete() 288 print_key_info("Lkp", &keys[0], pos0); in test_add_delete() 293 print_key_info("Del", &keys[0], pos0); in test_add_delete() 298 print_key_info("Lkp", &keys[0], pos0); in test_add_delete() 315 print_key_info("Add", &keys[0], pos1); in test_add_delete() 546 ip_src = keys[0].ip_src; in test_add_delete_free_lf() 554 keys[0].ip_src++; in test_add_delete_free_lf() 572 keys[0].ip_src = ip_src; in test_add_delete_free_lf() 724 key_array[i] = &keys[i]; in test_five_keys() [all …]
|
| H A D | test_efd.c | 54 static struct flow_key keys[5] = { variable 131 print_key_info("Add", &keys[0], data[0]); in test_add_delete() 143 print_key_info("Del", &keys[0], data[0]); in test_add_delete() 173 print_key_info("Add", &keys[1], data[1]); in test_add_update_delete() 177 print_key_info("Lkp", &keys[1], data[1]); in test_add_update_delete() 182 print_key_info("Add", &keys[1], data[1]); in test_add_update_delete() 263 &keys[i], data[i]), in test_five_keys() 270 key_array[i] = &keys[i]; in test_five_keys() 289 &keys[i], data[i]), in test_five_keys() 297 &keys[i]), data[i], in test_five_keys() [all …]
|
| H A D | test_hash_perf.c | 147 memcpy(keys[i], keys[swap_idx], hashtest_key_lens[table_index]); in shuffle_input_keys() 184 keys[0][j] = 0; in get_input_keys() 195 keys[i][0] = ++k; in get_input_keys() 197 if (keys[i][0] == 0) in get_input_keys() 203 keys[i][j] = keys[i - 1][j]; in get_input_keys() 205 keys[i][j] = keys[i][j]; in get_input_keys() 209 keys[i][j] = keys[i-1][j] + 1; in get_input_keys() 211 keys[i][j] = keys[i][j] + 1; in get_input_keys() 670 keys = rte_zmalloc(NULL, ENTRIES * sizeof(*keys), 0); in fbk_hash_perf_test() 671 if (keys == NULL) { in fbk_hash_perf_test() [all …]
|
| H A D | test_efd_perf.c | 80 static uint8_t keys[KEYS_TO_ADD][MAX_KEYSIZE]; variable 97 memcpy(keys[i], keys[swap_idx], hashtest_key_lens[params->cycle]); in shuffle_input_keys() 128 keys[0][i] = 0; in setup_keys_and_data() 133 keys[i][j] = rte_rand() & 0xFF; in setup_keys_and_data() 148 if (memcmp(keys[i], keys[i + 1], params->key_size) == 0) { in setup_keys_and_data() 152 keys[i][j] = rte_rand() & 0xFF; in setup_keys_and_data() 181 printf("%02x", keys[i][a]); in timed_adds() 205 test_socket_id, keys[j]); in timed_lookups() 210 printf("%02x", keys[i][a]); in timed_lookups() 254 keys[data_idx][a]); in timed_lookups_multi() [all …]
|
| H A D | test_hash_multiwriter.c | 36 uint32_t *keys; member 82 tbl_multiwriter_test_params.keys + i) < 0) in test_hash_multiwriter_worker() 91 tbl_multiwriter_test_params.keys[i] in test_hash_multiwriter_worker() 106 uint32_t *keys; in test_hash_multiwriter() local 151 keys = rte_malloc(NULL, sizeof(uint32_t) * nb_entries, 0); in test_hash_multiwriter() 153 if (keys == NULL) { in test_hash_multiwriter() 159 keys[i] = i; in test_hash_multiwriter() 161 tbl_multiwriter_test_params.keys = keys; in test_hash_multiwriter() 214 if (tbl_multiwriter_test_params.keys[i] in test_hash_multiwriter() 247 rte_free(tbl_multiwriter_test_params.keys); in test_hash_multiwriter() [all …]
|
| H A D | test_hash_readwrite.c | 41 uint32_t *keys; member 128 uint32_t *keys = NULL; in init_params() local 172 if (keys == NULL) { in init_params() 183 tbl_rw_test_param.keys = keys; in init_params() 187 keys[i] = i; in init_params() 192 rte_free(keys); in init_params() 305 tbl_rw_test_param.keys + i, in test_rw_reader() 341 tbl_rw_test_param.keys + i, in test_rw_writer() 422 tbl_rw_test_param.keys + i, in test_hash_readwrite_perf() 453 tbl_rw_test_param.keys + i, in test_hash_readwrite_perf() [all …]
|
| H A D | test_member.c | 42 static struct flow_key keys[NUM_SAMPLES] = { variable 266 ret_cache = rte_member_add(setsum_cache, &keys[i], in test_member_insert() 293 ret_cache = rte_member_lookup(setsum_cache, &keys[i], in test_member_lookup() 308 key_array[i] = &keys[i]; in test_member_lookup() 347 ret_cache = rte_member_delete(setsum_cache, &keys[i], in test_member_delete() 358 key_array[i] = &keys[i]; in test_member_delete() 388 ret_cache = rte_member_delete(setsum_cache, &keys[i], in test_member_delete() 400 ret_cache = rte_member_lookup(setsum_cache, &keys[i], in test_member_delete() 442 ret_ht = rte_member_add(setsum_ht, &keys[j], i); in test_member_multimatch() 443 ret_vbf = rte_member_add(setsum_vbf, &keys[j], i); in test_member_multimatch() [all …]
|
| H A D | test_member_perf.c | 79 static uint8_t keys[KEYS_TO_ADD][MAX_KEYSIZE]; variable 93 memcpy(keys[i], keys[swap_idx], in shuffle_input_keys() 95 memcpy(keys[swap_idx], temp_key, in shuffle_input_keys() 134 keys[0][i] = 0; in setup_keys_and_data() 139 keys[i][j] = rte_rand() & 0xFF; in setup_keys_and_data() 155 if (memcmp(keys[i], keys[i + 1], in setup_keys_and_data() 160 keys[i][j] = rte_rand() & 0xFF; in setup_keys_and_data() 221 printf("%02x", keys[i][a]); in timed_adds() 286 keys_burst[k] = keys[j * BURST_SIZE + k]; in timed_lookups_bulk() 374 keys_burst[k] = keys[j * BURST_SIZE + k]; in timed_lookups_multimatch_bulk() [all …]
|
| H A D | test_hash_readwrite_lf_perf.c | 70 uint32_t *keys; member 278 if (keys == NULL) { in generate_keys() 386 tbl_rwc_test_param.keys = keys; in generate_keys() 395 keys[0] = 0; in generate_keys() 396 keys[1] = 1; in generate_keys() 398 keys[i] = keys[i-1] + keys[i-2]; in generate_keys() 421 keys+i, in generate_keys() 549 rte_free(keys); in generate_keys() 572 uint32_t *keys; in test_rwc_reader() local 665 uint32_t *keys; in write_keys() local [all …]
|
| H A D | test_rcu_qsbr_perf.c | 22 static uint32_t *keys; variable 305 if (rte_hash_lookup_data(hash, keys + i, in test_rcu_qsbr_hash_reader() 360 if (keys == NULL) { in init_hash() 366 keys[i] = i; in init_hash() 369 if (rte_hash_add_key_data(hash, keys + i, in init_hash() 428 pos = rte_hash_del_key(h, keys + i); in test_rcu_qsbr_sw_sv_1qs() 466 rte_free(keys); in test_rcu_qsbr_sw_sv_1qs() 487 rte_free(keys); in test_rcu_qsbr_sw_sv_1qs() 543 pos = rte_hash_del_key(h, keys + i); in test_rcu_qsbr_sw_sv_1qs_non_blocking() 582 rte_free(keys); in test_rcu_qsbr_sw_sv_1qs_non_blocking() [all …]
|
| /f-stack/app/nginx-1.16.1/src/http/modules/ |
| H A D | ngx_http_referer_module.c | 28 ngx_hash_keys_arrays_t *keys; member 330 if (conf->keys == NULL) { in ngx_http_referer_merge_conf() 376 && conf->keys->keys.nelts == 0 in ngx_http_referer_merge_conf() 400 if (conf->keys->keys.nelts) { in ngx_http_referer_merge_conf() 404 if (ngx_hash_init(&hash, conf->keys->keys.elts, conf->keys->keys.nelts) in ngx_http_referer_merge_conf() 411 if (conf->keys->dns_wc_head.nelts) { in ngx_http_referer_merge_conf() 431 if (conf->keys->dns_wc_tail.nelts) { in ngx_http_referer_merge_conf() 465 conf->keys = NULL; in ngx_http_referer_merge_conf() 480 if (rlcf->keys == NULL) { in ngx_http_valid_referers() 482 if (rlcf->keys == NULL) { in ngx_http_valid_referers() [all …]
|
| H A D | ngx_http_map_module.c | 20 ngx_hash_keys_arrays_t keys; member 243 ctx.keys.pool = cf->pool; in ngx_http_map_block() 244 ctx.keys.temp_pool = pool; in ngx_http_map_block() 301 if (ctx.keys.keys.nelts) { in ngx_http_map_block() 305 if (ngx_hash_init(&hash, ctx.keys.keys.elts, ctx.keys.keys.nelts) in ngx_http_map_block() 313 if (ctx.keys.dns_wc_head.nelts) { in ngx_http_map_block() 315 ngx_qsort(ctx.keys.dns_wc_head.elts, in ngx_http_map_block() 333 if (ctx.keys.dns_wc_tail.nelts) { in ngx_http_map_block() 335 ngx_qsort(ctx.keys.dns_wc_tail.elts, in ngx_http_map_block() 427 key %= ctx->keys.hsize; in ngx_http_map() [all …]
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/test/unit/ |
| H A D | rtree.c | 124 uintptr_t keys[] = {PAGE, PAGE + 1, in TEST_BEGIN() local 142 keys[j], true), &extent, in TEST_BEGIN() 146 j, keys[i], keys[j]); in TEST_BEGIN() 151 rtree_clear(tsdn, rtree, &rtree_ctx, keys[i]); in TEST_BEGIN() 163 uintptr_t keys[NSET]; in TEST_BEGIN() local 175 keys[i] = (uintptr_t)gen_rand64(sfmt); in TEST_BEGIN() 177 &rtree_ctx, keys[i], false, true); in TEST_BEGIN() 182 keys[i], true), &extent, in TEST_BEGIN() 187 keys[i], true), &extent, in TEST_BEGIN() 195 keys[i], true), in TEST_BEGIN() [all …]
|
| /f-stack/app/nginx-1.16.1/src/stream/ |
| H A D | ngx_stream_map_module.c | 20 ngx_hash_keys_arrays_t keys; member 241 ctx.keys.pool = cf->pool; in ngx_stream_map_block() 242 ctx.keys.temp_pool = pool; in ngx_stream_map_block() 300 if (ctx.keys.keys.nelts) { in ngx_stream_map_block() 304 if (ngx_hash_init(&hash, ctx.keys.keys.elts, ctx.keys.keys.nelts) in ngx_stream_map_block() 312 if (ctx.keys.dns_wc_head.nelts) { in ngx_stream_map_block() 314 ngx_qsort(ctx.keys.dns_wc_head.elts, in ngx_stream_map_block() 332 if (ctx.keys.dns_wc_tail.nelts) { in ngx_stream_map_block() 334 ngx_qsort(ctx.keys.dns_wc_tail.elts, in ngx_stream_map_block() 426 key %= ctx->keys.hsize; in ngx_stream_map() [all …]
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | db.c | 567 list *keys = pd[0]; in scanCallback() local 798 listRelease(keys); in scanGenericCommand() 1226 return keys; in getKeysUsingCommandTable() 1279 keys[num] = 1; in zunionInterGetKeys() 1281 return keys; in zunionInterGetKeys() 1305 return keys; in evalGetKeys() 1354 return keys; in sortGetKeys() 1381 return keys; in migrateGetKeys() 1414 keys[0] = 1; in georadiusGetKeys() 1419 return keys; in georadiusGetKeys() [all …]
|
| H A D | blocked.c | 391 streamID *gt = dictFetchValue(receiver->bpop.keys, in handleClientsBlockedOnKeys() 497 void blockForKeys(client *c, int btype, robj **keys, int numkeys, mstime_t timeout, robj *target, s… in blockForKeys() argument 517 if (dictAdd(c->bpop.keys,keys[j],key_data) != DICT_OK) { in blockForKeys() 521 incrRefCount(keys[j]); in blockForKeys() 524 de = dictFind(c->db->blocking_keys,keys[j]); in blockForKeys() 530 retval = dictAdd(c->db->blocking_keys,keys[j],l); in blockForKeys() 531 incrRefCount(keys[j]); in blockForKeys() 532 serverAssertWithInfo(c,keys[j],retval == DICT_OK); in blockForKeys() 548 serverAssertWithInfo(c,NULL,dictSize(c->bpop.keys) != 0); in unblockClientWaitingData() 549 di = dictGetIterator(c->bpop.keys); in unblockClientWaitingData() [all …]
|
| /f-stack/freebsd/contrib/device-tree/Bindings/input/ |
| H A D | input-reset.txt | 3 A simple binding to represent a set of keys as described in 4 include/uapi/linux/input.h. This is to communicate a sequence of keys to the 5 sysrq driver. Upon holding the keys for a specified amount of time (if 8 Key sequences are global to the system but all the keys in a set must be coming 12 a set of keys. 18 timeout-ms: duration keys must be pressed together in milliseconds before
|
| H A D | adc-keys.txt | 5 - compatible: "adc-keys" 8 - keyup-threshold-microvolt: Voltage at which all the keys are considered up. 15 Each button (key) is represented as a sub-node of "adc-keys": 26 adc-keys { 27 compatible = "adc-keys";
|
| H A D | iqs62x-keys.yaml | 4 $id: http://devicetree.org/schemas/input/iqs62x-keys.yaml# 18 These functions are collectively represented by a "keys" child node from the 26 - azoteq,iqs620a-keys 27 - azoteq,iqs621-keys 28 - azoteq,iqs622-keys 29 - azoteq,iqs624-keys 30 - azoteq,iqs625-keys 119 - azoteq,iqs624-keys 120 - azoteq,iqs625-keys
|
| H A D | gpio-keys.yaml | 4 $id: http://devicetree.org/schemas/input/gpio-keys.yaml# 7 title: Device-Tree bindings for GPIO attached keys 15 - gpio-keys 16 - gpio-keys-polled 74 deasserted, or both. This property is only valid for keys that wake up the 115 const: gpio-keys-polled 132 gpio-keys { 133 compatible = "gpio-keys";
|
| /f-stack/freebsd/contrib/device-tree/Bindings/mfd/ |
| H A D | iqs62x.yaml | 40 keys: 41 $ref: ../input/iqs62x-keys.yaml 72 keys { 73 compatible = "azoteq,iqs620a-keys"; 119 keys { 120 compatible = "azoteq,iqs620a-keys"; 156 keys { 157 compatible = "azoteq,iqs624-keys";
|
| /f-stack/dpdk/lib/librte_hash/ |
| H A D | rte_cuckoo_hash.c | 1483 struct rte_hash_key *keys, *k; in __hash_rcu_qsbr_free_resource() local 1489 keys = h->key_store; in __hash_rcu_qsbr_free_resource() 1973 key_slot->key, keys[i], h)) { in __bulk_lookup_l() 2002 key_slot->key, keys[i], h)) { in __bulk_lookup_l() 2131 key_slot->key, keys[i], h)) { in __bulk_lookup_lf() 2164 key_slot->key, keys[i], h)) { in __bulk_lookup_lf() 2195 keys[i], sig[i], in __bulk_lookup_lf() 2199 keys[i], sig[i], in __bulk_lookup_lf() 2244 rte_prefetch0(keys[i]); in __bulk_lookup_prefetching_loop() 2375 rte_prefetch0(keys[i]); in __rte_hash_lookup_with_hash_bulk_l() [all …]
|
| /f-stack/dpdk/lib/librte_member/ |
| H A D | rte_member.c | 207 const void **keys, uint32_t num_keys, in rte_member_lookup_bulk() argument 210 if (setsum == NULL || keys == NULL || set_ids == NULL) in rte_member_lookup_bulk() 215 return rte_member_lookup_bulk_ht(setsum, keys, num_keys, in rte_member_lookup_bulk() 218 return rte_member_lookup_bulk_vbf(setsum, keys, num_keys, in rte_member_lookup_bulk() 246 const void **keys, uint32_t num_keys, in rte_member_lookup_multi_bulk() argument 250 if (setsum == NULL || keys == NULL || set_ids == NULL || in rte_member_lookup_multi_bulk() 256 return rte_member_lookup_multi_bulk_ht(setsum, keys, num_keys, in rte_member_lookup_multi_bulk() 259 return rte_member_lookup_multi_bulk_vbf(setsum, keys, num_keys, in rte_member_lookup_multi_bulk()
|