Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2541 - 2550 of 2,564 for when (0.04 sec)

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

        assertEquals(s.substring(0, 1), matcher.trimFrom(s));
        assertEquals(1, matcher.countIn(s));
      }
    
      /**
       * Checks that expected is equals to out, and further, if in is equals to expected, then out is
       * successfully optimized to be identical to in, i.e. that "in" is simply returned.
       */
      private void assertEqualsSame(String expected, String in, String out) {
        if (expected.equals(in)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            ESSourceReader reader = new ESSourceReader(client, suggester.settings(), indexName);
            reader.setScrollSize(1000);
    
            suggester.indexer().indexFromDocument(() -> reader, 1000, 100).then(response -> {
                numObInputDoc.set(response.getNumberOfInputDocs());
                latch.countDown();
            }).error(t -> {
                t.printStackTrace();
                latch.countDown();
                fail();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

      }
    
      /*
       * TODO(cpovirk): Can we replace makeLocalCache with a call to builder.build()? Some tests may
       * need access to LocalCache APIs, but maybe we can at least make makeLocalCache use
       * builder.build() and then cast?
       */
    
      private static <K, V> LocalCache<K, V> makeLocalCache(
          CacheBuilder<? super K, ? super V> builder) {
        return new LocalCache<>(builder, null);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/LocalCacheTest.java

      }
    
      /*
       * TODO(cpovirk): Can we replace makeLocalCache with a call to builder.build()? Some tests may
       * need access to LocalCache APIs, but maybe we can at least make makeLocalCache use
       * builder.build() and then cast?
       */
    
      private static <K, V> LocalCache<K, V> makeLocalCache(
          CacheBuilder<? super K, ? super V> builder) {
        return new LocalCache<>(builder, null);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/admissionregistration/v1/generated.proto

      // +optional
      optional string url = 3;
    
      // `service` is a reference to the service for this webhook. Either
      // `service` or `url` must be specified.
      //
      // If the webhook is running within the cluster, then you should use `service`.
      //
      // +optional
      optional ServiceReference service = 1;
    
      // `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        assertWithMessage("Mixed hex case").that((int) Ints.tryParse("ffFF", 16)).isEqualTo(65535);
      }
    
      /**
       * Encodes an integer as a string with given radix, then uses {@link Ints#tryParse(String, int)}
       * to parse the result. Asserts the result is the same as what we started with.
       */
      private static void radixEncodeParseAndAssertEquals(Integer value, int radix) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals(s.substring(0, 1), matcher.trimFrom(s));
        assertEquals(1, matcher.countIn(s));
      }
    
      /**
       * Checks that expected is equals to out, and further, if in is equals to expected, then out is
       * successfully optimized to be identical to in, i.e. that "in" is simply returned.
       */
      private void assertEqualsSame(String expected, String in, String out) {
        if (expected.equals(in)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertWithMessage("Mixed hex case")
            .that(Longs.tryParse("ffFF", 16).longValue())
            .isEqualTo(65535);
      }
    
      /**
       * Encodes the long as a string with given radix, then uses {@link Longs#tryParse(String, int)} to
       * parse the result. Asserts the result is the same as what we started with.
       */
      private static void radixEncodeParseAndAssertEquals(Long value, int radix) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

            makeMap(createMapMaker().concurrencyLevel(concurrencyLevel));
        assertThat(map.segments).hasLength(segmentCount);
      }
    
      public void testSetInitialCapacity() {
        // share capacity over each segment, then round up to the nearest power of two
    
        checkInitialCapacity(1, 0, 1);
        checkInitialCapacity(1, 1, 1);
        checkInitialCapacity(1, 2, 2);
        checkInitialCapacity(1, 3, 4);
        checkInitialCapacity(1, 4, 4);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

          lastItem = tmp;
        }
        assertEquals((Integer) 30, lastItem);
      }
    
      /**
       * This tests a special case where removeAt has to trickle an element first down one level from a
       * min to a max level, then up one level above the index of the removed element. It also tests
       * that skipMe in the iterator plays nicely with forgetMeNot.
       */
      public void testIteratorInvalidatingIteratorRemove2() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
Back to top