MCPcopy Create free account
hub / github.com/BYVoid/OpenCC / SetUp

Method SetUp

deps/google-benchmark/test/map_test.cc:37–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35class MapFixture : public ::benchmark::Fixture {
36 public:
37 void SetUp(const ::benchmark::State& st) BENCHMARK_OVERRIDE {
38 m = ConstructRandomMap(static_cast<int>(st.range(0)));
39 }
40
41 void TearDown(const ::benchmark::State&) BENCHMARK_OVERRIDE { m.clear(); }
42

Callers

nothing calls this directly

Calls 1

ConstructRandomMapFunction · 0.85

Tested by

no test coverage detected