Searched defs:SampleExponential (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/net/spdy/
H A Dhpack_round_trip_test.cc49 size_t SampleExponential(size_t mean, size_t sanity_bound) { function in class:net::__anon9583::HpackRoundTripTest
149 size_t header_count = 1 + SampleExponential(7, 50);
151 size_t name_index = SampleExponential(20, 200);
152 size_t value_index = SampleExponential(20, 200);
156 names.push_back(base::RandBytesAsString(1 + SampleExponential(5, 30)));
163 base::RandBytesAsString(1 + SampleExponential(15, 75));
/external/chromium_org/net/spdy/fuzzing/
H A Dhpack_fuzz_util.cc79 size_t header_count = 1 + SampleExponential(kHeaderCountMean,
82 size_t name_index = SampleExponential(kHeaderIndexMean,
84 size_t value_index = SampleExponential(kHeaderIndexMean,
89 RandBytesAsString(1 + SampleExponential(kNameLengthMean,
97 RandBytesAsString(1 + SampleExponential(kValueLengthMean,
109 size_t HpackFuzzUtil::SampleExponential(size_t mean, size_t sanity_bound) { function in class:net::HpackFuzzUtil

Completed in 75 milliseconds