- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for nextFrame (0.62 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
var streamErrorCode = ErrorCode.INTERNAL_ERROR var errorException: IOException? = null try { reader.readConnectionPreface(this) while (reader.nextFrame(false, this)) { } connectionErrorCode = ErrorCode.NO_ERROR streamErrorCode = ErrorCode.CANCEL } catch (e: IOException) { errorException = e
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 31.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
assertThat(synStream.headerBlock).isEqualTo(headerEntries("b", "banana")) val requestData = peer.takeFrame() assertArrayEquals("c3po".toByteArray(), requestData.data) val nextFrame = peer.takeFrame() assertThat(nextFrame.headerBlock).isEqualTo(headerEntries("e", "elephant")) } @Test fun clientCreatesStreamAndServerRepliesWithFin() { // Write the mocking script. peer.sendFrame().settings(Settings())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 75.5K bytes - Viewed (0) -
src/test/java/jcifs/AddressTest.java
String expectedNextName = "SERVER15"; when(mockAddress.nextCalledName(mockContext)).thenReturn(expectedNextName); // When String nextName = mockAddress.nextCalledName(mockContext); // Then assertEquals(expectedNextName, nextName, "Should return next called name"); // Note: nextCalledName can return null when no more names available }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0)