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

Method capacity

c++/src/Dictionary.cc:110–112  ·  view source on GitHub ↗

return capacity of dictionary

Source from the content-addressed store, hash-verified

108
109 // return capacity of dictionary
110 size_t SortedStringDictionary::capacity() const {
111 return keyToIndex_.bucket_count() * keyToIndex_.max_load_factor();
112 }
113
114 // return total length of strings in the dictioanry
115 uint64_t SortedStringDictionary::length() const {

Callers 11

TESTFunction · 0.45
addMethod · 0.45
getMemoryUsageMethod · 0.45
NextDecompressMethod · 0.45
getNameMethod · 0.45
putBufferMethod · 0.45
getCapacityMethod · 0.45
spillMethod · 0.45
getBufferSizeMethod · 0.45
decryptMethod · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36