MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / size

Function size

3rd/asio-1.24.0/include/asio/basic_file.hpp:692–698  ·  view source on GitHub ↗

Get the size of the file. * This function determines the size of the file, in bytes. * * @throws asio::system_error Thrown on failure. */

Source from the content-addressed store, hash-verified

690 * @throws asio::system_error Thrown on failure.
691 */
692 uint64_t size() const
693 {
694 asio::error_code ec;
695 uint64_t s = impl_.get_service().size(impl_.get_implementation(), ec);
696 asio::detail::throw_error(ec, "size");
697 return s;
698 }
699
700 /// Get the size of the file.
701 /**

Callers 6

prepareFunction · 0.70
growFunction · 0.70
shrinkFunction · 0.70
consumeFunction · 0.70
resizeMethod · 0.50
emptyMethod · 0.50

Calls 2

throw_errorFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected