MCPcopy Create free account
hub / github.com/chen3feng/toft / InitializeWithString

Method InitializeWithString

container/bitmap.h:437–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435
436private:
437 void InitializeWithString(StringPiece initial_value)
438 {
439 memset(m_words, 0, sizeof(m_words));
440 if (!this->ParseFromString(initial_value))
441 throw std::runtime_error("Invalid string to initialize bitmap");
442 }
443
444 WordType* DoGetWords()
445 {

Callers

nothing calls this directly

Calls 1

ParseFromStringMethod · 0.45

Tested by

no test coverage detected