Home
last modified time | relevance | path

Searched refs:hash (Results 201 - 225 of 1941) sorted by relevance

12345678910>>...78

/third_party/node/deps/v8/src/objects/
H A Dswiss-hash-table-helpers.h80 ProbeSequence(uint32_t hash, uint32_t mask) { in ProbeSequence() argument
84 offset_ = hash & mask_; in ProbeSequence()
210 // Extracts H1 from the given overall hash, which means discarding the lowest 7
211 // bits of the overall hash. H1 is used to determine the first group to probe.
212 inline static uint32_t H1(uint32_t hash) { return (hash >> kH2Bits); }
214 // Extracts H2 from the given overall hash, which means using only the lowest 7
215 // bits of the overall hash. H2 is stored in the control table byte for each
217 inline static swiss_table::ctrl_t H2(uint32_t hash) {
218 return hash
[all...]
H A Dstring-table.cc74 if (string.hash() != key->hash()) return false; in KeyIsMatch()
88 // The elements themselves are stored as an open-addressed hash table, with
140 uint32_t hash) const;
143 uint32_t hash) const;
148 uint32_t hash) const;
168 inline static InternalIndex FirstProbe(uint32_t hash, uint32_t size) { in FirstProbe() argument
169 return InternalIndex(hash & (size - 1)); in FirstProbe()
241 uint32_t hash = string.hash(); in Resize() local
[all...]
/third_party/mesa3d/src/gallium/tools/trace/
H A Dmodel.py92 return hash(self.value)
107 return hash(self.value)
119 return hash(self.name)
133 tmp = tmp ^ hash(mobj)
147 tmp = hash(self.name)
149 tmp = tmp ^ hash(mname) ^ hash(mobj)
195 return hash(self.named_address())
209 self.hashvalue = hash(self.klass) ^ hash(sel
[all...]
/third_party/node/deps/openssl/openssl/crypto/ess/
H A Dess_lib.c68 if (!ASN1_OCTET_STRING_set(cid->hash, cert_sha1, SHA_DIGEST_LENGTH)) in ESS_CERT_ID_new_init()
142 unsigned char hash[EVP_MAX_MD_SIZE]; in ESS_CERT_ID_V2_new_init() local
143 unsigned int hash_len = sizeof(hash); in ESS_CERT_ID_V2_new_init()
146 memset(hash, 0, sizeof(hash)); in ESS_CERT_ID_V2_new_init()
164 if (!X509_digest(cert, hash_alg, hash, &hash_len)) in ESS_CERT_ID_V2_new_init()
167 if (!ASN1_OCTET_STRING_set(cid->hash, hash, hash_len)) in ESS_CERT_ID_V2_new_init()
257 cid_hash_len = cid != NULL ? cid->hash->length : cid_v2->hash in find()
[all...]
/third_party/openssl/crypto/ess/
H A Dess_lib.c68 if (!ASN1_OCTET_STRING_set(cid->hash, cert_sha1, SHA_DIGEST_LENGTH)) in ESS_CERT_ID_new_init()
142 unsigned char hash[EVP_MAX_MD_SIZE]; in ESS_CERT_ID_V2_new_init() local
143 unsigned int hash_len = sizeof(hash); in ESS_CERT_ID_V2_new_init()
146 memset(hash, 0, sizeof(hash)); in ESS_CERT_ID_V2_new_init()
164 if (!X509_digest(cert, hash_alg, hash, &hash_len)) in ESS_CERT_ID_V2_new_init()
167 if (!ASN1_OCTET_STRING_set(cid->hash, hash, hash_len)) in ESS_CERT_ID_V2_new_init()
257 cid_hash_len = cid != NULL ? cid->hash->length : cid_v2->hash in find()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DCachedHashString.h10 // and not-owning string types that store their hash in addition to their string
28 /// A container which contains a StringRef plus a precomputed hash.
47 uint32_t hash() const { return Hash; } in hash() function in llvm::CachedHashStringRef
58 assert(!isEqual(S, getEmptyKey()) && "Cannot hash the empty key!"); in getHashValue()
59 assert(!isEqual(S, getTombstoneKey()) && "Cannot hash the tombstone key!"); in getHashValue()
60 return S.hash(); in getHashValue()
64 return LHS.hash() == RHS.hash() && in isEqual()
69 /// A container which contains a string, which it owns, plus a precomputed hash.
138 uint32_t hash() cons in size() function in llvm::CachedHashString
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
H A DWrappers.cs131 int hash = 1; in GetHashCode()
132 if (Value != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Value); in GetHashCode()
134 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
136 return hash; in GetHashCode()
311 int hash = 1; in GetHashCode()
312 if (Value != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Value); in GetHashCode()
314 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
316 return hash; in GetHashCode()
491 int hash = 1; in GetHashCode()
492 if (Value != 0L) hash in GetHashCode()
[all...]
H A DApi.cs251 int hash = 1; in GetHashCode()
252 if (Name.Length != 0) hash ^= Name.GetHashCode(); in GetHashCode()
253 hash ^= methods_.GetHashCode(); in GetHashCode()
254 hash ^= options_.GetHashCode(); in GetHashCode()
255 if (Version.Length != 0) hash ^= Version.GetHashCode(); in GetHashCode()
256 if (sourceContext_ != null) hash ^= SourceContext.GetHashCode(); in GetHashCode()
257 hash ^= mixins_.GetHashCode(); in GetHashCode()
258 if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) hash ^= Syntax.GetHashCode(); in GetHashCode()
260 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
262 return hash; in GetHashCode()
[all...]
/third_party/ffmpeg/libavformat/tests/
H A Dmovenc.c57 uint8_t hash[HASH_SIZE]; variable
156 av_md5_final(md5, hash); in close_out()
158 printf("%02x", hash[i]); in close_out()
439 memcpy(content, hash, HASH_SIZE); in main()
476 check(!memcmp(hash, content, HASH_SIZE), "delay_moov differs from empty_moov"); in main()
526 memcpy(header, hash, HASH_SIZE); in main()
540 memcpy(content, hash, HASH_SIZE); in main()
552 check(!memcmp(hash, header, HASH_SIZE), "delay_moov header differs from empty_moov"); in main()
559 check(!memcmp(hash, content, HASH_SIZE), "delay_moov content differs from empty_moov"); in main()
574 memcpy(content, hash, HASH_SIZ in main()
[all...]
/third_party/spirv-tools/source/opt/
H A Dtypes.h153 // Returns true if this cannot hash to the same value as another type in the
161 // will hash them to the same value.
166 // Returns the hash value of this type.
169 size_t ComputeHashValue(size_t hash, SeenTypes* seen) const;
212 // Add any type-specific state to |hash| and returns new hash.
213 virtual size_t ComputeExtraStateHash(size_t hash, SeenTypes* seen) const = 0;
243 size_t ComputeExtraStateHash(size_t hash, SeenTypes* seen) const override;
263 size_t ComputeExtraStateHash(size_t hash, SeenTypes* seen) const override;
283 size_t ComputeExtraStateHash(size_t hash, SeenType
[all...]
/third_party/python/Objects/
H A Dodictobject.c35 2. keep a simple hash table mirroring the order of dict's, mapping each key
50 The catch with mirroring the hash table ordering is that we have to keep
91 * _odict_add_new_node(od, key, hash)
95 * _odict_clear_node(od, node, key, hash)
100 * _odict_find_node_hash(od, key, hash)
491 _ODictNode **od_fast_nodes; /* hash table that mirrors the dict table */
507 Py_hash_t hash; member
515 (node->hash)
528 /* Return the index into the hash table, regardless of a valid node. */
530 _odict_get_index_raw(PyODictObject *od, PyObject *key, Py_hash_t hash) in _odict_get_index_raw() argument
586 _odict_get_index(PyODictObject *od, PyObject *key, Py_hash_t hash) _odict_get_index() argument
606 _odict_find_node_hash(PyODictObject *od, PyObject *key, Py_hash_t hash) _odict_find_node_hash() argument
623 Py_hash_t hash; _odict_find_node() local
665 _odict_add_new_node(PyODictObject *od, PyObject *key, Py_hash_t hash) _odict_add_new_node() argument
743 _odict_clear_node(PyODictObject *od, _ODictNode *node, PyObject *key, Py_hash_t hash) _odict_clear_node() argument
1038 _odict_popkey_hash(PyObject *od, PyObject *key, PyObject *failobj, Py_hash_t hash) _odict_popkey_hash() argument
1087 Py_hash_t hash = PyObject_Hash(key); OrderedDict_pop_impl() local
1597 _PyODict_SetItem_KnownHash(PyObject *od, PyObject *key, PyObject *value, Py_hash_t hash) _PyODict_SetItem_KnownHash() argument
1617 Py_hash_t hash = PyObject_Hash(key); PyODict_SetItem() local
1627 Py_hash_t hash = PyObject_Hash(key); PyODict_DelItem() local
[all...]
/third_party/ffmpeg/tests/api/
H A Dapi-h264-slice-test.c43 #include "libavutil/hash.h"
63 struct AVHashContext *hash; in decode() local
77 "#hash: MD5\n" in decode()
83 "#stream#, dts, pts, duration, size, hash\n"); in decode()
87 if ((ret = av_hash_alloc(&hash, "md5")) < 0) { in decode()
90 av_hash_init(hash); in decode()
93 av_hash_update(hash, &frame->data[0][i * frame->linesize[0]], frame->width); in decode()
95 av_hash_update(hash, &frame->data[1][i * frame->linesize[1]], frame->width >> desc->log2_chroma_w); in decode()
97 av_hash_update(hash, &frame->data[2][i * frame->linesize[2]], frame->width >> desc->log2_chroma_w); in decode()
99 av_hash_final_hex(hash, su in decode()
[all...]
/third_party/ltp/libs/libltpvdso/
H A Dparse_vdso.c71 /* return value of hash table entry */
84 /* return pointer to hash table entry */
108 /* 64bit s390 and alpha have hash entry size of 8 bytes */ in vdso_init_from_sysinfo_ehdr()
141 ELF(Word) *hash = 0; in vdso_init_from_sysinfo_ehdr()
159 hash = (ELF(Word) *) in vdso_init_from_sysinfo_ehdr()
175 if (!vdso_info.symstrings || !vdso_info.symtab || !hash) in vdso_init_from_sysinfo_ehdr()
182 vdso_info.nbucket = get_hash_val(hash, 0); in vdso_init_from_sysinfo_ehdr()
183 vdso_info.nchain = get_hash_val(hash, 1); in vdso_init_from_sysinfo_ehdr()
184 vdso_info.bucket = get_hash_ptr(hash, 2); in vdso_init_from_sysinfo_ehdr()
185 vdso_info.chain = get_hash_ptr(hash, vdso_inf in vdso_init_from_sysinfo_ehdr()
[all...]
/third_party/python/Modules/_ssl/
H A Dcert.c33 self->hash = -1; in newCertificate()
181 if (self->hash == (Py_hash_t)-1) { in certificate_hash()
182 unsigned long hash; in certificate_hash() local
183 hash = X509_subject_name_hash(self->cert); in certificate_hash()
184 if ((Py_hash_t)hash == (Py_hash_t)-1) { in certificate_hash()
185 self->hash = -2; in certificate_hash()
187 self->hash = (Py_hash_t)hash; in certificate_hash()
190 return self->hash; in certificate_hash()
/third_party/skia/infra/wasm-common/gold/
H A Dwasm_gold_aggregator.go45 gitHash = flag.String("git_hash", "-", "The git commit hash of the version being tested")
121 hash := ""
122 if hash, err = writeBase64EncodedPNG(testOutput.Data); err != nil {
136 Digest: types.Digest(hash),
202 // decoded PNG bytes and any error. This hash is what will be used as
216 // compute the hash of the pixel values, like DM does
221 hash := ""
225 hash = fmt.Sprintf("%x", md5.Sum(i.Pix))
228 hash = fmt.Sprintf("%x", md5.Sum(i.Pix))
231 hash
[all...]
/third_party/skia/infra/lottiecap/gold/
H A Dlottie-web-aggregator.go45 gitHash = flag.String("git_hash", "-", "The git commit hash of the version being tested")
113 hash := ""
114 if hash, err = writeBase64EncodedPNG(testOutput.Data); err != nil {
126 Digest: types.Digest(hash),
188 // decoded PNG bytes and any error. This hash is what will be used as
202 // compute the hash of the pixel values, like DM does
207 hash := ""
211 hash = fmt.Sprintf("%x", md5.Sum(i.Pix))
214 hash = fmt.Sprintf("%x", md5.Sum(i.Pix))
217 hash
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Ddata_descriptor.cpp34 std::u32string hash; in operator ()() local
35 hash.push_back(data_descriptor->object()); in operator ()()
37 hash.push_back(an_index); in operator ()()
39 return std::hash<std::u32string>()(hash); in operator ()()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Ddata_descriptor.cpp34 std::u32string hash; in operator ()() local
35 hash.push_back(data_descriptor->object()); in operator ()()
37 hash.push_back(an_index); in operator ()()
39 return std::hash<std::u32string>()(hash); in operator ()()
/third_party/spirv-tools/source/fuzz/
H A Ddata_descriptor.cpp34 std::u32string hash; in operator ()() local
35 hash.push_back(data_descriptor->object()); in operator ()()
37 hash.push_back(an_index); in operator ()()
39 return std::hash<std::u32string>()(hash); in operator ()()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
H A Deap_peap_common.c21 u8 hash[SHA1_MAC_LEN]; in peap_prfplus() local
27 addr[0] = hash; in peap_prfplus()
72 if (hmac_sha1_vector(key, key_len, 5, addr, len, hash) < 0) in peap_prfplus()
75 os_memcpy(&buf[pos], hash, SHA1_MAC_LEN); in peap_prfplus()
78 os_memcpy(&buf[pos], hash, plen); in peap_prfplus()
H A Dikev2_common.c57 size_t data_len, u8 *hash) in ikev2_integ_hash()
67 os_memcpy(hash, tmphash, 12); in ikev2_integ_hash()
74 os_memcpy(hash, tmphash, 12); in ikev2_integ_hash()
99 u8 *hash) in ikev2_prf_hash()
104 hash); in ikev2_prf_hash()
106 return hmac_md5_vector(key, key_len, num_elem, addr, len, hash); in ikev2_prf_hash()
117 u8 hash[IKEV2_MAX_HASH_LEN]; in ikev2_prf_plus() local
130 addr[0] = hash; in ikev2_prf_plus()
144 &len[1], hash); in ikev2_prf_plus()
147 hash); in ikev2_prf_plus()
56 ikev2_integ_hash(int alg, const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *hash) ikev2_integ_hash() argument
97 ikev2_prf_hash(int alg, const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *hash) ikev2_prf_hash() argument
378 u8 *sign_data, *pos, *buf, hash[IKEV2_MAX_HASH_LEN]; ikev2_derive_auth_data() local
436 u8 hash[IKEV2_MAX_HASH_LEN], *decrypted; ikev2_decrypt_payload() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
H A Deap_peap_common.c21 u8 hash[SHA1_MAC_LEN]; in peap_prfplus() local
27 addr[0] = hash; in peap_prfplus()
72 if (hmac_sha1_vector(key, key_len, 5, addr, len, hash) < 0) in peap_prfplus()
75 os_memcpy(&buf[pos], hash, SHA1_MAC_LEN); in peap_prfplus()
78 os_memcpy(&buf[pos], hash, plen); in peap_prfplus()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DStringTrieBuilder.java184 // hashCode() and equals() for use with registerNode() and the nodes hash.
281 int hash=0x111111; in hashCode()
283 hash=hash*37+value; in hashCode()
285 return hash; in hashCode()
361 public int hashCode() /*const*/ { return hash; } in hashCode()
490 hash=(0x333333*37+length)*37+next.hashCode(); in setHashCode()
492 hash=hash*37+value; in setHashCode()
495 hash in setHashCode()
503 private int hash; global() field in StringTrieBuilder.LinearMatchNode
599 protected int hash; global() field in StringTrieBuilder.BranchNode
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
H A DStringTrieBuilder.java183 // hashCode() and equals() for use with registerNode() and the nodes hash.
280 int hash=0x111111; in hashCode()
282 hash=hash*37+value; in hashCode()
284 return hash; in hashCode()
360 public int hashCode() /*const*/ { return hash; } in hashCode()
489 hash=(0x333333*37+length)*37+next.hashCode(); in setHashCode()
491 hash=hash*37+value; in setHashCode()
494 hash in setHashCode()
502 private int hash; global() field in StringTrieBuilder.LinearMatchNode
598 protected int hash; global() field in StringTrieBuilder.BranchNode
[all...]
/third_party/lzma/Asm/x86/
H A DLzFindOpt.asm59 hash equ ptr0 define
166 mov hash, hash_PAR
191 cmp hash, hash_lim
196 ; UInt32 delta = *hash++;
197 mov diff_x, [hash] ; delta
198 add hash, 4
237 mov hash_VAR, hash
318 mov hash, hash_VAR
321 cmp hash, hash_lim
322 jne main_loop ; if (hash !
[all...]

Completed in 16 milliseconds

12345678910>>...78