- Sort Score
- Num 10 results
- Language All
Results 421 - 430 of 693 for fun (0.01 seconds)
-
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/GradleModuleExtension.kt
companion object { const val NAME: String = "gradleModule" } @get:Nested abstract val identity: ModuleIdentity fun identity(action: ModuleIdentity.() -> Unit) { action(identity) } /** * Describes the target processes that the code in this module must be ableCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 22:40:18 GMT 2026 - 4.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
response .newBuilder() .body(responseBody) .trailers( object : TrailersSource { override fun peek() = exchange.peekTrailers() override fun get(): Headers { val source = responseBody.source() if (source.isOpen) { source.skipAll() }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 7.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt
} } private val backend = TaskRunner.RealBackend(threadFactory) private val taskRunner = TaskRunner(backend) private val queue = taskRunner.newQueue() @AfterEach fun tearDown() { backend.shutdown() } @Test fun test() { val t1 = System.nanoTime() / 1e6 val delays = mutableListOf(TimeUnit.MILLISECONDS.toNanos(1000), -1L) queue.schedule("task", TimeUnit.MILLISECONDS.toNanos(750)) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3.5K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/BufferMockResponseBody.kt
import okio.Buffer import okio.BufferedSink internal fun Buffer.toMockResponseBody(): MockResponseBody { val defensiveCopy = clone() return BufferMockResponseBody(defensiveCopy) } internal class BufferMockResponseBody( val buffer: Buffer, ) : MockResponseBody { override val contentLength = buffer.size override fun writeTo(sink: BufferedSink) { buffer.copyTo(sink.buffer)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 07 16:05:34 GMT 2024 - 1.1K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampFromBuildReceiptValueSource.kt
val buildReceiptFileContents: Property<String> } override fun obtain(): String? = parameters.run { buildReceiptString() ?.let(BuildReceipt::readBuildReceiptFromString) ?.let { buildReceipt -> buildReceipt["buildTimestamp"] as String } } override fun getDisplayName(): String = "the build timestamp extracted from the build receipt".let {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 1.9K bytes - Click Count (0) -
okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt
import okhttp3.internal.trimSubstring /** A cookie jar that delegates to a [java.net.CookieHandler]. */ class JavaNetCookieJar( private val cookieHandler: CookieHandler, ) : CookieJar { override fun saveFromResponse( url: HttpUrl, cookies: List<Cookie>, ) { val cookieStrings = mutableListOf<String>() for (cookie in cookies) { cookieStrings.add(cookieToString(cookie, true)) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Mar 19 07:46:39 GMT 2026 - 3.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt
}, ) return null } private fun awaitTcpConnect( timeout: Long, unit: TimeUnit, ): ConnectResult? { if (tcpConnectsInFlight.isEmpty()) return null val result = connectResults.poll(timeout, unit) ?: return null tcpConnectsInFlight.remove(result.plan) return result } private fun cancelInFlightConnects() { for (plan in tcpConnectsInFlight) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 5.8K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampValueSource.kt
val runningOnCi: Property<Boolean> val runningInstallTask: Property<Boolean> val runningDocsTestTask: Property<Boolean> } override fun obtain(): String? = parameters.run { if (enableConfigurationCacheForDocsTests.getOrElse(false)) { // If the CC is enabled for docs tests, use a static dummy timestamp (the Epoch) so that we get hits,Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jun 05 17:24:26 GMT 2025 - 3.7K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/ReproduciblePropertiesWriter.kt
* See [PropertiesUtils.store]. */ fun store(data: Map<String, Any>, file: File, comment: String? = null) { store(propertiesFrom(data), file, comment) } /** * Writes [Properties] to a file, but without including the timestamp comment. * * See [PropertiesUtils.store]. */ fun store(properties: Properties, file: File, comment: String? = null) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 1.6K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/SpecificHostSocketFactory.kt
/** Sets the [real] address for [requested]. */ operator fun set( requested: InetAddress, real: InetSocketAddress, ) { hostMapping[requested] = real } override fun createSocket(): Socket = object : Socket() { override fun connect( endpoint: SocketAddress?, timeout: Int, ) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.7K bytes - Click Count (0)