Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 35 of 35 for joinToString (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

          } else {
            // Otherwise the rule is for a public suffix, so we must take one more label.
            domainLabels.size - (rule.size + 1)
          }
    
        return splitDomain(domain).asSequence().drop(firstLabelOffset).joinToString(".")
      }
    
      private fun splitDomain(domain: String): List<String> {
        val domainLabels = domain.split('.')
    
        if (domainLabels.last() == "") {
          // allow for domain name trailing dot
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

                "Reload trust certs",
                "Reloaded",
                "adding as trusted certificates",
                "Ignore disabled cipher suite",
                "Ignore unsupported cipher suite",
              ).joinToString(separator = "|"),
            )
            append(").*")
          },
        )
    
      private val testLogHandler =
        object : Handler() {
          override fun publish(record: LogRecord) {
            val recorded =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

          }
        }
      }
    
      /** Read a value as bytes without interpretation of its contents. */
      fun readUnknown(): ByteString = source.readByteString(bytesLeft)
    
      override fun toString(): String = path.joinToString(separator = " / ")
    
      companion object {
        /**
         * A synthetic value that indicates there's no more bytes. Values with equivalent data may also
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

            value: Pair<DerAdapter<*>, Any?>,
          ) {
            val (adapter, v) = value
            (adapter as DerAdapter<Any?>).toDer(writer, v)
          }
    
          override fun toString(): String = choices.joinToString(separator = " OR ")
        }
      }
    
      /**
       * This decodes a value into its contents using a preceding member of the same SEQUENCE. For
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/model/CIBuildModel.kt

                    .toCamelCase()
                    .toCapitalized(),
                testJvmVersion.toCapitalized(),
                vendor.displayName,
                os.asName(),
                arch.asName(),
            ).joinToString(" ")
    }
    
    enum class TestType(
        val unitTests: Boolean = true,
        val functionalTests: Boolean = true,
        val crossVersionTests: Boolean = false,
        val timeout: Int = 180,
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Sun Aug 03 22:40:28 UTC 2025
    - 25.9K bytes
    - Viewed (0)
Back to top