- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for mapOf (0.01 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt
@Test fun ofMapThrowsOnEmptyName() { assertFailsWith<IllegalArgumentException> { mapOf("" to "OkHttp").toHeaders() } } @Test fun ofMapThrowsOnBlankName() { assertFailsWith<IllegalArgumentException> { mapOf(" " to "OkHttp").toHeaders() } } @Test fun ofMapAcceptsEmptyValue() { val headers = mapOf("User-Agent" to "").toHeaders() assertThat(headers.value(0)).isEqualTo("") }
Registered: 2025-05-30 11:42 - Last Modified: 2025-03-19 19:25 - 8.7K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/DistributionTest.kt
} return ( (if (distributionDir != null) mapOf("integTest.gradleHomeDir" to distributionDir) else emptyMap()) + mapOf( "integTest.gradleUserHomeDir" to absolutePathOf(gradleUserHomeDir.dir(distributionName)), "integTest.samplesdir" to absolutePathOf(gradleSnippetsDir),
Registered: 2025-05-28 11:36 - Last Modified: 2025-02-24 05:11 - 8.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersChallengesTest.kt
Challenge("Digest", mapOf()), Challenge("Basic", mapOf("realm" to "myrealm")), ) } @Test fun multipleSeparatorsBetweenChallenges() { val headers = Headers .Builder() .add("WWW-Authenticate", "Digest,,,, Basic ,,realm=\"myrealm\"") .build() assertThat(headers.parseChallenges("WWW-Authenticate")).containsExactly( Challenge("Digest", mapOf()),
Registered: 2025-05-30 11:42 - Last Modified: 2025-03-19 19:25 - 16.8K bytes - Viewed (0) -
build-logic/kotlin-dsl/src/main/kotlin/gradlebuild/kotlindsl/generator/codegen/KotlinExtensionsForGradleApiFacade.kt
pluginDependencySpecQualifiedName: String, ) { invokeFacadeGenerateFunction( "org.gradle.kotlin.dsl.internal.sharedruntime.codegen.PluginIdExtensionsFacade", mapOf( "file" to file, "gradleJars" to gradleJars, "pluginDependenciesSpecQualifiedName" to pluginDependenciesSpecQualifiedName,
Registered: 2025-05-28 11:36 - Last Modified: 2025-03-11 08:32 - 4.2K bytes - Viewed (0) -
cmd/iam-etcd-store.go
return ies.loadMappedPolicy(ctx, name, userType, isGroup, m) } func (ies *IAMEtcdStore) loadMappedPolicy(ctx context.Context, name string, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy]) error { var p MappedPolicy
Registered: 2025-05-25 19:28 - Last Modified: 2025-02-18 16:25 - 14K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt
Registered: 2025-05-30 11:42 - Last Modified: 2025-03-19 19:25 - 13K bytes - Viewed (0) -
regression-test/build.gradle.kts
// Make sure to use the AndroidJUnitRunner (or a sub-class) in order to hook in the JUnit 5 Test Builder testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunnerArguments += mapOf( "notClass" to "org.conscrypt.KitKatPlatformOpenSSLSocketImplAdapter,org.bouncycastle.pqc.crypto.qtesla.QTeslaKeyEncodingTests" ) } compileOptions { targetCompatibility(JavaVersion.VERSION_11)
Registered: 2025-05-30 11:42 - Last Modified: 2025-03-17 15:11 - 1.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt
val immutable: Boolean = cacheControl.immutable() val parse: CacheControl = CacheControl.parse(Headers.of()) } @Test @Disabled fun challenge() { val challenge = Challenge("", mapOf("" to "")) val scheme: String = challenge.scheme() val authParams: Map<String?, String> = challenge.authParams() val realm: String? = challenge.realm() val charset: Charset = challenge.charset() }
Registered: 2025-05-30 11:42 - Last Modified: 2024-12-27 13:39 - 13.3K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PrimitiveKotlinTypeStrings.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.kotlin.dsl.internal.sharedruntime.codegen val primitiveTypeStrings = mapOf( "java.lang.Object" to "Any", "java.lang.String" to "String", "java.lang.Character" to "Char", "char" to "Char", "java.lang.Boolean" to "Boolean", "boolean" to "Boolean",
Registered: 2025-05-28 11:36 - Last Modified: 2023-09-30 16:17 - 1.4K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild/jvm/argumentproviders/CiEnvironmentProvider.kt
override fun asArguments(): Iterable<String> { return if (BuildEnvironment.isCiServer) { getRepoMirrorSystemProperties() + getToolchainInstallationPathsProperty() + mapOf( "org.gradle.test.maxParallelForks" to test.maxParallelForks, "org.gradle.ci.agentCount" to 2, "org.gradle.ci.agentNum" to BuildEnvironment.agentNum
Registered: 2025-05-28 11:36 - Last Modified: 2024-10-09 08:19 - 2.5K bytes - Viewed (0)