Home
last modified time | relevance | path

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

/third_party/boost/libs/smart_ptr/test/
Downer_hash_test.cpp10 template<class T> std::size_t hash_( T const& t ) in hash_() function
20 BOOST_TEST_EQ( hash_( p1 ), hash_( p2 ) ); in main()
24 BOOST_TEST_NE( hash_( p1 ), hash_( p3 ) ); in main()
29 BOOST_TEST_EQ( hash_( p4 ), hash_( p5 ) ); in main()
30 BOOST_TEST_NE( hash_( p4 ), hash_( p3 ) ); in main()
34 BOOST_TEST_NE( hash_( p4 ), hash_( p6 ) ); in main()
38 BOOST_TEST_EQ( hash_( p1 ), hash_( p7 ) ); in main()
42 BOOST_TEST_NE( hash_( p1 ), hash_( p8 ) ); in main()
43 BOOST_TEST_EQ( hash_( p4 ), hash_( p8 ) ); in main()
47 BOOST_TEST_EQ( hash_( p1 ), hash_( q1 ) ); in main()
[all …]
/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_;
/third_party/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()
Dinternal.h732 ScopedEVP_MD_CTX hash_;
/third_party/python/Modules/_decimal/tests/
Dbignum.py29 hash_ = coeff * exp_hash % _PyHASH_MODULUS
30 ans = hash_ if sign == 1 else -hash_
/third_party/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
Dmetadata.cc107 hash_ = GRPC_MDSTR_KV_HASH(k_hash, v_hash); in HashInit()
/third_party/boost/boost/intrusive/
Dunordered_set_hook.hpp43 std::size_t hash_; member
65 std::size_t hash_; member
98 { return n->hash_; } in get_hash()
101 { n->hash_ = h; } in set_hash()
/third_party/skia/third_party/externals/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_;
/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_;
/third_party/boost/boost/multi_index/
Dhashed_index.hpp379 std::size_t buc=buckets.position(hash_(k)); in erase()
514 hasher hash_function()const{return hash_;} in hash_function()
531 return find(k,hash_,eq_); in find()
548 return count(k,hash_,eq_); in count()
565 return equal_range(k,hash_,eq_); in equal_range()
600 return static_cast<size_type>(buckets.position(hash_(k))); in bucket()
670 hash_(tuples::get<2>(args_list.get_head())),
687 hash_(x.hash_), in hashed_index()
708 hash_(x.hash_), in hashed_index()
941 adl_swap(hash_,x.hash_); in swap_()
[all …]
/third_party/python/Lib/
Dfractions.py542 hash_ = _PyHASH_INF
559 hash_ = hash(hash(abs(self._numerator)) * dinv)
560 result = hash_ if self._numerator >= 0 else -hash_
D_pydecimal.py965 hash_ = int(self._int) * exp_hash % _PyHASH_MODULUS
966 ans = hash_ if self >= 0 else -hash_
/third_party/boost/boost/spirit/home/support/detail/lexer/
Dgenerator.hpp376 std::size_t hash_ = 0; in closure() local
389 set_ptr_.get (), vector_ptr_.get (), hash_); in closure()
402 found_ = *hash_iter_ == hash_ && *(*set_iter_) == *set_ptr_; in closure()
414 hash_vector_.push_back (hash_); in closure()
436 node_set *set_ptr_, node_vector *vector_ptr_, std::size_t &hash_) in closure_ex() argument
454 hash_ += reinterpret_cast<std::size_t> (node_); in closure_ex()
/third_party/boost/libs/unordered/test/unordered/
Dfind_tests.cpp95 test::hash hash_; member
99 return hash_(k.o_); in operator ()()
/third_party/python/Lib/test/
Dtest_dataclasses.py505 for (hash_, compare, result ) in [
513 with self.subTest(hash=hash_, compare=compare):
516 x: int = field(compare=compare, hash=hash_, default=5)
/third_party/freetype/docs/reference/assets/javascripts/
Dapplication.c33a9706.js1hash_(this.base_)}var t=e.prototype;return t.fetch=function(){var n=this;return new Promise(functi… function
/third_party/gettext/gnulib-local/
DChangeLog.0623 * lib/libxml/hash.in.h: Renamed from lib/libxml/hash_.h.
1503 * lib/libxml/hash_.h: New file, from libxml2-2.6.27.
/third_party/chromium/patch/
D0004_nweb_cve_bugfix.patch4765 std::string hash_;