Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for groupValues (0.16 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 =
        suites.firstOrNull {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

            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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

          val typeSubtype =
            TYPE_SUBTYPE.matchAt(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) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:08 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt

                        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 Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Jun 17 09:57:45 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. logger/slog.go

    			Key:   "trace",
    			Value: slog.GroupValue(fields...),
    		})
    
    	case l.SlowThreshold != 0 && elapsed > l.SlowThreshold:
    		l.Logger.WarnContext(ctx, "SQL executed", slog.Attr{
    			Key:   "trace",
    			Value: slog.GroupValue(fields...),
    		})
    
    	case l.LogLevel >= Info:
    		l.Logger.InfoContext(ctx, "SQL executed", slog.Attr{
    			Key:   "trace",
    			Value: slog.GroupValue(fields...),
    		})
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 28 09:34:58 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top