Searched refs:hasher (Results 1 – 7 of 7) sorted by relevance
31 Hasher hasher; in TEST() local32 hasher.update(1); in TEST()33 EXPECT_EQ(hasher.hash(), hasher.hash()); in TEST()34 hasher.update(2); in TEST()35 EXPECT_EQ(hasher.hash(), hasher.hash()); in TEST()
70 typedef HashFunctionTy hasher; typedef88 hasher& hash() { return m_Hasher; } in hash()90 const hasher& hash() const { return m_Hasher; } in hash()124 hasher m_Hasher;
40 typedef HashFunctionTy hasher; typedef
377 MessageDigest hasher = MessageDigest.getInstance(SHA_256); in copyAndHashResource() local390 hasher.update(buffer, 0, numRead); in copyAndHashResource()396 return toHexString(hasher); in copyAndHashResource()400 MessageDigest hasher = MessageDigest.getInstance(SHA_256); in hashOf() local401 hasher.update(input.getBytes()); in hashOf()402 return toHexString(hasher); in hashOf()405 private static String toHexString(MessageDigest hasher) { in toHexString() argument407 for (byte b : hasher.digest()) { in toHexString()
111 Hasher hasher; in operator ()() local114 hasher.update(static_cast<uint32_t>((id >> 32) & 0xFFFFFFFF)); in operator ()()115 hasher.update(static_cast<uint32_t>(id & 0xFFFFFFFF)); in operator ()()117 return hasher.hash(); in operator ()()
94 static <T> boolean shouldDumpStacktrace(StacktraceHasher hasher, Map<String, T> dumpedSet, in shouldDumpStacktrace() argument96 final String stacktraceHash = hasher.stacktraceHash(st, from, to); in shouldDumpStacktrace()
1210 hash::StringHash<hash::DJB> hasher; in emitGNUHashTab() local1211 uint32_t djbhash = hasher((*symbol)->name()); in emitGNUHashTab()