Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for halse (0.15 sec)

  1. cmd/site-replication.go

    		return true
    	}
    	if numquotaCfgs > 0 && numquotaCfgs != total {
    		return false
    	}
    	var prev *madmin.BucketQuota
    	for i, q := range quotaCfgs {
    		if q == nil {
    			return false
    		}
    		if i == 0 {
    			prev = q
    			continue
    		}
    		if prev.Quota != q.Quota || prev.Type != q.Type {
    			return false
    		}
    	}
    	return true
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  2. cmd/bucket-replication.go

    	c, err := getReplicationConfig(ctx, bucket)
    	if err != nil || c == nil {
    		replLogOnceIf(ctx, err, bucket)
    		return false
    	}
    	for _, obj := range objects {
    		if c.HasActiveRules(obj.ObjectName, true) {
    			return true
    		}
    	}
    	return false
    }
    
    // isStandardHeader returns true if header is a supported header and not a custom header
    func isStandardHeader(matchHeaderKey string) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  3. cmd/object-handlers.go

    	if srcBucket == dstBucket {
    		return false
    	}
    	return isRemoteCallRequired(ctx, dstBucket, objAPI)
    }
    
    // Check if the bucket is on a remote site, this code only gets executed when federation is enabled.
    func isRemoteCallRequired(ctx context.Context, bucket string, objAPI ObjectLayer) bool {
    	if globalDNSConfig == nil {
    		return false
    	}
    	if globalBucketFederation {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  4. cmd/server_test.go

    			`<DeleteMarker><Key>file.1</Key>.*<IsLatest>true</IsLatest>.*</DeleteMarker>` +
    			`<Version><Key>file.1</Key>.*<IsLatest>false</IsLatest>.*</Version>` +
    			`<DeleteMarker><Key>file.2</Key>.*<IsLatest>true</IsLatest>.*</DeleteMarker>` +
    			`<Version><Key>file.2</Key>.*<IsLatest>false</IsLatest>.*</Version>` +
    			`</ListVersionsResult>`)
    
    	c.Assert(r.MatchString(string(getContent)), true)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  5. cmd/metrics-v2.go

    	"github.com/prometheus/client_golang/prometheus"
    	dto "github.com/prometheus/client_model/go"
    	"github.com/prometheus/common/expfmt"
    	"github.com/prometheus/procfs"
    )
    
    //go:generate msgp -file=$GOFILE -unexported -io=false
    
    var (
    	nodeCollector           *minioNodeCollector
    	clusterCollector        *minioClusterCollector
    	bucketCollector         *minioBucketCollector
    	peerMetricsGroups       []*MetricsGroupV2
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    	capacityNeeded := uint64(concurrent * size)
    	capacity := GetTotalUsableCapacityFree(storageInfo.Disks, storageInfo)
    
    	if capacity < capacityNeeded {
    		return false, false, fmt.Sprintf("not enough usable space available to perform speedtest - expected %s, got %s",
    			humanize.IBytes(capacityNeeded), humanize.IBytes(capacity))
    	}
    
    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)
  7. cmd/object-handlers_test.go

    	credentials auth.Credentials, t *testing.T,
    ) {
    	// Set SSL to on to do encryption tests
    	globalIsTLS = true
    	defer func() { globalIsTLS = false }()
    
    	var (
    		oneMiB        int64 = 1024 * 1024
    		key32Bytes          = generateBytesData(32 * humanize.Byte)
    		key32BytesMd5       = md5.Sum(key32Bytes)
    		metaWithSSEC        = map[string]string{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/callback.go

    	i := *(*int)(p)
    
    	callbackMutex.Lock()
    	f := callbackFuncs[i]
    	callbackMutex.Unlock()
    
    	if f == nil {
    		panic("missing callback function")
    	}
    	f()
    }
    
    func testCallback(t *testing.T) {
    	var x = false
    	nestedCall(func() { x = true })
    	if !x {
    		t.Fatal("nestedCall did not call func")
    	}
    }
    
    func testCallbackGC(t *testing.T) {
    	nestedCall(runtime.GC)
    }
    
    func testCallbackPanic(t *testing.T) {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
Back to top