Searched refs:nextFloat (Results 1 – 18 of 18) sorted by relevance
98 if (r.nextFloat() > 0.5f) { in test()99 f[i] = r.nextFloat() * (subtest - 1); in test()103 if (r.nextFloat() > 0.5f) { in test()104 add.x = r.nextFloat() * (subtest - 1); in test()106 if (r.nextFloat() > 0.5f) { in test()107 add.y = r.nextFloat() * (subtest - 1); in test()109 if (r.nextFloat() > 0.5f) { in test()110 add.z = r.nextFloat() * (subtest - 1); in test()112 if (r.nextFloat() > 0.5f) { in test()113 add.w = r.nextFloat() * (subtest - 1); in test()
319 inArray[i] = random.nextFloat(); in test_AllocationPadded_Float3_1D()349 inArray[i] = random.nextFloat(); in test_AllocationPadded_Float3_2D()380 inArray[i] = random.nextFloat(); in test_AllocationPadded_Float3_3D()410 inArray[i] = (double)random.nextFloat(); in test_AllocationPadded_Double3_1D()440 inArray[i] = (double)random.nextFloat(); in test_AllocationPadded_Double3_2D()471 inArray[i] = (double)random.nextFloat(); in test_AllocationPadded_Double3_3D()711 inArray[i] = random.nextFloat(); in test_AllocationPadded_copy1DRangeTo_Float3()899 inArray[i] = random.nextFloat(); in test_AllocationPadded_copy2DRangeTo_Float3()1081 inArray[i] = random.nextFloat(); in test_AllocationPadded_copy1DRangeToUnchecked_Float3()
98 f[(y * w + x) * vs + v] = r.nextFloat(); in makeSource()
130 float mantissa = r.nextFloat(); in genRandomFloats()142 float rand = r.nextFloat(); in genRandomFloats()
327 tmp[i] = random.nextFloat(); in testVload_float()339 tmp[i] = random.nextFloat(); in testVload_float_relaxed()
155 inArray[i] = random.nextFloat(); in test_Allocationcopy1DRangeTo_Float()344 inArray[i] = random.nextFloat(); in test_Allocationcopy2DRangeTo_Float()539 inArray[i] = random.nextFloat(); in test_Allocationcopy3DRangeTo_Float()765 inArray[i] = random.nextFloat(); in test_Allocationcopy1DRangeToUnchecked_Float()
176 inArray[i] = random.nextFloat(); in test_rsAllocationCopy1D_Float()441 inArray[i] = random.nextFloat(); in test_rsAllocationCopy2D_Float()
146 array[i] = rand.nextFloat(); in createInputArrayFloat()
247 t[i] = random.nextFloat(); in randomFloatArray()
157 angle = (data.nextFloat()-0.5f) * FLOAT_PI; in testGetInclination()231 v[4] = data.nextBoolean() ? data.nextFloat() : -1.f; in testGetQuaternionFromVector()278 incline = -0.9f * (data.nextFloat() - 0.5f) * FLOAT_PI; // ~ +-80 degrees in testGetRotationMatrix()340 gI[0] = gI[1] = gI[2] = data.nextFloat() * gravity * 0.05f; // sqrt(3) * 0.05 < 0.1 in testGetRotationMatrix()381 v[4] = data.nextBoolean() ? data.nextFloat() : -1.f; in testGetRotationMatrixFromVector()419 halfTheta = data.nextFloat() * FLOAT_PI; in testGetRotationMatrixFromVector()447 float theta = data.nextFloat() * 2.f * FLOAT_PI; in testGetRotationMatrixFromVector()570 rotv[0] = (mRandom.nextFloat()-0.5f) * 2.0f * FLOAT_PI; // azimuth(yaw) -pi ~ pi in nextRotationAngles()571 rotv[1] = (mRandom.nextFloat()-0.5f) * FLOAT_PI; // pitch -pi/2 ~ +pi/2 in nextRotationAngles()572 rotv[2] = (mRandom.nextFloat()-0.5f) * 2.f * FLOAT_PI; // roll -pi ~ +pi in nextRotationAngles()[all …]
32 array[i] = r.nextFloat() * factor + offset; in genRandom()44 array[i * stride + j] = r.nextFloat() * factor + offset; in genRandom()
82 public float nextFloat() { in nextFloat() method in CountingSecureRandom
49 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()
108 float mantissa = r.nextFloat(); in genRandomFloats()120 float rand = r.nextFloat(); in genRandomFloats()
282 readOffsets[i] = (int)(random.nextFloat() * (fileSize - bufferSize)) & in doRandomReadTest()334 writeOffsets[i] = (int)(random.nextFloat() * (fileSize - bufferSize)) & in doRandomWriteTest()
329 float random = mRandom.nextFloat(); in createSessionOutputBuffer()
207 editor.putFloat(FLOAT_PREF, random.nextFloat()); in generatePreferenceGroup2()
33474 public float nextFloat()47499 public float nextFloat()