Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for 150 (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

        assertThat(pool.closeConnections(75L)).isEqualTo(75L)
        assertThat(pool.connectionCount()).isEqualTo(2)
    
        // Running at time 149, the pool returns that nothing can be evicted until time 150.
        assertThat(pool.closeConnections(149L)).isEqualTo(1L)
        assertThat(pool.connectionCount()).isEqualTo(2)
    
        // Running at time 150, the pool evicts c2.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

            // Open the circuit
            circuitBreaker.tripBreaker();
            assertEquals(SimpleCircuitBreaker.State.OPEN, circuitBreaker.getState());
    
            // Wait for timeout
            Thread.sleep(150);
    
            // Next call should transition to HALF_OPEN
            String result = circuitBreaker.call(() -> "success");
            assertEquals("success", result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

              protected void doStart() {
                super.doStart();
                // This will delay service listener execution at least 150 milliseconds
                Uninterruptibles.sleepUninterruptibly(150, MILLISECONDS);
              }
            };
        Service a =
            new NoOpDelayedService(150) {
              @Override
              protected void doStart() {
                b.startAsync();
                super.doStart();
              }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Service.java

       * immediately. A stopped service may not be restarted.
       *
       * @return this
       * @throws IllegalStateException if the service is not {@link State#NEW}
       * @since 15.0
       */
      @CanIgnoreReturnValue
      Service startAsync();
    
      /** Returns {@code true} if this service is {@linkplain State#RUNNING running}. */
      boolean isRunning();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            transaction.setMaxParameterCount(1024);
            transaction.setMaxDataCountForTest(2048);
            transaction.setParameterCount(50);
            transaction.setParameterOffset(80);
            transaction.setDataCount(150);
            transaction.setDataOffset(130);
            transaction.setSetupCount(1);
            transaction.setSetupWireFormatReturn(4);
    
            // Execute the method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/Service.java

       * immediately. A stopped service may not be restarted.
       *
       * @return this
       * @throws IllegalStateException if the service is not {@link State#NEW}
       * @since 15.0
       */
      @CanIgnoreReturnValue
      Service startAsync();
    
      /** Returns {@code true} if this service is {@linkplain State#RUNNING running}. */
      boolean isRunning();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

        val delays = mutableListOf(50.µs, 150.µs, -1L)
        redQueue.schedule("task", 100.µs) {
          log += "run@${taskFaker.nanoTime}"
          return@schedule delays.removeAt(0)
        }
    
        taskFaker.advanceUntil(0.µs)
        assertThat(log).containsExactly()
    
        taskFaker.advanceUntil(100.µs)
        assertThat(log).containsExactly("run@100000")
    
        taskFaker.advanceUntil(150.µs)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 23K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/HashCode.java

      abstract boolean equalsSameBits(HashCode that);
    
      /**
       * Creates a 32-bit {@code HashCode} representation of the given int value. The underlying bytes
       * are interpreted in little endian order.
       *
       * @since 15.0 (since 12.0 in HashCodes)
       */
      public static HashCode fromInt(int hash) {
        return new IntHashCode(hash);
      }
    
      private static final class IntHashCode extends HashCode implements Serializable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Queues.java

       * ordering.
       *
       * @since 11.0 (but the bound of {@code E} was changed from {@code Object} to {@code Comparable}
       *     in 15.0)
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      @J2ktIncompatible
      @GwtIncompatible // PriorityBlockingQueue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/ByteSource.java

       *
       * @since 15.0 (since 14.0 as {@code ByteStreams.asByteSource(byte[])}).
       */
      public static ByteSource wrap(byte[] b) {
        return new ByteArrayByteSource(b);
      }
    
      /**
       * Returns an immutable {@link ByteSource} that contains no bytes.
       *
       * @since 15.0
       */
      public static ByteSource empty() {
        return EmptyByteSource.INSTANCE;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 20:55:20 UTC 2025
    - 25.7K bytes
    - Viewed (0)
Back to top