- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for hh (0.12 sec)
-
internal/logger/logger.go
} return trace } // HashString - return the highway hash of the passed string func HashString(input string) string { hh, _ := highwayhash.New(magicHighwayHash256Key) hh.Write([]byte(input)) return hex.EncodeToString(hh.Sum(nil)) } // LogAlwaysIf prints a detailed error message during // the execution of the server.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat May 04 00:17:57 GMT 2024 - 12.4K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
const magicHighwayHash256Key = "\x4b\xe7\x34\xfa\x8e\x23\x8a\xcd\x26\x3e\x83\xe6\xbb\x96\x85\x52\x04\x0f\x93\x5d\xa3\x9f\x44\x14\x97\xe0\x9d\x13\x22\xde\x36\xa0" hh, _ := highwayhash.New([]byte(magicHighwayHash256Key)) hh.Write(data) got := hh.Sum(nil) if bytes.Equal(want, got) { s += ", \"bitrot_valid\": true" } else { s += ", \"bitrot_valid\": false" } s += "}" }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 24 17:56:22 GMT 2024 - 20.2K bytes - Viewed (1) -
build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
} } private static void writePsOutputToFile(File rootProjectDir, List<String> psOutput) { String timestamp = LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd-HH-mm-ss")); File psOutFile = new File(rootProjectDir, timestamp + ".psoutput"); try { Files.write(psOutFile.toPath(), psOutput); } catch (IOException e) {
Java - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Apr 26 09:46:00 GMT 2024 - 11.3K bytes - Viewed (0)