Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 41 for 99 (0.12 sec)

  1. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        InputStream in = new ByteArrayInputStream(PRE_FILLED_100);
        // this results in toByteArrayInternal being called when the stream is actually exhausted
        byte[] b = ByteStreams.toByteArray(in, 99);
        assertThat(b).isEqualTo(PRE_FILLED_100);
      }
    
      public void testToByteArray_withSize_givenSizeTwoSmallerThanActual() throws IOException {
        InputStream in = new ByteArrayInputStream(PRE_FILLED_100);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

        }
      }
    
      public static final class FloatsAsListTailSubListGenerator extends TestFloatListGenerator {
        @Override
        protected List<Float> create(Float[] elements) {
          Float[] prefix = {(float) 86, (float) 99};
          Float[] all = concat(prefix, elements);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      public static final class FloatsAsListMiddleSubListGenerator extends TestFloatListGenerator {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

        }
      }
    
      public static final class LongsAsListTailSubListGenerator extends TestLongListGenerator {
        @Override
        protected List<Long> create(Long[] elements) {
          Long[] prefix = {(long) 86, (long) 99};
          Long[] all = concat(prefix, elements);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      public static final class LongsAsListMiddleSubListGenerator extends TestLongListGenerator {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/ByteStreamsTest.java

        InputStream in = new ByteArrayInputStream(PRE_FILLED_100);
        // this results in toByteArrayInternal being called when the stream is actually exhausted
        byte[] b = ByteStreams.toByteArray(in, 99);
        assertThat(b).isEqualTo(PRE_FILLED_100);
      }
    
      public void testToByteArray_withSize_givenSizeTwoSmallerThanActual() throws IOException {
        InputStream in = new ByteArrayInputStream(PRE_FILLED_100);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (1)
  5. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        assertEquals(null, asMap.get(3));
    
        assertEquals(Integer.valueOf(79), cache.getIfPresent(2));
        assertEquals(Integer.valueOf(79), asMap.get(2));
    
        asMap.replace(10, 100, 50);
        asMap.replace(2, 52, 99);
    
        assertEquals(Integer.valueOf(50), cache.getIfPresent(10));
        assertEquals(Integer.valueOf(50), asMap.get(10));
        assertEquals(Integer.valueOf(79), cache.getIfPresent(2));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 15K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertEquals(Integer.MAX_VALUE, queue.maximumSize);
      }
    
      public void testHeapIntact() {
        Random random = new Random(0);
        int heapSize = 99;
        int numberOfModifications = 100;
        MinMaxPriorityQueue<Integer> mmHeap =
            rawtypeToWildcard(MinMaxPriorityQueue.expectedSize(heapSize)).create();
        /*
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

       * StringBuilders (in a CharSequence[] to make it a little harder for the JVM).
       */
      @BeforeExperiment
      void setUp() {
        final long seed = 99;
        final Random rnd = new Random(seed);
        strings = new String[SAMPLES];
        for (int i = 0; i < SAMPLES; i++) {
          StringBuilder sb = new StringBuilder();
          for (int j = 0; j < charCount; j++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

      }
    
      @GwtIncompatible // unreasonably slow
      public void testEntriesIteration() {
        List<Entry<String, Integer>> addItems =
            ImmutableList.of(
                Maps.immutableEntry("foo", 99),
                Maps.immutableEntry("foo", 88),
                Maps.immutableEntry("bar", 77));
    
        for (final int startIndex : new int[] {0, 3, 5}) {
          List<Entry<String, Integer>> list =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

        // non-zero percent values result in a non-zero threshold (so we always
        // have at least one matching character).
        int threshold = ((percent * length) + 99) / 100;
        StringBuilder builder = new StringBuilder(length);
        for (int n = 0; n < length; n++) {
          builder.append(
              randomCharFrom(list.get(n) >= threshold ? NONMATCHING_CHARS : matchingChars, rand));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

        // non-zero percent values result in a non-zero threshold (so we always
        // have at least one matching character).
        int threshold = ((percent * length) + 99) / 100;
        StringBuilder builder = new StringBuilder(length);
        for (int n = 0; n < length; n++) {
          builder.append(
              randomCharFrom(list.get(n) >= threshold ? NONMATCHING_CHARS : matchingChars, rand));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
Back to top