MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / CurrentSizeEstimate

Method CurrentSizeEstimate

tensorflow/core/lib/io/block_builder.cc:65–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65size_t BlockBuilder::CurrentSizeEstimate() const {
66 return (buffer_.size() + // Raw data buffer
67 restarts_.size() * sizeof(uint32) + // Restart array
68 sizeof(uint32)); // Restart array length
69}
70
71StringPiece BlockBuilder::Finish() {
72 // Append restart array

Callers 1

AddMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected