- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 563 for val2 (0.02 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
var pos = cookiePairEnd + 1 val limit = setCookie.length while (pos < limit) { val attributePairEnd = setCookie.delimiterOffset(';', pos, limit) val attributeEqualsSign = setCookie.delimiterOffset('=', pos, attributePairEnd) val attributeName = setCookie.trimSubstring(pos, attributeEqualsSign) val attributeValue = if (attributeEqualsSign < attributePairEnd) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 23.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt
class RouteSelectorTest { @RegisterExtension val platform = PlatformRule() @RegisterExtension val clientTestRule = OkHttpClientTestRule() private val dns = FakeDns() private val proxySelector = RecordingProxySelector() private val uriHost = "hosta" private val uriPort = 1003 private val factory = TestValueFactory().apply { this.dns = ******@****.***
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 20.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
peer.acceptFrame() // RST_STREAM peer.play() val connection = connect(peer) val stream1 = connection.newStream(headerEntries("b", "bark"), false) val source = stream1.source val buffer = Buffer() while (buffer.size != 1024L) source.read(buffer, 1024) stream1.close(ErrorCode.CANCEL, null) val frame1 = peer.takeFrame() assertThat(frame1.type).isEqualTo(Http2.TYPE_HEADERS)
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/main/java/jcifs/util/Hexdump.java
*/ public static void toHexChars(int val, final char dst[], final int dstIndex, int size) { while (size > 0) { final int i = dstIndex + size - 1; if (i < dst.length) { dst[i] = HEX_DIGITS[val & 0x000F]; } if (val != 0) { val >>>= 4; } size--; } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
/** * Trivial Dns Encoder/Decoder, basically ripped from Netty full implementation. */ internal object DnsRecordCodec { private const val SERVFAIL = 2 private const val NXDOMAIN = 3 const val TYPE_A = 0x0001 const val TYPE_AAAA = 0x001c private const val TYPE_PTR = 0x000c private val ASCII = Charsets.US_ASCII fun encodeQuery( host: String, type: Int, ): ByteString = Buffer() .apply {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HandshakeTest.kt
assertThat(expected).hasMessage("cipherSuite == TLS_NULL_WITH_NULL_NULL") } } class FakeSSLSession( private val protocol: String, private val cipherSuite: String, private val peerCertificates: Array<Certificate>?, private val localCertificates: Array<Certificate>?, ) : DelegatingSSLSession(null) { override fun getProtocol() = protocol
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt
companion object { const val HOSTNAME_THAT_ONLY_THE_PROXY_KNOWS = "onlyProxyCanResolveMe.org" private const val VERSION_5 = 5 private const val METHOD_NONE = 0xff private const val METHOD_NO_AUTHENTICATION_REQUIRED = 0 private const val ADDRESS_TYPE_IPV4 = 1 private const val ADDRESS_TYPE_DOMAIN_NAME = 3 private const val COMMAND_CONNECT = 1 private const val REPLY_SUCCEEDED = 0
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 7.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocksProxyTest.kt
import org.junit.jupiter.api.extension.RegisterExtension class SocksProxyTest { @RegisterExtension val platform = PlatformRule() @RegisterExtension val clientTestRule = OkHttpClientTestRule() @StartStop private val server = MockWebServer() private val socksProxy = SocksProxy() @BeforeEach fun setUp() { socksProxy.play() } @AfterEach fun tearDown() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 3.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
@Timeout(30) open class CallTest { private val fileSystem = FakeFileSystem() @RegisterExtension val platform = PlatformRule() @RegisterExtension val clientTestRule = OkHttpClientTestRule() @RegisterExtension val testLogHandler = TestLogHandler(OkHttpClient::class.java) @StartStop private val server = MockWebServer() @StartStop private val server2 = MockWebServer()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 146.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Settings.kt
private var set: Int = 0 /** Flag values. */ private val values = IntArray(COUNT) /** Returns -1 if unset. */ val headerTableSize: Int get() { val bit = 1 shl HEADER_TABLE_SIZE return if (bit and set != 0) values[HEADER_TABLE_SIZE] else -1 } val initialWindowSize: Int get() { val bit = 1 shl INITIAL_WINDOW_SIZE
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.8K bytes - Viewed (0)