Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newStreamingBitrotWriter (0.29 sec)

  1. cmd/xl-storage_test.go

    	}); err != nil {
    		t.Fatal(err)
    	}
    
    	// 3) Streaming bitrot check on proper file
    	algo = HighwayHash256S
    	shardSize := int64(1024 * 1024)
    	shard := make([]byte, shardSize)
    	w := newStreamingBitrotWriter(storage, "", volName, fileName, size, algo, shardSize)
    	reader := bytes.NewReader(data)
    	for {
    		// Using io.Copy instead of this loop will not work for us as io.Copy
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
Back to top