Home
last modified time | relevance | path

Searched refs:RANDOM_SEED (Results 1 – 11 of 11) sorted by relevance

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/
DShuffleOrderTest.java32 public static final long RANDOM_SEED = 1234567890L; field in ShuffleOrderTest
36 assertShuffleOrderCorrectness(new DefaultShuffleOrder(0, RANDOM_SEED), 0); in defaultShuffleOrder()
37 assertShuffleOrderCorrectness(new DefaultShuffleOrder(1, RANDOM_SEED), 1); in defaultShuffleOrder()
38 assertShuffleOrderCorrectness(new DefaultShuffleOrder(5, RANDOM_SEED), 5); in defaultShuffleOrder()
41 testCloneAndInsert(new DefaultShuffleOrder(initialLength, RANDOM_SEED), insertionPoint, 0); in defaultShuffleOrder()
42 testCloneAndInsert(new DefaultShuffleOrder(initialLength, RANDOM_SEED), insertionPoint, 1); in defaultShuffleOrder()
43 testCloneAndInsert(new DefaultShuffleOrder(initialLength, RANDOM_SEED), insertionPoint, 5); in defaultShuffleOrder()
46 testCloneAndRemove(new DefaultShuffleOrder(5, RANDOM_SEED), 0, 1); in defaultShuffleOrder()
47 testCloneAndRemove(new DefaultShuffleOrder(5, RANDOM_SEED), 2, 3); in defaultShuffleOrder()
48 testCloneAndRemove(new DefaultShuffleOrder(5, RANDOM_SEED), 4, 5); in defaultShuffleOrder()
[all …]
/external/connectedappssdk/tests/shared/src/main/java/com/google/android/enterprise/connectedapps/
DStringUtilities.java23 private static final long RANDOM_SEED = 1; field in StringUtilities
27 Random r = new Random(RANDOM_SEED); in randomString()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/upstream/crypto/
DAesFlushingCipherTest.java38 private static final long RANDOM_SEED = 0x12345678; field in AesFlushingCipherTest
98 Random random = new Random(RANDOM_SEED); in aligned()
131 Random random = new Random(RANDOM_SEED); in unAligned()
163 Random random = new Random(RANDOM_SEED); in midJoin()
/external/guava/android/guava-tests/benchmark/com/google/common/hash/
DChecksumBenchmark.java41 private static final int RANDOM_SEED = new Random().nextInt(); field in ChecksumBenchmark
51 new Random(RANDOM_SEED).nextBytes(testBytes); in setUp()
DMessageDigestAlgorithmBenchmark.java102 private static final int RANDOM_SEED = new Random().nextInt(); field in MessageDigestAlgorithmBenchmark
109 new Random(RANDOM_SEED).nextBytes(testBytes); in setUp()
/external/guava/guava-tests/benchmark/com/google/common/hash/
DChecksumBenchmark.java41 private static final int RANDOM_SEED = new Random().nextInt(); field in ChecksumBenchmark
51 new Random(RANDOM_SEED).nextBytes(testBytes); in setUp()
DMessageDigestAlgorithmBenchmark.java102 private static final int RANDOM_SEED = new Random().nextInt(); field in MessageDigestAlgorithmBenchmark
109 new Random(RANDOM_SEED).nextBytes(testBytes); in setUp()
/external/guava/android/guava-tests/test/com/google/common/hash/
DHashingTest.java251 private static final long RANDOM_SEED = 177L; field in HashingTest
328 Random random = new Random(RANDOM_SEED); in testCombineUnordered_randomHashCodes()
587 Random random = new Random(RANDOM_SEED); in assertSeededHashFunctionEquals()
/external/guava/guava-tests/test/com/google/common/hash/
DHashingTest.java251 private static final long RANDOM_SEED = 177L; field in HashingTest
328 Random random = new Random(RANDOM_SEED); in testCombineUnordered_randomHashCodes()
587 Random random = new Random(RANDOM_SEED); in assertSeededHashFunctionEquals()
/external/tensorflow/tensorflow/lite/testing/
Dzip_test_utils.py73 RANDOM_SEED = 342 variable
428 np.random.seed(RANDOM_SEED)
/external/tensorflow/tensorflow/examples/speech_commands/
Dinput_data.py55 RANDOM_SEED = 59185 variable
274 random.seed(RANDOM_SEED)