Home
last modified time | relevance | path

Searched refs:hash_key (Results 1 – 25 of 28) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_cache.c48 static unsigned hash_key(const void *key, unsigned key_size) in hash_key() function
63 static unsigned hash_key(const unsigned char *p, int n) in hash_key() function
80 return hash_key((item), item_size); in cso_construct_key()
187 unsigned hash_key, enum cso_cache_type type, in cso_insert_state() argument
193 return cso_hash_insert(hash, hash_key, state); in cso_insert_state()
198 unsigned hash_key, enum cso_cache_type type) in cso_find_state() argument
202 return cso_hash_find(hash, hash_key); in cso_find_state()
207 unsigned hash_key, in cso_hash_find_data_from_template() argument
211 struct cso_hash_iter iter = cso_hash_find(hash, hash_key); in cso_hash_find_data_from_template()
226 unsigned hash_key, enum cso_cache_type type, in cso_find_state_template() argument
[all …]
Dcso_cache.h132 unsigned hash_key; member
157 unsigned hash_key, enum cso_cache_type type,
160 unsigned hash_key, enum cso_cache_type type);
162 unsigned hash_key, enum cso_cache_type type,
166 void * cso_take_state(struct cso_cache *sc, unsigned hash_key,
Dcso_context.c246 if (sampler && cso_hash_take(hash, sampler->hash_key)) in sanitize_hash()
273 cso_hash_insert(hash, sampler->hash_key, sampler); in sanitize_hash()
450 unsigned key_size, hash_key; in cso_set_blend() local
457 hash_key = cso_construct_key((void*)templ, key_size); in cso_set_blend()
458 iter = cso_find_state_template(ctx->cache, hash_key, CSO_BLEND, in cso_set_blend()
472 iter = cso_insert_state(ctx->cache, hash_key, CSO_BLEND, cso); in cso_set_blend()
515 unsigned hash_key = cso_construct_key((void*)templ, key_size); in cso_set_depth_stencil_alpha() local
517 hash_key, in cso_set_depth_stencil_alpha()
535 iter = cso_insert_state(ctx->cache, hash_key, in cso_set_depth_stencil_alpha()
580 unsigned hash_key = cso_construct_key((void*)templ, key_size); in cso_set_rasterizer() local
[all …]
Dcso_hash.h120 unsigned hash_key,
/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_cache.c82 unsigned hash_key; in create_key() local
86 hash_key = cso_construct_key(key, size); in create_key()
87 return hash_key; in create_key()
93 unsigned hash_key = create_key(key); in translate_cache_find() local
96 hash_key, in translate_cache_find()
102 cso_hash_insert(cache->hash, hash_key, translate); in translate_cache_find()
/external/tensorflow/tensorflow/contrib/layers/python/ops/
Dsparse_feature_cross_op.py44 hash_key=None)
46 name=None, hash_key=None): argument
96 if hash_key:
105 hash_key=hash_key,
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dembedding_ops.py202 hash_key=None): argument
246 hash_key=hash_key, name=name)
250 params, values, dimension=None, sampled_candidates=None, hash_key=None, argument
354 hash_key=hash_key)
372 hash_key=None): argument
431 params, values, dimension, hash_key=hash_key)
489 hash_key=None, argument
549 hash_key=hash_key, name="values_lookup")
553 sampled_candidates=sampled_candidates, hash_key=hash_key,
Dembedding_ops_test.py423 hash_key=self._hash_key).eval())
445 hash_key=self._hash_key).eval())
478 params, sp_values, dimension=4, hash_key=self._hash_key)
490 params, sp_values, dimension=5, hash_key=self._hash_key)
510 hash_key=self._hash_key)
512 params, sp_values, dimension=4, hash_key=self._hash_key)
533 hash_key=self._hash_key)
554 params, sp_values_a, dimension=4, hash_key=self._hash_key)
556 params, sp_values_b, dimension=4, hash_key=self._hash_key)
558 params, sp_values_c, dimension=4, hash_key=self._hash_key)
[all …]
Dfeature_column.py1151 hash_key=None,
1218 if args.hash_key:
1231 hash_key=args.hash_key,
1492 hash_key, argument
1505 dimension, hash_key,
1534 hash_key=self.hash_key,
1559 hash_key, argument
1625 return _ScatteredEmbeddingColumn(column_name, size, dimension, hash_key,
2278 hash_key, argument
2300 hash_bucket_size, hash_key,
[all …]
Dfeature_column_test.py143 "aaa", size=100, dimension=10, hash_key=1)
147 self.assertEqual(column.hash_key, 1)
152 "aaa", size=100, dimension=10, hash_key=1)
157 self.assertEqual(column_copy.hash_key, 1)
830 "scattered_embedding_column", size=100, dimension=10, hash_key=1)
/external/mesa3d/src/mesa/program/
Dprog_cache.c59 hash_key(const void *key, GLuint key_size) in hash_key() function
184 const GLuint hash = hash_key(key, keysize); in _mesa_search_program_cache()
208 const GLuint hash = hash_key(key, keysize); in _mesa_program_cache_insert()
237 const GLuint hash = hash_key(key, keysize); in _mesa_shader_cache_insert()
/external/vboot_reference/tests/
Dvb21_api_tests.c66 const struct vb2_private_key *hash_key; in reset_common_data() local
92 vb2_private_key_hash(&hash_key, mock_hash_alg); in reset_common_data()
106 hash_key, NULL); in reset_common_data()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_SparseCross.pbtxt61 name: "hash_key"
63 Specify the hash_key that will be used by the `FingerprintCat64`
/external/tensorflow/tensorflow/python/ops/
Dsparse_ops.py353 def _sparse_cross_hashed(inputs, num_buckets=0, hash_key=None, name=None): argument
393 hash_key=hash_key,
403 hash_key=None, argument
442 hash_key=hash_key or _DEFAULT_HASH_KEY,
/external/tensorflow/tensorflow/python/kernel_tests/
Dsparse_cross_op_test.py289 hash_key=sparse_ops._DEFAULT_HASH_KEY + 1)
317 hash_key=sparse_ops._DEFAULT_HASH_KEY + 1)
332 hash_key=sparse_ops._DEFAULT_HASH_KEY + 1)
/external/tensorflow/tensorflow/contrib/layers/python/kernel_tests/
Dsparse_feature_cross_op_test.py304 hash_key=layers.SPARSE_FEATURE_CROSS_DEFAULT_HASH_KEY)
338 hash_key=layers.SPARSE_FEATURE_CROSS_DEFAULT_HASH_KEY)
369 hash_key=layers.SPARSE_FEATURE_CROSS_DEFAULT_HASH_KEY)
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_program_cache.c101 hash_key(struct brw_cache_item *item) in hash_key() function
193 hash = hash_key(&lookup); in brw_search_cache()
354 hash = hash_key(item); in brw_upload_cache()
/external/tensorflow/tensorflow/tools/api/golden/
Dtensorflow.feature_column.pbtxt25 …argspec: "args=[\'keys\', \'hash_bucket_size\', \'hash_key\'], varargs=None, keywords=None, defaul…
/external/mesa3d/src/gallium/auxiliary/util/
Du_vbuf.c331 unsigned key_size, hash_key; in u_vbuf_set_vertex_elements_internal() local
341 hash_key = cso_construct_key((void*)&velems_state, key_size); in u_vbuf_set_vertex_elements_internal()
342 iter = cso_find_state_template(mgr->cso_cache, hash_key, CSO_VELEMENTS, in u_vbuf_set_vertex_elements_internal()
352 iter = cso_insert_state(mgr->cso_cache, hash_key, CSO_VELEMENTS, cso); in u_vbuf_set_vertex_elements_internal()
/external/tensorflow/tensorflow/python/feature_column/
Dfeature_column.py1444 def crossed_column(keys, hash_bucket_size, hash_key=None): argument
1568 hash_key=hash_key)
2721 hash_key=self.hash_key)
Dfeature_column_test.py860 crossed2 = fc.crossed_column([b, 'c', crossed1], 15, hash_key=5)
864 self.assertEqual(5, crossed2_copy.hash_key)
919 crossed2 = fc.crossed_column([b, 'c', crossed1], 15, hash_key=5)
959 crossed = fc.crossed_column([b, 'c'], hash_bucket_size=5, hash_key=5)
989 crossed = fc.crossed_column([b, 'c'], hash_bucket_size=5, hash_key=5)
1043 crossed = fc.crossed_column([t, 'c'], hash_bucket_size=5, hash_key=5)
/external/tensorflow/tensorflow/core/kernels/
Dsparse_cross_op.cc197 const int64 num_buckets, const uint64 hash_key) in HashCrosser() argument
198 : columns_(columns), num_buckets_(num_buckets), hash_key_(hash_key) {} in HashCrosser()
/external/tensorflow/tensorflow/contrib/layers/kernels/
Dsparse_feature_cross_kernel.cc232 const int64 num_buckets, const uint64 hash_key) in HashCrosserV2() argument
233 : columns_(columns), num_buckets_(num_buckets), hash_key_(hash_key) {} in HashCrosserV2()
/external/libmtp/src/
Dmtpz.c1572 char *hash_key = (char *)malloc(16); in ptp_mtpz_validatehandshakeresponse() local
1583 memcpy(hash_key, msg_dec + 112, 16); in ptp_mtpz_validatehandshakeresponse()
1597 mtpz_encryption_cipher_advanced((unsigned char *)hash_key, 16, act_msg, 832, 0); in ptp_mtpz_validatehandshakeresponse()
/external/libvncserver/libvncserver/
Dtight.c1361 int hash_key, idx, new_idx, count; in PaletteInsert() local
1363 hash_key = (bpp == 16) ? HASH_FUNC16(rgb) : HASH_FUNC32(rgb); in PaletteInsert()
1365 pnode = palette.hash[hash_key]; in PaletteInsert()
1408 palette.hash[hash_key] = pnode; in PaletteInsert()

12