- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 542 for __callback (0.98 sec)
-
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt
private val source: BufferedSource, private val callback: Callback, ) { private var lastId: String? = null interface Callback { fun onEvent( id: String?, type: String?, data: String, ) fun onRetryChange(timeMs: Long) } /** * Process the next event. This will result in a single call to [Callback.onEvent] *unless* the
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tpu_cluster_util.cc
std::optional<std::string>)> callback) { return WalkReachableFromTpuCluster(true, module, callback); } mlir::LogicalResult WalkReachableFromTpuCluster( ModuleOp module, std::function<WalkResult(Operation*, tf_device::ClusterOp)> callback) { auto with_host_op = [&](Operation* op, tf_device::ClusterOp tpu_cluster,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 04:50:13 UTC 2023 - 4.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/DispatcherCleanupTest.kt
import mockwebserver3.MockWebServer import org.junit.jupiter.api.Test class DispatcherCleanupTest { @Test fun testFinish(server: MockWebServer) { val okhttp = OkHttpClient() val callback = object : Callback { override fun onFailure( call: Call, e: IOException, ) {} override fun onResponse( call: Call, response: Response, ) {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.2K bytes - Viewed (0) -
okhttp-android/src/test/kotlin/okhttp3/android/ShadowDnsResolver.kt
@Implements(DnsResolver::class) class ShadowDnsResolver { var responder: (Request) -> Unit = { it.callback.onAnswer(listOf(), 0) } data class Request( val network: Network?, val domain: String, val nsType: Int, val flags: Int, val callback: DnsResolver.Callback<List<InetAddress>>, ) @Implementation fun query( network: Network?, domain: String,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 22 20:07:09 UTC 2024 - 1.7K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/endpoint_test.go
} callbackCount++ callbackChan <- callbackCount } p, e := esetup(t, devs, socket, "mock", callback) defer ecleanup(t, p, e) go e.client.Run() // Wait for the first callback to be issued. <-callbackChan p.Update(updated) // Wait for the second callback to be issued. <-callbackChan require.Equal(t, callbackCount, 2) } func TestAllocate(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 16:05:48 UTC 2022 - 7.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/JAASAuthenticator.java
import java.util.HashMap; import java.util.Map; import javax.security.auth.Subject; import javax.security.auth.callback.Callback; import javax.security.auth.callback.CallbackHandler; import javax.security.auth.callback.NameCallback; import javax.security.auth.callback.PasswordCallback; import javax.security.auth.callback.UnsupportedCallbackException; import javax.security.auth.login.Configuration; import javax.security.auth.login.LoginContext;
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.1K bytes - Viewed (0) -
okhttp-android/src/main/kotlin/okhttp3/android/AndroidAsyncDns.kt
override fun query( hostname: String, callback: AsyncDns.Callback, ) { try { resolver.query( network, hostname, dnsClass.type, DnsResolver.FLAG_EMPTY, executor, null, object : DnsResolver.Callback<List<InetAddress>> { override fun onAnswer( addresses: List<InetAddress>,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 01 10:07:48 UTC 2024 - 2.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/wait/loop_test.go
sliding bool context func() (context.Context, context.CancelFunc) callback func(calls int) (bool, error) cancelContextAfter int attemptsExpected int errExpected error timer Timer }{ { name: "condition successful is only one attempt", callback: func(attempts int) (bool, error) { return true, nil }, attemptsExpected: 1, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 19 02:48:08 UTC 2023 - 15.8K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/bigstack_windows.go
package main /* typedef void callback(char*); extern void CallGoBigStack1(char*); extern void bigStack(callback*); */ import "C" func init() { register("BigStack", BigStack) } func BigStack() { // Create a large thread stack and call back into Go to test // if Go correctly determines the stack bounds. C.bigStack((*C.callback)(C.CallGoBigStack1)) } //export goBigStack1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jun 12 16:07:12 UTC 2021 - 586 bytes - Viewed (0) -
tensorflow/cc/saved_model/bundle_v2.h
/// Restores objects, invoking the callback with the node id in the /// saved_object_graph() and the corresponding TrackableObject from the /// trackable_object_graph(). The callback may use the variable_reader() but /// must not modify the underlying saved_object_graph(). Status VisitObjectsToRestore(RestoreObjectsCallback callback); private: Status RecurseObjectsToRestore(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 20 03:32:59 UTC 2023 - 3.4K bytes - Viewed (0)