Home
last modified time | relevance | path

Searched refs:hash_combine (Results 1 – 25 of 104) sorted by relevance

12345

/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/
Dhash.inl16 GLM_INLINE void hash_combine(size_t &seed, size_t hash) function
37 glm::detail::hash_combine(seed, hasher(v.x));
38 glm::detail::hash_combine(seed, hasher(v.y));
47 glm::detail::hash_combine(seed, hasher(v.x));
48 glm::detail::hash_combine(seed, hasher(v.y));
49 glm::detail::hash_combine(seed, hasher(v.z));
58 glm::detail::hash_combine(seed, hasher(v.x));
59 glm::detail::hash_combine(seed, hasher(v.y));
60 glm::detail::hash_combine(seed, hasher(v.z));
61 glm::detail::hash_combine(seed, hasher(v.w));
[all …]
/third_party/mindspore/mindspore/core/abstract/
Dabstract_function.cc132 hash_sum = hash_combine(hash_sum, f->hash()); in hash()
147 auto hash_value = hash_combine(tid(), prim_->hash()); in hash()
149 hash_value = hash_combine(hash_value, std::hash<Primitive *>{}(prim_.get())); in hash()
151 hash_value = hash_combine(hash_value, tracking_id()->hash()); in hash()
166 auto hash_value = hash_combine(tid(), func_graph_->hash()); in hash()
167 hash_value = hash_combine(hash_value, context_->hash()); in hash()
169 hash_value = hash_combine(hash_value, tracking_id()->hash()); in hash()
193 auto hash_value = hash_combine(tid(), meta_func_graph_->hash()); in hash()
195 hash_value = hash_combine(hash_value, tracking_id()->hash()); in hash()
221 auto hash_value = hash_combine(tid(), fn_->hash()); in hash()
[all …]
/third_party/boost/libs/container_hash/test/
Dhash_global_namespace_test.cpp79 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed, custom(5)); in custom_tests()
80 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed, custom(25)); in custom_tests()
81 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed, custom(35)); in custom_tests()
84 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed2, 50u); in custom_tests()
85 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed2, 250u); in custom_tests()
86 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed2, 350u); in custom_tests()
Dhash_custom_test.cpp78 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed, test::custom(5)); in custom_tests()
79 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed, test::custom(25)); in custom_tests()
80 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed, test::custom(35)); in custom_tests()
83 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed2, 50u); in custom_tests()
84 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed2, 250u); in custom_tests()
85 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed2, 350u); in custom_tests()
Dhash_friend_test.cpp81 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed, test::custom<int>(5)); in custom_tests()
82 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed, test::custom<int>(25)); in custom_tests()
83 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed, test::custom<int>(35)); in custom_tests()
86 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed2, 50u); in custom_tests()
87 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed2, 250u); in custom_tests()
88 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed2, 350u); in custom_tests()
Dhash_fwd_test.hpp45 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed, x.value1); in hash_value()
46 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed, x.value2); in hash_value()
87 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed, x.value1); in hash_value()
88 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed, x.value2); in hash_value()
Dhash_fwd_test_1.cpp39 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed1, 5); in fwd_test2()
40 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed1, 10); in fwd_test2()
43 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed2, std::string("Test1")); in fwd_test2()
44 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed2, std::string("Test2")); in fwd_test2()
Dhash_built_in_array_test.cpp58 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed2, array[i][j]); in two_dimensional_array_test()
59 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed1, seed2); in two_dimensional_array_test()
/third_party/mindspore/mindspore/core/ir/
Dscalar.h55 …explicit BoolImm(bool b) : Scalar(kBool), v_(b) { hash_ = hash_combine({tid(), std::hash<bool>{}(v… in BoolImm()
95 …explicit Int8Imm(int8_t v) : IntergerImm(kInt8), v_(v) { hash_ = hash_combine({tid(), std::hash<in… in Int8Imm()
121 …explicit Int16Imm(int16_t v) : IntergerImm(kInt16), v_(v) { hash_ = hash_combine({tid(), std::hash… in IMM_TRAITS()
147 …explicit Int32Imm(int v) : IntergerImm(kInt32), v_(v) { hash_ = hash_combine({tid(), std::hash<int… in IMM_TRAITS()
173 …explicit Int64Imm(int64_t v) : IntergerImm(kInt64), v_(v) { hash_ = hash_combine({tid(), std::hash… in IMM_TRAITS()
200 hash_ = hash_combine({tid(), std::hash<unsigned int>{}(v_)}); in IMM_TRAITS()
228 hash_ = hash_combine({tid(), std::hash<unsigned int>{}(v_)}); in UInt16Imm()
256 hash_ = hash_combine({tid(), std::hash<unsigned int>{}(v_)}); in UInt32Imm()
284 hash_ = hash_combine({tid(), std::hash<uint64_t>{}(v)}); in UInt64Imm()
320 …explicit FP32Imm(float v) : FloatImm(kFloat32), v_(v) { hash_ = hash_combine({tid(), std::hash<flo… in FP32Imm()
[all …]
/third_party/mindspore/mindspore/core/utils/
Dhashing.h24 inline std::size_t hash_combine(std::size_t hash_sum, std::size_t hash_val) { in hash_combine() function
29 inline std::size_t hash_combine(const std::initializer_list<std::size_t> &hash_vals) { in hash_combine() function
32 hash_sum = hash_combine(hash_sum, hash_val); in hash_combine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DLLVMContextImpl.h129 return hash_combine(hash_combine_range(Key.ETypes.begin(), in getHashValue()
184 return hash_combine(Key.ReturnType, in getHashValue()
300 return hash_combine(Line, Column, Scope, InlinedAt, ImplicitCode);
319 unsigned getHashValue() const { return hash_combine(getHash(), Tag, Header); }
351 return hash_combine(cast<ConstantInt>(MD->getValue())->getSExtValue(),
353 return hash_combine(CountNode, LowerBound);
373 unsigned getHashValue() const { return hash_combine(Value, Name); }
401 return hash_combine(Tag, Name, SizeInBits, AlignInBits, Encoding);
455 return hash_combine(Name, Scope);
461 return hash_combine(Tag, Name, File, Line, Scope, BaseType, Flags);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DWasmTraits.h38 H = hash_combine(H, Ret);
40 H = hash_combine(H, Param);
58 return hash_combine(GlobalType.Type, GlobalType.Mutable);
/third_party/boost/libs/container_hash/doc/
Dtutorial.qbk145 [funcref boost::hash_combine] is supplied for this purpose:
154 ``[funcref boost::hash_combine]``(seed, p.x);
155 ``[funcref boost::hash_combine]``(seed, p.y);
163 Calls to hash_combine incrementally build the hash from the different members
171 When using [funcref boost::hash_combine] the order of the
176 boost::hash_combine(seed, 1);
177 boost::hash_combine(seed, 2);
182 boost::hash_combine(seed, 2);
183 boost::hash_combine(seed, 1);
200 [funcref boost::hash_range] and [funcref boost::hash_combine]. You'll need to
/third_party/boost/libs/ptr_container/test/
Dtest_data.hpp154 boost::hash_combine( seed, b.data ); in hash_value()
155 boost::hash_combine( seed, b.data1 ); in hash_value()
156 boost::hash_combine( seed, b.data2 ); in hash_value()
157 boost::hash_combine( seed, b.data3 ); in hash_value()
205 boost::hash_combine( seed, b.i_ ); in hash_value()
/third_party/mindspore/mindspore/ccsrc/debug/rdr/
Drecorder_manager.h34 inline void hash_combine(std::size_t *seed, const T &val) { in hash_combine() function
41 hash_combine(&seed, val1); in hash_seed()
42 hash_combine(&seed, val2); in hash_seed()
/third_party/boost/libs/flyweight/test/
Dtest_multictor.cpp63 boost::hash_combine(res,boost::tuples::get<0>(x.t)); in hash_value()
64 boost::hash_combine(res,boost::tuples::get<1>(x.t)); in hash_value()
65 boost::hash_combine(res,boost::tuples::get<2>(x.t)); in hash_value()
66 boost::hash_combine(res,boost::tuples::get<3>(x.t)); in hash_value()
67 boost::hash_combine(res,boost::tuples::get<4>(x.t)); in hash_value()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineOperand.cpp348 return hash_combine(MO.getType(), (unsigned)MO.getReg(), MO.getSubReg(), MO.isDef()); in hash_value()
350 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getImm()); in hash_value()
352 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getCImm()); in hash_value()
354 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getFPImm()); in hash_value()
356 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getMBB()); in hash_value()
358 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex()); in hash_value()
361 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex(), in hash_value()
364 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex()); in hash_value()
366 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getOffset(), in hash_value()
369 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getGlobal(), in hash_value()
[all …]
/third_party/boost/libs/container_hash/examples/
Dtemplate.hpp30 boost::hash_combine(seed, p.value1); in hash_value()
31 boost::hash_combine(seed, p.value2); in hash_value()
Dpoint.cpp34 boost::hash_combine(seed, p.x); in hash_value()
35 boost::hash_combine(seed, p.y); in hash_value()
/third_party/boost/boost/container_hash/
Dhash.hpp413 inline void hash_combine(std::size_t& seed, T const& v) in hash_combine() function
430 hash_combine<typename std::iterator_traits<It>::value_type>(seed, *first); in hash_range()
441 hash_combine<typename std::iterator_traits<It>::value_type>(seed, *first); in hash_range()
528 hash_combine(seed, v.index()); in hash_value()
529 std::visit([&seed](auto&& x) { hash_combine(seed, x); }, v); in hash_value()
545 hash_combine(seed, v.value()); in hash_value()
546 hash_combine(seed, &v.category()); in hash_value()
552 hash_combine(seed, v.value()); in hash_value()
553 hash_combine(seed, &v.category()); in hash_value()
/third_party/grpc/src/cpp/server/load_reporter/
Dload_data_store.h101 void hash_combine(size_t* seed, const std::string& k) const { in hash_combine() function
108 hash_combine(&h, k.lb_id_); in operator()
109 hash_combine(&h, k.lb_tag_); in operator()
110 hash_combine(&h, k.user_id_); in operator()
111 hash_combine(&h, k.client_ip_hex_); in operator()
/third_party/boost/libs/unordered/doc/src_code/
Dpoint1.cpp25 boost::hash_combine(seed, p.x); in operator ()()
26 boost::hash_combine(seed, p.y); in operator ()()
Dpoint2.cpp23 boost::hash_combine(seed, p.x); in hash_value()
24 boost::hash_combine(seed, p.y); in hash_value()
/third_party/boost/libs/intrusive/test/
Ditestvalue.hpp150 boost::hash_combine(hash1, -hash1); in priority_order()
152 boost::hash_combine(hash2, -hash2); in priority_order()
278 boost::hash_combine(hash1, &t1); in priority_order()
280 boost::hash_combine(hash2, &t2); in priority_order()
/third_party/boost/libs/unordered/test/unordered/
Demplace_tests.cpp105 boost::hash_combine(r1, x.a0); in hash_value()
107 boost::hash_combine(r1, x.a1); in hash_value()
109 boost::hash_combine(r1, x.a2); in hash_value()
111 boost::hash_combine(r1, x.a3); in hash_value()
113 boost::hash_combine(r1, x.a4); in hash_value()
115 boost::hash_combine(r1, x.a5); in hash_value()
117 boost::hash_combine(r1, x.a6); in hash_value()
119 boost::hash_combine(r1, x.a7); in hash_value()
121 boost::hash_combine(r1, x.a8); in hash_value()
123 boost::hash_combine(r1, x.a9); in hash_value()

12345