Home
last modified time | relevance | path

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

/external/volley/src/test/java/com/android/volley/toolbox/
DDiskBasedCacheTest.java110 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/
DValueServer.java88 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()
DEmpiricalDistributionImpl.java93 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/
DNaturalRanking.java86 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/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
DAbstractContinuousDistribution.java50 protected final RandomDataImpl randomData = new RandomDataImpl(); field in AbstractContinuousDistribution
152 randomData.reSeed(seed); in reseedRandomGenerator()
165 return randomData.nextInversionDeviate(this); in sample()
DAbstractIntegerDistribution.java45 protected final RandomDataImpl randomData = new RandomDataImpl(); field in AbstractIntegerDistribution
218 randomData.reSeed(seed); in reseedRandomGenerator()
231 return randomData.nextInversionDeviate(this); in sample()
DExponentialDistributionImpl.java195 return randomData.nextExponential(mean); in sample()
DNormalDistributionImpl.java240 return randomData.nextGaussian(mean, standardDeviation); in sample()
DPoissonDistributionImpl.java261 return (int) FastMath.min(randomData.nextPoisson(mean), Integer.MAX_VALUE); in sample()
/external/skia/tools/
Dremote_demo.cpp168 auto randomData = SkData::MakeUninitialized(1u); in final_draw() local
179 write_SkData(writeFd, *randomData); in final_draw()
/external/skqp/tools/
Dremote_demo.cpp168 auto randomData = SkData::MakeUninitialized(1u); in final_draw() local
179 write_SkData(writeFd, *randomData); in final_draw()