- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 881 for val2 (0.04 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/SpecificHostSocketFactory.kt
/** * A [SocketFactory] that redirects connections to [defaultAddress] or specific overridden address via [set]. */ class SpecificHostSocketFactory( val defaultAddress: InetSocketAddress?, ) : DelegatingSocketFactory(getDefault()) { private val hostMapping = mutableMapOf<InetAddress, InetSocketAddress>() /** Sets the [real] address for [requested]. */ operator fun set( requested: InetAddress,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.7K bytes - Viewed (0) -
build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt
val result = run(":flaky-test-without-leftover:test", "--no-watch-fs").build() assertEquals(TaskOutcome.SUCCESS, result.task(":flaky-test-without-leftover:test")!!.outcome) assertArchivedFilesSeen("report-flaky-test-without-leftover-test.zip") } @Test fun `leftover files are archived when test fails`() { val result = run(
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Jun 14 12:35:52 UTC 2023 - 10.6K bytes - Viewed (0) -
tests/scanner_valuer_test.go
t.Fatalf("no error should happen when query scanner, valuer struct, but got %v", err) } if result.ExampleStructPtr.Val != "value2" { t.Errorf(`ExampleStructPtr.Val should equal to "value2", but got %v`, result.ExampleStructPtr.Val) } if result.ExampleStruct.Val != "value1" { t.Errorf(`ExampleStruct.Val should equal to "value1", but got %#v`, result.ExampleStruct) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 07 07:02:07 UTC 2023 - 10.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java
int minor; DcerpcBinding(String proto, String server) { this.proto = proto; this.server = server; } void setOption(String key, Object val) throws DcerpcException { if (key.equals("endpoint")) { endpoint = val.toString(); String lep = endpoint.toLowerCase(); if (lep.startsWith("\\pipe\\")) { String iface = (String)INTERFACES.get(lep.substring(6));
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 3.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk9Platform.kt
@SuppressSignatureCheck override fun configureTlsExtensions( sslSocket: SSLSocket, hostname: String?, protocols: List<@JvmSuppressWildcards Protocol>, ) { val sslParameters = sslSocket.sslParameters val names = alpnProtocolNames(protocols) sslParameters.applicationProtocols = names.toTypedArray() sslSocket.sslParameters = sslParameters } @SuppressSignatureCheck
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt
/** A simple index that of trusted root certificates that have been loaded into memory. */ class BasicTrustRootIndex(vararg caCerts: X509Certificate) : TrustRootIndex { private val subjectToCaCerts: Map<X500Principal, Set<X509Certificate>> init { val map = mutableMapOf<X500Principal, MutableSet<X509Certificate>>() for (caCert in caCerts) { map.getOrPut(caCert.subjectX500Principal) { mutableSetOf() }.add(caCert) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.8K bytes - Viewed (0) -
internal/config/help.go
}, } ) // DefaultHelpPostfix - Helper function to add (default: $value) messages in config help func DefaultHelpPostfix(subsystem KVS, key string) string { val, found := subsystem.Lookup(key) if !found || val == "" { return "" } return " (default: '" + val + "')"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 23 14:45:27 UTC 2023 - 2.8K bytes - Viewed (0) -
okhttp-android/src/test/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt
class AndroidAsyncDnsTest { @Test fun testDnsRequestInvalid() { val asyncDns = AndroidAsyncDns.IPv4 val shadowDns: ShadowDnsResolver = Shadow.extract(asyncDns.resolver) shadowDns.responder = { throw IllegalArgumentException("Network.fromNetworkHandle refusing to instantiate NETID_UNSET Network.") } val dns = AsyncDns.toDns(asyncDns) assertFailure { dns.lookup("google.invalid")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 22 20:07:09 UTC 2024 - 1.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt
} else -> { continue@loop } } var pos = 0 while (pos < value.length) { val tokenStart = pos pos = value.indexOfElement("=,;", pos) val directive = value.substring(tokenStart, pos).trim() val parameter: String? if (pos == value.length || value[pos] == ',' || value[pos] == ';') { pos++ // Consume ',' or ';' (if necessary).
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 7.2K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicKotlinDslApi.kt
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 903 bytes - Viewed (0)