Home
last modified time | relevance | path

Searched refs:farmhashmk (Results 1 – 1 of 1) sorted by relevance

/external/libtextclassifier/utils/hash/
Dfarmhash.cc523 namespace farmhashmk { namespace
685 farmhashmk::Hash32Len0to4(s, len) :
686 farmhashmk::Hash32Len5to12(s, len)) :
687 farmhashmk::Hash32Len13to24(s, len);
704 return farmhashmk::Hash32Len13to24(s, (len + 1) / 2, a) + b;
850 if (len >= 13) return farmhashmk::Hash32Len13to24(s, len, seed * c1);
851 else if (len >= 5) return farmhashmk::Hash32Len5to12(s, len, seed);
852 else return farmhashmk::Hash32Len0to4(s, len, seed);
854 uint32_t h = farmhashmk::Hash32Len13to24(s, 24, seed ^ len);
934 farmhashmk::Hash32Len0to4(s, len) :
[all …]