Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 434 for equivalentTo (0.19 sec)

  1. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

      }
    
      public void testEquivalentTo() {
        Predicate<@Nullable Object> equalTo1 = Equivalence.equals().equivalentTo("1");
        assertTrue(equalTo1.apply("1"));
        assertFalse(equalTo1.apply("2"));
        assertFalse(equalTo1.apply(null));
        Predicate<@Nullable Object> isNull = Equivalence.equals().equivalentTo(null);
        assertFalse(isNull.apply("1"));
        assertFalse(isNull.apply("2"));
        assertTrue(isNull.apply(null));
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/mapper_test.go

    				}
    			}
    
    			// Verify equivalents to primary resource
    			if resources := mapper.EquivalentResourcesFor(gvr("apps", "v1", "deployments"), ""); !reflect.DeepEqual(resources, tc.ResourcesForV1Deployment) {
    				t.Errorf("diff:\n%s", cmp.Diff(tc.ResourcesForV1Deployment, resources))
    			}
    			// Verify equivalents to subresources
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/matching/matching.go

    	equivalents := o.GetEquivalentResourceMapper().EquivalentResourcesFor(attr.GetResource(), attr.GetSubresource())
    	for _, namedRule := range namedRules {
    		for _, equivalent := range equivalents {
    			if equivalent == attr.GetResource() {
    				// we have already checked the original resource
    				continue
    			}
    			attrWithOverride.resource = equivalent
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go

    		attrWithOverride := &attrWithResourceOverride{Attributes: attr}
    		equivalents := o.GetEquivalentResourceMapper().EquivalentResourcesFor(attr.GetResource(), attr.GetSubresource())
    		// honor earlier rules first
    	OuterLoop:
    		for _, r := range h.GetRules() {
    			// see if the rule matches any of the equivalent resources
    			for _, equivalent := range equivalents {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/LongAdder.java

              || (a = as[(n - 1) & hc[0]]) == null
              || !(uncontended = a.cas(v = a.value, v + x))) retryUpdate(x, hc, uncontended);
        }
      }
    
      /** Equivalent to {@code add(1)}. */
      @Override
      public void increment() {
        add(1L);
      }
    
      /** Equivalent to {@code add(-1)}. */
      public void decrement() {
        add(-1L);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/LongAdder.java

              || (a = as[(n - 1) & hc[0]]) == null
              || !(uncontended = a.cas(v = a.value, v + x))) retryUpdate(x, hc, uncontended);
        }
      }
    
      /** Equivalent to {@code add(1)}. */
      @Override
      public void increment() {
        add(1L);
      }
    
      /** Equivalent to {@code add(-1)}. */
      public void decrement() {
        add(-1L);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/LongAdder.java

              || (a = as[(n - 1) & hc[0]]) == null
              || !(uncontended = a.cas(v = a.value, v + x))) retryUpdate(x, hc, uncontended);
        }
      }
    
      /** Equivalent to {@code add(1)}. */
      @Override
      public void increment() {
        add(1L);
      }
    
      /** Equivalent to {@code add(-1)}. */
      public void decrement() {
        add(-1L);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/LongAdder.java

              || (a = as[(n - 1) & hc[0]]) == null
              || !(uncontended = a.cas(v = a.value, v + x))) retryUpdate(x, hc, uncontended);
        }
      }
    
      /** Equivalent to {@code add(1)}. */
      @Override
      public void increment() {
        add(1L);
      }
    
      /** Equivalent to {@code add(-1)}. */
      public void decrement() {
        add(-1L);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/running-builds/introduction/command_line_interface_basics.adoc

    ----
    gradle [...] --build-cache
    gradle [...] --no-build-cache
    ----
    
    Many long-form options have short-option equivalents. The following are equivalent:
    
    ----
    gradle --help
    gradle -h
    ----
    
    == Command-line usage
    
    The following sections describe the use of the Gradle command-line interface.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 18:33:11 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/BaseGraph.java

       * @since 24.0
       */
      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
    - 8.8K bytes
    - Viewed (0)
Back to top