Beispiel #1
0
uint64_t job::id_from_str(const char *str)
{
	return hash_fast64(str, strlen(str), 0xfeedbeefdeedbeefull);
}
Beispiel #2
0
static uint32_t
__hash_fast32_str(const char *s)
{
    return hash_fast64(s, strlen(s), 0);
}
Beispiel #3
0
monomial::operator size_t() const {
  return hash_fast64((const unsigned char *)indice, dim * sizeof(indice_t), 0);
}