Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 193 for toList (0.04 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

            if (result < 0L || result > Integer.MAX_VALUE || line.isNotEmpty()) {
              throw IOException("expected an int but was \"$result$line\"")
            }
            return result.toInt()
          } catch (e: NumberFormatException) {
            throw IOException(e.message)
          }
        }
    
        /**
         * Returns true if none of the Vary headers have changed between [cachedRequest] and
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 17:41:45 GMT 2025
    - 26.8K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

              Thread.currentThread().interrupt() // Retain interrupted status.
              throw InterruptedIOException()
            }
    
            toWrite = minOf(byteCount, writeBytesMaximum - writeBytesTotal).toInt()
            toWrite = minOf(toWrite, writer.maxDataLength())
            writeBytesTotal += toWrite.toLong()
          }
    
          byteCount -= toWrite.toLong()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 31.8K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val request = server.takeRequest()
        assertThat(request.requestLine).isEqualTo("POST /foo HTTP/2")
        assertArrayEquals(postBytes, request.body?.toByteArray())
        assertThat(request.headers["Content-Length"]!!.toInt()).isEqualTo(postBytes.size)
      }
    
      @Test
      fun closeAfterFlush() {
        val postBytes = "FGHIJ".toByteArray()
        server.enqueue(MockResponse(body = "ABCDE"))
        val call =
          client.newCall(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 67.4K bytes
    - Click Count (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

                hasBody = true
                while (true) {
                  val chunkSize =
                    socket.source
                      .readUtf8LineStrict()
                      .trim()
                      .toInt(16)
                  if (chunkSize == 0) {
                    readEmptyLine(socket.source)
                    break
                  }
                  chunkSizes.add(chunkSize)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 02 20:36:00 GMT 2025
    - 40.3K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

        internal var readTimeout = 10_000
        internal var writeTimeout = 10_000
        internal var pingInterval = 0
        internal var webSocketCloseTimeout = RealWebSocket.CANCEL_AFTER_CLOSE_MILLIS.toInt()
        internal var minWebSocketMessageToCompress = RealWebSocket.DEFAULT_MINIMUM_DEFLATE_SIZE
        internal var routeDatabase: RouteDatabase? = null
        internal var taskRunner: TaskRunner? = null
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 21:55:03 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

          limit: Int,
        ): Int =
          try {
            // Canonicalize the port string to skip '\n' etc.
            val portString = input.canonicalize(pos = pos, limit = limit, encodeSet = "")
            val i = portString.toInt()
            if (i in 1..65535) i else -1
          } catch (_: NumberFormatException) {
            -1 // Invalid port.
          }
      }
    
      companion object {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 63.5K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      However, this bottle was NOT marked `poison,' so Alice ventured
    to taste it, and finding it very nice, (it had, in fact, a sort
    of mixed flavour of cherry-tart, custard, pine-apple, roast
    turkey, toffee, and hot buttered toast,) she very soon finished
    it off.
    
         *       *       *       *       *       *       *
    
             *       *       *       *       *       *
    
         *       *       *       *       *       *       *
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

                    var bytesWritten: Long = 0
                    while (bytesWritten < contentLength) {
                      val byteCount = Math.min(buffer.size.toLong(), contentLength - bytesWritten).toInt()
                      bytesWritten += byteCount.toLong()
                      sink.write(buffer, 0, byteCount)
                    }
                  }
                },
            ),
          )
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jun 21 20:36:35 GMT 2025
    - 133.2K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

          override fun writeTo(sink: BufferedSink) {
            var count = 0
            while (count < size) {
              sink.write(buffer, 0, Math.min(size - count, writeSize.toLong()).toInt())
              count += writeSize
            }
          }
        }
      }
    
      @Test
      fun emptyResponseBody() {
        server.enqueue(
          MockResponse(headers = headersOf("abc", "def")),
        )
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 147.4K bytes
    - Click Count (0)
  10. CHANGELOG/CHANGELOG-1.21.md

    - Migrate pkg/kubelet/cm/cpumanage/{topology/togit pology.go, policy_none.go, cpu_assignment.go} to structured logging ([#100163](https://github.com/kubernetes/kubernetes/pull/100163), [@lala123912](https://github.com/lala123912)) [SIG Instrumentation and Node]
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Fri Oct 14 07:03:14 GMT 2022
    - 367.3K bytes
    - Click Count (0)
Back to Top