- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,202 for tcCall (0.42 sec)
-
samples/guide/src/main/java/okhttp3/recipes/CancelCall.java
.build(); final long startNanos = System.nanoTime(); final Call call = client.newCall(request); // Schedule a job to cancel the call in 1 second. executor.schedule(() -> { System.out.printf("%.2f Canceling call.%n", (System.nanoTime() - startNanos) / 1e9f); call.cancel(); System.out.printf("%.2f Canceled call.%n", (System.nanoTime() - startNanos) / 1e9f); }, 1, TimeUnit.SECONDS);
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 2.1K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt
) : EventSource, ServerSentEventReader.Callback, Callback { private var call: Call? = null @Volatile private var canceled = false fun connect(callFactory: Call.Factory) { call = callFactory.newCall(request).apply { enqueue(this@RealEventSource) } } override fun onResponse( call: Call, response: Response, ) { processResponse(response) }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/remove_unused_arguments.mlir
// CHECK: call{{.*}}(%arg0, %arg1) %1 = func.call @f(%arg0, %arg1) : (tensor<f32>, tensor<f32>) -> tensor<f32> return %1 : tensor<f32> } // ----- func.func private @f(%arg0: tensor<f32>, %arg1: tensor<f32>) { return } // CHECK-LABEL: removes_all_args func.func @removes_all_args(%arg0: tensor<f32>, %arg1: tensor<f32>) { // CHECK: call{{.*}}() :
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 06 23:00:44 UTC 2024 - 7K bytes - Viewed (0) -
pkg/kubelet/container/testing/os.go
} // Remove is a fake call that returns nil. func (f *FakeOS) Remove(path string) error { f.Removes = append(f.Removes, path) return nil } // RemoveAll is a fake call that just returns nil. func (f *FakeOS) RemoveAll(path string) error { f.Removes = append(f.Removes, path) return nil } // Create is a fake call that creates a virtual file and returns nil.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 07 13:37:31 UTC 2023 - 3.7K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/classpath/CompositeCallInterceptionTest.groovy
@ClosureParams(value = SimpleType, options = "InterceptorTestReceiver") Closure<?> call ) { def receiver = new InterceptorTestReceiver() def closure = instrumentedClasses.instrumentedClosure(call) if (shouldDelegate) { closure.delegate = receiver closure.call() } else { closure.call(receiver) } receiver.intercepted }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 09 11:38:52 UTC 2024 - 8.2K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt
} } override fun connectStart( route: Route, call: Call, ) = logEvent(ConnectionEvent.ConnectStart(System.nanoTime(), route, call)) override fun connectFailed( route: Route, call: Call, failure: IOException, ) = logEvent( ConnectionEvent.ConnectFailed(System.nanoTime(), route, call, failure), ) override fun connectEnd( connection: Connection,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.6K bytes - Viewed (0) -
src/go/types/util.go
// hasDots reports whether the last argument in the call is followed by ... func hasDots(call *ast.CallExpr) bool { return call.Ellipsis.IsValid() } // dddErrPos returns the positioner for reporting an invalid ... use in a call. func dddErrPos(call *ast.CallExpr) positioner { return atPos(call.Ellipsis) } // argErrPos returns positioner for reporting an invalid argument count.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 1.7K bytes - Viewed (0) -
test/inline_endian.go
b = binary.LittleEndian.AppendUint16(b, 16) // ERROR "inlining call to binary.littleEndian.AppendUint16" return b } func appendBigEndian(b []byte) []byte { // ERROR "can inline appendBigEndian" "leaking param: b to result ~r0 level=0" b = binary.BigEndian.AppendUint64(b, 64) // ERROR "inlining call to binary.bigEndian.AppendUint64"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 15 21:05:02 UTC 2022 - 1.6K bytes - Viewed (0) -
hack/grab-profiles.sh
kube::util::trap_add "kill $SSH_PID" EXIT kube::util::trap_add "kill $SSH_PID" SIGTERM requested_profiles=$(echo "${requested_profiles}" | xargs -n1 | LC_ALL=C sort -u | xargs) profile_components=$(echo "${profile_components}" | xargs -n1 | LC_ALL=C sort -u | xargs) kubelet_addresses=$(echo "${kubelet_addresses}" | xargs -n1 | LC_ALL=C sort -u | xargs) echo "requested profiles: ${requested_profiles}" echo "flags for heap profile: ${mem_pprof_flags}"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 17 06:47:05 UTC 2021 - 8.4K bytes - Viewed (0) -
test/fixedbugs/issue48835.go
func f() { var x int f0(1) // ERROR "too many arguments in call to f0\n\thave \(number\)\n\twant \(\)" f0(x) // ERROR "too many arguments in call to f0\n\thave \(int\)\n\twant \(\)" f1() // ERROR "not enough arguments in call to f1\n\thave \(\)\n\twant \(int\)" f1(1, 2) // ERROR "too many arguments in call to f1\n\thave \(number, number\)\n\twant \(int\)"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 24 20:57:46 UTC 2021 - 1K bytes - Viewed (0)