Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for Barlow (5.16 sec)

  1. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

            .inOrder();
      }
    
      public void testAddManyPairs() {
        for (int aLow = 0; aLow < 6; aLow++) {
          for (int aHigh = 0; aHigh < 6; aHigh++) {
            for (BoundType aLowType : BoundType.values()) {
              for (BoundType aHighType : BoundType.values()) {
                if ((aLow == aHigh && aLowType == OPEN && aHighType == OPEN) || aLow > aHigh) {
                  continue;
                }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 24.3K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          RunnableExecutorPair list;
          synchronized (this) {
            if (executed) {
              return;
            }
            executed = true;
            list = runnables;
            runnables = null; // allow GC to free listeners even if this stays around for a while.
          }
          while (list != null) {
            executeListener(list.runnable, list.executor);
            list = list.next;
          }
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimap.java

          @CompatibleWith("V") @CheckForNull Object value);
    
      // Modification Operations
    
      /**
       * Stores a key-value pair in this multimap.
       *
       * <p>Some multimap implementations allow duplicate key-value pairs, in which case {@code put}
       * always adds a new key-value pair and increases the multimap size by 1. Other implementations
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     * application-specific ordering in addition to performing general cycle detection.
     *
     * <p><strong>Garbage Collection</strong>
     *
     * <p>In order to allow proper garbage collection of unused locks, the edges of the lock graph are
     * weak references.
     *
     * <p><strong>Performance</strong>
     *
    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)
  5. android/guava/src/com/google/common/collect/RegularImmutableMap.java

          return null;
        }
        int mask = tableSize - 1;
        Builder.DuplicateKey duplicateKey = null;
        if (tableSize <= BYTE_MAX_SIZE) {
          /*
           * Use 8 bits per entry. The value is unsigned to allow use up to a size of 2^8.
           *
           * The absent indicator of -1 signed becomes 2^8 - 1 unsigned, which reduces the actual max
           * size to 2^8 - 1. However, due to a load factor < 1 the limit is never approached.
    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)
  6. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

    import java.util.NoSuchElementException;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of {@code Multimap} that does not allow duplicate key-value entries and that
     * returns collections whose iterators follow the ordering in which the data was added to the
     * multimap.
     *
    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. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Base class for tests for emulated {@link AbstractFuture} that allow subclasses to swap in a
     * different "source Future" for {@link AbstractFuture#setFuture} calls.
     */
    @GwtCompatible(emulated = true)
    abstract class AbstractAbstractFutureTest extends TestCase {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

          // Runnable is executed more than once, allocate a wrapper that we know is safe to remove by
          // object identity.
          // A data structure that returned a removal handle from add() would allow eliminating this
          // allocation.
          submittedTask =
              new Runnable() {
                @Override
                public void run() {
                  task.run();
                }
    
    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)
  9. android/guava-tests/test/com/google/common/base/Utf8Test.java

    import com.google.common.collect.ImmutableList;
    import java.util.Arrays;
    import java.util.HashMap;
    import java.util.Random;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link Utf8}.
     *
     * @author Jon Perlow
     * @author Martin Buchholz
     * @author Clément Roux
     */
    @GwtCompatible(emulated = true)
    public class Utf8Test extends TestCase {
    
      private static final ImmutableList<String> ILL_FORMED_STRINGS;
    
      static {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          int oneSecWorthOfWork = rate;
          stopwatch.sleepMillis(rate * 1000);
          limiter.setRate(rate);
          long burst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
          // we allow one second worth of work to go in a burst (i.e. take less than a second)
          assertTrue(burst <= 1000);
          long afterBurst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
Back to top