Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1951 - 1960 of 3,501 for final (0.04 sec)

  1. android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

        }
      }
    
      @Override
      public final void runBare() throws Throwable {
        try {
          setUp();
          runTest();
        } finally {
          tearDown();
        }
      }
    
      @Override
      protected void tearDown() {
        stack.runTearDown();
      }
    
      static final Exception EXCEPTION = new Exception();
    
      static class ExampleClassUnderTest {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/SingletonImmutableSet.java

    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    @ElementTypesAreNonnullByDefault
    final class SingletonImmutableSet<E> extends ImmutableSet<E> {
      // We deliberately avoid caching the asList and hashCode here, to ensure that with
      // compressed oops, a SingletonImmutableSet packs all the way down to the optimal 16 bytes.
    
      final transient E element;
    
      SingletonImmutableSet(E element) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CompoundOrdering.java

    /** An ordering that tries several comparators in order. */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    final class CompoundOrdering<T extends @Nullable Object> extends Ordering<T>
        implements Serializable {
      final Comparator<? super T>[] comparators;
    
      @SuppressWarnings("unchecked") // Generic array creation
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

      abstract void doSetRate(double permitsPerSecond, double stableIntervalMicros);
    
      @Override
      final double doGetRate() {
        return SECONDS.toMicros(1L) / stableIntervalMicros;
      }
    
      @Override
      final long queryEarliestAvailable(long nowMicros) {
        return nextFreeTicketMicros;
      }
    
      @Override
      final long reserveEarliestAvailable(int requiredPermits, long nowMicros) {
        resync(nowMicros);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

              assertBitEquals(x - y, z);
              assertBitEquals(x - y, aa.get(i));
            }
          }
        }
      }
    
      static final long COUNTDOWN = 100000;
    
      class Counter extends CheckedRunnable {
        final AtomicDoubleArray aa;
        volatile long counts;
    
        Counter(AtomicDoubleArray a) {
          aa = a;
        }
    
        @Override
        public void realRun() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/DerivedTestIteratorGenerator.java

    /**
     * Adapts a test iterable generator to give a TestIteratorGenerator.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    public final class DerivedTestIteratorGenerator<E>
        implements TestIteratorGenerator<E>, DerivedGenerator {
      private final TestSubjectGenerator<? extends Iterable<E>> collectionGenerator;
    
      public DerivedTestIteratorGenerator(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 15 13:47:32 UTC 2016
    - 1.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

        this.inputFuture = checkNotNull(inputFuture);
        this.function = checkNotNull(function);
      }
    
      @Override
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      public final void run() {
        @RetainedLocalRef ListenableFuture<? extends I> localInputFuture = inputFuture;
        @RetainedLocalRef F localFunction = function;
        if (isCancelled() | localInputFuture == null | localFunction == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedLong.java

    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    public final class UnsignedLong extends Number implements Comparable<UnsignedLong>, Serializable {
    
      private static final long UNSIGNED_MASK = 0x7fffffffffffffffL;
    
      public static final UnsignedLong ZERO = new UnsignedLong(0);
      public static final UnsignedLong ONE = new UnsignedLong(1);
      public static final UnsignedLong MAX_VALUE = new UnsignedLong(-1L);
    
      private final long value;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

      Iterator<E> elementIterator() {
        final Iterator<Map.Entry<E, Count>> backingEntries = backingMap.entrySet().iterator();
        return new Iterator<E>() {
          @CheckForNull Map.Entry<E, Count> toRemove;
    
          @Override
          public boolean hasNext() {
            return backingEntries.hasNext();
          }
    
          @Override
          @ParametricNullness
          public E next() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/UnsignedLong.java

    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    public final class UnsignedLong extends Number implements Comparable<UnsignedLong>, Serializable {
    
      private static final long UNSIGNED_MASK = 0x7fffffffffffffffL;
    
      public static final UnsignedLong ZERO = new UnsignedLong(0);
      public static final UnsignedLong ONE = new UnsignedLong(1);
      public static final UnsignedLong MAX_VALUE = new UnsignedLong(-1L);
    
      private final long value;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
Back to top