- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 1,059 for rval (0.02 sec)
-
okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt
class PublicSuffixListGenerator( projectRoot: Path = ".".toPath(), val fileSystem: FileSystem = FileSystem.SYSTEM, val client: OkHttpClient = OkHttpClient(), ) { private val resources = projectRoot / "okhttp/src/main/resources/okhttp3/internal/publicsuffix" private val testResources = projectRoot / "okhttp/src/test/resources/okhttp3/internal/publicsuffix" private val publicSuffixListDotDat = testResources / "public_suffix_list.dat"
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 18 01:24:38 UTC 2024 - 6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/SocketChannelTest.kt
} object Standard : SocketMode() { override fun toString(): String = "Standard" } data class TlsInstance( val provider: Provider, val protocol: Protocol, val tlsVersion: TlsVersion, val socketMode: SocketMode, val tlsExtensionMode: TlsExtensionMode, ) : SocketMode() { override fun toString(): String = "$provider/$protocol/$tlsVersion/$socketMode/$tlsExtensionMode" }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt
// Make a defensive copy and clean it up. val namesAndValues: Array<String> = arrayOf(*inputNamesAndValues) for (i in namesAndValues.indices) { require(namesAndValues[i] != null) { "Headers cannot be null" } namesAndValues[i] = inputNamesAndValues[i].trim() } // Check for malformed headers. for (i in namesAndValues.indices step 2) { val name = namesAndValues[i] val value = namesAndValues[i + 1]
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
advance(1); } public int dec_ndr_small() { int val = buf[index] & 0xFF; advance(1); return val; } public void enc_ndr_short(int s) { align(2); Encdec.enc_uint16le((short)s, buf, index); advance(2); } public int dec_ndr_short() { align(2); int val = Encdec.dec_uint16le(buf, index); advance(2); return val;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 6.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt
serverSocket?.closeQuietly() } override fun toString(): String = "MockHttp2Peer[$port]" private class OutFrame( val sequence: Int, val start: Long, val truncated: Boolean, ) class InFrame(val sequence: Int, val reader: Http2Reader) : Http2Reader.Handler { @JvmField var type = -1 var clearPrevious = false @JvmField var outFinished = false
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 8.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MediaTypeTest.kt
@Test fun testDoubleQuotesAreSpecial() { val mediaType = parse("text/plain;a=\";charset=utf-8;b=\"") assertNull(mediaType.charsetName()) } @Test fun testSingleQuotesAreNotSpecial() { val mediaType = parse("text/plain;a=';charset=utf-8;b='") assertEquals("UTF-8", mediaType.charsetName()) } @Test fun testParseWithSpecialCharacters() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLong.java
/** * Returns the result of dividing this by {@code val}. * * @since 14.0 */ public UnsignedLong dividedBy(UnsignedLong val) { return fromLongBits(UnsignedLongs.divide(value, checkNotNull(val).value)); } /** * Returns this modulo {@code val}. * * @since 14.0 */ public UnsignedLong mod(UnsignedLong val) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 22 13:09:25 UTC 2021 - 8.9K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedLong.java
/** * Returns the result of dividing this by {@code val}. * * @since 14.0 */ public UnsignedLong dividedBy(UnsignedLong val) { return fromLongBits(UnsignedLongs.divide(value, checkNotNull(val).value)); } /** * Returns this modulo {@code val}. * * @since 14.0 */ public UnsignedLong mod(UnsignedLong val) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 22 13:09:25 UTC 2021 - 8.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt
sslSocketClass: Class<in SSLSocket>, private val sslSocketFactoryClass: Class<in SSLSocketFactory>, private val paramClass: Class<*>, ) : AndroidSocketAdapter(sslSocketClass) { override fun matchesSocketFactory(sslSocketFactory: SSLSocketFactory): Boolean = sslSocketFactoryClass.isInstance(sslSocketFactory) override fun trustManager(sslSocketFactory: SSLSocketFactory): X509TrustManager? { val context: Any? = readFieldOrNull(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt
import org.junit.jupiter.api.extension.RegisterExtension import org.junit.jupiter.api.fail class ExecuteAsyncTest { @RegisterExtension val clientTestRule = OkHttpClientTestRule() private var client = clientTestRule.newClientBuilder().build() private lateinit var server: MockWebServer val request by lazy { Request(server.url("/")) } @BeforeEach fun setup(server: MockWebServer) { this.server = server }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 18 01:24:38 UTC 2024 - 5.4K bytes - Viewed (0)