Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,114 for EQUAL (0.04 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/Describables.java

                    return false;
                }
                ThreePartDescribable that = (ThreePartDescribable) o;
                return Objects.equal(part1, that.part1) &&
                    Objects.equal(part2, that.part2) &&
                    Objects.equal(part3, that.part3);
            }
    
            @Override
            public int hashCode() {
                return Objects.hashCode(part1, part2, part3);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  2. src/crypto/tls/key_schedule_test.go

    		`iv expanded (12 octets):  5d 31 3e b2 67 12 76 ee 13 00 0b 30`)
    
    	c := cipherSuitesTLS13[0]
    	gotKey, gotIV := c.trafficKey(trafficSecret)
    	if !bytes.Equal(gotKey, wantKey) {
    		t.Errorf("cipherSuiteTLS13.trafficKey() gotKey = % x, want % x", gotKey, wantKey)
    	}
    	if !bytes.Equal(gotIV, wantIV) {
    		t.Errorf("cipherSuiteTLS13.trafficKey() gotIV = % x, want % x", gotIV, wantIV)
    	}
    }
    
    func TestExtract(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/FilesTest.java

        File i18nFile = getTestFile("i18n.txt");
        assertFalse(Files.equal(asciiFile, i18nFile));
        assertTrue(Files.equal(asciiFile, asciiFile));
    
        File temp = createTempFile();
        Files.copy(asciiFile, temp);
        assertTrue(Files.equal(asciiFile, temp));
    
        Files.copy(i18nFile, temp);
        assertTrue(Files.equal(i18nFile, temp));
    
        Files.copy(asciiFile, temp);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Comparators.java

          Comparator<T> comparator) {
        return new LexicographicalOrdering<S>(checkNotNull(comparator));
      }
    
      /**
       * Returns {@code true} if each element in {@code iterable} after the first is greater than or
       * equal to the element that preceded it, according to the specified comparator. Note that this is
       * always true when the iterable has fewer than two elements.
       */
      public static <T extends @Nullable Object> boolean isInOrder(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    		assert.NoError(t, err)
    		assert.Equal(t, test.expected.CpuPeriod, linuxConfig.GetResources().CpuPeriod, test.name)
    		assert.Equal(t, test.expected.CpuQuota, linuxConfig.GetResources().CpuQuota, test.name)
    		assert.Equal(t, test.expected.CpuShares, linuxConfig.GetResources().CpuShares, test.name)
    		assert.Equal(t, test.expected.MemoryLimitInBytes, linuxConfig.GetResources().MemoryLimitInBytes, test.name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
  6. src/slices/slices.go

    import (
    	"cmp"
    	"math/bits"
    	"unsafe"
    )
    
    // Equal reports whether two slices are equal: the same length and all
    // elements equal. If the lengths are different, Equal returns false.
    // Otherwise, the elements are compared in increasing index order, and the
    // comparison stops at the first unequal pair.
    // Floating point NaNs are not considered equal.
    func Equal[S ~[]E, E comparable](s1, s2 S) bool {
    	if len(s1) != len(s2) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 29 14:01:59 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/dra/claiminfo_test.go

    			err := test.claimInfo.setCDIDevices(pluginName, test.devices)
    			if test.wantErr {
    				assert.Error(t, err)
    				return
    			}
    			assert.NoError(t, err)
    			assert.Equal(t, test.expectedCDIDevices, test.claimInfo.CDIDevices)
    			assert.Equal(t, test.expectedAnnotations, test.claimInfo.annotations)
    		})
    	}
    }
    
    func TestClaimInfoAnnotationsAsList(t *testing.T) {
    	for _, test := range []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 21K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured_conversion_test.go

    			outUnstructured := &unstructured.Unstructured{}
    			err := scheme.Convert(testCase.objectToConvert, outUnstructured, nil)
    			if err != nil {
    				assert.Equal(t, testCase.expectedErr, err)
    				return
    			}
    			assert.Equal(t, testCase.expectedConvertedUnstructured, outUnstructured)
    		})
    	}
    }
    
    func TestUnstructuredToObjectConversion(t *testing.T) {
    	scheme, _ := test.TestScheme()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 07 15:19:26 UTC 2020
    - 16.4K bytes
    - Viewed (0)
  9. pkg/kube/inject/template.go

    			pc.ClusterName = nil
    		}
    	}
    
    	if proto.Equal(pc.DrainDuration, defaults.DrainDuration) {
    		pc.DrainDuration = nil
    	}
    	if proto.Equal(pc.TerminationDrainDuration, defaults.TerminationDrainDuration) {
    		pc.TerminationDrainDuration = nil
    	}
    	if pc.DiscoveryAddress == defaults.DiscoveryAddress {
    		pc.DiscoveryAddress = ""
    	}
    	if proto.Equal(pc.EnvoyMetricsService, defaults.EnvoyMetricsService) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 16 02:12:03 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  10. internal/crypto/metadata_test.go

    		}
    		if !bytes.Equal(sealedKey.Key[:], test.SealedKey.Key[:]) {
    			t.Errorf("Test %d: got sealed key '%v' - want sealed key '%v'", i, sealedKey.Key, test.SealedKey.Key)
    		}
    		if !bytes.Equal(sealedKey.IV[:], test.SealedKey.IV[:]) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 02 00:13:57 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top