- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for bitrotSelfTest (0.2 sec)
-
cmd/bitrot.go
} } return nil } // bitrotSelfTest performs a self-test to ensure that bitrot // algorithms compute correct checksums. If any algorithm // produces an incorrect checksum it fails with a hard error. // // bitrotSelfTest tries to catch any issue in the bitrot implementation // early instead of silently corrupting data. func bitrotSelfTest() { checksums := map[BitrotAlgorithm]string{
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Jan 30 20:43:25 GMT 2024 - 7.6K bytes - Viewed (0) -
cmd/server-main.go
// Load the root credentials from the shell environment or from // the config file if not defined, set the default one. loadRootCredentials() // Perform any self-tests bootstrapTrace("selftests", func() { bitrotSelfTest() erasureSelfTest() compressSelfTest() }) // Initialize KMS configuration bootstrapTrace("handleKMSConfig", handleKMSConfig) // Initialize all help bootstrapTrace("initHelp", initHelp)
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Apr 24 04:08:47 GMT 2024 - 33K bytes - Viewed (1)