Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 257 for segondas (0.1 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        dispatcher.enqueueResponse(
          MockResponse.Builder()
            .bodyDelay(10, TimeUnit.SECONDS)
            .body("abc")
            .build(),
        )
        dispatcher.enqueueResponse(
          MockResponse.Builder()
            .bodyDelay(10, TimeUnit.SECONDS)
            .body("def")
            .build(),
        )
        dispatcher.enqueueResponse(
          MockResponse(body = "ghi"),
        )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/QueuesTest.java

    import static java.util.concurrent.Executors.newCachedThreadPool;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Stopwatch;
    import java.util.Collection;
    import java.util.List;
    import java.util.concurrent.ArrayBlockingQueue;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. mockwebserver/README.md

        .setBody("{}");
    ```
    
    MockResponse can be used to simulate a slow network. This is useful for
    testing timeouts and interactive testing.
    
    ```java
    response.throttleBody(1024, 1, TimeUnit.SECONDS);
    ```
    
    
    #### RecordedRequest
    
    Verify requests by their method, path, HTTP version, body, and headers.
    
    ```java
    RecordedRequest request = server.takeRequest();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/DispatcherTest.kt

                try {
                  proceed.await(5, TimeUnit.SECONDS)
                } catch (e: InterruptedException) {
                  throw RuntimeException(e)
                }
                chain.proceed(chain.request())
              },
            )
            .build()
        val t1 = makeSynchronousCall(client.newCall(newRequest("http://a/3")))
        ready.await(5, TimeUnit.SECONDS)
        executor.finishJob("http://a/2")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. internal/bucket/bandwidth/monitor_test.go

    	test1Want2[BucketOptions{Name: "bucket", ReplicationARN: "arn"}] = Details{
    		LimitInBytesPerSecond:            1024 * 1024,
    		CurrentBandwidthInBytesPerSecond: (1024 * 1024) / start.Add(2*time.Second).Sub(start.Add(1*time.Second)).Seconds(),
    	}
    
    	test2Want := make(map[BucketOptions]Details)
    	test2Want[BucketOptions{Name: "bucket", ReplicationARN: "arn"}] = Details{LimitInBytesPerSecond: 1024 * 1024, CurrentBandwidthInBytesPerSecond: float64(oneMiB)}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 06 03:21:59 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http/HttpDateTest.kt

        assertThat("Thu, 01 Jan 1970 00:00:00 GMT JUNK".toHttpDateOrNull()!!.time).isEqualTo(0L)
        // Missing timezones treated as bad.
        assertThat("Thu, 01 Jan 1970 00:00:00".toHttpDateOrNull()).isNull()
        // Missing seconds treated as bad.
        assertThat("Thu, 01 Jan 1970 00:00 GMT".toHttpDateOrNull()).isNull()
        // Extra spaces treated as bad.
        assertThat("Thu,  01 Jan 1970 00:00 GMT".toHttpDateOrNull()).isNull()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

    import static com.google.common.base.StandardSystemProperty.JAVA_SPECIFICATION_VERSION;
    import static com.google.common.base.StandardSystemProperty.PATH_SEPARATOR;
    import static java.util.concurrent.TimeUnit.SECONDS;
    
    import com.google.common.collect.ImmutableList;
    import com.google.common.testing.GcFinalization;
    import java.io.Closeable;
    import java.io.File;
    import java.lang.ref.WeakReference;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. cmd/perf-tests.go

    	if delta < 0 {
    		rx = 0
    		errStr = "network disconnection issues detected"
    	}
    
    	globalNetPerfRX.Reset()
    	return madmin.NetperfNodeResult{Endpoint: "", TX: r.n / uint64(duration.Seconds()), RX: uint64(rx / delta.Seconds()), Error: errStr}
    }
    
    func siteNetperf(ctx context.Context, duration time.Duration) madmin.SiteNetPerfNodeResult {
    	r := &netperfReader{eof: make(chan struct{})}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/dependencies/sub-dependencies.md

    Esse código declara um parâmetro de consulta opcional, `q`, com o tipo `str`, e então retorna esse parâmetro.
    
    Isso é bastante simples (e não muito útil), mas irá nos ajudar a focar em como as subdependências funcionam.
    
    ## Segunda dependência, "injetável" e "dependente"
    
    Então, você pode criar uma outra função para uma dependência (um "injetável") que ao mesmo tempo declara sua própria dependência (o que faz dela um "dependente" também):
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. docs/iam/identity-management-plugin.md

    | user               | string                                  | Identifier for owner of requested credentials          |
    | maxValiditySeconds | integer (>= 900 seconds and < 365 days) | Maximum allowed expiry duration for the credentials    |
    | claims             | key-value pairs                         | Claims to be associated with the requested credentials |
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 4.2K bytes
    - Viewed (0)
Back to top