Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 646 for EQUAL (0.16 sec)

  1. internal/config/storageclass/storage-class.go

    	// SS parity drives should be greater than or equal to minParityDrives.
    	// Parity below minParityDrives is not supported.
    	if ssParity > 0 && ssParity < minParityDrives {
    		return fmt.Errorf("parity %d should be greater than or equal to %d",
    			ssParity, minParityDrives)
    	}
    
    	if ssParity > setDriveCount/2 {
    		return fmt.Errorf("parity %d should be less than or equal to %d", ssParity, setDriveCount/2)
    	}
    
    	return nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/Collectors.java

                if (o == null || getClass() != o.getClass()) {
                    return false;
                }
                TypedCollector<?> that = (TypedCollector<?>) o;
                return Objects.equal(type, that.type) &&
                    Objects.equal(delegate, that.delegate);
            }
    
            @Override
            public int hashCode() {
                return Objects.hashCode(type, delegate);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:15:09 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. src/net/ip.go

    	}
    	*ip = x
    	return nil
    }
    
    // Equal reports whether ip and x are the same IP address.
    // An IPv4 address and that same address in IPv6 form are
    // considered to be equal.
    func (ip IP) Equal(x IP) bool {
    	if len(ip) == len(x) {
    		return bytealg.Equal(ip, x)
    	}
    	if len(ip) == IPv4len && len(x) == IPv6len {
    		return bytealg.Equal(x[0:12], v4InV6Prefix) && bytealg.Equal(ip, x[12:])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. pkg/slices/slices_test.go

    	for i := 0; i < size; i++ {
    		l = append(l, strconv.Itoa(i))
    	}
    	var equal []string
    	for i := 0; i < size; i++ {
    		equal = append(equal, strconv.Itoa(i))
    	}
    	var notEqual []string
    	for i := 0; i < size; i++ {
    		notEqual = append(notEqual, strconv.Itoa(i))
    	}
    	notEqual[size-1] = "z"
    
    	for n := 0; n < b.N; n++ {
    		EqualUnordered(l, equal)
    		EqualUnordered(l, notEqual)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradleModuleMetadataParser.java

                return Objects.equal(group, that.group)
                    && Objects.equal(module, that.module)
                    && Objects.equal(versionConstraint, that.versionConstraint)
                    && Objects.equal(excludes, that.excludes)
                    && Objects.equal(reason, that.reason)
                    && Objects.equal(attributes, that.attributes)
                    && Objects.equal(requestedCapabilities, that.requestedCapabilities)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:07:04 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  6. src/crypto/internal/mlkem768/mlkem768_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if !bytes.Equal(Ke, Kd) {
    		t.Fail()
    	}
    
    	dk1, err := GenerateKey()
    	if err != nil {
    		t.Fatal(err)
    	}
    	if bytes.Equal(dk.EncapsulationKey(), dk1.EncapsulationKey()) {
    		t.Fail()
    	}
    	if bytes.Equal(dk.Bytes(), dk1.Bytes()) {
    		t.Fail()
    	}
    	if bytes.Equal(dk.Bytes()[EncapsulationKeySize-32:], dk1.Bytes()[EncapsulationKeySize-32:]) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 15:27:18 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/helpers_test.go

    		assert.NoError(t, err, "TestCase[%d]", j)
    
    		if test.expectedImageUserValues.uid == (*int64)(nil) {
    			assert.Equal(t, test.expectedImageUserValues.uid, uid, "TestCase[%d]", j)
    		} else {
    			assert.Equal(t, test.expectedImageUserValues.uid, *uid, "TestCase[%d]", j)
    		}
    		assert.Equal(t, test.expectedImageUserValues.username, username, "TestCase[%d]", j)
    	}
    }
    
    func TestToRuntimeProtocol(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/net_test.go

    	err := netServer.RemovePodFromMesh(ctx, pod)
    	assert.NoError(t, err)
    	assert.Equal(t, ztunnelServer.deletedPods.Load(), 1)
    	assert.Equal(t, nlDeps.DelInpodMarkIPRuleCnt.Load(), 1)
    	assert.Equal(t, nlDeps.DelLoopbackRoutesCnt.Load(), 1)
    	// make sure the uid was taken from cache and netns closed
    	netns := fixture.podNsMap.Take(string(pod.UID))
    	assert.Equal(t, nil, netns)
    
    	// run gc to clean up ns:
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  9. pkg/kubelet/pleg/generic_test.go

    	}
    	for i, c := range cases {
    		testStr := fmt.Sprintf("test[%d]", i)
    		actualStatus, actualErr := pleg.cache.Get(c.pod.ID)
    		assert.Equal(t, c.status, actualStatus, testStr)
    		assert.Equal(t, c.error, actualErr, testStr)
    	}
    	// pleg should not generate any event for pods[1] because of the error.
    	assert.Exactly(t, []*PodLifecycleEvent{events[0]}, actualEvents)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  10. src/crypto/x509/oid_test.go

    			continue
    		}
    
    		if asn1OID != nil && !o.Equal(asn1OID) {
    			t.Errorf("(%#v).toASN1OID() = (%v, true); want = (%v, true)", oid, o, asn1OID)
    		}
    
    		if v.ints != nil {
    			oid2, err := OIDFromInts(v.ints)
    			if err != nil {
    				t.Errorf("OIDFromInts(%v) = (%v, %v); want = (%v, nil)", v.ints, oid2, err, oid)
    			}
    			if !oid2.Equal(oid) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 19:10:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top