Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for true (0.19 sec)

  1. cmd/object-handlers_test.go

    			copySourceHeader: url.QueryEscape(SlashSeparator + bucketName + SlashSeparator + objectName),
    			metadata: map[string]string{
    				"Content-Type": "application/json",
    			},
    			copySourceSame: true,
    			metadataCopy:   true,
    			accessKey:      credentials.AccessKey,
    			secretKey:      credentials.SecretKey,
    
    			expectedRespStatus: http.StatusBadRequest,
    		},
    
    		// Test case - 9.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    		getNodeHealthMetrics(MetricsGroupOpts{dependGlobalNotificationSys: true}),
    		getClusterStorageMetrics(MetricsGroupOpts{dependGlobalObjectAPI: true}),
    		getClusterTierMetrics(MetricsGroupOpts{dependGlobalObjectAPI: true}),
    		getClusterUsageMetrics(MetricsGroupOpts{dependGlobalObjectAPI: true}),
    		getKMSMetrics(MetricsGroupOpts{dependGlobalObjectAPI: true, dependGlobalKMS: true}),
    		getClusterHealthMetrics(MetricsGroupOpts{dependGlobalObjectAPI: true}),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    					// this basically means that we do not have the Data for the object
    					// cached yet
    					update = true
    				})
    				if !update {
    					// No update is needed means we have written already to the client just return here.
    					return
    				}
    			}
    		}
    
    		if errors.Is(err, cache.ErrKeyMissing) {
    			update = true
    		}
    	}
    
    	// Validate pre-conditions if any.
    	opts.CheckPrecondFn = func(oi ObjectInfo) bool {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 125K 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/callback.go

    	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)
  6. cmd/site-replication.go

    		return nil
    	}
    
    	optsMap := make(map[string]string)
    	if opts.LockEnabled {
    		optsMap["lockEnabled"] = "true"
    		optsMap["versioningEnabled"] = "true"
    	}
    	if opts.VersioningEnabled {
    		optsMap["versioningEnabled"] = "true"
    	}
    	if opts.ForceCreate {
    		optsMap["forceCreate"] = "true"
    	}
    	createdAt, _ := globalBucketMetadataSys.CreatedAt(bucket)
    	optsMap["createdAt"] = createdAt.UTC().Format(time.RFC3339Nano)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
  7. cmd/bucket-replication.go

    		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 {
    	return equals(matchHeaderKey, standardHeaders...)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 112.2K bytes
    - Viewed (1)
Back to top