Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 452 for slate (0.21 sec)

  1. android/guava-tests/test/com/google/common/collect/QueuesTest.java

        int elements = Queues.drain(q, buf, -1, MAX_VALUE, NANOSECONDS);
        assertEquals(0, elements);
        assertThat(buf).isEmpty();
    
        // Free the producer thread, and give subsequent tests a clean slate.
        q.take();
      }
    
      public void testDrain_throws() throws Exception {
        for (BlockingQueue<Object> q : blockingQueues()) {
          testDrain_throws(q);
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/QueuesTest.java

        int elements = Queues.drain(q, buf, -1, MAX_VALUE, NANOSECONDS);
        assertEquals(0, elements);
        assertThat(buf).isEmpty();
    
        // Free the producer thread, and give subsequent tests a clean slate.
        q.take();
      }
    
      public void testDrain_throws() throws Exception {
        for (BlockingQueue<Object> q : blockingQueues()) {
          testDrain_throws(q);
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/transport/Transport.java

         */
        public boolean isDisconnected () {
            return this.state == 4 || this.state == 5 || this.state == 6 || this.state == 0;
        }
    
    
        /**
         * @return whether the transport is marked failed
         */
        public boolean isFailed () {
            return this.state == 5 || this.state == 6;
        }
    
    
        /**
         * Send a request message and recieve response
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  4. 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)
  5. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

          completed.assertCompletionExpected();
          assertEquals(Thread.State.TERMINATED, thread.getState());
        }
    
        void joinSuccessfully(long timeoutMillis) {
          Uninterruptibles.joinUninterruptibly(thread, timeoutMillis, MILLISECONDS);
          completed.assertCompletionExpected();
          assertEquals(Thread.State.TERMINATED, thread.getState());
        }
    
        void joinUnsuccessfully(long timeoutMillis) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 31.7K bytes
    - Viewed (0)
  6. 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 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  7. cmd/metacache-stream_test.go

    "src/compress/bzip2/testdata/random.data.bz2", "src/compress/flate/", "src/compress/flate/deflate.go", "src/compress/flate/deflate_test.go", "src/compress/flate/deflatefast.go", "src/compress/flate/dict_decoder.go", "src/compress/flate/dict_decoder_test.go", "src/compress/flate/example_test.go", "src/compress/flate/flate_test.go", "src/compress/flate/huffman_bit_writer.go", "src/compress/flate/huffman_bit_writer_test.go", "src/compress/flate/huffman_code.go", "src/compress/flate/inflate.go", "src/c...
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 15K bytes
    - Viewed (0)
  8. 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 May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  9. 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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
  10. 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 May 05 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 11.6K bytes
    - Viewed (0)
Back to top