Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for slot (0.41 sec)

  1. android/guava/src/com/google/common/base/CharMatcher.java

      static final class Whitespace extends NamedFastMatcher {
    
        // TABLE is a precomputed hashset of whitespace characters. MULTIPLIER serves as a hash function
        // whose key property is that it maps 25 characters into the 32-slot table without collision.
        // Basically this is an opportunistic fast implementation as opposed to "good code". For most
        // other use-cases, the reduction in readability isn't worth it.
        static final String TABLE =
    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)
  2. guava-tests/test/com/google/common/collect/IteratorsTest.java

          }
        }.test();
      }
    
      @GwtIncompatible // slow (~5s)
      public void testConcatNoIteratorsYieldsEmpty() {
        new EmptyIteratorTester() {
          @Override
          protected Iterator<Integer> newTargetIterator() {
            return Iterators.concat();
          }
        }.test();
      }
    
      @GwtIncompatible // slow (~5s)
      public void testConcatOneEmptyIteratorYieldsEmpty() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/CharMatcher.java

      static final class Whitespace extends NamedFastMatcher {
    
        // TABLE is a precomputed hashset of whitespace characters. MULTIPLIER serves as a hash function
        // whose key property is that it maps 25 characters into the 32-slot table without collision.
        // Basically this is an opportunistic fast implementation as opposed to "good code". For most
        // other use-cases, the reduction in readability isn't worth it.
        static final String TABLE =
    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. android/guava/src/com/google/common/base/Preconditions.java

     * string formatting itself should not be a concern.
     *
     * <p>As with any performance concerns, you should consider profiling your code (in a production
     * environment if possible) before spending a lot of effort on tweaking a particular element.
     *
     * <h3>Other types of preconditions</h3>
     *
     * <p>Not every type of precondition failure is supported by these methods. Continue to throw
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SetsTest.java

        assertFalse(i.hasNext());
        try {
          i.next();
          fail();
        } catch (NoSuchElementException expected) {
        }
      }
    
      @GwtIncompatible // too slow for GWT
      public void testPowerSetIteration_iteratorTester() {
        ImmutableSet<Integer> elements = ImmutableSet.of(1, 2);
    
        Set<Set<Integer>> expected = newLinkedHashSet();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       * cancelled without a call to {@code cancel}, such as by calling {@code
       * setFuture(cancelledFuture)}.
       *
       * <p>Beware of completing a future while holding a lock. Its listeners may do slow work or
       * acquire other locks, risking deadlocks.
       */
      @CanIgnoreReturnValue
      @Override
      public boolean cancel(boolean mayInterruptIfRunning) {
        Object localValue = value;
        boolean rValue = false;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Synchronized.java

     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    /*
     * I have decided not to bother adding @ParametricNullness annotations in this class. Adding them is
     * a lot of busy work, and the annotation matters only when the APIs to be annotated are visible to
     * Kotlin code. In this class, nothing is publicly visible (nor exposed indirectly through a
    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)
  8. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

          }
        }.test();
      }
    
      @GwtIncompatible // slow (~5s)
      public void testConcatNoIteratorsYieldsEmpty() {
        new EmptyIteratorTester() {
          @Override
          protected Iterator<Integer> newTargetIterator() {
            return Iterators.concat();
          }
        }.test();
      }
    
      @GwtIncompatible // slow (~5s)
      public void testConcatOneEmptyIteratorYieldsEmpty() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        /** Gets the key for this entry. */
        K getKey();
    
        /** Gets the value for the entry. */
        V getValue();
      }
    
      /*
       * Note: the following classes have a lot of duplicate code. It sucks, but it saves a lot of
       * memory. If only Java had mixins!
       */
    
      /** Base class for {@link InternalEntry} implementations for strong keys. */
    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)
  10. guava/src/com/google/common/base/Preconditions.java

     * string formatting itself should not be a concern.
     *
     * <p>As with any performance concerns, you should consider profiling your code (in a production
     * environment if possible) before spending a lot of effort on tweaking a particular element.
     *
     * <h3>Other types of preconditions</h3>
     *
     * <p>Not every type of precondition failure is supported by these methods. Continue to throw
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
Back to top