Definition at line 150 of file fltest.h.
150 {
151 fl::u32 hash = 0;
152 for (
const char* p = sig.
mName; *p; ++p) {
153 hash = hash * 31 + static_cast<fl::u32>(*p);
154 }
155 for (
const char* p = sig.
mFile; *p; ++p) {
156 hash = hash * 31 + static_cast<fl::u32>(*p);
157 }
158 hash = hash * 31 +
static_cast<fl::u32
>(sig.
mLine);
159 return hash;
160}
References FL_NOEXCEPT.
Referenced by fl::test::TestContext::hashCurrentPath().