Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 361 for listOf (0.13 sec)

  1. okhttp/src/test/java/okhttp3/TestTls13Request.kt

    package okhttp3
    
    import java.io.IOException
    import java.security.Security
    import okhttp3.internal.platform.Platform
    import org.conscrypt.Conscrypt
    
    // TLS 1.3
    private val TLS13_CIPHER_SUITES =
      listOf(
        CipherSuite.TLS_AES_128_GCM_SHA256,
        CipherSuite.TLS_AES_256_GCM_SHA384,
        CipherSuite.TLS_CHACHA20_POLY1305_SHA256,
        CipherSuite.TLS_AES_128_CCM_SHA256,
        CipherSuite.TLS_AES_128_CCM_8_SHA256,
      )
    
    /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/testing/TestType.kt

    package gradlebuild.basics.testing
    
    import org.gradle.api.tasks.testing.Test
    
    
    enum class TestType(val prefix: String, val executers: List<String>) {
        INTEGRATION("integ", listOf("embedded", "forking", "noDaemon", "parallel", "configCache", "isolatedProjects")),
        CROSSVERSION("crossVersion", listOf("embedded", "forking"))
    }
    
    
    fun Test.includeSpockAnnotation(fqcn: String) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. samples/tlssurvey/src/main/kotlin/okhttp3/survey/types/Client.kt

     * limitations under the License.
     */
    package okhttp3.survey.types
    
    data class Client(
      val userAgent: String,
      val version: String,
      val platform: String? = null,
      val enabled: List<SuiteId> = listOf(),
      val supported: List<SuiteId> = listOf(),
    ) {
      val nameAndVersion: String
        get() = "$userAgent/$version"
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 883 bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/ResolutionTracerTest.kt

            assertNull(resolver.trace.assignmentResolution(failedLhs).result)
            assertEquals(listOf(ErrorReason.UnresolvedAssignmentLhs::class), resolver.trace.assignmentResolution(failedLhs).errors?.map { it.errorReason::class })
    
            assertNull(resolver.trace.expressionResolution(failedLhs.lhs).result)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/java/customDirs/kotlin/build.gradle.kts

    }
    
    dependencies {
        testImplementation("junit:junit:4.13")
    }
    
    // tag::custom-src-dirs[]
    sourceSets {
        main {
            java {
                setSrcDirs(listOf("src"))
            }
        }
    
        test {
            java {
                setSrcDirs(listOf("test"))
            }
        }
    }
    // end::custom-src-dirs[]
    
    // tag::custom-extra-src-dir[]
    sourceSets {
        main {
            java {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/CombinatorsTest.kt

                parser("foo bar"),
                listOf(Unit)
            )
            assertSuccess(
                parser("foo foo bar"),
                listOf(Unit, Unit)
            )
        }
    
        @Test
        fun `can fail many symbols`() {
            val parser = zeroOrMore(combinator.symbol("foo"))
            assertSuccess(
                parser("foofoo"),
                listOf()
            )
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/KotlinDslStandaloneScriptCompilationConfiguration.kt

     */
    internal
    abstract class KotlinDslStandaloneScriptCompilationConfiguration protected constructor(
        body: Builder.() -> Unit
    ) : ScriptCompilationConfiguration({
    
        isStandalone(true)
        compilerOptions.put(listOf(
            "-language-version", "1.8",
            "-api-version", "1.8",
            "-Xjvm-default=all",
            "-Xjsr305=strict",
            "-Xskip-prerelease-check",
            "-Xallow-unstable-dependencies",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/developingPlugins/publishingPlugins/kotlin/build.gradle.kts

                id = "<your plugin identifier>" // <5>
                displayName = "<short displayable name for plugin>" // <6>
                description = "<human-readable description of what your plugin is about>" // <7>
                tags = listOf("tags", "for", "your", "plugins") // <8>
                implementationClass = "<your plugin class>"
            }
        }
    }
    // end::per_plugin_config[]
    
    // tag::plugin_example[]
    gradlePlugin {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. build-logic-settings/build-environment/src/main/kotlin/gradlebuild/basics/BuildEnvironmentService.kt

            val execOutput = providers.exec {
                workingDir = projectDir
                isIgnoreExitValue = true
                commandLine = listOf("git", *args)
                if (OperatingSystem.current().isWindows) {
                    commandLine = listOf("cmd.exe", "/d", "/c") + commandLine
                }
            }
            return execOutput.result.zip(execOutput.standardOutput.asText) { result, outputText ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 05:01:36 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/LambdaOverloadResolutionTest.kt

            val code = """
                addSomething(1) { }
                addSomething(2)
            """.trimIndent()
    
            val receiver = runtimeInstanceFromResult(schema, schema.resolve(code), kotlinFunctionAsConfigureLambda, RuntimeCustomAccessors.none, ::MyTopLevelReceiver)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 26 12:27:49 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top