- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 159 for __callback (0.14 sec)
-
okhttp/src/test/java/okhttp3/CallTest.kt
client.newCall(Request.Builder().url(server.url("/a")).build()).enqueue(callback) callback.await(server.url("/a")).assertBody("abc") client.newCall(Request.Builder().url(server.url("/b")).build()).enqueue(callback) callback.await(server.url("/b")).assertBody("def") client.newCall(Request.Builder().url(server.url("/c")).build()).enqueue(callback) callback.await(server.url("/c")).assertBody("ghi")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0) -
pilot/pkg/trustbundle/trustbundle_test.go
} trustedCerts = tb.GetTrustBundle() if !slices.Equal(trustedCerts, []string{rootCACert}) || cbCounter != 1 { t.Errorf("Basic trustbundle update test failed. Callback value is %v", cbCounter) } // Add Second Cert update // ensure intermediate CA certs accepted, it replaces the first completely, and lib dedupes duplicate cert err = tb.UpdateTrustAnchor(&TrustAnchorUpdate{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 13.1K bytes - Viewed (0) -
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) -
security/pkg/nodeagent/cache/secretcache_test.go
mu sync.Mutex } func NewUpdateTracker(t *testing.T) *UpdateTracker { return &UpdateTracker{ t: t, hits: map[string]int{}, mu: sync.Mutex{}, } } func (u *UpdateTracker) Callback(name string) { u.mu.Lock() defer u.mu.Unlock() u.hits[name]++ } func (u *UpdateTracker) Expect(want map[string]int) { u.t.Helper() retry.UntilSuccessOrFail(u.t, func() error { u.mu.Lock()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 23.9K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/manager_test.go
} func setup(t *testing.T, devs []*pluginapi.Device, callback monitorCallback, socketName string, pluginSocketName string) (Manager, <-chan interface{}, *plugin.Stub) { m, updateChan := setupDeviceManager(t, devs, callback, socketName, nil) p := setupDevicePlugin(t, devs, pluginSocketName) return m, updateChan, p }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 65K 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) -
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) -
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) -
test/linknameasm.dir/a_amd64.s
// Copyright 2024 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. TEXT ·asm(SB),0,$0-8 CALL ·callback(SB)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 15:22:22 UTC 2024 - 208 bytes - Viewed (0) -
tools/istio-iptables/pkg/log/nflog.go
"src", src, "dst", dst, ).Infof(comment) return 0 } // Register our callback for the nflog err = nf.RegisterWithErrorFunc(ctx, fn, func(e error) int { iptablesTrace.Warnf("log failed: %v", e) return 0 }) if err != nil { log.Errorf("failed to register nflog callback: %v", err) return } // Block util the context expires <-ctx.Done()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 15:59:40 UTC 2024 - 2.8K bytes - Viewed (0)