- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 524 for eval (0.02 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/ResourcePublicSuffixList.kt
import okio.Path.Companion.toPath import okio.Source internal class ResourcePublicSuffixList( override val path: Path = PUBLIC_SUFFIX_RESOURCE, val fileSystem: FileSystem = FileSystem.Companion.RESOURCES, ) : BasePublicSuffixList() { override fun listSource(): Source = fileSystem.source(path) companion object { @JvmField val PUBLIC_SUFFIX_RESOURCE =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 22:00:49 UTC 2025 - 1.1K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/types/SuiteId.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.survey.types import okio.ByteString data class SuiteId( val id: ByteString?, val name: String, ) { fun matches(suiteId: SuiteId): Boolean = id == suiteId.id || name.substring(4) == suiteId.name.substring(4)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 834 bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FallbackTestClientSocketFactory.kt
private class TlsFallbackScsvDisabledSSLSocket( socket: SSLSocket, ) : DelegatingSSLSocket(socket) { override fun setEnabledCipherSuites(suites: Array<String>) { val enabledCipherSuites = mutableListOf<String>() for (suite in suites) { if (suite != TLS_FALLBACK_SCSV) { enabledCipherSuites.add(suite) } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BitString.kt
package okhttp3.tls.internal.der import okio.ByteString /** * Like a [ByteString], but whose bits are not necessarily a strict multiple of 8. */ internal data class BitString( val byteString: ByteString, /** 0-7 unused bits in the last byte. */ val unusedBitsCount: Int, ) { // Avoid Long.hashCode(long) which isn't available on Android 5. override fun hashCode(): Int { var result = 0
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/SynchronousGet.kt
* limitations under the License. */ package okhttp3.recipes.kt import java.io.IOException import okhttp3.OkHttpClient import okhttp3.Request class SynchronousGet { private val client = OkHttpClient() fun run() { val request = Request .Builder() .url("https://publicobject.com/helloworld.txt") .build() client.newCall(request).execute().use { response ->
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ReusePlan.kt
* limitations under the License. */ package okhttp3.internal.connection /** Reuse a connection from the pool. */ internal class ReusePlan( val connection: RealConnection, ) : RoutePlanner.Plan { override val isReady = true override fun connectTcp() = error("already connected") override fun connectTlsEtc() = error("already connected") override fun handleSuccess() = connection
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/TlsVersion.kt
*/ enum class TlsVersion( @get:JvmName("javaName") val javaName: String, ) { TLS_1_3("TLSv1.3"), // 2016. TLS_1_2("TLSv1.2"), // 2008. TLS_1_1("TLSv1.1"), // 2006. TLS_1_0("TLSv1"), // 1999. SSL_3_0("SSLv3"), // 1996. ; @JvmName("-deprecated_javaName") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "javaName"),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.5K bytes - Viewed (0) -
docs/site-replication/run-multi-site-minio-idp.sh
exit_1 fi ./mc tag set --version-id "${vID}" minio2/newbucket/README.md "key=val" if [ $? -ne 0 ]; then echo "expecting tag set to be successful. exiting.." exit_1 fi sleep 5 val=$(./mc tag list minio1/newbucket/README.md --version-id "${vID}" --json | jq -r .tagset.key) if [ "${val}" != "val" ]; then echo "expected bucket tag to have replicated, exiting..." exit_1 fi
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Sep 24 08:03:58 UTC 2024 - 12.1K bytes - Viewed (0) -
schema/utils.go
if len(values) >= 2 { settings[k] = strings.Join(values[1:], ":") } else if k != "" { settings[k] = k } } return settings } func toColumns(val string) (results []string) { if val != "" { for _, v := range strings.Split(val, ",") { results = append(results, strings.TrimSpace(v)) } } return } func removeSettingFromTag(tag reflect.StructTag, names ...string) reflect.StructTag {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Feb 13 06:16:26 UTC 2025 - 5.5K bytes - Viewed (0) -
docs/features/https.md
=== ":material-language-kotlin: Kotlin" ```kotlin private val client: OkHttpClient init { val trustManager = trustManagerForCertificates(trustedCertificatesInputStream()) val sslContext = SSLContext.getInstance("TLS") sslContext.init(null, arrayOf<TrustManager>(trustManager), null) val sslSocketFactory = sslContext.socketFactory client = OkHttpClient.Builder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Dec 24 00:16:30 UTC 2022 - 10.5K bytes - Viewed (0)