- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 651 for equality (0.15 sec)
-
test/fixedbugs/bug398.go
// errorcheck // Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Used to crash compiler in interface type equality check. // (This test used to have problems - see #15596.) package p // exported interfaces type I1 interface { // ERROR "invalid recursive type: anonymous interface refers to itself" F() interface{I1} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 19 04:39:56 UTC 2023 - 951 bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time_test.go
{"!nil =? nil", &t1, nil, false}, } for _, c := range cases { t.Run(c.name, func(t *testing.T) { result := c.x.Equal(c.y) if result != c.result { t.Errorf("Failed equality test for '%v', '%v': expected %+v, got %+v", c.x, c.y, c.result, result) } }) } } func TestMicroTimeEqualTime(t *testing.T) { t1 := NewMicroTime(time.Now()) t2 := NewTime(t1.Time)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 11.1K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/DefaultSerializerTest.groovy
Object o = cl.newInstance(new Object[0]) when: def r = serialize(o, serializer) then: cl.isInstance(r) } def "returns true when testing equality between two serializer with the same classloader"() { DefaultSerializer rhsSerializer = new DefaultSerializer(getClass().classLoader) DefaultSerializer lhsSerializer = new DefaultSerializer(getClass().classLoader)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 1.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingMapEntry.java
* to the provided {@code standardEquals} method. * * <p>Each of the {@code standard} methods, where appropriate, use {@link Objects#equal} to test * equality for both keys and values. This may not be the desired behavior for map implementations * that use non-standard notions of key equality, such as the entry of a {@code SortedMap} whose * comparator is not consistent with {@code equals}. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Mar 19 19:28:11 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProjectReportIntegTest.groovy
"taskReport" | [] "propertyReport" | [] "htmlDependencyReport" | [] // projectReport depends on the other ones, and task order may not be preserved, // causing equality comparison between first and second outputs to fail //"projectReport" | [] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2K bytes - Viewed (0) -
platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/ContainerTest.groovy
Node rootNode = new Node(null, 'root') when: createContainer().appendNode(rootNode) then: new Container(rootNode.classpathentry[0]) == createContainer() } def equality() { Container container = createContainer() container.nativeLibraryLocation += 'x' expect: container != createContainer() } private Container createContainer() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 2.1K bytes - Viewed (0) -
src/cmd/compile/internal/types/identity.go
if (flags&identIgnoreTags) == 0 && f1.Note != f2.Note { return false } } return true case TFUNC: // Check parameters and result parameters for type equality. // We intentionally ignore receiver parameters for type // equality, because they're never relevant. if t1.NumParams() != t2.NumParams() || t1.NumResults() != t2.NumResults() || t1.IsVariadic() != t2.IsVariadic() { return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 20:57:01 UTC 2023 - 4.6K bytes - Viewed (0) -
pkg/scheduler/eventhandlers.go
return !equality.Semantic.DeepEqual(oldNode.Status.Allocatable, newNode.Status.Allocatable) } func nodeLabelsChanged(newNode *v1.Node, oldNode *v1.Node) bool { return !equality.Semantic.DeepEqual(oldNode.GetLabels(), newNode.GetLabels()) } func nodeTaintsChanged(newNode *v1.Node, oldNode *v1.Node) bool { return !equality.Semantic.DeepEqual(newNode.Spec.Taints, oldNode.Spec.Taints) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:21:04 UTC 2024 - 24K bytes - Viewed (0) -
src/crypto/elliptic/elliptic.go
// also known as secp224r1. The CurveParams.Name of this [Curve] is "P-224". // // Multiple invocations of this function will return the same value, so it can // be used for equality checks and switch statements. // // The cryptographic operations are implemented using constant-time algorithms. func P224() Curve { initonce.Do(initAll) return p224 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 9K bytes - Viewed (0) -
src/crypto/ecdh/nist.go
// P256 returns a [Curve] which implements NIST P-256 (FIPS 186-3, section D.2.3), // also known as secp256r1 or prime256v1. // // Multiple invocations of this function will return the same value, which can // be used for equality checks and switch statements. func P256() Curve { return p256 } var p256 = &nistCurve[*nistec.P256Point]{ name: "P-256", newPoint: nistec.NewP256Point, scalarOrder: p256Order, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 8.1K bytes - Viewed (0)