- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 2,371 for EQUAL (0.64 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/framer/framer_test.go
t.Fatalf("unexpected: %v %d %v", err, n, buf) } if n, err := r.Read(buf); err != io.ErrShortBuffer && n != 1 && bytes.Equal(buf, []byte{0x02}) { t.Fatalf("unexpected: %v %d %v", err, n, buf) } // read the remaining frame buf = make([]byte, 2) if n, err := r.Read(buf); err != nil && n != 2 && bytes.Equal(buf, []byte{0x03, 0x04}) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 13:33:12 UTC 2024 - 6.3K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue43056.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 02:58:32 UTC 2022 - 478 bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/local/model/DefaultLibraryComponentSelector.java
LibraryBinaryIdentifier projectComponentIdentifier = (LibraryBinaryIdentifier) identifier; return Objects.equal(projectComponentIdentifier.getProjectPath(), projectPath) && Objects.equal(projectComponentIdentifier.getLibraryName(), libraryName) && Objects.equal(projectComponentIdentifier.getVariant(), variant); } return false; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 4K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
fail("Should fail on null equal object"); } catch (NullPointerException e) { } } /** Test adding null equal object yields error */ public void testAddNullEqualObject() { try { equalsTester.addEqualityGroup(reference, (Object[]) null); fail("Should fail on null equal object"); } catch (NullPointerException e) { } } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 17 15:49:06 UTC 2023 - 12.9K bytes - Viewed (0) -
src/crypto/internal/bigmod/nat_test.go
if x.Equal(expected) != 1 { t.Errorf("%+v != %+v", x, expected) } } func TestModAdd(t *testing.T) { m := modulusFromBytes([]byte{13}) x := &Nat{[]uint{6}} y := &Nat{[]uint{7}} x.Add(y, m) expected := &Nat{[]uint{0}} if x.Equal(expected) != 1 { t.Errorf("%+v != %+v", x, expected) } x.Add(y, m) expected = &Nat{[]uint{7}} if x.Equal(expected) != 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 12 00:56:20 UTC 2024 - 11.6K bytes - Viewed (0) -
src/time/tzdata_test.go
func equal(t *testing.T, f1, f2 reflect.Value) bool { switch f1.Type().Kind() { case reflect.Slice: if f1.Len() != f2.Len() { return false } for i := 0; i < f1.Len(); i++ { if !equal(t, f1.Index(i), f2.Index(i)) { return false } } return true case reflect.Struct: nf := f1.Type().NumField() for i := 0; i < nf; i++ { if !equal(t, f1.Field(i), f2.Field(i)) { return false } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 18 20:57:35 UTC 2022 - 2.5K bytes - Viewed (0) -
src/crypto/internal/edwards25519/edwards25519_test.go
checkRhs.fromP1xP1(tmpP1xP1) if checkLhs.Equal(checkRhs) != 1 { t.Error("B + B != [2]B") } checkOnCurve(t, checkLhs, checkRhs) checkLhs.Subtract(B, B) Bneg := new(Point).Negate(B) checkRhs.Add(B, Bneg) if checkLhs.Equal(checkRhs) != 1 { t.Error("B - B != B + (-B)") } if I.Equal(checkLhs) != 1 { t.Error("B - B != 0") } if I.Equal(checkRhs) != 1 { t.Error("B + (-B) != 0") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 10 18:45:00 UTC 2022 - 9.3K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver_test.go
assert.Equal(t, len(fds), 1) // in theory we should close the fd, but it's just a test.. assert.Equal(t, m.Payload.(*zdsapi.WorkloadRequest_Add).Add.Uid, uid) // send ack so the server doesn't wait for us. sendAck(ztunClient) // second message should be the snap sent message m, fds = readRequest(t, ztunClient) assert.Equal(t, len(fds), 0)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 8.6K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_test.go
} else if locality.Region == "region1" && locality.SubZone == "subzone2" { g.Expect(localityLbEndpoint.LoadBalancingWeight.GetValue()).To(Equal(uint32(17))) g.Expect(localityLbEndpoint.LbEndpoints[0].LoadBalancingWeight.GetValue()).To(Equal(uint32(20))) } else if locality.Region == "region2" { g.Expect(localityLbEndpoint.LoadBalancingWeight.GetValue()).To(Equal(uint32(50)))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 108.8K bytes - Viewed (0) -
tools/istio-iptables/pkg/dependencies/implementation_linux_test.go
sandboxedNetNS, err = netns.Get() assert.NoError(t, err) return nil })) after := file.AsStringOrFail(t, "/etc/nsswitch.conf") assert.Equal(t, sandboxed, "") assert.Equal(t, original, after) assert.Equal(t, originalNetNS.Equal(sandboxedNetNS), true)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 26 20:05:40 UTC 2024 - 1.6K bytes - Viewed (0)