MCPcopy Create free account
hub / github.com/ElementsProject/elements / resize

Method resize

src/test/prevector_tests.cpp:80–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78
79public:
80 void resize(Size s) {
81 real_vector.resize(s);
82 local_check_equal(real_vector.size(), s);
83 pre_vector.resize(s);
84 local_check_equal(pre_vector.size(), s);
85 test();
86 }
87
88 void reserve(Size s) {
89 real_vector.reserve(s);

Callers 2

resize_uninitializedMethod · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected