Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Digges (0.31 sec)

  1. cmd/utils_test.go

    func TestMaxPartID(t *testing.T) {
    	sizes := []struct {
    		isMax bool
    		partN int
    	}{
    		// Test - 1 part number within max part number.
    		{
    			false,
    			globalMaxPartID - 1,
    		},
    		// Test - 2 part number bigger than max part number.
    		{
    			true,
    			globalMaxPartID + 1,
    		},
    	}
    
    	for i, s := range sizes {
    		isMax := isMaxPartID(s.partN)
    		if isMax != s.isMax {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Feb 23 21:28:14 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  2. cmd/data-usage-cache.go

    	})
    	for remove > 0 && len(leaves) > 0 {
    		// Remove top entry.
    		e := leaves[0]
    		candidate := e.path
    		if candidate == path && !compactSelf {
    			// We should be the biggest,
    			// if we cannot compact ourself, we are done.
    			break
    		}
    		removing := d.totalChildrenRec(candidate.Key())
    		flat := d.sizeRecursive(candidate.Key())
    		if flat == nil {
    			leaves = leaves[1:]
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  3. internal/config/storageclass/storage-class.go

    		inlineBlock, err := humanize.ParseBytes(inlineBlockStr)
    		if err != nil {
    			return cfg, err
    		}
    		if inlineBlock > 128*humanize.KiByte {
    			configLogOnceIf(context.Background(), fmt.Errorf("inline block value bigger than recommended max of 128KiB -> %s, performance may degrade for PUT please benchmark the changes", inlineBlockStr), inlineBlockStr)
    		}
    		cfg.inlineBlock = int64(inlineBlock)
    	} else {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  4. cmd/object-api-utils.go

    	// MinIO tmp meta prefix for deleted objects.
    	minioMetaTmpDeletedBucket = minioMetaTmpBucket + "/.trash"
    
    	// DNS separator (period), used for bucket name validation.
    	dnsDelimiter = "."
    	// On compressed files bigger than this;
    	compReadAheadSize = 100 << 20
    	// Read this many buffers ahead.
    	compReadAheadBuffers = 5
    	// Size of each buffer.
    	compReadAheadBufSize = 1 << 20
    	// Pad Encrypted+Compressed files to a multiple of this.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  5. cmd/endpoint-ellipses_test.go

    		args       []string
    		success    bool
    	}{
    		// Invalid input.
    		{"", []string{}, false},
    		// Range cannot be negative.
    		{":9000", []string{"/export1{-1...1}"}, false},
    		// Range cannot start bigger than end.
    		{":9000", []string{"/export1{64...1}"}, false},
    		// Range can only be numeric.
    		{":9000", []string{"/export1{a...z}"}, false},
    		// Duplicate disks not allowed.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Dec 07 09:33:56 GMT 2023
    - 15.2K bytes
    - Viewed (0)
  6. internal/grid/grid.go

    	// maxBufferSize is the maximum buffer size.
    	// Buffers larger than this is not reused.
    	maxBufferSize = 96 << 10
    
    	// This is the assumed size of bigger buffers and allocation size.
    	biggerBufMin = 32 << 10
    
    	// This is the maximum size of bigger buffers.
    	biggerBufMax = maxBufferSize
    
    	// If there is a queue, merge up to this many messages.
    	maxMergeMessages = 30
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 02 15:56:18 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. cmd/erasure-decode.go

    	// Fill buffers
    	b := globalBytePoolCap.Load().Get()
    	shardSize := int(e.ShardSize())
    	if cap(b) < len(readers)*shardSize {
    		// We should always have enough capacity, but older objects may be bigger.
    		globalBytePoolCap.Load().Put(b)
    		b = nil
    	} else {
    		// Seed the buffers.
    		for i := range bufs {
    			bufs[i] = b[i*shardSize : (i+1)*shardSize]
    		}
    	}
    
    	return &parallelReader{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  8. cmd/erasure-sets.go

    		disks := make([]StorageAPI, s.setDriveCount)
    		copy(disks, s.erasureDisks[setIndex])
    		return disks
    	}
    }
    
    // defaultMonitorConnectEndpointInterval is the interval to monitor endpoint connections.
    // Must be bigger than defaultMonitorNewDiskInterval.
    const defaultMonitorConnectEndpointInterval = defaultMonitorNewDiskInterval + time.Second*5
    
    // Initialize new set of erasure coded sets.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 37.5K bytes
    - Viewed (5)
  9. cmd/object-api-errors.go

    func (e PartTooSmall) Error() string {
    	return fmt.Sprintf("Part size for %d should be at least 5MB", e.PartNumber)
    }
    
    // PartTooBig returned if size of part is bigger than the allowed limit.
    type PartTooBig struct{}
    
    func (e PartTooBig) Error() string {
    	return "Part size bigger than the allowed limit"
    }
    
    // InvalidETag error returned when the etag has changed on disk
    type InvalidETag struct{}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  10. cmd/erasure-object_test.go

    				t.Errorf("Expected putObject to fail with %v, but failed with %v", toObjectErr(errErasureWriteQuorum, bucket, object), err)
    			}
    		})
    	}
    }
    
    // Test PutObject twice, one small and another bigger
    // than small data threshold and checks reading them again
    func TestPutObjectSmallInlineData(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	const numberOfDisks = 4
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
Back to top