- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 462 for kotlin (0.08 sec)
-
okhttp-logging-interceptor/build.gradle.kts
import com.vanniktech.maven.publish.JavadocJar import com.vanniktech.maven.publish.KotlinJvm plugins { kotlin("jvm") id("org.jetbrains.dokka") id("com.vanniktech.maven.publish.base") id("binary-compatibility-validator") } project.applyOsgi( "Export-Package: okhttp3.logging", "Automatic-Module-Name: okhttp3.logging", "Bundle-SymbolicName: com.squareup.okhttp3.logging" ) dependencies { api(projects.okhttp)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Jan 04 05:32:07 UTC 2024 - 842 bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.idn import kotlin.math.abs import kotlin.streams.toList import okio.Buffer /** Index [table] for compactness as specified by `IdnaMappingTable`. */ fun buildIdnaMappingTableData(table: SimpleIdnaMappingTable): IdnaMappingTableData {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.2K bytes - Viewed (0) -
mockwebserver-junit4/README.md
``` The `serverRule` field has a `server` field. It is an instance of `MockWebServer`. That instance will be shut down automatically after the test runs. For Kotlin, the `@JvmField` annotation is also necessary: ``` @JvmField @Rule val serverRule = MockWebServerRule()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Dec 17 15:34:10 UTC 2023 - 707 bytes - Viewed (0) -
mockwebserver-junit5/README.md
private final MockWebServer server; MyTest(MockWebServer server) { this.server = server; } @Test void test() { ... } } ``` Constructor injection is particularly concise in Kotlin: ``` class MyTest( private val server: MockWebServer ) { @Test fun test() { ... } } ``` Multiple instances can be obtained by naming additional ones: ```
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 1.3K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/SimpleProvider.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import kotlin.jvm.Throws import org.junit.jupiter.api.extension.ExtensionContext import org.junit.jupiter.params.provider.Arguments import org.junit.jupiter.params.provider.ArgumentsProvider
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/MainCommandLine.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 728 bytes - Viewed (0) -
okcurl/src/test/kotlin/okhttp3/curl/OkcurlTest.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 732 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersTest.kt
* limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isNotEqualTo import kotlin.test.Test import kotlin.test.assertFailsWith import okhttp3.Headers.Companion.headersOf import okhttp3.Headers.Companion.toHeaders class HeadersTest { @Test fun ofTrims() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.6K bytes - Viewed (0) -
build-logic-settings/build-environment/build.gradle.kts
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ plugins { `kotlin-dsl` } description = "Provides plugins for configuring build environment" group = "gradlebuild" java { toolchain { languageVersion = JavaLanguageVersion.of(17)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Oct 11 18:32:33 UTC 2024 - 862 bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpDebugLogging.kt
import java.util.logging.ConsoleHandler import java.util.logging.Handler import java.util.logging.Level import java.util.logging.LogRecord import java.util.logging.Logger import java.util.logging.SimpleFormatter import kotlin.reflect.KClass import okhttp3.internal.concurrent.TaskRunner import okhttp3.internal.http2.Http2 object OkHttpDebugLogging { // Keep references to loggers to prevent their configuration from being GC'd.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.9K bytes - Viewed (0)