- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 470 for ktlint (0.04 seconds)
-
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
@Override public void onFailure(Throwable t) {} }, directExecutor()); assertThat(called[0]).isTrue(); } // Avoid trouble with automatic mapping between JRE and Kotlin runtime classes. static class CustomRuntimeException extends RuntimeException {} public void testCatching() throws Exception { FluentFuture<?> f =Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 5.7K bytes - Click Count (0) -
.teamcity/src/test/kotlin/BuildTypeTest.kt
import common.Os import common.VersionedSettingsBranch import configurations.CompileAll import configurations.FunctionalTest import configurations.GRADLE_RUNNER_STEP_NAME import jetbrains.buildServer.configs.kotlin.DslContext import model.CIBuildModel import model.JsonBasedGradleSubprojectProvider import model.TestCoverage import model.TestType import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Aug 25 20:21:47 GMT 2025 - 5.7K bytes - Click Count (0) -
architecture/standards/0009-use-american-english.md
* **Current predominance**: The majority of existing Gradle code and documentation already uses American English * **Industry standard**: Most widely used programming languages, frameworks, and tools (Java, Kotlin, JavaScript, etc.) use American English in their APIs and documentation * **Consistency with dependencies**: Gradle's ecosystem and dependencies predominantly use American English ### Exceptions
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Nov 25 07:01:54 GMT 2025 - 3.9K bytes - Click Count (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Oct 06 22:47:06 GMT 2025 - 2.4K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt
val from = nextAddress nextAddress += count return (from until nextAddress) .map { return@map InetAddress.getByAddress( Buffer().writeInt(it.toInt()).readByteArray(), ) } } /** Allocates and returns `count` fake IPv6 addresses like [::ff00:64, ::ff00:65]. */ fun allocateIpv6(count: Int): List<InetAddress> { val from = nextAddressCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.5K bytes - Click Count (0) -
okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt
import assertk.assertions.hasMessage import assertk.assertions.isEmpty import assertk.assertions.isEqualTo import assertk.assertions.isNull import com.squareup.zstd.okio.zstdCompress import java.io.IOException import kotlin.test.assertFailsWith import okhttp3.CompressionInterceptor import okhttp3.Gzip import okhttp3.MediaType.Companion.toMediaType import okhttp3.Protocol import okhttp3.Request import okhttp3.Response
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Aug 01 06:04:22 GMT 2025 - 4.8K bytes - Click Count (1) -
docs/works_with_okhttp.md
* [Chucker](https://github.com/ChuckerTeam/chucker): An in-app HTTP inspector for Android OkHttp clients. * [Coil](https://github.com/coil-kt/coil): An image loading library for Android backed by Kotlin Coroutines. * [Communicator](https://github.com/Taig/Communicator): An OkHttp wrapper for Scala built with Android in mind.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 26 07:59:38 GMT 2025 - 3.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt
import java.net.ServerSocket import java.net.Socket import java.net.SocketException import java.util.concurrent.CompletableFuture import java.util.concurrent.RejectedExecutionException import java.util.concurrent.TimeUnit import kotlin.test.assertFailsWith import okhttp3.Call import okhttp3.Callback import okhttp3.DelegatingServerSocketFactory import okhttp3.DelegatingSocketFactory import okhttp3.OkHttpClient import okhttp3.OkHttpClientTestRule
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 18:33:48 GMT 2025 - 6.4K bytes - Click Count (0) -
architecture/standards/0008-use-nullaway.md
* IDE warnings can be misleading * Redundant null checks may increase binary size, hurt performance, and increase cognitive load for readers * Missing null checks may cause NullPointerException * Bridging with Kotlin code is polluted with platform types * Some public APIs have incorrect nullability annotations (both overly restrictive and overly permissive)
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Dec 11 10:24:40 GMT 2025 - 4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt
import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isFalse import assertk.assertions.isSameAs import assertk.assertions.isTrue import java.util.concurrent.TimeUnit import kotlin.test.assertFailsWith import okhttp3.CacheControl.Companion.parse import okhttp3.Headers.Companion.headersOf import org.junit.jupiter.api.Test class CacheControlJvmTest { @Test @Throws(Exception::class)Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 7.4K bytes - Click Count (0)