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

Method count

ext/include/tsl/array-hash/array_map.h:508–510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

506
507#ifdef TSL_AH_HAS_STRING_VIEW
508 size_type count(const std::basic_string_view<CharT>& key) const {
509 return m_ht.count(key.data(), key.size());
510 }
511#else
512 size_type count(const CharT* key) const {
513 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