Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 737 for State (0.23 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

        state = STATE_WRITING_REQUEST_BODY
        return ChunkedSink()
      }
    
      private fun newKnownLengthSink(): Sink {
        check(state == STATE_OPEN_REQUEST_BODY) { "state: $state" }
        state = STATE_WRITING_REQUEST_BODY
        return KnownLengthSink()
      }
    
      private fun newFixedLengthSource(length: Long): Source {
        check(state == STATE_OPEN_RESPONSE_BODY) { "state: $state" }
        state = STATE_READING_RESPONSE_BODY
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

                try {
                  lock.lock();
                  try {
                    if (state() != State.STOPPING) {
                      // This means that the state has changed since we were scheduled. This implies
                      // that an execution of runOneIteration has thrown an exception and we have
                      // transitioned to a failed state, also this means that shutDown has already
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 25.8K bytes
    - Viewed (0)
  3. 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 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

        service.startAsync().awaitRunning();
        assertEquals(State.RUNNING, service.state());
    
        service.stopAsync();
        service.stopAsync();
        assertEquals(State.TERMINATED, service.state());
        assertEquals(
            ImmutableList.of(State.STARTING, State.RUNNING, State.STOPPING, State.TERMINATED),
            listener.getStateHistory());
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
  5. tests/test_dependency_contextmanager.py

    class OtherDependencyError(Exception):
        pass
    
    
    async def asyncgen_state(state: Dict[str, str] = Depends(get_state)):
        state["/async"] = "asyncgen started"
        yield state["/async"]
        state["/async"] = "asyncgen completed"
    
    
    def generator_state(state: Dict[str, str] = Depends(get_state)):
        state["/sync"] = "generator started"
        yield state["/sync"]
        state["/sync"] = "generator completed"
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

      private static final Logger log = Logger.getLogger(AbstractFuture.class.getName());
    
      private State state;
      private V value;
      private @Nullable Future<? extends V> delegate;
      private @Nullable Throwable throwable;
      private boolean mayInterruptIfRunning;
      private List<Listener> listeners;
    
      protected AbstractFuture() {
        state = State.PENDING;
        listeners = new ArrayList<Listener>();
      }
    
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  7. docs/sts/web-identity.go

    		v.Set("redirect_uri", c.RedirectURL)
    	}
    	if len(c.Scopes) > 0 {
    		v.Set("scope", strings.Join(c.Scopes, " "))
    	}
    	v.Set("state", state)
    	v.Set("nonce", state)
    	if strings.Contains(c.Endpoint.AuthURL, "?") {
    		buf.WriteByte('&')
    	} else {
    		buf.WriteByte('?')
    	}
    	buf.WriteString(v.Encode())
    	return buf.String()
    }
    
    func main() {
    	flag.Parse()
    	if clientID == "" {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 19 09:13:33 GMT 2023
    - 7.8K bytes
    - Viewed (3)
  8. guava/src/com/google/common/base/AbstractIterator.java

        checkState(state != State.FAILED);
        switch (state) {
          case DONE:
            return false;
          case READY:
            return true;
          default:
        }
        return tryToComputeNext();
      }
    
      private boolean tryToComputeNext() {
        state = State.FAILED; // temporary pessimism
        next = computeNext();
        if (state != State.DONE) {
          state = State.READY;
          return true;
        }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Service.java

      boolean isRunning();
    
      /** Returns the lifecycle state of the service. */
      State state();
    
      /**
       * If the service is {@linkplain State#STARTING starting} or {@linkplain State#RUNNING running},
       * this initiates service shutdown and returns immediately. If the service is {@linkplain
       * State#NEW new}, it is {@linkplain State#TERMINATED terminated} without having been started nor
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  10. tests/test_dependency_normal_exceptions.py

        return {"message": "OK"}
    
    
    @pytest.fixture(autouse=True)
    def reset_state_and_db():
        global fake_database
        global state
        fake_database = initial_fake_database.copy()
        state = initial_state.copy()
    
    
    client = TestClient(app)
    
    
    def test_dependency_gets_exception():
        assert state["except"] is False
        assert state["finally"] is False
        response = client.put("/invalid-user/rick", json="Morty")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 1.9K bytes
    - Viewed (0)
Back to top