carb::hashLowercaseString

Defined in carb/Defines.h

inline uint64_t carb::hashLowercaseString(const char *str, uint64_t hash = kFnvBasis)

Runtime FNV-1a 64-bit lower-case string hash (as if the string had been converted using tolower()).

Parameters
  • str – The C-style (NUL terminated) string to hash.

  • hash – The previous hash value or starting hash basis.

Returns

A hash computed from the given parameters.