- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 676 for fun (0.05 seconds)
-
okhttp/api/jvm/okhttp.api
public fun close ()V public final fun delete ()V public final fun directory ()Ljava/io/File; public final fun directoryPath ()Lokio/Path; public final fun evictAll ()V public fun flush ()V public final fun hitCount ()I public final fun initialize ()V public final fun isClosed ()Z public static final fun key (Lokhttp3/HttpUrl;)Ljava/lang/String; public final fun maxSize ()J public final fun networkCount ()I
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 72.3K bytes - Click Count (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt
} override fun requestHeadersEnd( call: Call, request: Request, ) { logWithTime("requestHeadersEnd") } override fun requestBodyStart(call: Call) { logWithTime("requestBodyStart") } override fun requestBodyEnd( call: Call, byteCount: Long, ) { logWithTime("requestBodyEnd: byteCount=$byteCount") } override fun requestFailed(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Oct 06 13:40:20 GMT 2025 - 5.8K bytes - Click Count (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt
} fun clearHeaders() = apply { headersBuilder = Headers.Builder() } fun addHeader(header: String) = apply { headersBuilder.add(header) } fun addHeader( name: String, value: Any, ) = apply { headersBuilder.add(name, value.toString()) } fun addHeaderLenient( name: String, value: Any,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 7.1K bytes - Click Count (1) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt
} override fun isDefaultValue(value: CookieJar): Boolean = value === CookieJar.NO_COOKIES } object CacheOverride : Override<Cache?> { override fun Interceptor.Chain.value(): Cache? = cache override fun Interceptor.Chain.withOverride(value: Cache?): Interceptor.Chain = withCache(value)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 11 02:37:00 GMT 2026 - 28.8K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt
private fun getSinceJavaClassVisitorFor(classSimpleName: String) = object : SinceVisitor() { override fun visit(declaration: ClassOrInterfaceDeclaration, arg: Unit?): SinceTagStatus? = declaration.getSinceIfMatchesName(classSimpleName) ?: super.visit(declaration, arg) override fun visit(declaration: AnnotationDeclaration, arg: Unit?): SinceTagStatus? =
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jun 06 17:52:09 GMT 2025 - 6.5K bytes - Click Count (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
} @Test fun `encode primitive string`() { val buffer = Buffer() val derWriter = DerWriter(buffer) derWriter.write("test", tagClass = DerHeader.TAG_CLASS_UNIVERSAL, tag = 26L) { derWriter.writeOctetString("Jones".encodeUtf8()) } assertThat(buffer.readByteString()).isEqualTo("1A054A6F6E6573".decodeHex()) } @Test fun `decode implicit prefixed type`() {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 31.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt
} } private fun nextEvent(): Any = events.poll(10, TimeUnit.SECONDS) ?: throw AssertionError("Timed out waiting for event.") fun assertTextMessage(payload: String?) { assertThat(nextEvent()).isEqualTo(Message(string = payload)) } fun assertBinaryMessage(payload: ByteString?) { assertThat(nextEvent()).isEqualTo(Message(payload)) } fun assertPing(payload: ByteString) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 6.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 49.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/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() } } @BeforeEach fun setUp() { if (filesystem.exists(cacheDir)) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 59.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt
import org.junit.jupiter.api.Test class WebSocketExtensionsTest { @Test fun emptyHeader() { assertThat(parse("")).isEqualTo(WebSocketExtensions()) } @Test fun noExtensionHeader() { assertThat(WebSocketExtensions.parse(headersOf())) .isEqualTo(WebSocketExtensions()) } @Test fun emptyExtension() { assertThat(parse(", permessage-deflate"))Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 8.2K bytes - Click Count (0)