Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Ward (0.57 sec)

  1. cmd/naughty-disk_test.go

    	"io"
    	"sync"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    )
    
    // naughtyDisk wraps a POSIX disk and returns programmed errors
    // specified by the developer. The purpose is to simulate errors
    // that are hard to simulate in practice like DiskNotFound.
    // Programmed errors are stored in errors field.
    type naughtyDisk struct {
    	// The real disk
    	disk StorageAPI
    	// Programmed errors: API call number => error to return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    		return &m
    	}
    
    	anonymizeCmdLine := func(cmdLine string) string {
    		if anonParam != anonymizeStrict {
    			return cmdLine
    		}
    
    		if !globalIsDistErasure {
    			// FS mode - single server - hard code to `server1`
    			anonCmdLine := strings.ReplaceAll(cmdLine, globalLocalNodeName, "server1")
    			if len(globalMinioConsoleHost) > 0 {
    				anonCmdLine = strings.ReplaceAll(anonCmdLine, globalMinioConsoleHost, "server1")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  3. cmd/xl-storage-format_test.go

    	// Number of checksum info == total parts.
    	xlMeta.Erasure.Checksums = make([]ChecksumInfo, totalParts)
    	// total number of parts.
    	xlMeta.Parts = make([]ObjectPartInfo, totalParts)
    	for i := 0; i < totalParts; i++ {
    		// hard coding hash and algo value for the checksum, Since we are benchmarking the parsing of xl.meta the magnitude doesn't affect the test,
    		// The magnitude doesn't make a difference, only the size does.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  4. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
Back to top