Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 882 for val1 (0.03 sec)

  1. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

        val response = call.execute()
        val cancelLatch = cancelLater(call, 500)
        val responseBody = response.body.byteStream()
        val buffer = ByteArray(1024)
        assertFailsWith<IOException> {
          while (responseBody.read(buffer) != -1) {
          }
        }.also { expected ->
          assertEquals(cancelMode == INTERRUPT, Thread.interrupted())
        }
        responseBody.close()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

      /** The request to send on the network, or null if this call doesn't use the network. */
      val networkRequest: Request?,
      /** The cached response to return or validate; or null if this call doesn't use a cache. */
      val cacheResponse: Response?,
    ) {
      class Factory(
        private val nowMillis: Long,
        internal val request: Request,
        private val cacheResponse: Response?,
      ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Response.kt

       */
      @get:JvmName("request") val request: Request,
      /** Returns the HTTP protocol, such as [Protocol.HTTP_1_1] or [Protocol.HTTP_1_0]. */
      @get:JvmName("protocol") val protocol: Protocol,
      /** Returns the HTTP status message. */
      @get:JvmName("message") val message: String,
      /** Returns the HTTP status code. */
      @get:JvmName("code") val code: Int,
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 06 09:38:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

    class Http2Server(
      private val baseDirectory: File,
      private val sslSocketFactory: SSLSocketFactory,
    ) : Http2Connection.Listener() {
      private fun run() {
        val serverSocket = ServerSocket(8888)
        serverSocket.reuseAddress = true
        while (true) {
          var socket: Socket? = null
          try {
            socket = serverSocket.accept()
            val sslSocket = doSsl(socket)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/UrlComponentEncodingTesterJvm.kt

        encoding: UrlComponentEncodingTester.Encoding,
        component: Component,
      ) {
        if (codePoint == '%'.code) return
        val encoded = encoding.encode(codePoint)
        val httpUrl = component.urlString(encoded).toHttpUrl()
        val uri = httpUrl.toUri()
        val toAndFromUri = uri.toHttpUrlOrNull()
        val uriStripped = uriStrippedCodePoints.indexOf(codePointString) != -1
        if (uriStripped) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

      }
    
      companion object {
        private const val NO_CHUNK_YET = -1L
    
        private const val STATE_IDLE = 0 // Idle connections are ready to write request headers.
        private const val STATE_OPEN_REQUEST_BODY = 1
        private const val STATE_WRITING_REQUEST_BODY = 2
        private const val STATE_READ_RESPONSE_HEADERS = 3
        private const val STATE_OPEN_RESPONSE_BODY = 4
        private const val STATE_READING_RESPONSE_BODY = 5
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. settings.gradle.kts

    include(":samples:unixdomainsockets")
    include(":container-tests")
    
    project(":okhttp-logging-interceptor").name = "logging-interceptor"
    
    val androidHome = System.getenv("ANDROID_HOME")
    val localProperties = Properties().apply {
      val file = File("local.properties")
      if (file.exists()) {
        load(file.inputStream())
      }
    }
    val sdkDir = localProperties.getProperty("sdk.dir")
    if ((androidHome != null || sdkDir != null) && !isKnownBrokenIntelliJ()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Apr 14 14:24:05 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. .teamcity/src/test/kotlin/PromotionProjectTests.kt

            val model = setupModelFor("release")
    
            val sanityCheck = model.findBuildTypeByName("SanityCheck")
            val steps = sanityCheck.steps.items
            val gradleBuildStep = gradleStep(steps, 0)
            gradleBuildStep.assertTasks("tasks")
        }
    
        @Test
        fun `nightly promotion build type runs three gradle invocations`() {
            val model = setupModelFor("release")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Feb 13 14:18:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt

         */
        val enableVcsTriggers: Boolean = nightlyPromotionTriggerHour != null
    
        companion object {
            private
            const val MASTER_BRANCH = "master"
    
            private
            const val RELEASE_BRANCH = "release"
    
            private
            const val EXPERIMENTAL_BRANCH = "experimental"
    
            private
            val OLD_RELEASE_PATTERN = "release(\\d+)x".toRegex()
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 26 12:59:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. internal/s3select/parquet/reader.go

    		// - fix this later.
    		value = string(val[:])
    	case int32:
    		value = int64(val)
    		if logicalType := se.GetLogicalType(); logicalType != nil {
    			if logicalType.IsSetDATE() {
    				value = sql.FormatSQLTimestamp(time.Unix(60*60*24*int64(val), 0).UTC())
    			}
    		} else if se.GetConvertedType() == parquettypes.ConvertedType_DATE {
    			value = sql.FormatSQLTimestamp(time.Unix(60*60*24*int64(val), 0).UTC())
    		}
    	case int64:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top