Searched refs:rand (Results 1 – 13 of 13) sorted by relevance
60 double rand = sign * mantissa * Math.pow(2.0, exponent); in genRandomDoubles() local61 if (rand < min || rand > max) { in genRandomDoubles()64 array[i] = rand; in genRandomDoubles()69 double rand = r.nextDouble(); in genRandomDoubles() local70 array[i] = min + rand * (max - min); in genRandomDoubles()111 float rand = sign * mantissa * (float) Math.pow(2.0, exponent); in genRandomFloats() local112 if (rand < min || rand > max) { in genRandomFloats()115 array[i] = rand; in genRandomFloats()120 float rand = r.nextFloat(); in genRandomFloats() local121 array[i] = min + rand * (max - min); in genRandomFloats()
82 double rand = sign * mantissa * Math.pow(2.0, exponent); in genRandomDoubles() local83 if (rand < min || rand > max) { in genRandomDoubles()86 array[i] = rand; in genRandomDoubles()91 double rand = r.nextDouble(); in genRandomDoubles() local92 array[i] = min + rand * (max - min); in genRandomDoubles()133 float rand = sign * mantissa * (float) Math.pow(2.0, exponent); in genRandomFloats() local134 if (rand < min || rand > max) { in genRandomFloats()137 array[i] = rand; in genRandomFloats()142 float rand = r.nextFloat(); in genRandomFloats() local143 array[i] = min + rand * (max - min); in genRandomFloats()
149 Random rand = new Random(seed); in createInputArrayFloat() local152 array[i] = rand.nextFloat(); in createInputArrayFloat()157 Random rand = new Random(seed); in createInputArrayInt() local160 array[i] = rand.nextInt(); in createInputArrayInt()165 Random rand = new Random(seed); in createInputArrayInt() local168 array[i] = rand.nextInt(eltRange); in createInputArrayInt()
246 Random rand = new Random(); in testTorture() local255 String key = new Integer(rand.nextInt(25)).toString(); in testTorture()259 if (rand.nextInt(100) < 85) { in testTorture()270 if (rand.nextInt(100) < 85) { in testTorture()285 Random rand = new Random(); in testTorture2() local296 String key = new Integer(rand.nextInt(25)).toString(); in testTorture2()
47 Random rand = new Random(); in addByteNoise() local49 if (rand.nextFloat() < frequency) { in addByteNoise()51 final float direction = rand.nextFloat(); in addByteNoise()52 int delta = (int)(Math.ceil(rand.nextFloat() * maxDelta)); in addByteNoise()
36 randomValues[i] = rand(); in main()
15 RANDFILE = $dir/private/.rand44 RANDFILE = $dir/private/.rand
55 extendata.u.rmnet_mux_val.mux_id = rand(); in trigger()
35 float x = (rand() % 101) - 50.0f; in FlockingScene()36 float y = (rand() % 101) - 50.0f; in FlockingScene()
167 src[i] = (T)rand(); in helperCopy1D()201 src[i] = (float)rand(); in helperFloatAllocationCopy1D()258 src[i] = (T)rand(); in helperCopy2D()289 src[i] = (float)rand(); in helperFloatAllocationCopy2D()361 src[i] = (T)rand(); in helperCopy3D()399 src[i] = (float)rand(); in helperFloatAllocationCopy3D()
57 int val = rand(); in generateWhiteNoise()
250 Random rand = new Random(); in setUp() local253 mServiceName = mServiceName + String.valueOf(rand.nextInt(10)); in setUp()
173 array[i] = (T) rand(); in randomInitArray()