Home
last modified time | relevance | path

Searched refs:hash_ (Results 1 – 22 of 22) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dtype_index.h43 TypeIndex(const TypeIndex& src) : hash_(src.hash_) {} in TypeIndex()
45 hash_ = src.hash_;
48 bool operator==(const TypeIndex& rhs) const { return (hash_ == rhs.hash_); }
49 bool operator!=(const TypeIndex& rhs) const { return (hash_ != rhs.hash_); }
53 uint64 hash_code() const { return hash_; } in hash_code()
65 TypeIndex(const uint64 hash) : hash_(hash) {} in TypeIndex()
66 uint64 hash_; variable
/external/boringssl/src/ssl/
Dssl_transcript.cc156 hash_.Reset(); in Init()
173 return InitDigestWithData(hash_.get(), md, buffer_.get()); in InitHash()
185 return EVP_MD_CTX_md(hash_.get()); in Digest()
200 if (!EVP_DigestInit_ex(hash_.get(), Digest(), nullptr) || in UpdateForHelloRetryRequest()
209 return EVP_MD_CTX_copy_ex(ctx, hash_.get()); in CopyHashContext()
220 if (EVP_MD_CTX_md(hash_.get()) != NULL) { in Update()
221 EVP_DigestUpdate(hash_.get(), in.data(), in.size()); in Update()
230 if (!EVP_MD_CTX_copy_ex(ctx.get(), hash_.get()) || in GetHash()
Dinternal.h630 ScopedEVP_MD_CTX hash_;
/external/tensorflow/tensorflow/core/lib/gtl/
Dflatrep.h51 FlatRep(size_t N, const Hash& hf, const Eq& eq) : hash_(hf), equal_(eq) { in FlatRep()
54 FlatRep(const FlatRep& src) : hash_(src.hash_), equal_(src.equal_) { in FlatRep()
63 : hash_(src.hash_), equal_(src.equal_) { in FlatRep()
81 const Hash& hash_function() const { return hash_; } in hash_function()
144 size_t h = hash_(k); in Find()
169 size_t h = hash_(k); in FindOrInsert()
211 size_t h = hash_(k); in Prefetch()
245 Hash hash_; // User-supplied hasher variable
321 size_t h = hash_(src->key(src_index)); in FreshInsert()
/external/python/cpython3/Modules/_decimal/tests/
Dbignum.py29 hash_ = coeff * exp_hash % _PyHASH_MODULUS
30 ans = hash_ if sign == 1 else -hash_
/external/tensorflow/tensorflow/lite/kernels/
Dlsh_projection_test.cc35 hash_ = AddInput(TensorType_FLOAT32); in LSHProjectionOpModel()
64 PopulateTensor(hash_, data); in SetHash()
73 int hash_; member in tflite::__anona50ded140111::LSHProjectionOpModel
/external/ImageMagick/Magick++/lib/
DStatistic.cpp136 const PixelChannel channel_,const std::string &hash_) in ChannelPerceptualHash() argument
144 if (hash_.length() != 70) in ChannelPerceptualHash()
155 if (sscanf(hash_.substr(i*5,5).c_str(),"%05x",&hex) != 1) in ChannelPerceptualHash()
491 Magick::ImagePerceptualHash::ImagePerceptualHash(const std::string &hash_) in ImagePerceptualHash() argument
494 if (hash_.length() != 210) in ImagePerceptualHash()
498 hash_.substr(0, 70))); in ImagePerceptualHash()
500 hash_.substr(70, 70))); in ImagePerceptualHash()
502 hash_.substr(140, 70))); in ImagePerceptualHash()
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/
Dsubgraph.h48 explicit Subgraph(Identity id) : id_(std::move(id)), hash_(id_.Hash()) {} in Subgraph()
63 size_t Hash() const { return hash_; } in Hash()
88 size_t hash_; // Cached from the identity. variable
Dsubgraph.cc115 hash_ = id_.Hash(); in Subgraph()
/external/v8/src/objects/
Dhash-table.h241 explicit HashTableKey(uint32_t hash) : hash_(hash) {} in HashTableKey()
249 uint32_t Hash() const { return hash_; } in Hash()
253 DCHECK_EQ(0, hash_); in set_hash()
254 hash_ = hash; in set_hash()
258 uint32_t hash_ = 0;
/external/v8/src/compiler/
Doperator.h177 hash_(hash) {} in Operator()
188 return base::hash_combine(this->opcode(), this->hash_(this->parameter())); in HashCode()
208 Hash const hash_; variable
Dnode-cache.cc47 size_t hash = hash_(old->key_); in Resize()
66 size_t hash = hash_(key); in Find()
Dnode-cache.h55 Hash hash_; variable
/external/ImageMagick/Magick++/lib/Magick++/
DStatistic.h92 const std::string &hash_);
254 ImagePerceptualHash(const std::string &hash_);
/external/python/cpython3/Lib/
Dfractions.py561 hash_ = _PyHASH_INF
563 hash_ = abs(self._numerator) * dinv % _PyHASH_MODULUS
564 result = hash_ if self >= 0 else -hash_
D_pydecimal.py961 hash_ = int(self._int) * exp_hash % _PyHASH_MODULUS
962 ans = hash_ if self >= 0 else -hash_
/external/webrtc/webrtc/p2p/base/
Dturnport.h121 const std::string& hash() const { return hash_; } in hash()
265 std::string hash_; // Digest of username:realm:password variable
Dturnport.cc886 VERIFY(!hash_.empty()); in AddRequestAuthInfo()
903 credentials_.password, &hash_)); in UpdateHash()
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate_test.cc1202 hash_ = AddInput(TensorType_FLOAT32); in LSHProjectionOpModel()
1231 PopulateTensor(hash_, data); in SetHash()
1240 int hash_; member in tflite::__anon6d004b400111::LSHProjectionOpModel
/external/v8/src/profiler/
Dheap-snapshot-generator.cc2163 hash_(reinterpret_cast<intptr_t>(label)), in NativeGroupRetainedObjectInfo()
2173 return hash_ == other->GetHash() && !strcmp(label_, other->GetLabel()); in IsEquivalent()
2175 virtual intptr_t GetHash() { return hash_; } in GetHash()
2180 intptr_t hash_; member in v8::internal::NativeGroupRetainedObjectInfo
/external/python/cpython3/Lib/test/
Dtest_dataclasses.py485 for (hash_, compare, result ) in [
493 with self.subTest(hash=hash_, compare=compare):
496 x: int = field(compare=compare, hash=hash_, default=5)
/external/python/cpython2/Modules/
D_bsddb.c3288 #define MAKE_HASH_ENTRY(name) _addIntToDict(d, #name, ((DB_HASH_STAT*)sp)->hash_##name) in DB_stat()