| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/ |
| H A D | aarch64_operand.h | 34 std::size_t seed = 0; in operator ()() local 35 hash_combine<uint8_t>(seed, x.GetAddrMode()); in operator ()() 36 hash_combine<uint32_t>(seed, x.GetSize()); in operator ()() 40 hash_combine<uint32_t>(seed, xb->GetRegisterNumber()); in operator ()() 41 hash_combine<uint32_t>(seed, xb->GetSize()); in operator ()() 44 hash_combine<uint32_t>(seed, xi->GetRegisterNumber()); in operator ()() 45 hash_combine<uint32_t>(seed, xi->GetSize()); in operator ()() 47 return seed; in operator ()()
|
| /arkcompiler/runtime_core/tests/fuzztest/murmur3_fuzzer/ |
| H A D | murmur3_fuzzer.cpp | 23 const uint32_t seed = 0xCC9E2D51U; in Murmur3FuzzTest() local 24 panda::MurmurHash32<seed>::GetHash32WithSeedImpl(data, size, seed); in Murmur3FuzzTest() 26 panda::MurmurHash32<seed>::GetHash32Impl(data, size); in Murmur3FuzzTest() 30 panda::MurmurHash32<seed>::GetHash32StringImpl(string_data); in Murmur3FuzzTest()
|
| /arkcompiler/runtime_core/libpandabase/utils/ |
| H A D | hash_base.h | 31 * \brief Create 32 bits Hash from \param key via \param seed. 34 * @param seed - seed which is used to calculate hash 37 static uint32_t GetHash32WithSeed(const uint8_t *key, size_t len, uint32_t seed) in GetHash32WithSeed() argument 39 return HashImpl::GetHash32WithSeedImpl(key, len, seed); in GetHash32WithSeed() 63 * @param seed - seed which is used to calculate hash 66 static uint32_t GetHash32StringWithSeed(const uint8_t *mutf8_string, uint32_t seed) in GetHash32StringWithSeed() argument 68 return HashImpl::GetHash32StringWithSeedImpl(mutf8_string, seed); in GetHash32StringWithSeed()
|
| H A D | hash.h | 27 // Default seed which is used in hash functions. 28 // NOTE: To create different seed for your purposes, 32 // Hash class alias with the default seed inside. 36 * \brief Create 32 bits Hash from \param key via \param seed. 39 * @param seed - seed which is used to calculate hash 42 inline uint32_t GetHash32WithSeed(const uint8_t *key, size_t len, uint32_t seed) in GetHash32WithSeed() argument 44 return Hash::GetHash32WithSeed(key, len, seed); in GetHash32WithSeed() 71 * @param seed - seed whic 74 GetHash32StringWithSeed(const uint8_t *mutf8_string, uint32_t seed) GetHash32StringWithSeed() argument [all...] |
| H A D | murmur3_hash.h | 57 static uint32_t GetHash32WithSeedImpl(const uint8_t *key, size_t len, uint32_t seed) in GetHash32WithSeedImpl() argument 59 return MurmurHash3(key, len, seed); in GetHash32WithSeedImpl() 69 static uint32_t GetHash32StringWithSeedImpl(const uint8_t *mutf8_string, uint32_t seed) in GetHash32StringWithSeedImpl() argument 71 return MurmurHash3String(mutf8_string, seed); in GetHash32StringWithSeedImpl() 91 static uint32_t MurmurHash3(const uint8_t *key, size_t len, uint32_t seed) in MurmurHash3() argument 93 // We start hashing from the seed in MurmurHash3() 94 uint32_t hash = seed; in MurmurHash3() 141 static uint32_t MurmurHash3String(const uint8_t *mutf8_string, uint32_t seed) in MurmurHash3String() argument 143 // We start hashing from the seed in MurmurHash3String() 144 uint32_t hash = seed; in MurmurHash3String() [all...] |
| /arkcompiler/runtime_core/static_core/libpandabase/utils/ |
| H A D | hash_base.h | 30 * @brief Create 32 bits Hash from @param key via @param seed. 33 * @param seed - seed which is used to calculate hash 36 static uint32_t GetHash32WithSeed(const uint8_t *key, size_t len, uint32_t seed) in GetHash32WithSeed() argument 38 return HashImpl::GetHash32WithSeedImpl(key, len, seed); in GetHash32WithSeed() 62 * @param seed - seed which is used to calculate hash 65 static uint32_t GetHash32StringWithSeed(const uint8_t *mutf8String, uint32_t seed) in GetHash32StringWithSeed() argument 67 return HashImpl::GetHash32StringWithSeedImpl(mutf8String, seed); in GetHash32StringWithSeed()
|
| H A D | hash.h | 26 // Default seed which is used in hash functions. 27 // NOTE: To create different seed for your purposes, 31 // Hash class alias with the default seed inside. 35 * @brief Create 32 bits Hash from @param key via @param seed. 38 * @param seed - seed which is used to calculate hash 41 inline uint32_t GetHash32WithSeed(const uint8_t *key, size_t len, uint32_t seed) in GetHash32WithSeed() argument 43 return Hash::GetHash32WithSeed(key, len, seed); in GetHash32WithSeed() 70 * @param seed - seed whic 73 GetHash32StringWithSeed(const uint8_t *mutf8String, uint32_t seed) GetHash32StringWithSeed() argument [all...] |
| H A D | murmur3_hash.h | 36 static uint32_t GetHash32WithSeedImpl(const uint8_t *key, size_t len, uint32_t seed) in GetHash32WithSeedImpl() argument 38 return MurmurHash3(key, len, seed); in GetHash32WithSeedImpl() 48 static uint32_t GetHash32StringWithSeedImpl(const uint8_t *mutf8String, uint32_t seed) in GetHash32StringWithSeedImpl() argument 50 return MurmurHash3String(mutf8String, seed); in GetHash32StringWithSeedImpl() 88 static uint32_t MurmurHash3(const uint8_t *key, size_t len, uint32_t seed) in MurmurHash3() argument 90 // We start hashing from the seed in MurmurHash3() 91 uint32_t hash = seed; in MurmurHash3() 138 static uint32_t MurmurHash3String(const uint8_t *mutf8String, uint32_t seed) in MurmurHash3String() argument 140 // We start hashing from the seed in MurmurHash3String() 141 uint32_t hash = seed; in MurmurHash3String() [all...] |
| /arkcompiler/runtime_core/tests/fuzztest/hashbase_fuzzer/ |
| H A D | hashbase_fuzzer.cpp | 24 const uint32_t seed = 0xCC9E2D51U; in HashBaseFuzzTest() local 27 panda::HashBase<panda::MurmurHash32<seed>>::GetHash32(data, size); in HashBaseFuzzTest() 28 panda::HashBase<panda::MurmurHash32<seed>>::GetHash32String(string_data); in HashBaseFuzzTest()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
| H A D | types_def.h | 164 std::size_t seed = 0; in operator ()() local 165 hash_combine(seed, x.Scope()); in operator ()() 166 hash_combine(seed, x.Idx()); in operator ()() 167 return seed; in operator ()()
|
| /arkcompiler/runtime_core/static_core/libpandabase/tests/ |
| H A D | mem_range_test.cpp | 208 unsigned int seed; 212 seed = 0xDEADBEEF; 214 srand(seed); 215 g_generator.seed(seed);
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| H A D | value_numbering.cpp | 128 size_t HashCombine(size_t seed, size_t value) in HashCombine() argument 139 seed ^= value; in HashCombine() 140 seed *= m; in HashCombine() 141 return seed; in HashCombine()
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/interpreter/lexicalEnv/ |
| H A D | safe_hole1.js | 24 function test_func8(obj, seed) {
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/ |
| H A D | mpl_number.h | 338 inline void hash_combine(std::size_t &seed, const T &v) in hash_combine() argument 344 seed ^= hasher(v) + hasecode + (seed << leftShift) + (seed >> rightShift); in hash_combine()
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| H A D | mem_map_allocator.h | 286 // Use the current time as the seed in RandomGenerateBigAddr() 287 unsigned seed = static_cast<unsigned>(std::chrono::system_clock::now().time_since_epoch().count()); in RandomGenerateBigAddr() local 288 std::mt19937_64 generator(seed); in RandomGenerateBigAddr()
|
| /arkcompiler/runtime_core/libpandabase/tests/ |
| H A D | mem_range_test.cpp | 193 generator.seed(seed_);
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/ |
| H A D | utils.py | 183 random.seed(test_id)
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/be/ |
| H A D | lower.h | 166 int64 seed = 0; member in maplebe::CGLowerer
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| H A D | card_table_test.cpp | 84 gen_.seed(seed_); 91 std::cout << "CartTableTest seed = " << seed_ << std::endl;
|
| H A D | allocator_test_base.h | 197 << static_cast<size_t>(ALIGNMENT) << " log alignment, seed: " << seed_; in OneAlignedAllocFreeTest() 199 << size << " bytes, " << static_cast<size_t>(ALIGNMENT) << " log alignment, seed: " << seed_; in OneAlignedAllocFreeTest() 207 << ", alignment: " << static_cast<size_t>(ALIGNMENT) << ", seed: " << seed_; in OneAlignedAllocFreeTest() 245 << "Didn't allocate " << size << " bytes with " << align << " log alignment, seed: " << seed_; in AlignedAllocFreeTest() 247 << size << " bytes, " << align << " log alignment, seed: " << seed_; in AlignedAllocFreeTest() 257 << ", alignment: " << align << ", seed: " << seed_; in AlignedAllocFreeTest() 285 << " iteration, seed: " << seed_; in AllocateAndFree() 292 << "address: " << std::hex << element.first << ", size: " << allocSize << ", seed: " << seed_; in AllocateAndFree() 337 ASSERT_TRUE(freedPools == POOLS_TO_FREE) << ", seed: " << seed_; in VisitAndRemoveFreePools() 338 ASSERT_TRUE(allocator.Alloc(allocSize) == nullptr) << ", seed in VisitAndRemoveFreePools() 1077 BuildInfoForMtAllocTests(std::tuple<void *, size_t, size_t> allocatedElement, unsigned int seed) BuildInfoForMtAllocTests() argument [all...] |
| /arkcompiler/ets_runtime/test/moduletest/array/ |
| H A D | array.js | 477 function fun4(seed) { 479 return objects[seed % objects.length]; 482 function fun8(obj, seed) {
|