- Sort Score
- Result 10 results
- Languages All
Results 11 - 12 of 12 for byteArrayOf (0.07 sec)
-
okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt
.build() assert200Http2Response(execute(url), server.hostName) val sanUrl = url.newBuilder().host("san.com").build() dns["san.com"] = Arrays.asList( InetAddress.getByAddress("san.com", byteArrayOf(0, 0, 0, 0)), serverIps[0], ) assert200Http2Response(execute(sanUrl), "san.com") assertThat(client.connectionPool.connectionCount()).isEqualTo(1) assertThat(connectCount.get()).isEqualTo(1)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 18.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt
for (b in data.toByteArray()) { assertThat(b).isEqualTo(2.toByte()) } } }, ) } @Test fun dataFrameNotAssociateWithStream() { val payload = byteArrayOf(0x01, 0x02) writeMedium(frame, payload.size) frame.writeByte(Http2.TYPE_DATA) frame.writeByte(FLAG_NONE) frame.writeInt(0) frame.write(payload) assertFailsWith<IOException> {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 28.1K bytes - Viewed (0)