Home
last modified time | relevance | path

Searched refs:hash_code (Results 1 – 25 of 438) sorted by relevance

12345678910>>...18

/aosp_15_r20/external/perfetto/test/trace_processor/diff_tests/parser/android/
H A Dwindowmanager.textproto63 hash_code: 64646999
114 hash_code: 22021243
119 hash_code: 46739922
136 hash_code: 201937930
141 hash_code: 177197394
158 hash_code: 59047029
163 hash_code: 121922211
180 hash_code: 171681708
185 hash_code: 188602784
202 hash_code: 204976479
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/ADT/
DHashing.h74 class hash_code {
80 hash_code() = default;
83 hash_code(size_t value) : value(value) {} in hash_code() function
88 friend bool operator==(const hash_code &lhs, const hash_code &rhs) {
91 friend bool operator!=(const hash_code &lhs, const hash_code &rhs) {
96 friend size_t hash_value(const hash_code &code) { return code.value; } in hash_value()
107 std::enable_if_t<is_integral_or_enum<T>::value, hash_code> hash_value(T value);
112 template <typename T> hash_code hash_value(const T *ptr);
116 hash_code hash_value(const std::pair<T, U> &arg);
120 hash_code hash_value(const std::tuple<Ts...> &arg);
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/ADT/
DHashing.h74 class hash_code {
80 hash_code() = default;
83 hash_code(size_t value) : value(value) {} in hash_code() function
88 friend bool operator==(const hash_code &lhs, const hash_code &rhs) {
91 friend bool operator!=(const hash_code &lhs, const hash_code &rhs) {
96 friend size_t hash_value(const hash_code &code) { return code.value; } in hash_value()
107 std::enable_if_t<is_integral_or_enum<T>::value, hash_code> hash_value(T value);
112 template <typename T> hash_code hash_value(const T *ptr);
116 hash_code hash_value(const std::pair<T, U> &arg);
120 hash_code hash_value(const std::tuple<Ts...> &arg);
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/ADT/
DHashing.h74 class hash_code {
80 hash_code() = default;
83 hash_code(size_t value) : value(value) {} in hash_code() function
88 friend bool operator==(const hash_code &lhs, const hash_code &rhs) {
91 friend bool operator!=(const hash_code &lhs, const hash_code &rhs) {
96 friend size_t hash_value(const hash_code &code) { return code.value; } in hash_value()
107 std::enable_if_t<is_integral_or_enum<T>::value, hash_code> hash_value(T value);
112 template <typename T> hash_code hash_value(const T *ptr);
116 hash_code hash_value(const std::pair<T, U> &arg);
120 hash_code hash_value(const std::tuple<Ts...> &arg);
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/ADT/
DHashing.h74 class hash_code {
80 hash_code() = default;
83 hash_code(size_t value) : value(value) {} in hash_code() function
88 friend bool operator==(const hash_code &lhs, const hash_code &rhs) {
91 friend bool operator!=(const hash_code &lhs, const hash_code &rhs) {
96 friend size_t hash_value(const hash_code &code) { return code.value; } in hash_value()
107 std::enable_if_t<is_integral_or_enum<T>::value, hash_code> hash_value(T value);
112 template <typename T> hash_code hash_value(const T *ptr);
116 hash_code hash_value(const std::pair<T, U> &arg);
120 hash_code hash_value(const std::tuple<Ts...> &arg);
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/ADT/
H A DHashing.h74 class hash_code {
80 hash_code() = default;
83 hash_code(size_t value) : value(value) {} in hash_code() function
88 friend bool operator==(const hash_code &lhs, const hash_code &rhs) {
91 friend bool operator!=(const hash_code &lhs, const hash_code &rhs) {
96 friend size_t hash_value(const hash_code &code) { return code.value; } in hash_value()
107 std::enable_if_t<is_integral_or_enum<T>::value, hash_code> hash_value(T value);
112 template <typename T> hash_code hash_value(const T *ptr);
116 hash_code hash_value(const std::pair<T, U> &arg);
120 hash_code hash_value(const std::tuple<Ts...> &arg);
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DHashing.h72 class hash_code {
78 hash_code() = default;
81 hash_code(size_t value) : value(value) {} in hash_code() function
86 friend bool operator==(const hash_code &lhs, const hash_code &rhs) {
89 friend bool operator!=(const hash_code &lhs, const hash_code &rhs) {
94 friend size_t hash_value(const hash_code &code) { return code.value; } in hash_value()
105 typename std::enable_if<is_integral_or_enum<T>::value, hash_code>::type
111 template <typename T> hash_code hash_value(const T *ptr);
115 hash_code hash_value(const std::pair<T, U> &arg);
119 hash_code hash_value(const std::basic_string<T> &arg);
[all …]
/aosp_15_r20/external/llvm/include/llvm/ADT/
H A DHashing.h72 class hash_code {
78 hash_code() = default;
81 hash_code(size_t value) : value(value) {} in hash_code() function
86 friend bool operator==(const hash_code &lhs, const hash_code &rhs) {
89 friend bool operator!=(const hash_code &lhs, const hash_code &rhs) {
94 friend size_t hash_value(const hash_code &code) { return code.value; } in hash_value()
105 typename std::enable_if<is_integral_or_enum<T>::value, hash_code>::type
111 template <typename T> hash_code hash_value(const T *ptr);
115 hash_code hash_value(const std::pair<T, U> &arg);
119 hash_code hash_value(const std::basic_string<T> &arg);
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DHashing.h71 class hash_code {
77 hash_code() = default;
80 hash_code(size_t value) : value(value) {} in hash_code() function
85 friend bool operator==(const hash_code &lhs, const hash_code &rhs) {
88 friend bool operator!=(const hash_code &lhs, const hash_code &rhs) {
93 friend size_t hash_value(const hash_code &code) { return code.value; } in hash_value()
104 typename std::enable_if<is_integral_or_enum<T>::value, hash_code>::type
110 template <typename T> hash_code hash_value(const T *ptr);
114 hash_code hash_value(const std::pair<T, U> &arg);
118 hash_code hash_value(const std::basic_string<T> &arg);
[all …]
H A DDenseMapInfo.h276 template <> struct DenseMapInfo<hash_code> {
277 static inline hash_code getEmptyKey() { return hash_code(-1); }
278 static inline hash_code getTombstoneKey() { return hash_code(-2); }
279 static unsigned getHashValue(hash_code val) { return val; }
280 static bool isEqual(hash_code LHS, hash_code RHS) { return LHS == RHS; }
/aosp_15_r20/art/compiler/optimizing/
H A Dgvn.cc86 size_t hash_code = HashCode(instruction); in Add() local
87 size_t index = BucketIndex(hash_code); in Add()
92 buckets_[index] = new (allocator_) Node(instruction, hash_code, buckets_[index]); in Add()
99 size_t hash_code = HashCode(instruction); in Lookup() local
100 size_t index = BucketIndex(hash_code); in Lookup()
103 if (node->GetHashCode() == hash_code) { in Lookup()
115 size_t hash_code = HashCode(instruction); in Contains() local
116 size_t index = BucketIndex(hash_code); in Contains()
188 Node(HInstruction* instruction, size_t hash_code, Node* next) in Node() argument
189 : instruction_(instruction), hash_code_(hash_code), next_(next) {} in Node()
[all …]
/aosp_15_r20/external/llvm/unittests/ADT/
H A DHashingTest.cpp25 void PrintTo(const hash_code &code, std::ostream *os) { in PrintTo()
36 friend hash_code hash_value(const NonPOD &obj) { in hash_value()
128 hash_code hash_value(HashableDummy dummy) { return dummy.value; } in hash_value()
133 hash_code dummy_hash = hash_combine_range(&dummy, &dummy); in TEST()
134 EXPECT_NE(hash_code(0), dummy_hash); in TEST()
137 hash_code arr1_hash = hash_combine_range(begin(arr1), end(arr1)); in TEST()
151 hash_code arr2_hash = hash_combine_range(begin(arr2), end(arr2)); in TEST()
156 hash_code arr3_hash = hash_combine_range(begin(arr3), end(arr3)); in TEST()
161 hash_code arr4_hash = hash_combine_range(begin(arr4), end(arr4)); in TEST()
167 hash_code arr5_hash = hash_combine_range(begin(arr5), end(arr5)); in TEST()
[all …]
/aosp_15_r20/external/pytorch/torch/csrc/jit/runtime/
H A Dargument_spec.h75 : hash_code(c10::hash_combine( in ArgumentSpec()
85 hash_code = c10::hash_combine(hash_code, is_present); in addOptional()
120 hash_code = c10::hash_combine(hash_code, arg_data); in combineHash()
157 return hash_code; in hashCode()
161 size_t hash_code; // precomputed on construction
243 : hash_code(0), ninputs(inputs.size()) { in CompleteArgumentSpec()
292 hash_code = c10::hash_combine(0, ninputs); in CompleteArgumentSpec()
294 hash_code = c10::hash_combine(hash_code, d); in CompleteArgumentSpec()
312 return hash_code; in hashCode()
328 size_t hash_code; // precomputed on construction member
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/type_index/test/
Dtype_index_test.cpp82 std::size_t t_int1 = type_id<int>().hash_code(); in hash_code_type_id()
83 std::size_t t_double1 = type_id<double>().hash_code(); in hash_code_type_id()
85 std::size_t t_int2 = type_id<int>().hash_code(); in hash_code_type_id()
86 std::size_t t_double2 = type_id<double>().hash_code(); in hash_code_type_id()
128 BOOST_TEST_EQ(t1.hash_code(), type_id_with_cvr<T1>().hash_code()); in test_with_modofiers()
129 BOOST_TEST_EQ(t2.hash_code(), type_id_with_cvr<T2>().hash_code()); in test_with_modofiers()
131 BOOST_TEST_NE(t1.hash_code(), type_id_with_cvr<T2>().hash_code()); in test_with_modofiers()
132 BOOST_TEST_NE(t2.hash_code(), type_id_with_cvr<T1>().hash_code()); in test_with_modofiers()
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/container_hash/test/
Dhash_type_index_test.cpp31 BOOST_TEST(hasher(int_index) == int_index.hash_code()); in test_type_index()
32 BOOST_TEST(hasher(int_index) == int2_index.hash_code()); in test_type_index()
33 BOOST_TEST(hasher(char_index) == char_index.hash_code()); in test_type_index()
34 BOOST_TEST(BOOST_HASH_TEST_NAMESPACE::hash_value(int_index) == int_index.hash_code()); in test_type_index()
35 BOOST_TEST(BOOST_HASH_TEST_NAMESPACE::hash_value(int_index) == int2_index.hash_code()); in test_type_index()
36 BOOST_TEST(BOOST_HASH_TEST_NAMESPACE::hash_value(char_index) == char_index.hash_code()); in test_type_index()
/aosp_15_r20/external/tensorflow/tensorflow/core/framework/
H A Dresource_mgr.cc48 result.set_hash_code(type_index.hash_code()); in MakeResourceHandle()
78 Status ResourceMgr::InsertDebugTypeName(uint64 hash_code, in InsertDebugTypeName() argument
80 auto iter = debug_type_names_.emplace(hash_code, type_name); in InsertDebugTypeName()
88 const char* ResourceMgr::DebugTypeName(uint64 hash_code) const { in DebugTypeName()
89 auto type_name_iter = debug_type_names_.find(hash_code); in DebugTypeName()
205 auto iter = container->find({type.hash_code(), borrowed_name}); in DoCreate()
214 Container::value_type key_and_value(Key(type.hash_code(), borrowed_name), in DoCreate()
219 TF_RETURN_IF_ERROR(InsertDebugTypeName(type.hash_code(), type.name())); in DoCreate()
229 return DoLookup(handle.container(), handle.hash_code(), in Lookup()
236 return DoLookup(container, type.hash_code(), type.name(), name, resource); in DoLookup()
[all …]
H A Dresource_handle.cc72 proto->set_hash_code(hash_code()); in AsProto()
85 set_hash_code(proto.hash_code()); in FromProto()
117 device(), container(), name(), hash_code(), in DebugString()
143 result.set_hash_code(type_index.hash_code()); in MakeRefCountingHandle()
150 if (type_index.hash_code() != hash_code()) { in ValidateType()
154 port::Demangle(maybe_type_name()), "' (hash code ", hash_code(), in ValidateType()
157 type_index.hash_code(), ")"); in ValidateType()
/aosp_15_r20/external/libjpeg-turbo/
H A Dwrgif.c94 code_int *hash_code; /* => hash table of symbol codes */ member
172 memset(dinfo->hash_code, 0, HSIZE * sizeof(code_int)); in clear_hash()
204 if (dinfo->hash_code != NULL) in compress_init()
390 if (dest->hash_code[i] == 0) { in put_LZW_pixel_rows()
394 dest->hash_code[i] = dest->free_code++; /* add symbol to hashtable */ in put_LZW_pixel_rows()
402 dest->waiting_code = dest->hash_code[i]; in put_LZW_pixel_rows()
414 if (dest->hash_code[i] == 0) { in put_LZW_pixel_rows()
418 dest->hash_code[i] = dest->free_code++; /* add symbol to hashtable */ in put_LZW_pixel_rows()
426 dest->waiting_code = dest->hash_code[i]; in put_LZW_pixel_rows()
564 dest->hash_code = (code_int *) in jinit_write_gif()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/weak-table/src/
Dweak_value_hash_map.rs31 hash_code: HashCode, field
299 let hash_code = self.hash(&key); in entry_no_grow() localVariable
301 pos: self.which_bucket(hash_code), in entry_no_grow()
303 hash_code, in entry_no_grow()
341 let hash_code = self.hash(key); in find_bucket() localVariable
342 let mut pos = self.which_bucket(hash_code); in find_bucket()
346 if bucket_hash_code == hash_code { in find_bucket()
355 self.probe_distance(pos, self.which_bucket(hash_code)); in find_bucket()
578 if bucket.2 == self.hash_code { in bucket_status()
694 let InnerEntry { map, key, hash_code, pos } = self.inner; in insert()
[all …]
Dweak_weak_hash_map.rs32 hash_code: HashCode, field
301 let hash_code = self.hash(&key, K::hash); in entry_no_grow() localVariable
303 pos: self.which_bucket(hash_code), in entry_no_grow()
305 hash_code, in entry_no_grow()
342 let hash_code = self.hash(key, Q::hash); in find_bucket() localVariable
343 let mut pos = self.which_bucket(hash_code); in find_bucket()
347 if b_hash_code == hash_code { in find_bucket()
356 self.probe_distance(pos, self.which_bucket(hash_code)); in find_bucket()
585 if bucket.2 == self.hash_code { in bucket_status()
705 Some((K::new(&self.inner.key), V::new(&value), self.inner.hash_code))); in insert()
[all …]
Dweak_key_hash_map.rs26 hash_code: HashCode, field
338 let hash_code = self.hash(&key, K::hash); in entry_no_grow() localVariable
340 pos: self.which_bucket(hash_code), in entry_no_grow()
342 hash_code, in entry_no_grow()
379 let hash_code = self.hash(key, Q::hash); in find_bucket() localVariable
380 let mut pos = self.which_bucket(hash_code); in find_bucket()
384 if bucket_hash_code == hash_code { in find_bucket()
496 self.find_bucket(key).map(|(pos, strong_key, hash_code)| { in remove()
501 hash_code, in remove()
679 if bucket.2 == self.hash_code { in bucket_status()
[all …]
/aosp_15_r20/external/libcxx/test/std/language.support/support.rtti/type.info/
H A Dtype_info_hash.pass.cpp21 assert(t1.hash_code() == t2.hash_code()); in main()
22 assert(t1.hash_code() != t3.hash_code()); in main()
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/language.support/support.rtti/type.info/
H A Dtype_info_hash.pass.cpp24 assert(t1.hash_code() == t2.hash_code()); in main()
25 assert(t1.hash_code() != t3.hash_code()); in main()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/Transforms/Scalar/
DGVNExpression.h64 mutable hash_code HashVal = 0;
91 hash_code getComputedHash() const { in getComputedHash()
113 virtual hash_code getHashValue() const { return getOpcode(); } in getHashValue()
222 hash_code getHashValue() const override { in getHashValue()
285 hash_code getHashValue() const override { in getHashValue()
462 hash_code getHashValue() const override { in getHashValue()
528 hash_code getHashValue() const override { in getHashValue()
574 hash_code getHashValue() const override { in getHashValue()
611 hash_code getHashValue() const override { in getHashValue()
647 hash_code getHashValue() const override { in getHashValue()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/Transforms/Scalar/
DGVNExpression.h64 mutable hash_code HashVal = 0;
91 hash_code getComputedHash() const { in getComputedHash()
113 virtual hash_code getHashValue() const { return getOpcode(); } in getHashValue()
222 hash_code getHashValue() const override { in getHashValue()
285 hash_code getHashValue() const override { in getHashValue()
462 hash_code getHashValue() const override { in getHashValue()
528 hash_code getHashValue() const override { in getHashValue()
574 hash_code getHashValue() const override { in getHashValue()
611 hash_code getHashValue() const override { in getHashValue()
647 hash_code getHashValue() const override { in getHashValue()

12345678910>>...18