Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 441 - 450 of 1,290 for inrange (0.17 seconds)

  1. internal/config/config_test.go

    			expectedFields: map[string]struct{}{},
    		},
    	}
    	for _, test := range tests {
    		t.Run("", func(t *testing.T) {
    			gotFields := kvFields(test.input, test.keys)
    			if len(gotFields) != len(test.expectedFields) {
    				t.Errorf("Expected keys %d, found %d", len(test.expectedFields), len(gotFields))
    			}
    			found := true
    			for _, field := range gotFields {
    				_, ok := test.expectedFields[field]
    				found = found && ok
    			}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. internal/bucket/lifecycle/and.go

    		predCount++
    	}
    	if a.ObjectSizeLessThan > 0 {
    		predCount++
    	}
    
    	if predCount < 2 {
    		return errXMLNotWellFormed
    	}
    
    	if a.ContainsDuplicateTag() {
    		return errDuplicateTagKey
    	}
    	for _, t := range a.Tags {
    		if err := t.Validate(); err != nil {
    			return err
    		}
    	}
    
    	if a.ObjectSizeGreaterThan < 0 || a.ObjectSizeLessThan < 0 {
    		return errXMLNotWellFormed
    	}
    	return nil
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  3. internal/dsync/drwmutex.go

    		wg.Wait()
    		xioutil.SafeClose(ch)
    		for range ch {
    		}
    	}()
    
    	noQuorum := lockNotFound > len(restClnts)-quorum
    	return noQuorum, nil
    }
    
    // lock tries to acquire the distributed lock, returning true or false.
    func lock(ctx context.Context, ds *Dsync, locks *[]string, id, source string, isReadLock bool, tolerance, quorum int, names ...string) bool {
    	for i := range *locks {
    		(*locks)[i] = ""
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  4. cmd/object-api-deleteobject_test.go

    			"dir/",
    			[]string{"object0"},
    		},
    	}
    
    	for i, testCase := range testCases {
    		err := obj.MakeBucket(context.Background(), testCase.bucketName, MakeBucketOptions{})
    		if err != nil {
    			t.Fatalf("%s : %s", instanceType, err.Error())
    		}
    
    		for _, object := range testCase.objectToUploads {
    			md5Bytes := md5.Sum([]byte(object.content))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 29 01:40:52 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  5. cmd/erasure-server-pool-decom_test.go

    	orderChangePools := []*erasureSets{
    		pools[1],
    		pools[0],
    	}
    
    	var nmeta1 poolMeta
    	nmeta1.Version = poolMetaVersion
    	nmeta1.Pools = append(nmeta1.Pools, meta.Pools...)
    	for i, pool := range nmeta1.Pools {
    		if i == 0 {
    			nmeta1.Pools[i] = PoolStatus{
    				CmdLine:    pool.CmdLine,
    				ID:         i,
    				LastUpdate: UTCNow(),
    				Decommission: &PoolDecommissionInfo{
    					Complete: true,
    				},
    			}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  6. cmd/tier_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteMapHeader(uint32(len(z.Tiers)))
    	if err != nil {
    		err = msgp.WrapError(err, "Tiers")
    		return
    	}
    	for za0001, za0002 := range z.Tiers {
    		err = en.WriteString(za0001)
    		if err != nil {
    			err = msgp.WrapError(err, "Tiers")
    			return
    		}
    		err = za0002.EncodeMsg(en)
    		if err != nil {
    			err = msgp.WrapError(err, "Tiers", za0001)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/ACETest.java

                assertTrue(ACE.GENERIC_EXECUTE >= 0x10000000, "GENERIC_EXECUTE should be in generic rights range");
                assertTrue(ACE.GENERIC_WRITE >= 0x10000000, "GENERIC_WRITE should be in generic rights range");
                // GENERIC_READ is 0x80000000 which is in the range when treated as unsigned
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  8. cmd/xl-storage-format_test.go

    					PartNumber: 2,
    					Algorithm:  HighwayHash256S,
    					Hash:       nil,
    				},
    			},
    		},
    	}
    	for _, size := range []int{1, 10, 1000, 100_000} {
    		b.Run(fmt.Sprint(size, "-versions"), func(b *testing.B) {
    			var xl xlMetaV2
    			ids := make([]string, size)
    			for i := range size {
    				fi.VersionID = mustGetUUID()
    				fi.DataDir = mustGetUUID()
    				ids[i] = fi.VersionID
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  9. cmd/test-utils_test.go

    		return nil, nil, err
    	}
    
    	// Wait up to 10 seconds for disks to come online.
    	pools := obj.(*erasureServerPools)
    	t := time.Now()
    	for _, pool := range pools.serverPools {
    		for _, sets := range pool.erasureDisks {
    			for _, s := range sets {
    				if !s.IsLocal() {
    					for !s.IsOnline() {
    						time.Sleep(100 * time.Millisecond)
    						if time.Since(t) > 10*time.Second {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 77K bytes
    - Click Count (0)
  10. helm-releases/minio-5.0.11.tgz

    {{- if .Values.consoleIngress.ingressClassName }} ingressClassName: {{ .Values.consoleIngress.ingressClassName }} {{- end }} {{- if .Values.consoleIngress.tls }} tls: {{- range .Values.consoleIngress.tls }} - hosts: {{- range .hosts }} - {{ . | quote }} {{- end }} secretName: {{ .secretName }} {{- end }} {{- end }} rules: {{- range .Values.consoleIngress.hosts }} - http: paths: - path: {{ $ingressPath }} {{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} pathType: Prefix backend:...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jun 21 19:29:09 GMT 2023
    - 20.3K bytes
    - Click Count (0)
Back to Top