- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 657 for fun (0.03 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt
readyQueues.removeAt(i) } } } interface Backend { fun nanoTime(): Long fun coordinatorNotify(taskRunner: TaskRunner) fun coordinatorWait( taskRunner: TaskRunner, nanos: Long, ) fun <T> decorate(queue: BlockingQueue<T>): BlockingQueue<T> fun execute( taskRunner: TaskRunner, runnable: Runnable, ) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 29 00:33:04 UTC 2024 - 10.6K bytes - Viewed (0) -
build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt
private fun getRelocatedPackages(files: Sequence<Path>): List<String> = mutableListOf<String>().apply { implementation.collectPackages(files.toList()).dump(false, this::add) } @Test fun `generates a curated list of package prefixes from directories`() {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Oct 11 19:14:16 UTC 2024 - 5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt
class KotlinInternalFilteringTest : AbstractBinaryCompatibilityTest() { private val internalMembers = """ internal fun foo() {} internal val bar = "bar" internal var bazar = "bazar" internal fun String.fooExt() {} internal fun Int.fooExt() {} internal val String.barExt: String get() = "bar" internal var Int.bazarExt: String
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jun 27 13:51:10 UTC 2024 - 6.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/FormBody.kt
level = DeprecationLevel.ERROR, ) fun size(): Int = size fun encodedName(index: Int): String = encodedNames[index] fun name(index: Int): String = encodedName(index).percentDecode(plusIsSpace = true) fun encodedValue(index: Int): String = encodedValues[index] fun value(index: Int): String = encodedValue(index).percentDecode(plusIsSpace = true) override fun contentType(): MediaType = CONTENT_TYPE
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 4.3K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt
private val remoteAddress: InetAddress = localAddress, private val remotePort: Int = 1234, ) : Socket() { override fun getInetAddress() = remoteAddress override fun getLocalAddress() = localAddress override fun getLocalPort() = localPort override fun getPort() = remotePort }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt
private var delegate: SocketAdapter? = null override fun isSupported(): Boolean { return true } override fun matchesSocket(sslSocket: SSLSocket): Boolean = socketAdapterFactory.matchesSocket(sslSocket) override fun configureTlsExtensions( sslSocket: SSLSocket, hostname: String?, protocols: List<Protocol>, ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt
@JvmField var headerCount = 0 @JvmField var dynamicTableByteCount = 0 fun getAndResetHeaderList(): List<Header> { val result = headerList.toList() headerList.clear() return result } fun maxDynamicTableByteCount(): Int = maxDynamicTableByteCount private fun adjustDynamicTableByteCount() { if (maxDynamicTableByteCount < dynamicTableByteCount) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 22.5K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/duplex/MockStreamHandler.kt
fun sendResponse( s: String, responseSent: CountDownLatch = CountDownLatch(0), ) = apply { actions += { stream -> stream.responseBody.writeUtf8(s) stream.responseBody.flush() responseSent.countDown() } } fun exhaustResponse() = apply { actions += { stream -> stream.responseBody.close() } } fun sleep( duration: Long, unit: TimeUnit, ) = apply {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MediaTypeJvmTest.kt
} @Test fun testUnsupportedCharset() { val mediaType = parse("text/plain; charset=utf-wtf") assertNull(mediaType.charsetName()) } @Test fun testCharsetNameIsDoubleQuotedAndSingleQuoted() { val mediaType = parse("text/plain;charset=\"'utf-8'\"") assertNull(mediaType.charsetName()) } @Test fun testCharsetNameIsDoubleQuotedSingleQuote() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/DispatcherTest.kt
.build() @BeforeEach fun setUp() { dispatcher.maxRequests = 20 dispatcher.maxRequestsPerHost = 10 listener.forbidLock(dispatcher) } @Test fun maxRequestsZero() { assertFailsWith<IllegalArgumentException> { dispatcher.maxRequests = 0 } } @Test fun maxPerHostZero() { assertFailsWith<IllegalArgumentException> {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 12.7K bytes - Viewed (0)