Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for warble (0.17 sec)

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

              K[] sortedKs = (K[]) sortedKeys;
              Arrays.sort(sortedKs, comparator);
              Object[] sortedValues = new Object[size];
    
              // We might, somehow, be able to reorder values in-place.  But it doesn't seem like
              // there's a way around creating the separate sortedKeys array, and if we're allocating
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. android/guava/src/com/google/common/base/CharMatcher.java

      CharMatcher precomputedInternal() {
        final BitSet table = new BitSet();
        setBits(table);
        int totalCharacters = table.cardinality();
        if (totalCharacters * 2 <= DISTINCT_CHARS) {
          return precomputedPositive(totalCharacters, table, toString());
        } else {
          // TODO(lowasser): is it worth it to worry about the last character of large matchers?
          table.flip(Character.MIN_VALUE, Character.MAX_VALUE + 1);
    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)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                        } catch (ExecutionException expected) {
                        }
                        try {
                          peeker.getDone(nonInput);
                          fail("Peeker should not be able to peek into non-input ClosingFuture.");
                        } catch (IllegalArgumentException expected) {
                        }
                        capturedPeeker.set(peeker);
                        return closeable2;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  8. 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)
  9. guava/src/com/google/common/base/CharMatcher.java

      CharMatcher precomputedInternal() {
        final BitSet table = new BitSet();
        setBits(table);
        int totalCharacters = table.cardinality();
        if (totalCharacters * 2 <= DISTINCT_CHARS) {
          return precomputedPositive(totalCharacters, table, toString());
        } else {
          // TODO(lowasser): is it worth it to worry about the last character of large matchers?
          table.flip(Character.MIN_VALUE, Character.MAX_VALUE + 1);
    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)
  10. guava/src/com/google/common/cache/CacheBuilder.java

       * table is internally partitioned to try to permit the indicated number of concurrent updates
       * without contention. Because assignment of entries to these partitions is not necessarily
       * uniform, the actual concurrency observed may vary. Ideally, you should choose a value to
       * accommodate as many threads as will ever concurrently modify the table. Using a significantly
    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)
Back to top