Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,315 for one (0.12 sec)

  1. guava/src/com/google/common/base/Preconditions.java

           * errorMessageTemplate parameters: It is unlikely that callers intend for their string
           * template to be null (though we do handle that case gracefully at runtime). I've left this
           * one as it is because one of our users has defined a wrapper API around Preconditions,
           * declaring a checkState method that accepts a possibly null template. So we'd need to update
           * that user first.
           */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

                            Sets.newHashSet("c", elements[0], "d"));
                      }
                    })
                .named("intersection with overlap of one")
                .withFeatures(CollectionSize.ONE, CollectionFeature.ALLOWS_NULL_VALUES)
                .createTestSuite());
    
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Preconditions.java

           * errorMessageTemplate parameters: It is unlikely that callers intend for their string
           * template to be null (though we do handle that case gracefully at runtime). I've left this
           * one as it is because one of our users has defined a wrapper API around Preconditions,
           * declaring a checkState method that accepts a possibly null template. So we'd need to update
           * that user first.
           */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

      /** Test an empty collection. */
      ZERO(0),
      /** Test a one-element collection. */
      ONE(1),
      /** Test a three-element collection. */
      SEVERAL(3),
      /*
       * TODO: add VERY_LARGE, noting that we currently assume that the fourth
       * sample element is not in any collection
       */
    
      ANY(ZERO, ONE, SEVERAL);
    
      private final Set<Feature<? super Collection>> implied;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/networking/v1/generated.proto

      // empty or missing, this rule matches all ports (traffic not restricted by port).
      // If this field is present and contains at least one item, then this rule allows
      // traffic only if the traffic matches at least one port in the list.
      // +optional
      repeated NetworkPolicyPort ports = 1;
    
      // to is a list of destinations for outgoing traffic of pods selected for this rule.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testSubList_subListAddAtIndexAffectsOriginalLargeList() {
        List<E> subList = getList().subList(2, 3);
        subList.add(0, e3());
        expectAdded(2, e3());
      }
    
      @ListFeature.Require(SUPPORTS_SET)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testSubList_subListSetAffectsOriginalLargeList() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/flowcontrol/v1beta1/generated.proto

    // at least one member of verbs matches the request, (b) at least one
    // member of apiGroups matches the request, (c) at least one member of
    // resources matches the request, and (d) either (d1) the request does
    // not specify a namespace (i.e., `Namespace==""`) and clusterScope is
    // true or (d2) the request specifies a namespace and least one member
    // of namespaces matches the request's namespace.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/flowcontrol/v1beta3/generated.proto

    // at least one member of verbs matches the request, (b) at least one
    // member of apiGroups matches the request, (c) at least one member of
    // resources matches the request, and (d) either (d1) the request does
    // not specify a namespace (i.e., `Namespace==""`) and clusterScope is
    // true or (d2) the request specifies a namespace and least one member
    // of namespaces matches the request's namespace.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/DiscreteDomain.java

        @Override
        public BigInteger next(BigInteger value) {
          return value.add(BigInteger.ONE);
        }
    
        @Override
        public BigInteger previous(BigInteger value) {
          return value.subtract(BigInteger.ONE);
        }
    
        @Override
        BigInteger offset(BigInteger origin, long distance) {
          checkNonnegative(distance, "distance");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/eventbus/EventBusTest.java

      public void testDeadEventForwarding() {
        GhostCatcher catcher = new GhostCatcher();
        bus.register(catcher);
    
        // A String -- an event for which no one has registered.
        bus.post(EVENT);
    
        List<DeadEvent> events = catcher.getEvents();
        assertEquals("One dead event should be delivered.", 1, events.size());
        assertEquals("The dead event should wrap the original event.", EVENT, events.get(0).getEvent());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
Back to top