Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for GuardedBy (0.09 sec)

  1. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.concurrent.GuardedBy;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.logging.Handler;
    import java.util.logging.LogRecord;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 20:53:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

         * tail of the queue on write.
         */
        @GuardedBy("this")
        final Queue<ReferenceEntry<K, V>> writeQueue;
    
        /**
         * A queue of elements currently in the map, ordered by access time. Elements are added to the
         * tail of the queue on access (note that writes count as accesses).
         */
        @GuardedBy("this")
        final Queue<ReferenceEntry<K, V>> accessQueue;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

        RUNNING,
      }
    
      /** Underlying executor that all submitted Runnable objects are run on. */
      private final Executor executor;
    
      @GuardedBy("queue")
      private final Deque<Runnable> queue = new ArrayDeque<>();
    
      /** see {@link WorkerRunningState} */
      @LazyInit
      @GuardedBy("queue")
      private WorkerRunningState workerRunningState = IDLE;
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/SequentialExecutor.java

        RUNNING,
      }
    
      /** Underlying executor that all submitted Runnable objects are run on. */
      private final Executor executor;
    
      @GuardedBy("queue")
      private final Deque<Runnable> queue = new ArrayDeque<>();
    
      /** see {@link WorkerRunningState} */
      @LazyInit
      @GuardedBy("queue")
      private WorkerRunningState workerRunningState = IDLE;
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java

       * one of three states:
       *   - Active: shutdown == false
       *   - Shutdown: runningTasks > 0 and shutdown == true
       *   - Terminated: runningTasks == 0 and shutdown == true
       */
      @GuardedBy("lock")
      private int runningTasks = 0;
    
      @GuardedBy("lock")
      private boolean shutdown = false;
    
      @Override
      public void execute(Runnable command) {
        startTask();
        try {
          command.run();
        } finally {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

        final L listener;
        final Executor executor;
    
        @GuardedBy("this")
        final Queue<ListenerCallQueue.Event<L>> waitQueue = Queues.newArrayDeque();
    
        @GuardedBy("this")
        final Queue<Object> labelQueue = Queues.newArrayDeque();
    
        @GuardedBy("this")
        boolean isThreadScheduled;
    
        PerListenerQueue(L listener, Executor executor) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/TearDownStack.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.collect.Lists;
    import com.google.errorprone.annotations.concurrent.GuardedBy;
    import java.util.ArrayList;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/TearDownStack.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.collect.Lists;
    import com.google.errorprone.annotations.concurrent.GuardedBy;
    import java.util.ArrayList;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java

      int length;
    
      private Segment<Object, Object> segment;
      private ReferenceEntry<Object, Object> head;
      private @Nullable ReferenceEntry<Object, Object> chain;
    
      @SuppressWarnings("GuardedBy")
      @BeforeExperiment
      void setUp() {
        LocalCache<Object, Object> cache =
            new LocalCache<>(CacheBuilder.newBuilder().concurrencyLevel(1), null);
        segment = cache.segments[0];
        chain = null;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:19:38 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/TestLogHandler.java

     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.concurrent.GuardedBy;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.logging.Handler;
    import java.util.logging.LogRecord;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 20:53:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top