Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 130 for durations (0.26 sec)

  1. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

            val durations = JSON.parseArray(performanceTestDurationsJson.readText(StandardCharsets.UTF_8))
            val pairs = durations.flatMap { it ->
                val scenarioDurations = it as JSONObject
                val scenario = Scenario.fromTestId(scenarioDurations["scenario"] as String)
                (scenarioDurations["durations"] as JSONArray).flatMap {
                    val duration = it as JSONObject
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Feb 19 11:22:56 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/projects/CheckProject.kt

        functionalTestBucketProvider: FunctionalTestBucketProvider
    ) : Project({
        id("Check")
        name = "Check"
        val performanceTestBucketProvider = StatisticsBasedPerformanceTestBucketProvider(model, File("performance-test-durations.json"), File("performance-tests-ci.json"))
    
        params {
            param("credentialsStorageType", "credentialsJSON")
            // Disallow Web UI changes to TeamCity settings
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 03:34:53 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

    internal fun checkDuration(
      name: String,
      duration: Long,
      unit: TimeUnit,
    ): Int {
      check(duration >= 0L) { "$name < 0" }
      val millis = unit.toMillis(duration)
      require(millis <= Integer.MAX_VALUE) { "$name too large" }
      require(millis != 0L || duration <= 0L) { "$name too small" }
      return millis.toInt()
    }
    
    internal fun checkDuration(
      name: String,
      duration: Duration,
    ): Int {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/certificates/v1/generated.proto

      optional string signerName = 7;
    
      // expirationSeconds is the requested duration of validity of the issued
      // certificate. The certificate signer may issue a certificate with a different
      // validity duration so a client must check the delta between the notBefore and
      // and notAfter fields in the issued certificate to determine the actual duration.
      //
      // The v1.22+ in-tree implementations of the well-known Kubernetes signers will
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

         * will not be used and a network request will be made.
         *
         * @param maxAge a non-negative duration. This is stored and transmitted with [TimeUnit.SECONDS]
         *     precision; finer precision will be lost.
         */
        fun maxAge(maxAge: Duration) =
          apply {
            val maxAgeSeconds = maxAge.inWholeSeconds
            require(maxAgeSeconds >= 0) { "maxAge < 0: $maxAgeSeconds" }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 10K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/UtilTest.kt

    import assertk.assertions.isTrue
    import java.net.InetAddress
    import java.net.ServerSocket
    import java.net.Socket
    import java.util.concurrent.TimeUnit
    import kotlin.time.Duration.Companion.milliseconds
    import kotlin.time.Duration.Companion.nanoseconds
    import okio.buffer
    import okio.source
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.assertThrows
    
    class UtilTest {
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

          MockResponse.Builder()
            .headersDelay(500, TimeUnit.MILLISECONDS)
            .build(),
        )
        client =
          client.newBuilder()
            .readTimeout(Duration.ZERO)
            .writeTimeout(Duration.ZERO)
            .callTimeout(Duration.ofMillis(100))
            .build()
        newWebSocket()
        clientListener.assertFailure(InterruptedIOException::class.java, "timeout")
      }
    
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 35.2K bytes
    - Viewed (1)
  8. docs/sts/assume-role.md

    ## API Request Parameters
    
    ### Version
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  9. mockwebserver-junit4/src/main/kotlin/mockwebserver3/junit4/MockWebServerRule.kt

    import java.util.logging.Level
    import java.util.logging.Logger
    import mockwebserver3.MockWebServer
    import okhttp3.ExperimentalOkHttpApi
    import org.junit.rules.ExternalResource
    
    /**
     * Runs MockWebServer for the duration of a single test method.
     *
     * In Java JUnit 4 tests (ie. tests annotated `@org.junit.Test`), use this by defining a field with
     * the `@Rule` annotation:
     *
     * ```java
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 1.8K bytes
    - Viewed (1)
  10. okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt

    import assertk.assertions.isFalse
    import assertk.assertions.isNotNull
    import assertk.assertions.isTrue
    import java.io.IOException
    import java.io.InterruptedIOException
    import java.net.HttpURLConnection
    import java.time.Duration
    import java.util.concurrent.CountDownLatch
    import java.util.concurrent.TimeUnit
    import java.util.concurrent.atomic.AtomicReference
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
Back to top