Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for selftests (0.06 sec)

  1. 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
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (3)
  2. cmd/bitrot.go

    		if !algorithm.Available() {
    			continue
    		}
    
    		checksum, err := hex.DecodeString(checksums[algorithm])
    		if err != nil {
    			logger.Fatal(errSelfTestFailure, fmt.Sprintf("bitrot: failed to decode %v checksum %s for selftest: %v", algorithm, checksums[algorithm], err))
    		}
    		var (
    			hash = algorithm.New()
    			msg  = make([]byte, 0, hash.Size()*hash.BlockSize())
    			sum  = make([]byte, 0, hash.Size())
    		)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top