Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 135 for Potter (0.68 sec)

  1. guava/src/com/google/common/collect/ImmutableList.java

       *
       * <p>If {@code expectedSize} is exactly the number of elements added to the builder before {@link
       * Builder#build} is called, the builder is likely to perform better than an unsized {@link
       * #builder()} would have.
       *
       * <p>It is not specified if any performance benefits apply if {@code expectedSize} is close to,
       * but not exactly, the number of elements added to the builder.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  2. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

            // condition efficiently without _introducing_ deadlock is probably
            // tricky. For now, just accept the race condition---missing a warning
            // now and then is still better than having no deadlock detection.
            allowedPriorLocks.put(acquiredLock, new ExampleStackTrace(acquiredLock, this));
          } else {
            // Unsafe acquisition order detected. Create and cache a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Monitor.java

       *
       * <p>On the other hand, if a signalled thread wakes up to discover that its guard is still not
       * satisfied, it does *not* need to call this method before returning to wait. This can only
       * happen due to spurious wakeup (ignorable) or another thread acquiring the lock before the
       * current thread can and returning the guard to the unsatisfied state. In the latter case the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/LongMath.java

       * Each bit is set to 1 for all remainders that indicate divisibility by 2, 3, or 5, so
       * 1, 7, 11, 13, 17, 19, 23, 29 are set to 0. 30 and up don't matter because they won't be hit.
       */
      private static final int SIEVE_30 =
          ~((1 << 1) | (1 << 7) | (1 << 11) | (1 << 13) | (1 << 17) | (1 << 19) | (1 << 23)
              | (1 << 29));
    
      /**
    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)
  5. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       Guava while continuing to run it internally, as we do with many other tests. This would
     *       suffice because we our Android users and tests are using the open-source version, which
     *       would no longer have the problematic test. But why bother when we can instead strip it with
     *       a more precisely named annotation?
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java

        }
      }
    
      public void testNulls() {
        /*
         * Don't bother testing. All non-primitive parameters are used only to construct error messages.
         * We never want to pass null for them, so we haven't annotated them to say that null is
         * allowed. But at the same time, it seems wasteful to bother inserting the checkNotNull calls
         * that NullPointerTester wants.
         *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/FauxveridesTest.java

        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof MethodSignature) {
            MethodSignature other = (MethodSignature) obj;
            return name.equals(other.name)
                && parameterTypes.equals(other.parameterTypes)
                && typeSignature.equals(other.typeSignature);
          }
    
          return false;
        }
    
        @Override
        public int hashCode() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof MethodSignature) {
            MethodSignature other = (MethodSignature) obj;
            return name.equals(other.name)
                && parameterTypes.equals(other.parameterTypes)
                && typeSignature.equals(other.typeSignature);
          }
    
          return false;
        }
    
        @Override
        public int hashCode() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

     *
     * <p><b>Note:</b> This class intentionally violates the specification of its supertype {@code
     * DataOutput}, which explicitly requires big-endian byte order.
     *
     * @author Chris Nokleberg
     * @author Keith Bottner
     * @since 8.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class LittleEndianDataOutputStream extends FilterOutputStream implements DataOutput {
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Interners.java

        @Override
        public int hashCode() {
          return interner.hashCode();
        }
    
        @Override
        public boolean equals(@CheckForNull Object other) {
          if (other instanceof InternerFunction) {
            InternerFunction<?> that = (InternerFunction<?>) other;
            return interner.equals(that.interner);
          }
    
          return false;
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 5.9K bytes
    - Viewed (0)
Back to top