Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 150 for StateT (0.08 sec)

  1. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

        @Override
        public void running() {
          ServiceManagerState state = this.state.get();
          if (state != null) {
            state.transitionService(service, STARTING, RUNNING);
          }
        }
    
        @Override
        public void stopping(State from) {
          ServiceManagerState state = this.state.get();
          if (state != null) {
            state.transitionService(service, from, STOPPING);
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ServiceManager.java

        @Override
        public void running() {
          ServiceManagerState state = this.state.get();
          if (state != null) {
            state.transitionService(service, STARTING, RUNNING);
          }
        }
    
        @Override
        public void stopping(State from) {
          ServiceManagerState state = this.state.get();
          if (state != null) {
            state.transitionService(service, from, STOPPING);
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

      static void awaitWaiting(Thread t) {
        while (true) {
          Thread.State state = t.getState();
          switch (state) {
            case RUNNABLE:
            case BLOCKED:
              Thread.yield();
              break;
            case WAITING:
              return;
            default:
              throw new AssertionError("unexpected state: " + state);
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java

    final class DirectExecutorService extends AbstractListeningExecutorService {
    
      /** Lock used whenever accessing the state variables (runningTasks, shutdown) of the executor */
      private final Object lock = new Object();
    
      /*
       * Conceptually, these two variables describe the executor being in
       * one of three states:
       *   - Active: shutdown == false
       *   - Shutdown: runningTasks > 0 and shutdown == true
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. cmd/admin-heal-ops.go

    }
    
    // LaunchNewHealSequence - launches a background routine that performs
    // healing according to the healSequence argument. For each heal
    // sequence, state is stored in the `globalAllHealState`, which is a
    // map of the heal path to `healSequence` which holds state about the
    // heal sequence.
    //
    // Heal results are persisted in server memory for
    // `keepHealSeqStateDuration`. This function also launches a
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  6. LICENSES/third_party/forked/cgroups/LICENSE

          for any such Derivative Works as a whole, provided Your use,
          reproduction, and distribution of the Work otherwise complies with
          the conditions stated in this License.
    
       5. Submission of Contributions. Unless You explicitly state otherwise,
          any Contribution intentionally submitted for inclusion in the Work
          by You to the Licensor shall be under the terms and conditions of
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Oct 31 17:42:39 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. LICENSES/third_party/forked/libcontainer/LICENSE

          for any such Derivative Works as a whole, provided Your use,
          reproduction, and distribution of the Work otherwise complies with
          the conditions stated in this License.
    
       5. Submission of Contributions. Unless You explicitly state otherwise,
          any Contribution intentionally submitted for inclusion in the Work
          by You to the Licensor shall be under the terms and conditions of
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Oct 22 13:56:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/extra-models.md

    ////
    
    ## Recap
    
    Use multiple Pydantic models and inherit freely for each case.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        assertEquals(Service.State.RUNNING, service.state());
    
        exitRun.countDown(); // the service will exit voluntarily
        executionThread.join();
    
        assertTrue(service.shutDownCalled);
        assertEquals(Service.State.TERMINATED, service.state());
    
        service.stopAsync().awaitTerminated(); // no-op
        assertEquals(Service.State.TERMINATED, service.state());
        assertTrue(service.shutDownCalled);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java

    import java.util.concurrent.Executor;
    
    /** Measures the size of AbstractFuture implementations. */
    public class AbstractFutureFootprintBenchmark {
    
      enum State {
        NOT_DONE,
        FINISHED,
        CANCELLED,
        FAILED
      }
    
      @Param State state;
      @Param Impl impl;
    
      @Param({"0", "1", "5", "10"})
      int numListeners;
    
      @Param({"0", "1", "5", "10"})
      int numThreads;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top