Home
last modified time | relevance | path

Searched defs:seed (Results 1 – 25 of 690) sorted by relevance

12345678910>>...28

/third_party/skia/src/opts/
DSkChecksum_opts.h21 static uint32_t crc32c_1(uint32_t seed, uint8_t v) { return _mm_crc32_u8(seed, v); } in crc32c_1()
22 static uint32_t crc32c_4(uint32_t seed, uint32_t v) { return _mm_crc32_u32(seed, v); } in crc32c_4()
23 static uint32_t crc32c_8(uint32_t seed, uint64_t v) { in crc32c_8()
33 static uint32_t crc32c_1(uint32_t seed, uint8_t v) { return __crc32cb(seed, v); } in crc32c_1()
34 static uint32_t crc32c_4(uint32_t seed, uint32_t v) { return __crc32cw(seed, v); } in crc32c_4()
35 static uint32_t crc32c_8(uint32_t seed, uint64_t v) { return __crc32cd(seed, v); } in crc32c_8()
88 static uint32_t crc32c_1(uint32_t seed, uint8_t v) { in crc32c_1()
92 static uint32_t crc32c_4(uint32_t seed, uint32_t v) { in crc32c_4()
100 static uint32_t crc32c_8(uint32_t seed, uint64_t v) { in crc32c_8()
112 inline uint32_t hash_fn(const void* data, size_t len, uint32_t seed) { in hash_fn()
/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)
35 size_t seed = 0; local
45 size_t seed = 0; local
56 size_t seed = 0; local
68 size_t seed = 0; local
80 size_t seed = 0; local
90 size_t seed = 0; local
100 size_t seed = 0; local
110 size_t seed = 0; local
120 size_t seed = 0; local
[all …]
/third_party/mindspore/mindspore/ops/composite/
Drandom_ops.py30 def normal(shape, mean, stddev, seed=None): argument
86 def laplace(shape, mean, lambda_param, seed=None): argument
133 def uniform(shape, minval, maxval, seed=None, dtype=mstype.float32): argument
203 def gamma(shape, alpha, beta, seed=None): argument
279 def poisson(shape, mean, seed=None): argument
328 def multinomial(inputs, num_sample, replacement=True, seed=None): argument
/third_party/json/include/nlohmann/detail/
Dhash.hpp12 inline std::size_t combine(std::size_t seed, std::size_t h) noexcept in combine()
48 auto seed = combine(type, j.size()); in hash() local
60 auto seed = combine(type, j.size()); in hash() local
100 auto seed = combine(type, j.get_binary().size()); in hash() local
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fRandomShaderTests.cpp38 …t, const char* description, const rsg::ProgramParameters& baseParams, deUint32 seed, bool vertex, … in createRandomShaderCase()
70 for (int seed = 0; seed < 100; seed++) in init() local
101 for (int seed = 0; seed < 100; seed++) in init() local
130 for (int seed = 0; seed < 50; seed++) in init() local
158 for (int seed = 0; seed < 50; seed++) in init() local
195 for (int seed = 0; seed < 100; seed++) in init() local
225 for (int seed = 0; seed < 100; seed++) in init() local
254 for (int seed = 0; seed < 100; seed++) in init() local
289 for (int seed = 0; seed < 50; seed++) in init() local
292 for (int seed = 0; seed < 150; seed++) in init() local
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fRandomShaderTests.cpp39 …t, const char* description, const rsg::ProgramParameters& baseParams, deUint32 seed, bool vertex, … in createRandomShaderCase()
72 for (int seed = 0; seed < 100; seed++) in init() local
103 for (int seed = 0; seed < 100; seed++) in init() local
132 for (int seed = 0; seed < 50; seed++) in init() local
160 for (int seed = 0; seed < 50; seed++) in init() local
197 for (int seed = 0; seed < 100; seed++) in init() local
227 for (int seed = 0; seed < 100; seed++) in init() local
256 for (int seed = 0; seed < 100; seed++) in init() local
291 for (int seed = 0; seed < 50; seed++) in init() local
294 for (int seed = 0; seed < 150; seed++) in init() local
[all …]
/third_party/mindspore/mindspore/ops/operations/
Drandom_ops.py62 def __init__(self, seed=0, seed2=0): argument
119 def __init__(self, seed=0, seed2=0): argument
182 def __init__(self, seed=0, seed2=0): argument
246 def __init__(self, seed=0, seed2=0): argument
318 def __init__(self, seed=0, seed2=0): argument
422 def __init__(self, count=256, seed=0, seed2=0): argument
492 def __infer__(self, logits, num_samples, seed): argument
552 def __init__(self, seed=0, seed2=0): argument
625 …def __init__(self, num_true, num_sampled, unique, range_max, seed=0, remove_accidental_hits=False): argument
699 def __init__(self, num_true=1, num_sampled=5, unique=True, range_max=5, seed=0): argument
/third_party/mindspore/tests/st/auto_monad/
Dtest_effect_random.py33 def __init__(self, shape, seed=0): argument
59 def __init__(self, shape=None, seed=0): argument
86 def __init__(self, shape=None, seed=0): argument
113 def __init__(self, shape=None, seed=0): argument
140 def __init__(self, shape=None, seed=0): argument
166 def __init__(self, shape=None, seed=0): argument
193 def __init__(self, shape, seed=0, seed2=0): argument
220 def __init__(self, shape, seed=0, seed2=0): argument
247 def __init__(self, shape, alpha, beta, seed=0, seed2=0): argument
278 def __init__(self, shape, seed=0, seed2=0): argument
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Drandom_op_impl.cu19 __global__ void NormalKernel(int seed, curandState *globalState, T *output, size_t count) { in NormalKernel()
30 __global__ void UniformIntKernel(int seed, curandState *globalState, T *input1, size_t input_size_1, in UniformIntKernel()
45 __global__ void UniformRealKernel(int seed, curandState *globalState, T *output, size_t count) { in UniformRealKernel()
54 void StandardNormal(int seed, int seed2, curandState *globalState, T *output, size_t count, cudaStr… in StandardNormal()
69 bool UniformInt(int seed, int seed2, curandState *globalState, T *input1, size_t input_size_1, in UniformInt()
89 void UniformReal(int seed, int seed2, curandState *globalState, T *output, size_t count, cudaStream… in UniformReal()
/third_party/musl/libc-test/src/functionalext/supplement/prng/
Drand_r.c29 unsigned int seed = 10; in rand_r_0100() local
46 unsigned int seed = seed_; in rand_r_0200() local
63 unsigned int seed = 10; in rand_r_0300() local
/third_party/boost/libs/container_hash/test/
Dhash_fwd_test.hpp44 std::size_t seed = 0; in hash_value() local
63 std::size_t seed = in hash_value() local
86 std::size_t seed = 0; in hash_value() local
95 std::size_t seed = in hash_value() local
/third_party/boost/boost/container_hash/
Dhash.hpp277 std::size_t seed = 0; in hash_value_signed() local
298 std::size_t seed = 0; in hash_value_unsigned() local
311 inline void hash_combine_impl(SizeT& seed, SizeT value) in hash_combine_impl()
413 inline void hash_combine(std::size_t& seed, T const& v) in hash_combine()
426 std::size_t seed = 0; in hash_range() local
437 inline void hash_range(std::size_t& seed, It first, It last) in hash_range()
449 std::size_t seed = 0; in hash_range() local
461 inline void hash_range(std::size_t& seed, T* first, T* last) in hash_range()
527 std::size_t seed = 0; in hash_value() local
544 std::size_t seed = 0; in hash_value() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DHashing.h190 inline uint64_t hash_1to3_bytes(const char *s, size_t len, uint64_t seed) { in hash_1to3_bytes()
199 inline uint64_t hash_4to8_bytes(const char *s, size_t len, uint64_t seed) { in hash_4to8_bytes()
204 inline uint64_t hash_9to16_bytes(const char *s, size_t len, uint64_t seed) { in hash_9to16_bytes()
210 inline uint64_t hash_17to32_bytes(const char *s, size_t len, uint64_t seed) { in hash_17to32_bytes()
219 inline uint64_t hash_33to64_bytes(const char *s, size_t len, uint64_t seed) { in hash_33to64_bytes()
242 inline uint64_t hash_short(const char *s, size_t length, uint64_t seed) { in hash_short()
329 static size_t seed = fixed_seed_override ? fixed_seed_override in get_execution_seed() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DHashing.h189 inline uint64_t hash_1to3_bytes(const char *s, size_t len, uint64_t seed) { in hash_1to3_bytes()
198 inline uint64_t hash_4to8_bytes(const char *s, size_t len, uint64_t seed) { in hash_4to8_bytes()
203 inline uint64_t hash_9to16_bytes(const char *s, size_t len, uint64_t seed) { in hash_9to16_bytes()
209 inline uint64_t hash_17to32_bytes(const char *s, size_t len, uint64_t seed) { in hash_17to32_bytes()
218 inline uint64_t hash_33to64_bytes(const char *s, size_t len, uint64_t seed) { in hash_33to64_bytes()
241 inline uint64_t hash_short(const char *s, size_t length, uint64_t seed) { in hash_short()
328 static uint64_t seed = fixed_seed_override ? fixed_seed_override : seed_prime; in get_execution_seed() local
/third_party/node/deps/npm/node_modules/imurmurhash/
Dimurmurhash.js21 function MurmurHash3(key, seed) { argument
123 MurmurHash3.prototype.reset = function(seed) { argument
/third_party/skia/include/utils/
DSkRandom.h26 SkRandom(uint32_t seed) { init(seed); } in SkRandom()
124 void setSeed(uint32_t seed) { init(seed); } in setSeed()
130 void init(uint32_t seed) { in init()
141 static uint32_t NextLCG(uint32_t seed) { return kMul*seed + kAdd; } in NextLCG()
/third_party/flutter/skia/include/utils/
DSkRandom.h26 SkRandom(uint32_t seed) { init(seed); } in SkRandom()
124 void setSeed(uint32_t seed) { init(seed); } in setSeed()
130 void init(uint32_t seed) { in init()
141 static uint32_t NextLCG(uint32_t seed) { return kMul*seed + kAdd; } in NextLCG()
/third_party/musl/src/prng/
Drandom.c47 static void __srandom(unsigned seed) { in __srandom()
65 void srandom(unsigned seed) { in srandom()
71 char *initstate(unsigned seed, char *state, size_t size) { in initstate()
/third_party/mindspore/mindspore/core/ops/
Drandom_standard_normal.cc24 void RandomStandardNormal::Init(const int64_t seed, const int64_t seed2) { in Init()
29 void RandomStandardNormal::set_seed(int64_t seed) { (void)this->AddAttr(kSeed, MakeValue(seed)); } in set_seed()
Duniform_real.cc25 void UniformReal::Init(int64_t seed, int64_t seed2) { in Init()
30 void UniformReal::set_seed(int64_t seed) { (void)this->AddAttr(kSeed, MakeValue(seed)); } in set_seed()
/third_party/musl/porting/uniproton/kernel/src/prng/
Drandom.c45 static void __srandom(unsigned seed) { in __srandom()
63 void srandom(unsigned seed) { in srandom()
71 char *initstate(unsigned seed, char *state, size_t size) { in initstate()
/third_party/musl/porting/liteos_m/kernel/src/prng/
Drandom.c45 static void __srandom(unsigned seed) { in __srandom()
63 void srandom(unsigned seed) { in srandom()
71 char *initstate(unsigned seed, char *state, size_t size) { in initstate()
/third_party/musl/porting/liteos_a/kernel/src/prng/
Drandom.c46 static void __srandom(unsigned seed) { in __srandom()
64 void srandom(unsigned seed) { in srandom()
72 char *initstate(unsigned seed, char *state, size_t size) { in initstate()
/third_party/glib/glib/
Dgrand.c179 g_rand_new_with_seed (guint32 seed) in g_rand_new_with_seed()
199 g_rand_new_with_seed_array (const guint32 *seed, in g_rand_new_with_seed_array()
221 guint32 seed[4]; in g_rand_new() local
337 guint32 seed) in g_rand_set_seed()
388 const guint32 *seed, in g_rand_set_seed_array()
725 g_random_set_seed (guint32 seed) in g_random_set_seed()
/third_party/lz4/ossfuzz/
Dlz4_helpers.c5 LZ4F_frameInfo_t FUZZ_randomFrameInfo(uint32_t* seed) in FUZZ_randomFrameInfo()
20 LZ4F_preferences_t FUZZ_randomPreferences(uint32_t* seed) in FUZZ_randomPreferences()

12345678910>>...28