MCPcopy Create free account
hub / github.com/ablab/spades / count

Method count

ext/include/tsl/array-hash/array_set.h:308–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306 */
307#ifdef TSL_AH_HAS_STRING_VIEW
308 size_type count(const std::basic_string_view<CharT>& key) const {
309 return m_ht.count(key.data(), key.size());
310 }
311#else
312 size_type count(const CharT* key) const {
313 return m_ht.count(key, std::char_traits<CharT>::length(key));

Callers 1

count_ksMethod · 0.45

Calls 3

lengthClass · 0.50
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected