Lines Matching defs:rand
149 private float[] createInputArrayFloat(int len, Random rand) {
152 final float val = rand.nextFloat();
153 array[i] = rand.nextBoolean() ? val : -val;
163 Random rand = new Random(seed);
164 float[] array = createInputArrayFloat(len, rand);
166 array[rand.nextInt(len)] = (rand.nextBoolean() ? Float.POSITIVE_INFINITY : Float.NEGATIVE_INFINITY);
171 Random rand = new Random(seed);
174 array[i] = rand.nextInt();
179 Random rand = new Random(seed);
182 array[i] = rand.nextInt(eltRange);