MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / bytesum

Method bytesum

include/stringzilla/stringzilla.hpp:4060–4060  ·  view source on GitHub ↗

@brief Aggregates the values of individual bytes of a string. */

Source from the content-addressed store, hash-verified

4058
4059 /** @brief Aggregates the values of individual bytes of a string. */
4060 size_type bytesum() const noexcept { return view().bytesum(); }
4061
4062 /**
4063 * @brief Overwrites the string with random binary data.

Callers 4

test_unit_globalsFunction · 0.45
test_bytesum_randomFunction · 0.45
sz_bytesumFunction · 0.45

Calls

no outgoing calls

Tested by 3

test_unit_globalsFunction · 0.36
test_bytesum_randomFunction · 0.36