Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 651 for equality (0.23 sec)

  1. pkg/apis/admissionregistration/v1/defaults_test.go

    limitations under the License.
    */
    
    package v1_test
    
    import (
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    
    	v1 "k8s.io/api/admissionregistration/v1"
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    	_ "k8s.io/kubernetes/pkg/apis/admissionregistration/install"
    	utilpointer "k8s.io/utils/pointer"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/ActionsTest.groovy

            when:
            composite(actions).execute("foo")
    
            then:
            actions.each { 1 * it.execute("foo") }
            0 * _._
        }
    
        def "composite action equality"() {
            given:
            def actions = (1..3).collect { Mock(Action) }
    
            expect:
            composite(actions[0], actions[1]) == composite(actions[0], actions[1])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. pilot/pkg/model/service_test.go

    				t.Errorf(
    					"returned different for reversing arguments for structs: %v , and %v",
    					testCase.comparer,
    					testCase.comparee,
    				)
    			}
    			if isEq != testCase.shouldEq {
    				t.Errorf(
    					"equality of %v , and %v do not equal expected %t",
    					testCase.comparer,
    					testCase.comparee,
    					testCase.shouldEq,
    				)
    			}
    		})
    	}
    }
    
    func TestServicesEqual(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. internal/config/identity/ldap/ldap.go

    }
    
    // GetValidatedDNUnderBaseDN checks if the given DN exists in the LDAP
    // directory.
    //
    // The `NormDN` value returned here in the search result may not be equal to the
    // input DN, as LDAP equality is not a simple Golang string equality. However,
    // we assume the value returned by the LDAP server is canonical. Additionally,
    // the attribute type names in the DN are lower-cased.
    //
    // Return values:
    //
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 25 13:43:06 UTC 2024
    - 10.3K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/cache/CacheBuilder.java

     * reflected in that iterator. These iterators never throw {@link ConcurrentModificationException}.
     *
     * <p><b>Note:</b> by default, the returned cache uses equality comparisons (the {@link
     * Object#equals equals} method) to determine equality for keys or values. However, if {@link
     * #weakKeys} was specified, the cache uses identity ({@code ==}) comparisons instead for keys.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  6. pkg/registry/flowcontrol/flowschema/strategy.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package flowschema
    
    import (
    	"context"
    
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/util/validation/field"
    	"k8s.io/apiserver/pkg/storage/names"
    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    	"k8s.io/kubernetes/pkg/apis/flowcontrol"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 11:48:22 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/status/naming_controller.go

    limitations under the License.
    */
    
    package status
    
    import (
    	"context"
    	"fmt"
    	"reflect"
    	"strings"
    	"time"
    
    	"k8s.io/klog/v2"
    
    	"k8s.io/apimachinery/pkg/api/equality"
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/labels"
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. src/crypto/internal/edwards25519/scalarmult_test.go

    	tmp1 := &projP1xP1{}
    	tmp2 := &projP2{}
    	tmp3 := &Point{}
    	tmp3.Set(B)
    	table := make([]affineLookupTable, 32)
    	for i := 0; i < 32; i++ {
    		// Build the table
    		table[i].FromP3(tmp3)
    		// Assert equality with the hardcoded one
    		if table[i] != basepointTable[i] {
    			t.Errorf("Basepoint table %d does not match", i)
    		}
    
    		// Set p = (16^2)*p = 256*p = 2^8*p
    		tmp2.FromP3(tmp3)
    		for j := 0; j < 7; j++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/OutputFileChangesTest.groovy

        def "trivial content change"() {
            expect:
            changes(
                regularFile("one", 0x1234),
                regularFile("one", 0xffff)
            ) == [modified("one")]
        }
    
        def "deep equality"() {
            expect:
            changes(
                directory("root", [
                    regularFile("root/one", 0x1234),
                    regularFile("root/two", 0x2345)
                ]),
                directory("root", [
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/CacheBuilder.java

     * reflected in that iterator. These iterators never throw {@link ConcurrentModificationException}.
     *
     * <p><b>Note:</b> by default, the returned cache uses equality comparisons (the {@link
     * Object#equals equals} method) to determine equality for keys or values. However, if {@link
     * #weakKeys} was specified, the cache uses identity ({@code ==}) comparisons instead for keys.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 51.3K bytes
    - Viewed (0)
Back to top