Searched refs:rnd (Results 1 – 8 of 8) sorted by relevance
111 std::minstd_rand rnd(Seed); in Mutate()114 v->resize(v->size() + 1 + rnd() % 256); in Mutate()117 switch (rnd() % 6) { in Mutate()124 if (!chunks_.empty()) M(&chunks_[rnd() % chunks_.size()].v); in Mutate()128 std::shuffle(chunks_.begin(), chunks_.end(), rnd); in Mutate()133 chunks_.erase(chunks_.begin() + rnd() % chunks_.size()); in Mutate()147 (rnd() % 10 <= 8) ? Type(types[rnd() % n_types]) : (uint32_t)rnd(); in Mutate()148 size_t len = rnd() % 256; in Mutate()152 for (auto &b : v) b = rnd(); in Mutate()153 size_t pos = rnd() % (chunks_.size() + 1); in Mutate()[all …]
81 Random rnd = new Random(0); in testSelect() local83 int index = rnd.nextInt(DEFAULT_DATASET_SIZE); in testSelect()100 Random rnd = new Random(0); in testSelectMultipleRows() local103 int index = rnd.nextInt(DEFAULT_DATASET_SIZE - querySize - 1); in testSelectMultipleRows()178 Random rnd = new Random(0); in testInnerJoin() local180 int index = rnd.nextInt(1000); in testInnerJoin()235 Random rnd = new Random(0); in testUpdate() local240 int id = rnd.nextInt(DEFAULT_DATASET_SIZE); in testUpdate()
64 for (int rnd = mRandom.nextInt(), n = Math.min(end - i, Integer.SIZE / Byte.SIZE); in read()66 rnd >>= Byte.SIZE) { in read()67 b[i++] = (byte) rnd; in read()
38 private Random rnd; field in MediaPlayerInvokeTest42 rnd = new Random(Calendar.getInstance().getTimeInMillis()); in MediaPlayerInvokeTest()66 int val = rnd.nextInt(); in testPing()
70 Random rnd = new Random(); in calibrateMethod() local72 for (int i = 0; i < 5 + rnd.nextInt(5); i++) { in calibrateMethod()74 int bytes = 30000 + rnd.nextInt(60000); in calibrateMethod()77 rnd.nextBytes(buffer); in calibrateMethod()
355 final float rnd = frand();363 if (rnd < PROB_4X) {367 } else if (rnd < PROB_3X) {371 } else if (rnd < PROB_2X) {
197 int rnd = Math.floorMod(++mRandom, size - (i + 1)); in set() local198 if (valueArray.get(i + 1 + rnd).get() == null) { in set()199 remove(myHash, i + 1 + rnd); in set()
354 Int rnd /* i */ in GetPredAdvBy0x0() argument361 OSCL_UNUSED_ARG(rnd); in GetPredAdvBy0x0()