Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 405 for listOf (0.16 sec)

  1. okcurl/src/test/kotlin/okhttp3/curl/OkcurlTest.kt

     * limitations under the License.
     */
    package okhttp3.curl
    
    import kotlin.test.Test
    
    class OkcurlTest {
      @Test
      fun simple() {
        Main().main(listOf("--help"))
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 732 bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/WebPlatformUrlTest.kt

        assertThat(effectiveFragment, "fragment").isEqualTo(testData.fragment)
      }
    
      companion object {
        private val HTTP_URL_SCHEMES = listOf("http", "https")
        private val KNOWN_FAILURES =
          listOf(
            "Parsing: <http://example\t.\norg> against <http://example.org/foo/bar>",
            "Parsing: <http://f:0/c> against <http://example.org/foo/bar>",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

      return request
    }
    
    /**
     * Flattens a test filter into a list of specific test descriptors, usually individual method in a
     * test class annotated with @Test.
     */
    fun findTests(selectors: List<DiscoverySelector>): List<TestDescriptor> {
      val request: LauncherDiscoveryRequest = buildRequest(selectors)
      val testEngine = buildTestEngine()
      val filters = listOf<PostDiscoveryFilter>()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

        val exactRuleLabels = exactMatch?.split('.') ?: listOf()
        val wildcardRuleLabels = wildcardMatch?.split('.') ?: listOf()
    
        return if (exactRuleLabels.size > wildcardRuleLabels.size) {
          exactRuleLabels
        } else {
          wildcardRuleLabels
        }
      }
    
      /**
       * Reads the public suffix list treating the operation as uninterruptible. We always want to read
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. build-logic/build.gradle.kts

        doLast {
            val buildLogicProperties = readProperties(buildLogicPropertiesFile.asFile)
            val rootProperties = readProperties(rootPropertiesFile.asFile)
            val jvmArgs = listOf(buildLogicProperties, rootProperties).map { it.getProperty("org.gradle.jvmargs") }.toSet()
            if (jvmArgs.size > 1) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jan 24 02:52:56 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. .teamcity/src/test/kotlin/BuildScanTagUtilsTest.kt

        private val model = CIBuildModel(
            projectId = "Check",
            branch = VersionedSettingsBranch.fromDslContext(),
            buildScanTags = listOf("Check"),
            subprojects = subprojectProvider
        )
    
        @Test
        fun `test stage tags`() {
            assertEquals(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 07:24:00 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Story.kt

     */
    data class Story(
      val description: String? = null,
      val cases: List<Case>,
      val fileName: String? = null,
    ) {
      // Used as the test name.
      override fun toString() = fileName ?: "?"
    
      companion object {
        @JvmField
        val MISSING = Story(description = "Missing", cases = listOf(), "missing")
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/proxy/NullProxySelector.kt

    import java.net.URI
    
    /**
     * A proxy selector that always returns the [Proxy.NO_PROXY].
     */
    object NullProxySelector : ProxySelector() {
      override fun select(uri: URI?): List<Proxy> {
        requireNotNull(uri) { "uri must not be null" }
        return listOf(Proxy.NO_PROXY)
      }
    
      override fun connectFailed(
        uri: URI?,
        sa: SocketAddress?,
        ioe: IOException?,
      ) {
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/promotion/PublishGradleDistributionFullBuild.kt

                    buildStep(extraParameters, gitUserName, gitUserEmail, triggerName, prepTask, promoteTask)
                } else {
                    buildStep(
                        listOf(extraParameters, "-PpromotedBranch=$promotedBranch").joinToString(separator = " "),
                        gitUserName,
                        gitUserEmail,
                        triggerName,
                        promoteTask,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Feb 13 14:18:23 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

        val propertyNames =
            if (hasIsGetterName) listOf(method.name)
            else {
                val prefixRemoved = method.name.drop(3)
                if (hasSetterName && isBoolean) listOf("is$prefixRemoved", prefixRemoved.decapitalize())
                else listOf(prefixRemoved.decapitalize())
            }
    
        val propertyQualifiedNames =
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 04 08:05:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top