MCPcopy Create free account
hub / github.com/apache/impala / capacity

Method capacity

be/src/gutil/strings/stringpiece.h:276–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274 // STLS says return size_type, but Google says return int
275 int max_size() const { return length_; }
276 int capacity() const { return length_; }
277
278 // cpplint.py emits a false positive [build/include_what_you_use]
279 int copy(char* buf, size_type n, size_type pos = 0) const; // NOLINT

Callers 3

STLClearIfBigFunction · 0.45
STLReserveIfNeededFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected