/external/rust/crates/ahash/src/ |
D | random_state.rs | 69 pub struct RandomState { struct 76 impl fmt::Debug for RandomState { argument 82 impl RandomState { impl 85 pub fn new() -> RandomState { in new() 89 RandomState::from_keys(seeds[0], seeds[1]) in new() 93 RandomState::from_keys( in new() 100 RandomState::from_keys(PI, PI2) in new() 107 pub fn generate_with(k0: u64, k1: u64, k2: u64, k3: u64) -> RandomState { in generate_with() argument 108 RandomState::from_keys(seeds(), [k0, k1, k2, k3]) in generate_with() 111 fn from_keys(a: [u64; 4], b: [u64; 4]) -> RandomState { in from_keys() argument [all …]
|
D | hash_set.rs | 1 use crate::{RandomState}; 18 pub struct AHashSet<T, S = crate::RandomState>(HashSet<T, S>); 20 impl<T> From<HashSet<T, crate::RandomState>> for AHashSet<T> { 21 fn from(item: HashSet<T, crate::RandomState>) -> Self { in from() 26 impl<T> Into<HashSet<T, crate::RandomState>> for AHashSet<T> { 27 fn into(self) -> HashSet<T, crate::RandomState> { in into() argument 32 impl<T> AHashSet<T, RandomState> { 34 AHashSet(HashSet::with_hasher(RandomState::default())) in new() 38 AHashSet(HashSet::with_capacity_and_hasher(capacity, RandomState::default())) in with_capacity() 270 impl<T> Default for AHashSet<T, RandomState> { [all …]
|
D | hash_map.rs | 15 use crate::{RandomState}; 20 pub struct AHashMap<K, V, S = crate::RandomState>(HashMap<K, V, S>); 22 impl<K, V> From<HashMap<K, V, crate::RandomState>> for AHashMap<K, V> { 23 fn from(item: HashMap<K, V, crate::RandomState>) -> Self { in from() 28 impl<K, V> Into<HashMap<K, V, crate::RandomState>> for AHashMap<K, V> { 29 fn into(self) -> HashMap<K, V, crate::RandomState> { in into() argument 34 impl<K, V> AHashMap<K, V, RandomState> { 36 AHashMap(HashMap::with_hasher(RandomState::default())) in new() 40 AHashMap(HashMap::with_capacity_and_hasher(capacity, RandomState::default())) in with_capacity() 319 impl<K, V> Default for AHashMap<K, V, RandomState> { [all …]
|
D | lib.rs | 56 pub use crate::random_state::RandomState; 115 RandomState::with_fixed_keys().build_hasher() in default() 179 let mut map = HashMap::<u32, u64, RandomState>::default(); in test_builder()
|
D | aes_hash.rs | 6 use crate::RandomState; 61 pub(crate) fn from_random_state(rand_state: &RandomState) -> Self { in from_random_state() 229 use crate::RandomState; 233 let mut hasher = RandomState::with_seeds(1, 2, 3,4).build_hasher(); in test_sanity()
|
D | fallback_hash.rs | 6 use crate::RandomState; 48 pub(crate) fn from_random_state(rand_state: &RandomState) -> AHasher { in from_random_state()
|
/external/rust/crates/weak-table/src/ |
D | lib.rs | 120 use std::collections::hash_map::RandomState; 146 pub struct WeakKeyHashMap<K, V, S = RandomState> { 184 pub struct PtrWeakKeyHashMap<K, V, S = RandomState>( 192 pub struct WeakValueHashMap<K, V, S = RandomState> { 207 pub struct WeakWeakHashMap<K, V, S = RandomState> { 222 pub struct PtrWeakWeakHashMap<K, V, S = RandomState>( 230 pub struct WeakHashSet<T, S = RandomState>(WeakKeyHashMap<T, (), S>); 236 pub struct PtrWeakHashSet<T, S = RandomState>(PtrWeakKeyHashMap<T, (), S>);
|
D | ptr_weak_hash_set.rs | 3 use std::collections::hash_map::RandomState; 15 impl <T: WeakElement> PtrWeakHashSet<T, RandomState>
|
D | weak_hash_set.rs | 4 use std::collections::hash_map::RandomState; 14 impl <T: WeakKey> WeakHashSet<T, RandomState> {
|
/external/llvm-project/compiler-rt/lib/gwp_asan/ |
D | guarded_pool_allocator.cpp | 294 uint32_t RandomState = getThreadLocals()->RandomState; in getRandomUnsigned32() local 295 RandomState ^= RandomState << 13; in getRandomUnsigned32() 296 RandomState ^= RandomState >> 17; in getRandomUnsigned32() 297 RandomState ^= RandomState << 5; in getRandomUnsigned32() 298 getThreadLocals()->RandomState = RandomState; in getRandomUnsigned32() 299 return RandomState; in getRandomUnsigned32()
|
/external/libdrm/ |
D | xf86drmRandom.c | 85 RandomState *state; in drmRandomCreate() 121 RandomState *s = (RandomState *)state; in drmRandom() 135 RandomState *s = (RandomState *)state; in drmRandomDouble()
|
D | xf86drmRandom.h | 27 typedef struct RandomState { struct 35 } RandomState; argument
|
/external/gwp_asan/gwp_asan/ |
D | guarded_pool_allocator.cpp | 344 uint32_t RandomState = getThreadLocals()->RandomState; in getRandomUnsigned32() local 345 RandomState ^= RandomState << 13; in getRandomUnsigned32() 346 RandomState ^= RandomState >> 17; in getRandomUnsigned32() 347 RandomState ^= RandomState << 5; in getRandomUnsigned32() 348 getThreadLocals()->RandomState = RandomState; in getRandomUnsigned32() 349 return RandomState; in getRandomUnsigned32()
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | matrix_triangular_solve_op_test.py | 80 rng = np.random.RandomState(0) 87 rng = np.random.RandomState(0) 100 rng = np.random.RandomState(0) 107 rng = np.random.RandomState(0) 119 rng = np.random.RandomState(0) 132 rng = np.random.RandomState(0) 140 rng = np.random.RandomState(0) 151 randn = np.random.RandomState(0).randn 163 randn = np.random.RandomState(0).randn
|
/external/rust/crates/ahash/tests/ |
D | nopanic.rs | 1 use ahash::{AHasher, CallHasher, RandomState}; 39 let hasher1 = RandomState::with_seeds(1, 2, 3, 4).build_hasher(); in hash_test_random() 40 let hasher2 = RandomState::with_seeds(1, 2, 3, 4).build_hasher(); in hash_test_random()
|
D | bench.rs | 1 use ahash::{CallHasher, RandomState}; 9 let hasher = RandomState::with_seeds(1, 2, 3, 4).build_hasher(); in aeshash() 19 let hasher = RandomState::with_seeds(1, 2, 3, 4).build_hasher(); in fallbackhash()
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | einsum_op_test.py | 44 r = np.random.RandomState(0) 161 r = np.random.RandomState(0) 192 r = np.random.RandomState(0) 220 r = np.random.RandomState(0) 246 r = np.random.RandomState(0) 258 r = np.random.RandomState(0) 274 r = np.random.RandomState(0) 296 r = np.random.RandomState(seed=0) 427 r = np.random.RandomState(0)
|
/external/llvm-project/compiler-rt/lib/gwp_asan/platform_specific/ |
D | guarded_pool_allocator_tls.h | 22 : RandomState(0xacd979ce), NextSampleCounter(0), RecursiveGuard(false) {} in ThreadLocalPackedVariables() 27 uint32_t RandomState; member
|
/external/gwp_asan/gwp_asan/platform_specific/ |
D | guarded_pool_allocator_tls.h | 22 : RandomState(0xacd979ce), NextSampleCounter(0), RecursiveGuard(false) {} in ThreadLocalPackedVariables() 27 uint32_t RandomState; member
|
/external/rust/crates/tokio/src/loom/std/ |
D | mod.rs | 29 use std::collections::hash_map::RandomState; 37 let rand_state = RandomState::new(); in seed()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | bfloat16_test.py | 359 rng = np.random.RandomState(seed=42) 369 rng = np.random.RandomState(seed=42) 382 rng = np.random.RandomState(seed=42) 393 rng = np.random.RandomState(seed=42) 406 rng = np.random.RandomState(seed=42) 415 rng = np.random.RandomState(seed=42) 423 rng = np.random.RandomState(seed=42) 433 rng = np.random.RandomState(seed=42)
|
/external/tensorflow/tensorflow/python/keras/preprocessing/ |
D | dataset_utils.py | 126 rng = np.random.RandomState(seed) 128 rng = np.random.RandomState(seed)
|
/external/rust/crates/hashbrown/tests/ |
D | hasher.rs | 32 check::<std::collections::hash_map::RandomState>(); in random_state()
|
/external/tensorflow/tensorflow/python/keras/datasets/ |
D | boston_housing.py | 70 rng = np.random.RandomState(seed)
|
/external/rust/crates/tokio-stream/src/ |
D | stream_map.rs | 577 use std::collections::hash_map::RandomState; 585 let rand_state = RandomState::new(); in seed()
|