Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for bitrotSelfTest (1.44 sec)

  1. 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{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. 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)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
Back to top