- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 537 for string (0.15 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt
*/ private class AlpnProvider( /** This peer's supported protocols. */ private val protocols: List<String>, ) : InvocationHandler { /** Set when remote peer notifies ALPN is unsupported. */ var unsupported: Boolean = false /** The protocol the server selected. */ var selected: String? = null @Throws(Throwable::class) override fun invoke( proxy: Any, method: Method,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/SocksProxyTest.kt
val response1 = client.newCall(request1).execute() assertThat(response1.body.string()).isEqualTo("abc") val request2 = Request.Builder().url(server.url("/")).build() val response2 = client.newCall(request2).execute() assertThat(response2.body.string()).isEqualTo("def") // The HTTP calls should share a single connection. assertThat(socksProxy.connectionCount()).isEqualTo(1)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JApiCmpExtensions.kt
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WebPlatformToAsciiData.kt
* * Each test is a line of the file `toascii.json`. */ @Serializable class WebPlatformToAsciiData { var input: String? = null var output: String? = null var comment: String? = null override fun toString() = "input=$input output=$output" companion object { fun load(): List<WebPlatformToAsciiData> {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 1.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/FallbackTestClientSocketFactory.kt
) : DelegatingSSLSocket(socket) { override fun setEnabledCipherSuites(suites: Array<String>) { val enabledCipherSuites = mutableListOf<String>() for (suite in suites) { if (suite != TLS_FALLBACK_SCSV) { enabledCipherSuites.add(suite) } } delegate!!.enabledCipherSuites = enabledCipherSuites.toTypedArray<String>() } } companion object { /**
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt
} } } override fun getSelectedProtocol(sslSocket: SSLSocket): String? { // No TLS extensions if the socket class is custom. if (!matchesSocket(sslSocket)) { return null } return try { val alpnResult = getAlpnSelectedProtocol.invoke(sslSocket) as ByteArray? alpnResult?.toString(Charsets.UTF_8) } catch (e: IllegalAccessException) { throw AssertionError(e)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt
* * See: https://github.com/google/gson/blob/master/UserGuide.md#TOC-Compact-Vs.-Pretty-Printing-for-JSON-Output-Format */ private fun adjustIndentation(initalJsonString: String): String { val indentationRegex = """^\s+""".toRegex(RegexOption.MULTILINE) return indentationRegex.replace(initalJsonString) { m -> " ".repeat(m.value.length * 2) } }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Sep 30 18:18:04 GMT 2022 - 2.1K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt
return systemDefault( name = "Conscrypt", version = "${version.major()}.${version.minor()}", ianaSuites = ianaSuites, ) } fun systemDefault( name: String, version: String, ianaSuites: IanaSuites, ): Client { val socketFactory = SSLSocketFactory.getDefault() as SSLSocketFactory val sslSocket = socketFactory.createSocket() as SSLSocket return Client(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Apr 02 01:44:15 GMT 2024 - 2.5K bytes - Viewed (0) -
src/cmd/api/testdata/src/pkg/p2/golden.txt
pkg p2, func F() string pkg p2, func F //deprecated pkg p2, func G() Twoer pkg p2, func NewError(string) error pkg p2, type Twoer interface { PackageTwoMeth } pkg p2, type Twoer interface, PackageTwoMeth()
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Dec 02 16:29:41 GMT 2022 - 265 bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/model/GradleSubproject.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.buildutils.model
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Jun 02 14:55:06 GMT 2023 - 806 bytes - Viewed (0)