- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 132 for __callback (0.14 sec)
-
pkg/kube/kclient/crdwatcher.go
} name := fmt.Sprintf("%s.%s", s.Resource, s.Group) c.callbacks[name] = append(c.callbacks[name], func() { if features.EnableUnsafeAssertions && c.stop == nil { log.Fatalf("CRD Watcher callback called without stop set") } // Call the callback f(c.stop) }) return false } func (c *crdWatcher) known(s schema.GroupVersionResource) bool { // From the spec: "Its name MUST be in the format <.spec.name>.<.spec.group>."
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 14:44:17 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/BuildProfile.java
* callback. */ public void setBuildStarted(long buildStarted) { this.buildStarted = buildStarted; } /** * Should be set with a timestamp from a {@link org.gradle.BuildListener#settingsEvaluated} * callback. */ public void setSettingsEvaluated(long settingsEvaluated) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:39 UTC 2024 - 9.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/services/internal/RegisteredBuildServiceProvider.java
} /** * Registers a callback to be called just before the service represented by this provider is stopped. * The callback runs even if the service wasn't created. * This provider is used as a callback argument. * <p> * The service will only be stopped after completing all registered callbacks. * * @param stopAction the callback */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 09:24:00 UTC 2024 - 8.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/lazy/lazy.go
values: map[string]ref.Val{}, callbacks: map[string]GetFieldFunc{}, } } // Append adds the given field with its name and callback. func (m *MapValue) Append(name string, callback GetFieldFunc) { m.knownValues = append(m.knownValues, name) m.callbacks[name] = callback } // Contains checks if the key is known to the map func (m *MapValue) Contains(key ref.Val) ref.Val { v, found := m.Find(key)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 21:31:27 UTC 2023 - 4.9K bytes - Viewed (0) -
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) -
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/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)