Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for groupValues (0.09 sec)

  1. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt

      if (s.contains("Reserved") || s.contains("Unassigned")) return null
      val matcher = IANA_CSV_PATTERN.matchEntire(s) ?: return null
      val id = (matcher.groupValues[1] + matcher.groupValues[2]).decodeHex()
      return SuiteId(id, matcher.groupValues[3])
    }
    
    class IanaSuites(
      val name: String,
      val suites: List<SuiteId>,
    ) {
      fun fromJavaName(javaName: String): SuiteId {
        return suites.firstOrNull {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

                .filter { it.isNotEmpty() }
                .onEach { check(contributorLineRegex.containsMatchIn(it)) { "Invalid contributor line: $it" } }
                .map { GitHubUser(contributorLineRegex.find(it)!!.groupValues[2], contributorLineRegex.find(it)!!.groupValues[1]) }
                .toSet()
        }
    
        /**
         * Parses the release notes file and returns the triple: (linesBeforeContributors, contributorLines, linesAfterContributors)
         */
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

        return mainFiles.map {
          val suffix = it.path.replace("${prefix}samples/guide/src/main/java/", "")
          suffix.replace("(.*)\\.java".toRegex()) { mr ->
            mr.groupValues[1].replace('/', '.')
          }.replace("(.*)\\.kt".toRegex()) { mr ->
            mr.groupValues[1].replace('/', '.') + "Kt"
          }
        }.sorted()
      }
    }
    
    @Disabled("Don't run by default")
    @Tag("Slow")
    class AllMainsTest {
      @ParameterizedTest
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt

      val typeSubtype: MatchResult =
        TYPE_SUBTYPE.matchAtPolyfill(this, 0)
          ?: throw IllegalArgumentException("No subtype found for: \"$this\"")
      val type = typeSubtype.groupValues[1].lowercase()
      val subtype = typeSubtype.groupValues[2].lowercase()
    
      val parameterNamesAndValues = mutableListOf<String>()
      var s = typeSubtype.range.last + 1
      while (s < length) {
        val parameter = PARAMETER.matchAtPolyfill(this, s)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. buildSrc/src/main/kotlin/AlpnVersions.kt

        return version
      }
    
      val javaVersion = System.getProperty("java.version")
      val match = "1\\.8\\.0_(\\d+)(-.*)?".toRegex().find(javaVersion) ?: return null
    
      return alpnBootVersionForPatchVersion(match.groupValues.first().toInt())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt

                else -> {
                    val matchResult = OLD_RELEASE_PATTERN.find(branchName)
                    if (matchResult == null) {
                        null
                    } else {
                        (matchResult.groupValues[1].toInt() - 4).apply {
                            require(this in 2..23)
                        }
                    }
                }
            }
        }
    
        val isMainBranch: Boolean
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 26 12:59:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. build-logic/cleanup/src/main/kotlin/gradlebuild/testing/services/BuildBucketProvider.kt

                    && versionUnderTest < GradleVersion.version(endVersionExclusive)
            }
    
            private
            fun extractTestTaskGradleVersion(name: String): String? = "gradle(.+)CrossVersionTest".toRegex().find(name)?.groupValues?.get(1)
        }
    
        class IncludeTestClassProvider(private val includeTestClasses: Map<String, List<String>>) : BuildBucketProvider {
            override fun configureTest(testTask: Test, sourceSetName: String) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

            override fun close() {}
          }
    
        private fun readClientRandom(param: String): String? {
          val matchResult = randomRegex.find(param)
    
          return if (matchResult != null) {
            matchResult.groupValues[1].replace(" ", "")
          } else {
            null
          }
        }
    
        override fun secureConnectStart(call: Call) {
          // Register to capture "Produced ClientHello handshake message".
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

        /**
         * Test Coverage - AllVersionsCrossVersion Java8 Oracle Linux (core_2) -> core_2
         */
        private
        fun BaseGradleBuildType.getSubProjectSplitName() = largeSubProjectRegex.find(this.name)!!.groupValues[1]
    
        private
        fun BaseGradleBuildType.getGradleTasks(): String {
            val runnerStep = this.steps.items.find { it.name == "GRADLE_RUNNER" } as GradleBuildStep
            return runnerStep.tasks!!
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 18 07:02:47 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. okhttp-android/src/main/baseline-prof.txt

    HSPLkotlin/text/CharsKt__CharKt;->equals(CCZ)Z
    HSPLkotlin/text/CharsKt__CharKt;->isWhitespace(C)Z
    HSPLkotlin/text/Charsets;-><clinit>()V
    HSPLkotlin/text/MatcherMatchResult$groupValues$1;-><init>(Lkotlin/text/MatcherMatchResult;)V
    HSPLkotlin/text/MatcherMatchResult$groupValues$1;->get(I)Ljava/lang/Object;
    HSPLkotlin/text/MatcherMatchResult$groups$1;-><init>(Lkotlin/text/MatcherMatchResult;)V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
Back to top