- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 216 for __callback (0.27 sec)
-
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/ObjectConnection.java
*/ void abort(); /** * Add a callback upon unrecoverable errors, e.g. broken connection. Should not throw any exceptions because * this is the last line of defense. * @param handler the callback */ void addUnrecoverableErrorHandler(Action<Throwable> handler);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/verifier/HttpRedirectVerifierFactory.java
* * @param baseHost The host specified by the user. * @param allowInsecureProtocol If true, allows HTTP based connections. * @param insecureBaseHost Callback when the base host URL is insecure. * @param insecureRedirect Callback when the server returns an 30x redirect to an insecure server. */ public static HttpRedirectVerifier create( @Nullable URI baseHost, boolean allowInsecureProtocol,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/stablehlo_custom_call.cc
namespace { // jax2tf sets `stablehlo.custom_call`'s target name as `tf.call_tf_function` // to represent calling a TF host callback function. constexpr llvm::StringRef kTfTargetName = "tf.call_tf_function"; // `tf.backend_config` is a DictionaryAttr, JAX2TF sets the value of its // string attribute `caller_name` to the TF host callback function's name. constexpr llvm::StringRef kTfBackendConfigAttrName = "tf.backend_config";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/SearchEngineUtil.java
} public static long scroll(final String index, final Function<SearchHit, Boolean> callback) { final SearchEngineClient client = ComponentUtil.getSearchEngineClient(); return client.<SearchHit> scrollSearch(index, searchRequestBuilder -> true, (searchResponse, hit) -> hit, hit -> callback.apply(hit)); }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.9K bytes - Viewed (0) -
test/fixedbugs/issue53702.go
// Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main type Elem struct{} func (*Elem) Wait(callback func()) {} type Base struct { elem [8]*Elem } var g_val = 1 func (s *Base) Do() *int { resp := &g_val for _, e := range s.elem { e.Wait(func() { *resp = 0 }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Aug 14 00:14:04 UTC 2022 - 551 bytes - Viewed (0) -
guava/src/com/google/common/io/Resources.java
} /** * Streams lines from a URL, stopping when our callback returns false, or we have read all of the * lines. * * @param url the URL to read from * @param charset the charset used to decode the input stream; see {@link Charsets} for helpful * predefined constants * @param callback the LineProcessor to use to handle the lines * @return the output of processing the lines
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 7.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java
import java.io.IOException; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.Proxy; import java.util.List; import java.util.concurrent.atomic.AtomicLong; import okhttp3.Call; import okhttp3.Callback; import okhttp3.Connection; import okhttp3.EventListener; import okhttp3.Handshake; import okhttp3.HttpUrl; import okhttp3.OkHttpClient; import okhttp3.Protocol; import okhttp3.Request; import okhttp3.Response;
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Feb 16 23:20:49 UTC 2020 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java
listener = new MockFutureListener(resultFuture); } public void testFutureGetBeforeCallback() throws Exception { // Verify that get throws a timeout exception before the callback is called. assertThrows(TimeoutException.class, () -> resultFuture.get(1L, TimeUnit.MILLISECONDS)); } public void testFutureGetThrowsWrappedException() throws Exception { inputFuture.setException(EXCEPTION);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.4K bytes - Viewed (0) -
pkg/filewatcher/fakefilewatcher_test.go
} gotAdd := <-addedChan if gotAdd != file { t.Fatalf("Add() failed: got %v want %v", gotAdd, file) } select { case <-removedChan: t.Fatal("Add() failed: callback invoked with added=false") default: } wantEvent := fsnotify.Event{Name: file, Op: fsnotify.Write} fakeWatcher.InjectEvent(file, wantEvent) gotEvent := <-watcher.Events(file) if gotEvent != wantEvent {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 14:06:41 UTC 2023 - 3.8K bytes - Viewed (0) -
pkg/kube/watcher/configmapwatcher/configmapwatcher_test.go
ResourceVersion: resourceVersion, }, Data: map[string]string{ "mesh": "trustDomain: cluster.local", }, } } var ( mu sync.Mutex called bool newCM *v1.ConfigMap ) func callback(cm *v1.ConfigMap) { mu.Lock() defer mu.Unlock() called = true newCM = cm } func getCalled() bool { mu.Lock() defer mu.Unlock() return called } func getCM() *v1.ConfigMap {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 3.1K bytes - Viewed (0)