- Sort Score
- Num 10 results
- Language All
Results 511 - 520 of 969 for rval (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt
import java.io.IOException import okhttp3.Call import okhttp3.Callback import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.Response class AsynchronousGet { private val client = OkHttpClient() fun run() { val request = Request .Builder() .url("http://publicobject.com/helloworld.txt") .build() client.newCall(request).enqueue( object : Callback {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.6K bytes - Click Count (0) -
cmd/xl-storage-format-v2-legacy.go
if err == nil && j.Type == DeleteType && v < 2 { if val, ok := j.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicationTimestamp]; ok { tm, err := time.Parse(time.RFC3339Nano, string(val)) if err == nil { j.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicationTimestamp] = []byte(tm.UTC().Format(time.RFC3339Nano)) } } if val, ok := j.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicaTimestamp]; ok {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.8K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseRequestInterceptor.kt
/** Returns a request that transforms `request` to be all uppercase. */ private fun uppercaseRequest(request: Request): Request { val uppercaseBody: RequestBody = object : ForwardingRequestBody(request.body) { @Throws(IOException::class) override fun writeTo(sink: BufferedSink) { delegate().writeTo(uppercaseSink(sink).buffer())
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.9K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/50_maintainer_chore.yml
attributes: label: Context (optional) description: | How has this issue affected you? What are you trying to accomplish? Providing context helps us come up with a solution that is most useful in the real world validations:Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Sep 12 11:52:53 GMT 2023 - 856 bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FailedPlan.kt
* proxy in a list, looking up a subsequent one may succeed. */ internal class FailedPlan( e: Throwable, ) : RoutePlanner.Plan { val result = RoutePlanner.ConnectResult(plan = this, throwable = e) override val isReady = false override fun connectTcp() = result override fun connectTlsEtc() = result override fun handleSuccess() = error("unexpected call")
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.5K bytes - Click Count (0) -
cmd/service.go
globalServiceFreezeMu.Lock() // Close when we reach 0 globalServiceFreezeCnt-- if globalServiceFreezeCnt <= 0 { // Set to a nil channel. var _ch chan struct{} if val := globalServiceFreeze.Swap(_ch); val != nil { if ch, ok := val.(chan struct{}); ok && ch != nil { // Close previous non-nil channel. xioutil.SafeClose(ch) } } globalServiceFreezeCnt = 0 // Don't risk going negative. }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Feb 28 07:02:14 GMT 2024 - 3.8K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/AbstractBuildScanInfoCollectingService.kt
*/ abstract val collectedInformation: Serializable interface Params : BuildServiceParameters { val monitoredTaskPaths: SetProperty<String> } override fun onFinish(event: FinishEvent) { if (event !is TaskFinishEvent) { return } val taskPath = event.descriptor.taskPath if (shouldInclude(taskPath)) {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Jun 10 05:45:46 GMT 2025 - 2.3K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupRootPlugin.kt
require(project.rootProject == project) { "This plugin should be applied to root project!" } val globalExtension = project.extensions.create<TestFilesCleanupBuildServiceRootExtension>("testFilesCleanupRoot") project.gradle.taskGraph.whenReady { val testFilesCleanupService = project.gradle.sharedServices.registerIfAbsent("testFilesCleanupBuildService", TestFilesCleanupService::class.java) {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Jul 06 10:57:13 GMT 2023 - 3K bytes - Click Count (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) } }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 2K bytes - Click Count (0) -
misc/ios/clangwrap.sh
#!/bin/sh # This script configures clang to target the iOS simulator. If you'd like to # build for real iOS devices, change SDK to "iphoneos" and PLATFORM to "ios". # This uses the latest available iOS SDK, which is recommended. To select a # specific SDK, run 'xcodebuild -showsdks' to see the available SDKs and replace # iphonesimulator with one of them. SDK=iphonesimulator PLATFORM=ios-simulator if [ "$GOARCH" == "arm64" ]; then CLANGARCH="arm64"
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Jun 18 16:32:49 GMT 2024 - 724 bytes - Click Count (0)