Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/core/framework/
Dtype_index.h44 TypeIndex(const TypeIndex& src) : hash_(src.hash_), name_(src.name_) {} in TypeIndex()
46 hash_ = src.hash_;
50 bool operator==(const TypeIndex& rhs) const { return (hash_ == rhs.hash_); }
51 bool operator!=(const TypeIndex& rhs) const { return (hash_ != rhs.hash_); }
56 uint64 hash_code() const { return hash_; } in hash_code()
93 : hash_(hash), name_(name) {} in TypeIndex()
94 uint64 hash_; variable
/external/rust/crates/grpcio-sys/grpc/third_party/re2/util/
Dmix.h22 HashMix() : hash_(1) {} in HashMix()
23 explicit HashMix(size_t val) : hash_(val + 83) {} in HashMix()
26 hash_ *= kMul; in Mix()
27 hash_ = ((hash_ << 19) | in Mix()
28 (hash_ >> (std::numeric_limits<size_t>::digits - 19))) + val; in Mix()
30 size_t get() const { return hash_; } in get()
32 size_t hash_;
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dssl_transcript.cc157 hash_.Reset(); in Init()
174 return InitDigestWithData(hash_.get(), md, buffer_.get()); in InitHash()
186 return EVP_MD_CTX_md(hash_.get()); in Digest()
201 if (!EVP_DigestInit_ex(hash_.get(), Digest(), nullptr) || in UpdateForHelloRetryRequest()
213 return EVP_MD_CTX_copy_ex(ctx, hash_.get()); in CopyToHashContext()
233 if (EVP_MD_CTX_md(hash_.get()) != NULL) { in Update()
234 EVP_DigestUpdate(hash_.get(), in.data(), in.size()); in Update()
243 if (!EVP_MD_CTX_copy_ex(ctx.get(), hash_.get()) || in GetHash()
/external/boringssl/src/ssl/
Dssl_transcript.cc157 hash_.Reset(); in Init()
174 return InitDigestWithData(hash_.get(), md, buffer_.get()); in InitHash()
186 return EVP_MD_CTX_md(hash_.get()); in Digest()
201 if (!EVP_DigestInit_ex(hash_.get(), Digest(), nullptr) || in UpdateForHelloRetryRequest()
213 return EVP_MD_CTX_copy_ex(ctx, hash_.get()); in CopyToHashContext()
233 if (EVP_MD_CTX_md(hash_.get()) != NULL) { in Update()
234 EVP_DigestUpdate(hash_.get(), in.data(), in.size()); in Update()
243 if (!EVP_MD_CTX_copy_ex(ctx.get(), hash_.get()) || in GetHash()
/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.cc36 hash_ = AddInput(TensorType_FLOAT32); in LSHProjectionOpModel()
65 PopulateTensor(hash_, data); in SetHash()
74 int hash_; member in tflite::__anoncf3ada320111::LSHProjectionOpModel
/external/rust/crates/grpcio-sys/grpc/src/core/lib/transport/
Dmetadata.h213 : kv_({key, value}), hash_(0), static_idx_(idx) {} in StaticMetadata()
218 uint32_t hash() { return hash_; } in hash()
225 uint32_t hash_; variable
235 : key_(key), value_(value), refcnt_(1), hash_(hash) {} in RefcountedMdBase()
239 uint32_t hash() { return hash_; } in hash()
278 uint32_t hash_ = 0; variable
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/
Dsubgraph.h49 explicit Subgraph(Identity id) : id_(std::move(id)), hash_(id_.Hash()) {} in Subgraph()
64 size_t Hash() const { return hash_; } in Hash()
89 size_t hash_; // Cached from the identity. variable
/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/llvm-project/debuginfo-tests/dexter/dex/utils/
DVersion.py23 hash_ = check_output(
29 return '[{} {}] ({})'.format(branch, hash_, repo)
/external/libtextclassifier/abseil-cpp/absl/debugging/internal/
Delf_mem_image.cc89 if (!hash_) { in GetNumSymbols()
93 return hash_[1]; in GetNumSymbols()
158 hash_ = nullptr; in Init()
227 hash_ = reinterpret_cast<ElfW(Word) *>(value); in Init()
252 if (!hash_ || !dynsym_ || !dynstr_ || !versym_ || in Init()
Delf_mem_image.h121 const ElfW(Word) *hash_;
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/debugging/internal/
Delf_mem_image.cc89 if (!hash_) { in GetNumSymbols()
93 return hash_[1]; in GetNumSymbols()
158 hash_ = nullptr; in Init()
227 hash_ = reinterpret_cast<ElfW(Word) *>(value); in Init()
252 if (!hash_ || !dynsym_ || !dynstr_ || !versym_ || in Init()
Delf_mem_image.h121 const ElfW(Word) *hash_;
/external/webrtc/third_party/abseil-cpp/absl/debugging/internal/
Delf_mem_image.cc89 if (!hash_) { in GetNumSymbols()
93 return hash_[1]; in GetNumSymbols()
158 hash_ = nullptr; in Init()
227 hash_ = reinterpret_cast<ElfW(Word) *>(value); in Init()
252 if (!hash_ || !dynsym_ || !dynstr_ || !versym_ || in Init()
/external/angle/third_party/abseil-cpp/absl/debugging/internal/
Delf_mem_image.cc89 if (!hash_) { in GetNumSymbols()
93 return hash_[1]; in GetNumSymbols()
158 hash_ = nullptr; in Init()
227 hash_ = reinterpret_cast<ElfW(Word) *>(value); in Init()
252 if (!hash_ || !dynsym_ || !dynstr_ || !versym_ || in Init()
Delf_mem_image.h121 const ElfW(Word) *hash_;
/external/abseil-cpp/absl/debugging/internal/
Delf_mem_image.cc89 if (!hash_) { in GetNumSymbols()
93 return hash_[1]; in GetNumSymbols()
158 hash_ = nullptr; in Init()
227 hash_ = reinterpret_cast<ElfW(Word) *>(value); in Init()
252 if (!hash_ || !dynsym_ || !dynstr_ || !versym_ || in Init()
Delf_mem_image.h121 const ElfW(Word) *hash_;
/external/openscreen/third_party/abseil/src/absl/debugging/internal/
Delf_mem_image.cc89 if (!hash_) { in GetNumSymbols()
93 return hash_[1]; in GetNumSymbols()
158 hash_ = nullptr; in Init()
227 hash_ = reinterpret_cast<ElfW(Word) *>(value); in Init()
252 if (!hash_ || !dynsym_ || !dynstr_ || !versym_ || in Init()
Delf_mem_image.h121 const ElfW(Word) *hash_;
/external/ImageMagick/Magick++/lib/Magick++/
DStatistic.h92 const std::string &hash_);
254 ImagePerceptualHash(const std::string &hash_);
/external/python/cpython3/Lib/
Dfractions.py542 hash_ = _PyHASH_INF
559 hash_ = hash(hash(abs(self._numerator)) * dinv)
560 result = hash_ if self._numerator >= 0 else -hash_
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dsnapshot_dataset_op.h83 uint64 hash_; variable

12