MCPcopy Create free account
hub / github.com/SpartanJ/eepp / hash

Method hash

src/eepp/core/string.cpp:648–650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

646}
647
648String::HashType String::hash( const std::string& str ) {
649 return String::hash( str.c_str() );
650}
651
652String::HashType String::hash( const std::string_view& str ) {
653 return String::hash( str.data(), str.length() );

Callers

nothing calls this directly

Calls 5

hashFunction · 0.85
c_strMethod · 0.80
dataMethod · 0.45
lengthMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected