Home
last modified time | relevance | path

Searched refs:hash_ (Results 1 – 22 of 22) 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/mindspore/mindspore/core/ir/
Dscalar.h49 std::size_t hash_ = 0;
55 …explicit BoolImm(bool b) : Scalar(kBool), v_(b) { hash_ = hash_combine({tid(), std::hash<bool>{}(v… in BoolImm()
58 std::size_t hash() const override { return hash_; } in MS_DECLARE_PARENT()
95 …explicit Int8Imm(int8_t v) : IntergerImm(kInt8), v_(v) { hash_ = hash_combine({tid(), std::hash<in… in Int8Imm()
98 std::size_t hash() const override { return hash_; } in MS_DECLARE_PARENT()
121 …explicit Int16Imm(int16_t v) : IntergerImm(kInt16), v_(v) { hash_ = hash_combine({tid(), std::hash… in IMM_TRAITS()
124 std::size_t hash() const override { return hash_; } in IMM_TRAITS()
147 …explicit Int32Imm(int v) : IntergerImm(kInt32), v_(v) { hash_ = hash_combine({tid(), std::hash<int… in IMM_TRAITS()
150 std::size_t hash() const override { return hash_; } in IMM_TRAITS()
173 …explicit Int64Imm(int64_t v) : IntergerImm(kInt64), v_(v) { hash_ = hash_combine({tid(), std::hash… in IMM_TRAITS()
[all …]
Dvalue.h208 …explicit StringImm(const std::string &str) : Value(kString), str_(str), hash_(std::hash<std::strin…
212 std::size_t hash() const override { return hash_; }
227 std::size_t hash_ = 0;
Danf.h107 hash_(std::hash<const AnfNode *>()), in AnfNode()
156 std::size_t hash() const override { return this->hash_(this); } in hash()
225 std::hash<const AnfNode *> hash_;
/third_party/gn/src/gn/
Dlabel.h73 return hash_ == other.hash_ && name_.SameAs(other.name_) &&
101 size_t hash() const { return hash_; } in hash()
105 : dir_(dir), name_(name), hash_(ComputeHash()) {} in Label()
115 hash_(ComputeHash()) {} in Label()
131 size_t hash_; variable
/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/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/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/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/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/python/Lib/
Dfractions.py649 hash_ = _PyHASH_INF
666 hash_ = hash(hash(abs(self._numerator)) * dinv)
667 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/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.py508 for (hash_, compare, result ) in [
516 with self.subTest(hash=hash_, compare=compare):
519 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.