Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for bitrotAlgorithms (0.06 sec)

  1. cmd/erasure-heal_test.go

    	// erasure reconstruction in this test
    	offDisks int
    
    	// bad disks are online disks which return errors
    	badDisks, badStaleDisks int
    
    	blocksize, size int64
    	algorithm       BitrotAlgorithm
    	shouldFail      bool
    }{
    	{dataBlocks: 2, disks: 4, offDisks: 1, badDisks: 0, badStaleDisks: 0, blocksize: int64(blockSizeV2), size: oneMiByte, algorithm: SHA256, shouldFail: false},                   // 0
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. cmd/erasure-encode_test.go

    var erasureEncodeTests = []struct {
    	dataBlocks                   int
    	onDisks, offDisks            int
    	blocksize, data              int64
    	offset                       int
    	algorithm                    BitrotAlgorithm
    	shouldFail, shouldFailQuorum bool
    }{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  3. cmd/xl-storage-format_test.go

    	xlMeta.Meta = make(map[string]string)
    	xlMeta.Meta["testKey1"] = "val1"
    	xlMeta.Meta["testKey2"] = "val2"
    	return xlMeta
    }
    
    func (m *xlMetaV1Object) AddTestObjectCheckSum(partNumber int, algorithm BitrotAlgorithm, hash string) {
    	checksum, err := hex.DecodeString(hash)
    	if err != nil {
    		panic(err)
    	}
    	m.Erasure.Checksums[partNumber-1] = ChecksumInfo{partNumber, algorithm, checksum}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. cmd/erasure-decode_test.go

    	dataBlocks                   int
    	onDisks, offDisks            int
    	blocksize, data              int64
    	offset                       int64
    	length                       int64
    	algorithm                    BitrotAlgorithm
    	shouldFail, shouldFailQuorum bool
    }{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21K bytes
    - Viewed (0)
  5. cmd/xl-storage_test.go

    			t.Errorf("expected: %s, got: %s", errFileAccessDenied, err)
    		}
    	}
    }
    
    var xlStorageReadFileWithVerifyTests = []struct {
    	file      string
    	offset    int
    	length    int
    	algorithm BitrotAlgorithm
    	expError  error
    }{
    	{file: "myobject", offset: 0, length: 100, algorithm: SHA256, expError: nil},                // 0
    	{file: "myobject", offset: 25, length: 74, algorithm: SHA256, expError: nil},                // 1
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
Back to top