Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for tables (0.24 sec)

  1. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

              }
            }
          }
          table = newTable;
          this.count = newCount;
        }
    
        boolean replace(K key, int hash, V oldValue, V newValue) {
          lock();
          try {
            preWriteCleanup();
    
            AtomicReferenceArray<E> table = this.table;
            int index = hash & (table.length() - 1);
            E first = table.get(index);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/CharMatcher.java

      }
    
      /** Fast matcher using a {@link BitSet} table of matching characters. */
      @GwtIncompatible // used only from other GwtIncompatible code
      private static final class BitSetMatcher extends NamedFastMatcher {
    
        private final BitSet table;
    
        private BitSetMatcher(BitSet table, String description) {
          super(description);
          if (table.length() + Long.SIZE < table.size()) {
            table = (BitSet) table.clone();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/CharMatcher.java

      }
    
      /** Fast matcher using a {@link BitSet} table of matching characters. */
      @GwtIncompatible // used only from other GwtIncompatible code
      private static final class BitSetMatcher extends NamedFastMatcher {
    
        private final BitSet table;
    
        private BitSetMatcher(BitSet table, String description) {
          super(description);
          if (table.length() + Long.SIZE < table.size()) {
            table = (BitSet) table.clone();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/CacheBuilder.java

      }
    
      /**
       * Sets the minimum total size for the internal hash tables. For example, if the initial capacity
       * is {@code 60}, and the concurrency level is {@code 8}, then eight segments are created, each
       * having a hash table of size eight. Providing a large enough estimate at construction time
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Synchronized.java

          Table<R, C, V> table(Table<R, C, V> table, @CheckForNull Object mutex) {
        return new SynchronizedTable<>(table, mutex);
      }
    
      static final class SynchronizedTable<
              R extends @Nullable Object, C extends @Nullable Object, V extends @Nullable Object>
          extends SynchronizedObject implements Table<R, C, V> {
    
        SynchronizedTable(Table<R, C, V> delegate, @CheckForNull Object mutex) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MapsTest.java

        // In JDK8, table is set lazily, so it may be null.
        return table == null ? 0 : table.length;
      }
    
      public void testCapacityForLargeSizes() {
        int[] largeExpectedSizes =
            new int[] {
              Integer.MAX_VALUE / 2 - 1,
              Integer.MAX_VALUE / 2,
              Integer.MAX_VALUE / 2 + 1,
              Integer.MAX_VALUE - 1,
              Integer.MAX_VALUE
            };
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MapsTest.java

        // In JDK8, table is set lazily, so it may be null.
        return table == null ? 0 : table.length;
      }
    
      public void testCapacityForLargeSizes() {
        int[] largeExpectedSizes =
            new int[] {
              Integer.MAX_VALUE / 2 - 1,
              Integer.MAX_VALUE / 2,
              Integer.MAX_VALUE / 2 + 1,
              Integer.MAX_VALUE - 1,
              Integer.MAX_VALUE
            };
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        } catch (SecurityException e) {
          generateCancellationCauses = false;
        }
        GENERATE_CANCELLATION_CAUSES = generateCancellationCauses;
      }
    
      /**
       * Tag interface marking trusted subclasses. This enables some optimizations. The implementation
       * of this interface must also be an AbstractFuture and must not override or expose for overriding
       * any of the public methods of ListenableFuture.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Sets.java

        HashSet<E> set = newHashSet();
        Iterators.addAll(set, elements);
        return set;
      }
    
      /**
       * Returns a new hash set using the smallest initial table size that can hold {@code expectedSize}
       * elements without resizing. Note that this is not what {@link HashSet#HashSet(int)} does, but it
       * is what most users want and expect it to do.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
Back to top