Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Size (0.15 sec)

  1. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        }
      }
    
      private static <K, V> void assertSameEntries(
          List<ReferenceEntry<K, V>> expectedEntries, List<ReferenceEntry<K, V>> actualEntries) {
        int size = expectedEntries.size();
        assertEquals(size, actualEntries.size());
        for (int i = 0; i < size; i++) {
          ReferenceEntry<K, V> expectedEntry = expectedEntries.get(i);
          ReferenceEntry<K, V> actualEntry = actualEntries.get(i);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        }
      }
    
      private static <K, V> void assertSameEntries(
          List<ReferenceEntry<K, V>> expectedEntries, List<ReferenceEntry<K, V>> actualEntries) {
        int size = expectedEntries.size();
        assertEquals(size, actualEntries.size());
        for (int i = 0; i < size; i++) {
          ReferenceEntry<K, V> expectedEntry = expectedEntries.get(i);
          ReferenceEntry<K, V> actualEntry = actualEntries.get(i);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

          return head.getNextInWriteQueue() == head;
        }
    
        @Override
        public int size() {
          int size = 0;
          for (ReferenceEntry<K, V> e = head.getNextInWriteQueue();
              e != head;
              e = e.getNextInWriteQueue()) {
            size++;
          }
          return size;
        }
    
        @Override
        public void clear() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `It is wrong from beginning to end,' said the Caterpillar
    decidedly, and there was silence for some minutes.
    
      The Caterpillar was the first to speak.
    
      `What size do you want to be?' it asked.
    
      `Oh, I'm not particular as to size,' Alice hastily replied;
    `only one doesn't like changing so often, you know.'
    
      `I DON'T know,' said the Caterpillar.
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/LocalCache.java

          return head.getNextInWriteQueue() == head;
        }
    
        @Override
        public int size() {
          int size = 0;
          for (ReferenceEntry<K, V> e = head.getNextInWriteQueue();
              e != head;
              e = e.getNextInWriteQueue()) {
            size++;
          }
          return size;
        }
    
        @Override
        public void clear() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        } catch (ExecutionException expected) {
          assertThat(expected.getCause()).isInstanceOf(MyException.class);
          assertEquals(
              "Nothing should be logged", 0, aggregateFutureLogHandler.getStoredLogRecords().size());
        }
      }
    
      /** Ensure that errors are always logged. */
      public void testAllAsList_logging_error() throws Exception {
        try {
          getDone(allAsList(immediateFailedFuture(new MyError())));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Maps.java

        }
    
        @Override
        Collection<V> createValues() {
          return Collections2.transform(set, function);
        }
    
        @Override
        public int size() {
          return backingSet().size();
        }
    
        @Override
        public boolean containsKey(@CheckForNull Object key) {
          return backingSet().contains(key);
        }
    
        @Override
        @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        } catch (ExecutionException expected) {
          assertThat(expected.getCause()).isInstanceOf(MyException.class);
          assertEquals(
              "Nothing should be logged", 0, aggregateFutureLogHandler.getStoredLogRecords().size());
        }
      }
    
      /** Ensure that errors are always logged. */
      public void testAllAsList_logging_error() throws Exception {
        try {
          getDone(allAsList(immediateFailedFuture(new MyError())));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

      @Param({"0", "10", "50", "100"})
      int percent;
    
      // Whether to use a precomputed CharMatcher
      @Param("true")
      boolean precomputed;
    
      enum Size {
        DEFAULT,
        SMALL;
      }
    
      @Param Size size;
    
      // Whether to ensure there is a matching character in the first position
      // to force the trimming code to run.
      @Param("false")
      boolean forceSlow;
    
    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/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `It is wrong from beginning to end,' said the Caterpillar
    decidedly, and there was silence for some minutes.
    
      The Caterpillar was the first to speak.
    
      `What size do you want to be?' it asked.
    
      `Oh, I'm not particular as to size,' Alice hastily replied;
    `only one doesn't like changing so often, you know.'
    
      `I DON'T know,' said the Caterpillar.
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
Back to top