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

Method getHashCode

Common/Kmer.cpp:65–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65size_t Kmer::getHashCode() const
66{
67 // Hash numbytes - 1 to avoid getting different hash values for
68 // the same sequence for n % 4 != 0 sequences.
69 return hashmem(m_seq, bytes() - 1);
70}
71
72/** Return the string representation of this sequence. */
73Sequence Kmer::str() const

Callers 2

operator()Method · 0.45
operator()Method · 0.45

Calls 1

hashmemFunction · 0.85

Tested by

no test coverage detected