Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 738 for State (0.14 sec)

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

                  + this
                  + " to reach a terminal state. "
                  + "Current state: "
                  + state());
        }
      }
    
      /** Checks that the current state is equal to the expected state. */
      @GuardedBy("monitor")
      private void checkCurrentState(State expected) {
        State actual = state();
        if (actual != expected) {
          if (actual == FAILED) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  2. .teamcity/pluginData/Check/plugin-settings.xml

          <states>
            <state type="buildAddedToQueue" enabled="false" />
            <state type="buildRemovedFromQueue" enabled="true" />
            <state type="buildStarted" enabled="true" />
            <state type="changesLoaded" enabled="true" />
            <state type="buildInterrupted" enabled="true" />
            <state type="beforeBuildFinish" enabled="false" />
            <state type="buildFinished" enabled="true" />
    XML
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Tue May 18 02:15:16 GMT 2021
    - 2.2K bytes
    - Viewed (0)
  3. docs_src/sql_databases_peewee/sql_app/database.py

    from contextvars import ContextVar
    
    import peewee
    
    DATABASE_NAME = "test.db"
    db_state_default = {"closed": None, "conn": None, "ctx": None, "transactions": None}
    db_state = ContextVar("db_state", default=db_state_default.copy())
    
    
    class PeeweeConnectionState(peewee._ConnectionState):
        def __init__(self, **kwargs):
            super().__setattr__("_state", db_state)
            super().__init__(**kwargs)
    
        def __setattr__(self, name, value):
    Python
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 662 bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractIterator.java

      }
    
      private boolean tryToComputeNext() {
        state = State.FAILED; // temporary pessimism
        next = computeNext();
        if (state != State.DONE) {
          state = State.READY;
          return true;
        }
        return false;
      }
    
      @CanIgnoreReturnValue // TODO(kak): Should we remove this?
      @Override
      @ParametricNullness
      public final T next() {
        if (!hasNext()) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Mar 18 02:04:10 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ServiceTest.java

    import static com.google.common.util.concurrent.Service.State.FAILED;
    import static com.google.common.util.concurrent.Service.State.NEW;
    import static com.google.common.util.concurrent.Service.State.RUNNING;
    import static com.google.common.util.concurrent.Service.State.STARTING;
    import static com.google.common.util.concurrent.Service.State.STOPPING;
    import static com.google.common.util.concurrent.Service.State.TERMINATED;
    
    import java.util.Locale;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/AbstractIterator.java

      }
    
      private boolean tryToComputeNext() {
        state = State.FAILED; // temporary pessimism
        next = computeNext();
        if (state != State.DONE) {
          state = State.READY;
          return true;
        }
        return false;
      }
    
      @CanIgnoreReturnValue // TODO(kak): Should we remove this?
      @Override
      @ParametricNullness
      public final T next() {
        if (!hasNext()) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Mar 18 02:04:10 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/MimeMap.java

            int state, t, x, i, off;
            byte ch;
            byte[] type = new byte[128];
            byte[] buf = new byte[16];
            byte[] ext = extension.toLowerCase().getBytes( "ASCII" );
    
            state = ST_START;
            t = x = i = 0;
            for( off = 0; off < inLen; off++ ) {
                ch = in[off];
                switch( state ) {
                    case ST_START:
    Java
    - Registered: Sun Apr 14 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

              public void failed(State from, Throwable failure) {
                assertEquals(State.RUNNING, from);
                assertEquals(error, failure);
                latch.countDown();
              }
            },
            directExecutor());
        service.startAsync();
        latch.await();
    
        assertEquals(0, service.numberOfTimesRunCalled.get());
        assertEquals(Service.State.FAILED, service.state());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  9. internal/grid/connection.go

    }
    
    // State is a connection state.
    type State uint32
    
    // MANUAL go:generate stringer -type=State -output=state_string.go -trimprefix=State $GOFILE
    
    const (
    	// StateUnconnected is the initial state of a connection.
    	// When the first message is sent it will attempt to connect.
    	StateUnconnected = iota
    
    Go
    - Registered: Sun Apr 07 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  10. tests/test_router_events.py

        app.include_router(router)
    
        assert state.app_startup is False
        assert state.router_startup is False
        assert state.sub_router_startup is False
        assert state.app_shutdown is False
        assert state.router_shutdown is False
        assert state.sub_router_shutdown is False
        with TestClient(app) as client:
            assert state.app_startup is True
            assert state.router_startup is True
    Python
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Wed Oct 18 12:36:40 GMT 2023
    - 3.2K bytes
    - Viewed (0)
Back to top