Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1391 - 1400 of 3,240 for size (0.02 seconds)

  1. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

                      }
                    });
    
        // To start, fill up the cache.
        // Each miss both increments the counter and causes the map to grow by one,
        // so until evictions begin, the size of the map is the greatest return
        // value seen so far
        while (cache.getUnchecked(nextRandomKey()) < maximumSize) {}
    
        requests.set(0);
        misses.set(0);
      }
    
      @Benchmark
      int time(int reps) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableTable.java

         * added.
         *
         * @throws IllegalArgumentException if duplicate key pairs were added
         * @since 31.0
         */
        public ImmutableTable<R, C, V> buildOrThrow() {
          int size = cells.size();
          switch (size) {
            case 0:
              return of();
            case 1:
              return new SingletonImmutableTable<>(getOnlyElement(cells));
            default:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Synchronized.java

        public boolean removeIf(Predicate<? super E> filter) {
          synchronized (mutex) {
            return delegate().removeIf(filter);
          }
        }
    
        @Override
        public int size() {
          synchronized (mutex) {
            return delegate().size();
          }
        }
    
        @Override
        public @Nullable Object[] toArray() {
          synchronized (mutex) {
            return delegate().toArray();
          }
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 56.9K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

          return standardRemoveAll(collection);
        }
    
        @Override
        public boolean retainAll(Collection<?> collection) {
          return standardRetainAll(collection);
        }
    
        @Override
        public int size() {
          return standardSize();
        }
    
        @Override
        public Object[] toArray() {
          return standardToArray();
        }
    
        @Override
        public <T> T[] toArray(T[] array) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/suggest/index/operations/DeletionOperations.java

     */
    public class DeletionOperations {
    
        private static final Logger logger = LogManager.getLogger(DeletionOperations.class);
    
        /** Default page size for scroll operations. */
        private static final int SCROLL_PAGE_SIZE = 500;
    
        private final Client client;
        private final SuggestSettings settings;
        private final SuggestWriter suggestWriter;
    
        /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        }
      }
    
      static char[] randomChars(Random rand, int size) {
        Set<Character> chars = new HashSet<>(size);
        for (int i = 0; i < size; i++) {
          char c;
          do {
            c = (char) rand.nextInt(Character.MAX_VALUE - Character.MIN_VALUE + 1);
          } while (chars.contains(c));
          chars.add(c);
        }
        char[] retValue = new char[chars.size()];
        int i = 0;
        for (char c : chars) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/AbstractSetMultimap.java

      }
    
      /**
       * Stores a key-value pair in the multimap.
       *
       * @param key key to store in the multimap
       * @param value value to store in the multimap
       * @return {@code true} if the method increased the size of the multimap, or {@code false} if the
       *     multimap already contained the key-value pair
       */
      @CanIgnoreReturnValue
      @Override
      public boolean put(@ParametricNullness K key, @ParametricNullness V value) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 20 13:05:10 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/AbstractSetMultimap.java

      }
    
      /**
       * Stores a key-value pair in the multimap.
       *
       * @param key key to store in the multimap
       * @param value value to store in the multimap
       * @return {@code true} if the method increased the size of the multimap, or {@code false} if the
       *     multimap already contained the key-value pair
       */
      @CanIgnoreReturnValue
      @Override
      public boolean put(@ParametricNullness K key, @ParametricNullness V value) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 20 13:05:10 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. architecture/standards/0008-use-nullaway.md

    However, the Java code we have is not fully annotated, which causes several consequences:
    * IDE warnings can be misleading
    * Redundant null checks may increase binary size, hurt performance, and increase cognitive load for readers
    * Missing null checks may cause NullPointerException
    * Bridging with Kotlin code is polluted with platform types
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 4K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

                  break;
                case EXPLICIT:
                  stats[1]++;
                  break;
                case REPLACED:
                  stats[2]++;
                  break;
                case SIZE:
                  stats[3]++;
                  break;
                default:
                  throw new IllegalStateException("No collected exceptions in GWT CacheBuilder.");
              }
            };
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
Back to Top