Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,127 for equivalentTo (0.28 sec)

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

    	_ "k8s.io/kubernetes/pkg/apis/admissionregistration/install"
    	utilpointer "k8s.io/utils/pointer"
    )
    
    func TestDefaultAdmissionWebhook(t *testing.T) {
    	fail := v1.Fail
    	equivalent := v1.Equivalent
    	never := v1.NeverReinvocationPolicy
    	ten := int32(10)
    	allScopes := v1.AllScopes
    
    	tests := []struct {
    		name     string
    		original runtime.Object
    		expected runtime.Object
    	}{
    		{
    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-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/MethodsTest.groovy

            expect:
            !SIGNATURE_EQUIVALENCE.equivalent(takeObjReturnStr, takeIntReturnInt)
            SIGNATURE_EQUIVALENCE.hash(takeObjReturnStr) != SIGNATURE_EQUIVALENCE.hash(takeIntReturnInt)
    
            SIGNATURE_EQUIVALENCE.equivalent(takeObjReturnObj, takeObjReturnStr)
            SIGNATURE_EQUIVALENCE.hash(takeObjReturnObj) == SIGNATURE_EQUIVALENCE.hash(takeObjReturnStr)
    
            SIGNATURE_EQUIVALENCE.equivalent(takeObjReturnObj, takeObjReturnObj)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. src/sync/atomic/doc.go

    // equivalent of:
    //
    //	*addr += delta
    //	return *addr
    //
    // The load and store operations, implemented by the LoadT and StoreT
    // functions, are the atomic equivalents of "return *addr" and
    // "*addr = val".
    //
    // In the terminology of [the Go memory model], if the effect of
    // an atomic operation A is observed by atomic operation B,
    // then A “synchronizes before” B.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. pkg/apis/admissionregistration/v1alpha1/defaults_test.go

    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    	_ "k8s.io/kubernetes/pkg/apis/admissionregistration/install"
    )
    
    func TestDefaultAdmissionPolicy(t *testing.T) {
    	fail := v1alpha1.Fail
    	equivalent := v1alpha1.Equivalent
    	allScopes := v1alpha1.AllScopes
    
    	tests := []struct {
    		name     string
    		original runtime.Object
    		expected runtime.Object
    	}{
    		{
    			name: "ValidatingAdmissionPolicy",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:09 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. src/net/http/pattern_test.go

    	return p
    }
    
    func TestCompareMethods(t *testing.T) {
    	for _, test := range []struct {
    		p1, p2 string
    		want   relationship
    	}{
    		{"/", "/", equivalent},
    		{"GET /", "GET /", equivalent},
    		{"HEAD /", "HEAD /", equivalent},
    		{"POST /", "POST /", equivalent},
    		{"GET /", "POST /", disjoint},
    		{"GET /", "/", moreSpecific},
    		{"HEAD /", "/", moreSpecific},
    		{"GET /", "HEAD /", moreGeneral},
    	} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 16:36:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

           * TODO(cpovirk): consider no longer running these equivalent() tests on every Equivalence,
           * since the Equivalence base type now implements this logic itself
           */
          assertTrue(item + " must be inequivalent to null", !equivalence.equivalent(item, null));
          assertTrue("null must be inequivalent to " + item, !equivalence.equivalent(null, item));
          assertTrue(item + " must be equivalent to itself", equivalence.equivalent(item, item));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/EquivalenceTester.java

           * TODO(cpovirk): consider no longer running these equivalent() tests on every Equivalence,
           * since the Equivalence base type now implements this logic itself
           */
          assertTrue(item + " must be inequivalent to null", !equivalence.equivalent(item, null));
          assertTrue("null must be inequivalent to " + item, !equivalence.equivalent(null, item));
          assertTrue(item + " must be equivalent to itself", equivalence.equivalent(item, item));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. src/go/doc/testdata/testing.2.golden

    TYPES
    	// B is a type passed to Benchmark functions to manage benchmark ...
    	type B struct {
    		N int
    		// contains filtered or unexported fields
    	}
    
    	// Error is equivalent to Log() followed by Fail(). 
    	func (c *B) Error(args ...any)
    
    	// Errorf is equivalent to Logf() followed by Fail(). 
    	func (c *B) Errorf(format string, args ...any)
    
    	// Fail marks the function as having failed but continues ...
    	func (c *B) Fail()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/ValueGraph.java

       * @since 24.0
       */
      @Override
      Set<EndpointPair<N>> incidentEdges(N node);
    
      /**
       * Returns the count of {@code node}'s incident edges, counting self-loops twice (equivalently,
       * the number of times an edge touches {@code node}).
       *
       * <p>For directed graphs, this is equal to {@code inDegree(node) + outDegree(node)}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ComparisonChain.java

     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/CommonObjectUtilitiesExplained#comparecompareto">{@code
     * ComparisonChain}</a>.
     *
     * <h4 id="java8">Java 8+ equivalents</h4>
     *
     * If you are using Java version 8 or greater, you should generally use the static methods in {@link
     * Comparator} instead of {@code ComparisonChain}. The example above can be implemented like this:
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 21 17:28:11 UTC 2022
    - 11.2K bytes
    - Viewed (0)
Back to top