MCPcopy Create free account
hub / github.com/alibaba/async_simple / size

Function size

demo_example/asio/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 7

prepareFunction · 0.85
growFunction · 0.85
shrinkFunction · 0.85
consumeFunction · 0.85
resizeMethod · 0.85
emptyMethod · 0.85
TEST_FFunction · 0.85

Calls 2

throw_errorFunction · 0.85
sizeMethod · 0.45

Tested by 1

TEST_FFunction · 0.68