Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 64 for unbuffered (0.06 seconds)

  1. guava/src/com/google/common/io/ByteStreams.java

        byte[] buf = null;
    
        while (totalSkipped < n) {
          long remaining = n - totalSkipped;
          long skipped = skipSafely(in, remaining);
    
          if (skipped == 0) {
            // Do a buffered read since skipSafely could return 0 repeatedly, for example if
            // in.available() always returns 0 (the default).
            int skip = (int) min(remaining, BUFFER_SIZE);
            if (buf == null) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 31.1K bytes
    - Click Count (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

                Platform.get().configureTlsExtensions(sslSocket, null, protocols)
              }
    
              sslSocket.startHandshake()
    
              // Wait until after handshake to grab the buffered socket
              socket = MockWebServerSocket(sslSocket)
    
              if (protocolNegotiationEnabled) {
                val protocolString = Platform.get().getSelectedProtocol(sslSocket)
                protocol =
    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)
  3. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        assertThat(inputStream.read().toChar()).isEqualTo('A')
        call.cancel()
        assertFailsWith<IOException> {
          // Reading 'B' may succeed if it's buffered.
          inputStream.read()
    
          // But 'C' shouldn't be buffered (the response is throttled) and this should fail.
          inputStream.read()
        }
        inputStream.close()
      }
    
      @Test
    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)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

        bytesIn.writeByte(0x20) // Dynamic table size update (size = 0).
        bytesIn.writeByte(0x82) // == Indexed - Add ==
        // idx = 2 -> :method: GET
        hpackReader!!.readHeaders()
    
        // Not buffered in header table.
        assertThat(hpackReader!!.headerCount).isEqualTo(0)
        assertThat(hpackReader!!.getAndResetHeaderList()).isEqualTo(
          headerEntries(":method", "GET"),
        )
      }
    
      @Test
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 38.6K bytes
    - Click Count (0)
  5. docs/recipes.md

    Here we `POST` a request body as a stream. The content of this request body is being generated as it's being written. This example streams directly into the [Okio](https://github.com/square/okio) buffered sink. Your programs may prefer an `OutputStream`, which you can get from `BufferedSink.outputStream()`.
    
    === ":material-language-kotlin: Kotlin"
        ```kotlin
          private val client = OkHttpClient()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 47.8K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

          out.writeUtf8("square")
          out.flush()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("stream was reset: CANCEL")
        }
        // Close throws because buffered data wasn't flushed.
        assertFailsWith<IOException> {
          out.close()
        }
        assertThat(connection.openStreamCount()).isEqualTo(0)
    
        // Verify the peer received what was expected.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 75.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      /** Number of (unsynchronized) retries in the containsValue method. */
      static final int CONTAINS_VALUE_RETRIES = 3;
    
      /**
       * Number of cache access operations that can be buffered per segment before the cache's recency
       * ordering information is updated. This is used to avoid lock contention by recording a memento
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 89.9K bytes
    - Click Count (0)
  8. guava/src/com/google/common/cache/LocalCache.java

      /** Number of (unsynchronized) retries in the containsValue method. */
      static final int CONTAINS_VALUE_RETRIES = 3;
    
      /**
       * Number of cache access operations that can be buffered per segment before the cache's recency
       * ordering information is updated. This is used to avoid lock contention by recording a memento
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 19:35:11 GMT 2025
    - 148.9K bytes
    - Click Count (0)
  9. CHANGELOG/CHANGELOG-1.10.md

    * Fixed potential deadlock when deleting CustomResourceDefinition for custom resources with finalizers. ([#60542](https://github.com/kubernetes/kubernetes/pull/60542), [@liggitt](https://github.com/liggitt))
    
    * A buffered audit backend can be used with other audit backends. ([#60076](https://github.com/kubernetes/kubernetes/pull/60076), [@crassirostris](https://github.com/crassirostris))
    
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Thu May 05 13:44:43 GMT 2022
    - 341.8K bytes
    - Click Count (0)
  10. CHANGELOG/CHANGELOG-1.23.md

    - JSON log output is configurable and now supports writing info messages to stdout and error messages to stderr. Info messages can be buffered in memory. The default is to write both to stdout without buffering, as before. ([#104873](https://github.com/kubernetes/kubernetes/pull/104873), [@pohly](https://github.com/pohly))
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Tue Feb 28 21:06:52 GMT 2023
    - 424.5K bytes
    - Click Count (0)
Back to Top