Lines Matching refs:rand_num
1680 ColumnFamilyHandle* GetCfh(int64_t rand_num) { in GetCfh()
1686 while (sum + cfh_idx_to_prob[rand_offset] < rand_num % 100) { in GetCfh()
1692 rand_offset = rand_num % num_hot; in GetCfh()
4410 int64_t rand_num = key_gens[id]->Next(); in DoWrite() local
4411 GenerateKeyFromInt(rand_num, FLAGS_num, &key); in DoWrite()
4430 batch.Put(db_with_cfh->GetCfh(rand_num), key, in DoWrite()
4458 batch.Delete(db_with_cfh->GetCfh(rand_num), in DoWrite()
4475 batch.DeleteRange(db_with_cfh->GetCfh(rand_num), begin_key, in DoWrite()
5024 uint64_t rand_num = in GetRandomKey() local
5029 key_rand = static_cast<int64_t>((rand_num * kBigPrime) % FLAGS_num); in GetRandomKey()
5248 int GetType(int64_t rand_num) { in GetType() argument
5249 if (rand_num < 0) { in GetType()
5250 rand_num = rand_num * (-1); in GetType()
5253 int pos = static_cast<int>(rand_num % range_); in GetType()