/external/volley/src/test/java/com/android/volley/toolbox/ |
D | DiskBasedCacheTest.java | 110 Cache.Entry entry = randomData(511); in testPutRemoveGet() 122 Cache.Entry entry = randomData(511); in testPutClearGet() 134 Cache.Entry entry = randomData(1023); in testReinitialize() 145 Cache.Entry entry = randomData(32); in testInvalidate() 157 Cache.Entry entry = randomData(32); in testInvalidateFullExpire() 170 Cache.Entry entry = randomData(MAX_SIZE - getEntrySizeOnDisk("oversize")); in testTooLargeEntry() 178 Cache.Entry entry = randomData(MAX_SIZE - getEntrySizeOnDisk("maxsize") - 1); in testMaxSizeEntry() 187 Cache.Entry entry = randomData(MAX_SIZE - getEntrySizeOnDisk("maxsize") - 1); in testTrimAtThreshold() 193 entry = randomData(0); in testTrimAtThreshold() 202 Cache.Entry entry1 = randomData(MAX_SIZE / 3 - getEntrySizeOnDisk("entry1") - 1); in testTrimWithMultipleEvictions_underHysteresisThreshold() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
D | ValueServer.java | 88 private final RandomData randomData; field in ValueServer 94 randomData = new RandomDataImpl(); in ValueServer() 104 public ValueServer(RandomData randomData) { in ValueServer() argument 105 this.randomData = randomData; in ValueServer() 363 return randomData.nextUniform(0, 2 * mu); in getNextUniform() 372 return randomData.nextExponential(mu); in getNextExponential() 382 return randomData.nextGaussian(mu, sigma); in getNextGaussian()
|
D | EmpiricalDistributionImpl.java | 93 private final RandomData randomData = new RandomDataImpl(); field in EmpiricalDistributionImpl 387 return randomData.nextGaussian in getNextValue()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/ranking/ |
D | NaturalRanking.java | 86 private final RandomData randomData; field in NaturalRanking 95 randomData = null; in NaturalRanking() 107 randomData = new RandomDataImpl(); in NaturalRanking() 119 randomData = null; in NaturalRanking() 132 randomData = new RandomDataImpl(); in NaturalRanking() 145 randomData = new RandomDataImpl(randomGenerator); in NaturalRanking() 161 randomData = new RandomDataImpl(randomGenerator); in NaturalRanking() 349 randomData.nextLong(f, f + length - 1); in resolveTie()
|
/external/zstd/tests/ |
D | longmatch.c | 69 const size_t randomData = (1 << windowLog) - 2*sizeof(match); in main() local 76 for (i = 0; i < randomData; ++i) { in main() 80 srcBuffer[sizeof(match) + randomData + i] = match[i]; in main()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
D | AbstractContinuousDistribution.java | 50 protected final RandomDataImpl randomData = new RandomDataImpl(); field in AbstractContinuousDistribution 152 randomData.reSeed(seed); in reseedRandomGenerator() 165 return randomData.nextInversionDeviate(this); in sample()
|
D | AbstractIntegerDistribution.java | 45 protected final RandomDataImpl randomData = new RandomDataImpl(); field in AbstractIntegerDistribution 218 randomData.reSeed(seed); in reseedRandomGenerator() 231 return randomData.nextInversionDeviate(this); in sample()
|
D | ExponentialDistributionImpl.java | 195 return randomData.nextExponential(mean); in sample()
|
D | NormalDistributionImpl.java | 240 return randomData.nextGaussian(mean, standardDeviation); in sample()
|
D | PoissonDistributionImpl.java | 261 return (int) FastMath.min(randomData.nextPoisson(mean), Integer.MAX_VALUE); in sample()
|
/external/OpenCL-CTS/test_conformance/SVM/ |
D | test_enqueue_api.cpp | 35 cl_uint randomData = genrand_int32(seed); in generate_data() local 42 randomData = genrand_int32(seed); in generate_data() 45 data[i] = (cl_uchar)( randomData & 255 ); in generate_data() 46 randomData >>= 8; randomData -= 8; in generate_data()
|
/external/angle/src/tests/perf_tests/ |
D | GenerateMipmapPerf.cpp | 224 std::array<uint8_t, 4> randomData; in drawBenchmark() local 225 FillWithRandomData(&randomData); in drawBenchmark() 228 randomData.data()); in drawBenchmark()
|
/external/angle/src/tests/gl_tests/ |
D | RobustBufferAccessBehaviorTest.cpp | 105 std::array<GLfloat, 12> randomData = { in runIndexOutOfRangeTests() local 107 glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * randomData.size(), randomData.data(), in runIndexOutOfRangeTests()
|
/external/volley/src/test/java/com/android/volley/utils/ |
D | CacheTestUtils.java | 71 public static Cache.Entry randomData(int length) { in randomData() method in CacheTestUtils
|
/external/skqp/tools/ |
D | remote_demo.cpp | 168 auto randomData = SkData::MakeUninitialized(1u); in final_draw() local 179 write_SkData(writeFd, *randomData); in final_draw()
|
/external/skia/tools/ |
D | remote_demo.cpp | 168 auto randomData = SkData::MakeUninitialized(1u); in final_draw() local 179 write_SkData(writeFd, *randomData); in final_draw()
|