Home
last modified time | relevance | path

Searched refs:random_int (Results 1 – 10 of 10) sorted by relevance

/external/pigweed/pw_kvs/
Dkey_value_store_map_test.cc107 auto random_int = [&] { return distro(random); }; in Test_RandomValidInputs() local
112 value.push_back(kChars[random_int() % kChars.size()]); in Test_RandomValidInputs()
120 if (options != kNone && random_int() % 10 == 0) { in Test_RandomValidInputs()
125 if (random_int() % 4 == 0) { in Test_RandomValidInputs()
127 if (empty() || random_int() % 8 == 0) { in Test_RandomValidInputs()
128 Delete("not_a_key" + std::to_string(random_int())); in Test_RandomValidInputs()
140 if (empty() || random_int() % 16 == 0) { in Test_RandomValidInputs()
141 key = random_string(random_int() % in Test_RandomValidInputs()
147 Put(key, random_string(random_int() % kMaxValueLength)); in Test_RandomValidInputs()
150 if (options == kReinitWithFullGC && random_int() % 250 == 0) { in Test_RandomValidInputs()
[all …]
/external/tensorflow/tensorflow/security/fuzzing/
DAreAttrValuesEqual_fuzz.cc55 const int random_int = fuzzed_data.ConsumeIntegralInRange(1, 100); in LLVMFuzzerTestOneInput() local
57 compareValues(random_int, random_int2); in LLVMFuzzerTestOneInput()
/external/tensorflow/tensorflow/compiler/tests/
Drandomized_tests.cc651 std::uniform_int_distribution<int> random_int(1, 5); in ChooseWindowedSpatialDims() local
662 d.kernel_dims[i] = random_int(generator()), in ChooseWindowedSpatialDims()
1109 std::uniform_int_distribution<int> random_int(1, 5); in TEST_F() local
1115 int stride_rows = random_int(generator()), in TEST_F()
1116 stride_cols = random_int(generator()); in TEST_F()
1133 std::uniform_int_distribution<int> random_int(1, 5); in TEST_F() local
1141 stride_dims.push_back(random_int(generator())); in TEST_F()
1598 std::uniform_int_distribution<int> random_int(1, 5); in TEST_F() local
1599 int features_in = random_int(generator()); in TEST_F()
1600 int features_out = random_int(generator()); in TEST_F()
[all …]
/external/tensorflow/tensorflow/lite/kernels/
Dsubgraph_test_util.cc43 namespace random_int { namespace
69 static TfLiteRegistration r = {nullptr, nullptr, random_int::Prepare, in Register_RANDOM_INT()
70 random_int::Eval}; in Register_RANDOM_INT()
/external/abseil-cpp/absl/strings/
Dnumbers_test.cc639 std::uniform_int_distribution<IntType> random_int( in test_random_integer_parse_base() local
643 IntType value = random_int(rng); in test_random_integer_parse_base()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dnumbers_test.cc646 std::uniform_int_distribution<IntType> random_int( in test_random_integer_parse_base() local
650 IntType value = random_int(rng); in test_random_integer_parse_base()
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dnumbers_test.cc639 std::uniform_int_distribution<IntType> random_int( in test_random_integer_parse_base() local
643 IntType value = random_int(rng); in test_random_integer_parse_base()
/external/libtextclassifier/abseil-cpp/absl/strings/
Dnumbers_test.cc646 std::uniform_int_distribution<IntType> random_int( in test_random_integer_parse_base() local
650 IntType value = random_int(rng); in test_random_integer_parse_base()
/external/angle/third_party/abseil-cpp/absl/strings/
Dnumbers_test.cc695 std::uniform_int_distribution<IntType> random_int( in test_random_integer_parse_base() local
699 IntType value = random_int(rng); in test_random_integer_parse_base()
/external/openscreen/third_party/abseil/src/absl/strings/
Dnumbers_test.cc673 std::uniform_int_distribution<IntType> random_int( in test_random_integer_parse_base() local
677 IntType value = random_int(rng); in test_random_integer_parse_base()