Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 95 for _Equal (0.13 sec)

  1. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    			name:                      "equal edge case",
    			wantInsufficientResources: []InsufficientResource{},
    		},
    		{
    			pod: newResourceInitPod(newResourcePod(framework.Resource{MilliCPU: 4, Memory: 1}), framework.Resource{MilliCPU: 5, Memory: 1}),
    			nodeInfo: framework.NewNodeInfo(
    				newResourcePod(framework.Resource{MilliCPU: 5, Memory: 19})),
    			name:                      "equal edge case for init container",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  2. cmd/bucket-replication-utils.go

    	ResetStatusesMap           map[string]string                 // map of ARN-> stringified reset id and timestamp for all the targets
    }
    
    // Equal returns true if replication state is identical for version purge statuses and (replica)tion statuses.
    func (rs *ReplicationState) Equal(o ReplicationState) bool {
    	return rs.ReplicaStatus == o.ReplicaStatus &&
    		rs.ReplicationStatusInternal == o.ReplicationStatusInternal &&
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. cmd/erasure-healing_test.go

    	nfi, err := getLatestFileInfo(ctx, fileInfos, er.defaultParityCount, errs)
    	if err != nil {
    		t.Fatalf("Failed to getLatestFileInfo - %v", err)
    	}
    
    	if !reflect.DeepEqual(fi, nfi) {
    		t.Fatalf("FileInfo not equal after healing: %v != %v", fi, nfi)
    	}
    
    	err = firstDisk.Delete(context.Background(), bucket, pathJoin(object, fi.DataDir, "part.1"), DeleteOptions{
    		Recursive: false,
    		Immediate: false,
    	})
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/listener_test.go

    								assert.Equal(t, true, hcm.GetSetCurrentClientCertDetails().GetSubject().GetValue(), "subject")
    								assert.Equal(t, true, hcm.GetSetCurrentClientCertDetails().GetDns(), "dns")
    								assert.Equal(t, true, hcm.GetSetCurrentClientCertDetails().GetUri(), "uri")
    								assert.Equal(t, true, hcm.GetNormalizePath().GetValue(), "normalize path")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

    import java.lang.ref.WeakReference;
    import java.net.URL;
    import java.net.URLClassLoader;
    import java.util.Arrays;
    import java.util.Collections;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link FinalizableReferenceQueue}.
     *
     * @author Bob Lee
     */
    // - depends on details of GC and classloading
    // - .class files aren't available
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. cmd/storage-datatypes.go

    		return false
    	}
    	if fi.IsCompressed() != ofi.IsCompressed() {
    		return false
    	}
    	if !fi.TransitionInfoEquals(ofi) {
    		return false
    	}
    	if !fi.ModTime.Equal(ofi.ModTime) {
    		return false
    	}
    	return fi.Erasure.Equal(ofi.Erasure)
    }
    
    // GetDataDir returns an expected dataDir given FileInfo
    //   - deleteMarker returns "delete-marker"
    //   - returns "legacy" if FileInfo is XLV1 and DataDir is
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. cmd/metacache-entries.go

    	// check both fileInfo's have same number of versions, if not skip
    	// the `other` entry.
    	if len(eVers.versions) != len(oVers.versions) {
    		eTime := eVers.latestModtime()
    		oTime := oVers.latestModtime()
    		if !eTime.Equal(oTime) {
    			if eTime.After(oTime) {
    				return e, false
    			}
    			return other, false
    		}
    		// Tiebreak on version count.
    		if len(eVers.versions) > len(oVers.versions) {
    			return e, false
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 04:34:26 UTC 2024
    - 24K bytes
    - Viewed (0)
  8. cmd/bucket-lifecycle-handlers_test.go

    			t.Errorf("Test %d: %s: Expected the response status to be `%d`, but instead found `%d`", i+1, instanceType, testCase.expectedRespStatus, rec.Code)
    		}
    		if testCase.shouldPass && !bytes.Equal(testCase.lifecycleResponse, rec.Body.Bytes()) {
    			t.Errorf("Test %d: %s: Expected the response to be `%s`, but instead found `%s`", i+1, instanceType, string(testCase.lifecycleResponse), rec.Body.String())
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. cmd/object-api-utils.go

    // a hyphen. See:
    // http://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html
    func IsValidBucketName(bucket string) bool {
    	// Special case when bucket is equal to one of the meta buckets.
    	if isMinioMetaBucketName(bucket) {
    		return true
    	}
    	if len(bucket) < 3 || len(bucket) > 63 {
    		return false
    	}
    
    	// Split on dot and check each piece conforms to rules.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

    import java.util.WeakHashMap;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.atomic.AtomicBoolean;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link GcFinalization}.
     *
     * @author Martin Buchholz
     * @author mike nonemacher
     */
    @AndroidIncompatible // depends on details of gc
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top