Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 448 for equality (0.17 sec)

  1. pkg/controller/clusterroleaggregation/clusterroleaggregation_controller.go

    import (
    	"context"
    	"fmt"
    	"sort"
    	"time"
    
    	rbacv1ac "k8s.io/client-go/applyconfigurations/rbac/v1"
    	"k8s.io/klog/v2"
    
    	rbacv1 "k8s.io/api/rbac/v1"
    	"k8s.io/apimachinery/pkg/api/equality"
    	"k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/labels"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    	"k8s.io/apimachinery/pkg/util/wait"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testplugin/testdata/unnamed1/main.go

    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    package main
    
    // // No C code required.
    import "C"
    
    func FuncInt() int { return 1 }
    
    // Add a recursive type to check that type equality across plugins doesn't
    // crash. See https://golang.org/issues/19258
    func FuncRecursive() X { return X{} }
    
    type Y struct {
    	X *X
    }
    type X struct {
    	Y Y
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 487 bytes
    - Viewed (0)
  3. src/runtime/float_test.go

    		0x8234508000000001, // from issue48807
    		1<<56 + 1<<32 + 1,
    	} {
    		got := float32(i)
    		dontwant := float32(float64(i))
    		if got == dontwant {
    			// The test cases above should be uint64s such that
    			// this equality doesn't hold. These examples trigger
    			// the case where using an intermediate float64 doesn't work.
    			t.Errorf("direct float32 conversion doesn't work: arg=%x got=%x dontwant=%x", i, got, dontwant)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 07 18:34:24 UTC 2021
    - 699 bytes
    - Viewed (0)
  4. android/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)
  5. platforms/jvm/language-groovy/src/main/java/org/gradle/api/internal/tasks/compile/NormalizingGroovyCompiler.java

            } catch (RuntimeException e) {
                // in-process Groovy compilation throws a CompilationFailedException from another classloader, hence testing class name equality
                // TODO:pm Prefer class over class name for equality check once using WorkerExecutor for in-process groovy compilation
                if ((spec.getCompileOptions().isFailOnError() && spec.getGroovyCompileOptions().isFailOnError())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. src/html/fuzz_test.go

    		if u != v {
    			t.Errorf("EscapeString(%q) = %q, UnescapeString(%q) = %q, want %q", v, e, e, u, v)
    		}
    
    		// As per the documentation, this isn't always equal to v, so it makes
    		// no sense to check for equality. It can still be interesting to find
    		// panics in it though.
    		EscapeString(UnescapeString(v))
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 20:35:20 UTC 2023
    - 636 bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/local/model/DefaultLibraryComponentSelectorTest.groovy

            (defaultBuildComponentSelector1.hashCode() == defaultBuildComponentSelector2.hashCode()) == hashCode
            (defaultBuildComponentSelector1.toString() == defaultBuildComponentSelector2.toString()) == stringRepresentation
    
            where:
            projectPath1      | libraryName1 | projectPath2      | libraryName2 | equality | hashCode | stringRepresentation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  8. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/WbPropertyTest.groovy

            Node rootNode = new Node(null, 'root')
    
            when:
            createWbProperty().appendNode(rootNode)
    
            then:
            new WbProperty(rootNode.property[0]) == createWbProperty()
        }
    
        def equality() {
            WbProperty wbProperty = createWbProperty()
            wbProperty.name += 'x'
    
            expect:
            wbProperty != createWbProperty()
        }
    
        private WbProperty createWbProperty() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. 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)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/NamespaceIdTest.groovy

        }
    
        def "hashCode and equals determine equality" () {
            given:
            NamespaceId id1 = new NamespaceId("some-namespace", "some-name")
            NamespaceId id2 = new NamespaceId("some-namespace", "some-name")
    
            expect:
            id1 Matchers.strictlyEqual(id2)
        }
    
        def "hashCode and equals determine inequality" () {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top