MCPcopy Create free account
hub / github.com/boostorg/beast / test_buffer

Method test_buffer

test/bench/wsload/wsload.cpp:50–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 using value_type = net::const_buffer;
49
50 test_buffer()
51 : b_(data_, sizeof(data_))
52 {
53 std::mt19937_64 rng;
54 std::uniform_int_distribution<unsigned short> dist;
55 for(auto& c : data_)
56 c = static_cast<unsigned char>(dist(rng));
57 }
58
59 const_iterator
60 begin() const

Callers

nothing calls this directly

Calls 1

distFunction · 0.85

Tested by

no test coverage detected