- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 106 for Consume (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt
result.write(this, i) // Consume '"'. readByte() return result.readUtf8() } if (size == i + 1L) return null // Dangling escape. result.write(this, i) // Consume '\'. readByte() result.write(this, 1L) // The escaped character. } } /** * Consumes and returns a non-empty token, terminating at special characters in
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 7.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt
if (pos == value.length || value[pos] == ',' || value[pos] == ';') { pos++ // Consume ',' or ';' (if necessary). parameter = null } else { pos++ // Consume '='. pos = value.indexOfNonWhitespace(pos) if (pos < value.length && value[pos] == '\"') { // Quoted string. pos++ // Consume '"' open quote. val parameterStart = pos
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 7.3K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
// Note that this may be be an encoded "end of data" header. return DerHeader(tagClass, tag, constructed, length) } /** * Consume a header and execute [block], which should consume the entire value described by the * header. It is an error to not consume a full value in [block]. */ internal inline fun <T> read( name: String?, block: (DerHeader) -> T, ): T {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.5K bytes - Click Count (0) -
docs/en/docs/deployment/concepts.md
And if your remote server or virtual machine only has 3 GB of RAM, trying to load more than 4 GB of RAM will cause problems. 🚨 ### Multiple Processes - An Example { #multiple-processes-an-example }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 18.5K bytes - Click Count (1) -
docs/features/events.md
System.out.println("REQUEST 1 (new connection)"); try (Response response = client.newCall(request).execute()) { // Consume and discard the response body. response.body().source().readByteString(); } System.out.println("REQUEST 2 (pooled connection)"); try (Response response = client.newCall(request).execute()) { // Consume and discard the response body. response.body().source().readByteString(); } ```
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 7.7K bytes - Click Count (0) -
docs/en/docs/advanced/stream-data.md
In this example, we are simulating a file with `io.BytesIO`, which is a file-like object that lives only in memory, but lets us use the same interface. For example, we can iterate over it to consume its contents, as we could with a file. {* ../../docs_src/stream_data/tutorial002_py310.py ln[1:27] hl[3,12:13,25] *} /// note | Technical DetailsCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt
// Read a boundary, skipping the remainder of the preceding part as necessary. if (partCount == 0 && source.rangeEquals(0L, dashDashBoundary)) { // This is the first part. Consume "--" followed by the boundary. source.skip(dashDashBoundary.size.toLong()) } else { // This is a subsequent part or a preamble. Skip until "\r\n--" followed by the boundary. while (true) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 7.3K bytes - Click Count (0) -
docs/es/docs/deployment/manually.md
/// warning | Advertencia Uvicorn y otros servidores soportan una opción `--reload` que es útil durante el desarrollo. La opción `--reload` consume muchos más recursos, es más inestable, etc. Ayuda mucho durante el **desarrollo**, pero **no** deberÃas usarla en **producción**. /// ## Conceptos de Despliegue { #deployment-concepts }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 7K bytes - Click Count (0) -
docs/en/docs/deployment/docker.md
This way, containers consume **little resources**, an amount comparable to running the processes directly (a virtual machine would consume much more). Containers also have their own **isolated** running processes (commonly just one process), file system, and network, simplifying deployment, security, development, etc.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 28.3K bytes - Click Count (1) -
guava-tests/test/com/google/common/io/ByteSourceTest.java
new ByteProcessor<@Nullable Void>() { boolean firstCall = true; @Override public boolean processBytes(byte[] buf, int off, int len) throws IOException { assertTrue("consume() called twice", firstCall); firstCall = false; return false; } @Override public @Nullable Void getResult() { return null; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 15.6K bytes - Click Count (0)