- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 80 for frame (0.01 seconds)
-
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt
tag: String, ) { val logger = Logger.getLogger(logger) if (configuredLoggers.add(logger)) { logger.useParentHandlers = false // log based on levels at startup to avoid logging each frame logger.level = when { Log.isLoggable(tag, Log.DEBUG) -> Level.FINE Log.isLoggable(tag, Log.INFO) -> Level.INFO else -> Level.WARNING }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Oct 25 11:16:17 GMT 2025 - 4.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt
assertThat(event.responseBody).isEqualTo(body) } assertThat(event.t.javaClass).isEqualTo(cls) assertThat(event.t.message).isEqualTo(message) } /** Expose this recorder as a frame callback and shim in "ping" events. */ fun asFrameCallback() = object : WebSocketReader.FrameCallback { override fun onReadMessage(text: String) { events.add(Message(string = text)) }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 6.8K bytes - Click Count (0) -
okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt
assertThat(decompressed.header("Content-Encoding")).isNull() assertFailsWith<IOException> { decompressed.body.string() }.also { ioe -> assertThat(ioe).hasMessage("zstd decompress failed: Unknown frame descriptor") } } @Test fun testSkipDecompressNoContentResponse() { val response = response("https://example.com/", EMPTY) { header("Content-Encoding", "zstd")
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Aug 01 06:04:22 GMT 2025 - 4.8K bytes - Click Count (1) -
cmd/untar.go
}{ { header: []byte{0x1f, 0x8b, 8}, f: formatGzip, }, { // Zstd default header. header: []byte{0x28, 0xb5, 0x2f, 0xfd}, f: formatZstd, }, { // Zstd skippable frame header. header: []byte{0x2a, 0x4d, 0x18}, f: formatZstd, }, { // LZ4 header: []byte{0x4, 0x22, 0x4d, 0x18}, f: formatLZ4, }, { // Snappy/S2 streamCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 6K bytes - Click Count (2) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
assertThat(firstFrame(logs, "HEADERS")!!, "header logged") .contains("HEADERS END_HEADERS") // While MockWebServer waits to read the client's HEADERS frame before sending the response, it // doesn't wait to read the client's DATA frame and may send a DATA frame before the client // does. So we can't assume the client's empty DATA will be logged first.
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) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt
fun maxDataLength(): Int = maxFrameSize /** * `source.length` may be longer than the max length of the variant's data frame. Implementations * must send multiple frames as necessary. * * @param source the buffer to draw bytes from. May be null if byteCount is 0. * @param byteCount must be between 0 and the minimum of `source.length` and [maxDataLength].
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed May 28 23:28:25 GMT 2025 - 11K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
} finally { service.shutdown(); } assertThat(holder.count).isEqualTo(ITERATION_COUNT); for (int length : completeLengthChecks) { // Verify that at max depth, less than one stack frame per submitted task was consumed assertThat(length - baseStackDepth).isLessThan(DIRECT_EXECUTIONS_PER_THREAD / 2); } } @SuppressWarnings("ObjectToString") // Intended behaviorCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 01:35:55 GMT 2025 - 16.2K bytes - Click Count (0) -
docs/changelogs/changelog_2x.md
* Fix: MockWebServer explicitly closes sockets. (On some Android releases, closing the input stream and output stream of a socket is not sufficient. * Fix: Buffer outgoing HTTP/2 frames to limit how many outgoing frames are created. * Fix: Avoid crashing when cache writing fails due to a full disk. * Fix: Improve caching of private responses. * Fix: Update cache-by-default response codes.Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Click Count (0) -
src/cmd/asm/internal/asm/asm.go
op := operands[next] if len(op) < 2 || op[0].ScanToken != '$' { p.errorf("TEXT %s: frame size must be an immediate constant", name) return } op = op[1:] negative := false if op[0].ScanToken == '-' { negative = true op = op[1:] } if len(op) == 0 || op[0].ScanToken != scanner.Int { p.errorf("TEXT %s: frame size must be an immediate constant", name) return }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Oct 21 15:13:08 GMT 2025 - 26.7K bytes - Click Count (0) -
android/guava/src/com/google/common/net/HttpHeaders.java
* X-Forwarded-Port}</a> header field name. * * @since 20.0 */ public static final String X_FORWARDED_PORT = "X-Forwarded-Port"; /** The HTTP {@code X-Frame-Options} header field name. */ public static final String X_FRAME_OPTIONS = "X-Frame-Options"; /** The HTTP {@code X-Powered-By} header field name. */ public static final String X_POWERED_BY = "X-Powered-By"; /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Mar 27 20:37:16 GMT 2025 - 35.4K bytes - Click Count (0)