MCPcopy Create free account
hub / github.com/BirolLab/abyss / count

Method count

FMIndex/BitArrays.h:64–64  ·  view source on GitHub ↗

Return the number of occurrences of the specified symbol. */

Source from the content-addressed store, hash-verified

62
63 /** Return the number of occurrences of the specified symbol. */
64 size_t count(T c) const { return m_data[c].one_num(); }
65
66 /** Return the count of symbol c in s[0, i). */
67 size_t rank(T c, size_t i) const { return m_data[c].Rank(1, i); }

Callers 2

mainFunction · 0.45
countOccurrencesMethod · 0.45

Calls 1

one_numMethod · 0.80

Tested by

no test coverage detected