Searched refs:SampleExponential (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/net/spdy/ |
D | hpack_round_trip_test.cc | 49 size_t SampleExponential(size_t mean, size_t sanity_bound) { in SampleExponential() function in net::__anon7c4d7d530111::HpackRoundTripTest 147 size_t header_count = 1 + SampleExponential(7, 50); in TEST_F() 149 size_t name_index = SampleExponential(20, 200); in TEST_F() 150 size_t value_index = SampleExponential(20, 200); in TEST_F() 154 names.push_back(base::RandBytesAsString(1 + SampleExponential(5, 30))); in TEST_F() 161 1 + SampleExponential(15, 75))); in TEST_F()
|
/external/chromium_org/net/spdy/fuzzing/ |
D | hpack_fuzz_util.cc | 79 size_t header_count = 1 + SampleExponential(kHeaderCountMean, in NextGeneratedHeaderSet() 82 size_t name_index = SampleExponential(kHeaderIndexMean, in NextGeneratedHeaderSet() 84 size_t value_index = SampleExponential(kHeaderIndexMean, in NextGeneratedHeaderSet() 89 RandBytesAsString(1 + SampleExponential(kNameLengthMean, in NextGeneratedHeaderSet() 97 RandBytesAsString(1 + SampleExponential(kValueLengthMean, in NextGeneratedHeaderSet() 109 size_t HpackFuzzUtil::SampleExponential(size_t mean, size_t sanity_bound) { in SampleExponential() function in net::HpackFuzzUtil
|
D | hpack_fuzz_util.h | 39 static size_t SampleExponential(size_t mean, size_t sanity_bound);
|
D | hpack_fuzz_util_test.cc | 53 EXPECT_GE(30u, HpackFuzzUtil::SampleExponential(10, 30)); in TEST()
|