Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for level (0.23 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

    import java.util.concurrent.Future;
    import java.util.concurrent.ThreadPoolExecutor;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Benchmarks for {@link ExecutionList}. */
    @VmOptions({"-Xms8g", "-Xmx8g"})
    public class ExecutionListBenchmark {
    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)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          } else {
            Helpers.assertEqualIgnoringOrder(expectedElements, targetElements);
          }
        }
      }
    
      private void recurse(int level) {
        // We're going to reuse the stimuli array 3^steps times by overwriting it
        // in a recursive loop.  Sneaky.
        if (level == stimuli.length) {
          // We've filled the array.
          compareResultsForThisListOfStimuli();
        } else {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

    import com.google.j2objc.annotations.RetainedWith;
    import java.util.ArrayDeque;
    import java.util.Deque;
    import java.util.concurrent.Executor;
    import java.util.concurrent.RejectedExecutionException;
    import java.util.logging.Level;
    import javax.annotation.CheckForNull;
    
    /**
     * Executor ensuring that all Runnables submitted are executed in order, using the provided
     * Executor, and sequentially such that no two will ever be running at the same time.
    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)
  4. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     *       <ul>
     *         <li>2 levels: average of 64ns per lock()/unlock()
     *         <li>3 levels: average of 77ns per lock()/unlock()
     *         <li>4 levels: average of 99ns per lock()/unlock()
     *         <li>5 levels: average of 103ns per lock()/unlock()
     *         <li>10 levels: average of 184ns per lock()/unlock()
     *         <li>20 levels: average of 393ns per lock()/unlock()
     *       </ul>
     * </ul>
    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/MinMaxPriorityQueue.java

        if (bubbledTo == vacated) {
          // Could not bubble toTrickle up min levels, try moving
          // it from min level to max level (or max to min level) and bubble up
          // there.
          return heap.tryCrossOverAndBubbleUp(index, vacated, toTrickle);
        } else {
          return (bubbledTo < index) ? new MoveDesc<E>(toTrickle, elementData(index)) : null;
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          throw new RuntimeException(Arrays.toString(stimuli), e);
        }
      }
    
      private void recurse(int level) {
        // We're going to reuse the stimuli array 3^steps times by overwriting it
        // in a recursive loop.  Sneaky.
        if (level == stimuli.length) {
          // We've filled the array.
          compareResultsForThisListOfStimuli();
        } else {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMaker.java

       * @throws IllegalStateException if a concurrency level was already set
       */
      @CanIgnoreReturnValue
      public MapMaker concurrencyLevel(int concurrencyLevel) {
        checkState(
            this.concurrencyLevel == UNSET_INT,
            "concurrency level was already set to %s",
            this.concurrencyLevel);
        checkArgument(concurrencyLevel > 0);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/ClassPath.java

       */
      public ImmutableSet<ClassInfo> getAllClasses() {
        return FluentIterable.from(resources).filter(ClassInfo.class).toSet();
      }
    
      /**
       * Returns all top level classes loadable from the current class path. Note that "top-level-ness"
       * is determined heuristically by class name (see {@link ClassInfo#isTopLevel}).
       */
      public ImmutableSet<ClassInfo> getTopLevelClasses() {
        return FluentIterable.from(resources)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
  9. guava-tests/test/com/google/common/collect/ListsImplTest.java

    import java.util.concurrent.CopyOnWriteArrayList;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Tests the package level *impl methods directly using various types of lists. */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class ListsImplTest extends TestCase {
    
      /** Describes how a list is modifiable */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InternetDomainName.java

       * Returns the ancestor of the current domain at the given number of levels "higher" (rightward)
       * in the subdomain list. The number of levels must be non-negative, and less than {@code N-1},
       * where {@code N} is the number of parts in the domain.
       *
       * <p>TODO: Reasonable candidate for addition to public API.
       */
      private InternetDomainName ancestor(int levels) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
Back to top