Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 289 for true (0.15 sec)

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

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A hash-based implementation of {@link ImmutableMap}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(serializable = true, emulated = true)
    @ElementTypesAreNonnullByDefault
    final class RegularImmutableMap<K, V> extends ImmutableMap<K, V> {
      private static final byte ABSENT = -1;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/LongMath.java

          return false;
        }
        if (n < 17 * 17) {
          return true;
        }
    
        for (long[] baseSet : millerRabinBaseSets) {
          if (n <= baseSet[0]) {
            for (int i = 1; i < baseSet.length; i++) {
              if (!MillerRabinTester.test(baseSet[i], n)) {
                return false;
              }
            }
            return true;
          }
        }
        throw new AssertionError();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Collections2.java

        }
      }
    
      /**
       * Returns {@code true} if the collection {@code self} contains all of the elements in the
       * collection {@code c}.
       *
       * <p>This method iterates over the specified collection {@code c}, checking each element returned
       * by the iterator in turn to see if it is contained in the specified collection {@code self}. If
       * all elements are so contained, {@code true} is returned, otherwise {@code false}.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          remove(key);
          return true;
        }
        return false;
      }
    
      @Override
      public boolean replace(K key, V oldValue, V newValue) {
        if (oldValue.equals(get(key))) {
          alertListenerIfPresent(key, oldValue, RemovalCause.REPLACED);
          put(key, newValue);
          return true;
        }
        return false;
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/DiscreteDomain.java

      }
    
      private static final class IntegerDomain extends DiscreteDomain<Integer> implements Serializable {
        private static final IntegerDomain INSTANCE = new IntegerDomain();
    
        IntegerDomain() {
          super(true);
        }
    
        @Override
        @CheckForNull
        public Integer next(Integer value) {
          int i = value;
          return (i == Integer.MAX_VALUE) ? null : i + 1;
        }
    
        @Override
        @CheckForNull
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#multimap">{@code Multimap}</a>.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible(serializable = true, emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class LinkedHashMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends LinkedHashMultimapGwtSerializationDependencies<K, V> {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Hashing.java

       *
       * @since 31.0
       */
      public static HashFunction murmur3_32_fixed(int seed) {
        return new Murmur3_32HashFunction(seed, /* supplementaryPlaneFix= */ true);
      }
    
      /**
       * Returns a hash function implementing the <a
       * href="https://github.com/aappleby/smhasher/blob/master/src/MurmurHash3.cpp">32-bit murmur3
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

          boolean toArrayCalled = false;
    
          @Override
          public Object[] toArray() {
            toArrayCalled = true;
            return super.toArray();
          }
    
          @Override
          public <T> T[] toArray(T[] a) {
            toArrayCalled = true;
            return super.toArray(a);
          }
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

     * @author Louis Wasserman
     * @since 2.0 (implements {@code NavigableSet} since 12.0)
     */
    // TODO(benyu): benchmark and optimize all creation paths, which are a mess now
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial") // we're overriding default serialization
    @ElementTypesAreNonnullByDefault
    public abstract class ImmutableSortedSet<E> extends ImmutableSet<E>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

        @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
        private void workOnQueue() {
          boolean interruptedDuringTask = false;
          boolean hasSetRunning = false;
          try {
            while (true) {
              synchronized (queue) {
                // Choose whether this thread will run or not after acquiring the lock on the first
                // iteration
                if (!hasSetRunning) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
Back to top