MCPcopy Create free account
hub / github.com/apache/madlib / available

Method available

src/dbal/ByteStream_impl.hpp:133–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131
132template <class StreamBuf, template <class T> class TypeTraits, bool IsMutable>
133inline
134size_t
135ByteStream<StreamBuf, TypeTraits, IsMutable>::available() const {
136 if (this->size() < this->tell())
137 return 0;
138 else
139 return this->size() - this->tell();
140}
141
142template <class StreamBuf, template <class T> class TypeTraits, bool IsMutable>
143inline

Callers 1

readMethod · 0.95

Calls 2

sizeMethod · 0.95
tellMethod · 0.95

Tested by

no test coverage detected