Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for compressSelfTest (0.18 sec)

  1. cmd/object-api-utils.go

    		return gotIdx
    	}
    }
    
    // compressSelfTest performs a self-test to ensure that compression
    // algorithms completes a roundtrip. If any algorithm
    // produces an incorrect checksum it fails with a hard error.
    //
    // compressSelfTest tries to catch any issue in the compression implementation
    // early instead of silently corrupting data.
    func compressSelfTest() {
    	// 4 MB block.
    	// Approx runtime ~30ms
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  2. cmd/server-main.go

    	// 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)
    
    	// Initialize all sub-systems
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 32.7K bytes
    - Viewed (1)
Back to top