Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for truncated (0.08 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

      public val url: HttpUrl,
      /** All headers. */
      public val headers: Headers,
      /** The body of this request, or null if it has none. This may be truncated. */
      public val body: ByteString?,
      /** The total size of the body of this request (before truncation).*/
      public val bodySize: Long,
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

            }
          }
        }
    
      override fun peekTrailers(): Headers? {
        if (trailers === TRAILERS_RESPONSE_BODY_TRUNCATED) {
          throw IOException("Trailers cannot be read because the response body was truncated")
        }
        check(state == STATE_READING_RESPONSE_BODY || state == STATE_CLOSED) {
          "Trailers cannot be read because the state is $state"
        }
        return trailers
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeRangeMap.java

                  rangeToRemove.upperBound,
                  rangeMapEntry.getUpperBound(),
                  mapEntryBelowToTruncate.getValue().getValue());
            }
            // overwrite mapEntryToTruncateBelow with a truncated range
            putRangeMapEntry(
                rangeMapEntry.getLowerBound(),
                rangeToRemove.lowerBound,
                mapEntryBelowToTruncate.getValue().getValue());
          }
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeRangeSet.java

         * affect the values.
         */
        private final Range<Cut<C>> lowerBoundWindow;
    
        /**
         * restriction is the subRangeSet view; ranges are truncated to their intersection with
         * restriction.
         */
        private final Range<C> restriction;
    
        private final NavigableMap<Cut<C>, Range<C>> rangesByLowerBound;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

       * body. If fewer than [byteCount] bytes are in the response body, the full response body is
       * returned. If more than [byteCount] bytes are in the response body, the returned value
       * will be truncated to [byteCount] bytes.
       *
       * It is an error to call this method after the body has been consumed.
       *
       * **Warning:** this method loads the requested bytes into memory. Most applications should set
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

        webServer.dispatcher =
          object : Dispatcher() {
            override fun dispatch(request: RecordedRequest): MockResponse =
              upgradeResponse(request)
                .body(Buffer().write("81".decodeHex())) // Truncated frame.
                .removeHeader("Content-Length")
                .build()
          }
        val webSocket: WebSocket = newWebSocket()
        clientListener.assertOpen()
        clientListener.assertFailure(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

            }
          };
    
      /**
       * A Throwable used to record a stack trace that illustrates an example of a specific lock
       * acquisition ordering. The top of the stack trace is truncated such that it starts with the
       * acquisition of the lock in question, e.g.
       *
       * <pre>
       * com...ExampleStackTrace: LockB -&gt; LockC
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        val ping = peer.takeFrame()
        assertThat(ping.type).isEqualTo(Http2.TYPE_PING)
      }
    
      /**
       * A server RST_STREAM shouldn't prevent the client from consuming the response body, even if it
       * follows a truncated request body.
       */
      @Test fun clientRequestBodyServerResponseBodyRstStream() {
        // Write the mocking script.
        peer.sendFrame().settings(Settings())
        peer.acceptFrame() // ACK
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        assertThat(hostnameVerifier.calls).containsExactly("verify android.com")
      }
    
      /**
       * We had a bug where OkHttp would crash if HTTP proxies returned a truncated response.
       * https://github.com/square/okhttp/issues/5727
       */
      @Test
      fun proxyUpgradeFailsWithTruncatedResponse() {
        server.enqueue(
          MockResponse
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.32.md

    - Fixed a bug in the endpoints controller that failed to reconcile the Endpoint object after it was truncated (when it received more than 1000 endpoint addresses). ([#127417](https://github.com/kubernetes/kubernetes/pull/127417), [@aojea](https://github.com/aojea)) [SIG Apps, Network and Testing]
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 13 14:49:49 UTC 2025
    - 412.3K bytes
    - Viewed (0)
Back to top