- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 657 for fun (0.03 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt
fun withExplicitBox( tagClass: Int = DerHeader.TAG_CLASS_CONTEXT_SPECIFIC, tag: Long, forceConstructed: Boolean? = null, ): BasicDerAdapter<T> { val codec = object : BasicDerAdapter.Codec<T> { override fun decode(reader: DerReader): T = fromDer(reader) override fun encode( writer: DerWriter, value: T,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt
private var serverSocket: ServerSocket? = null private var socket: Socket? = null fun setClient(client: Boolean) { if (this.client == client) return this.client = client writer = Http2Writer(bytesOut, client) } fun acceptFrame() { frameCount++ } /** Maximum length of an outbound data frame. */ fun maxOutboundDataLength(): Int = writer.maxDataLength()
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/HttpUrlTest.kt
fun hostnameMultipleCharacterMapping() { // Map the single character telephone symbol (℡) to the string "tel". assertThat(parse("http://\u2121").host).isEqualTo("tel") } @Test fun hostnameMappingLastMappedCodePoint() { assertThat(parse("http://\uD87E\uDE1D").host).isEqualTo("xn--pu5l") } // The java.net.IDN implementation doesn't ignore characters that it should. @Ignore @Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 67.9K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt
get() = branchName == EXPERIMENTAL_BRANCH fun vcsRootId() = DslContext.settingsRoot.id.toString() fun promoteNightlyTaskName() = nightlyTaskName("promote") fun prepNightlyTaskName() = nightlyTaskName("prep") fun promoteMilestoneTaskName(): String = when { isRelease -> "promoteReleaseMilestone" else -> "promoteMilestone" } fun promoteFinalReleaseTaskName(): String = when {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 26 12:59:03 UTC 2024 - 3.2K bytes - Viewed (0) -
okhttp-android/api/okhttp-android.api
public fun <init> (Lokhttp3/AsyncDns$DnsClass;Landroid/net/Network;)V public synthetic fun <init> (Lokhttp3/AsyncDns$DnsClass;Landroid/net/Network;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public fun query (Ljava/lang/String;Lokhttp3/AsyncDns$Callback;)V } public final class okhttp3/android/AndroidAsyncDns$Companion { public final fun getIPv4 ()Lokhttp3/android/AndroidAsyncDns;
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 11:07:32 UTC 2024 - 1.3K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
level = DeprecationLevel.ERROR, ) fun certificate(): X509Certificate = certificate @JvmName("-deprecated_keyPair") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "keyPair"), level = DeprecationLevel.ERROR, ) fun keyPair(): KeyPair = keyPair /** * Returns the certificate encoded in [PEM format][rfc_7468].
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
private fun createNewCache() { createNewCacheWithSize(Int.MAX_VALUE) } private fun createNewCacheWithSize(maxSize: Int) { cache = DiskLruCache(filesystem, cacheDir, appVersion, 2, maxSize.toLong(), taskRunner).also { toClose.add(it) } synchronized(cache) { cache.initialize() } } fun setUp( baseFilesystem: FileSystem,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 75.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt
@BeforeEach fun setUp(server: MockWebServer) { this.server = server } @Test fun connectionsAreReused() { server.enqueue(MockResponse(body = "a")) server.enqueue(MockResponse(body = "b")) val request = Request(server.url("/")) assertConnectionReused(request, request) } @Test fun connectionsAreReusedForPosts() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache2/FileOperatorTest.kt
private var file: File? = null private var randomAccessFile: RandomAccessFile? = null @BeforeEach fun setUp() { file = File(tempDir, "test") randomAccessFile = RandomAccessFile(file, "rw") } @AfterEach fun tearDown() { randomAccessFile!!.close() } @Test fun read() { write("Hello, World".encodeUtf8()) val operator = FileOperator(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.8K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
@BeforeEach fun setup(server: MockWebServer) { this.server = server } @Test fun testPlatform() { assertTrue(Platform.isAndroid) if (Build.VERSION.SDK_INT >= 29) { assertTrue(Platform.get() is Android10Platform) } else { assertTrue(Platform.get() is AndroidPlatform) } } @Test fun testRequest() { assumeNetwork()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 27K bytes - Viewed (0)