- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 216 for __callback (0.12 sec)
-
tests/callbacks_test.go
func TestCallbacks(t *testing.T) { type callback struct { name string before string after string remove bool replace bool err string match func(*gorm.DB) bool h func(*gorm.DB) } datas := []struct { callbacks []callback err string results []string }{ { callbacks: []callback{{h: c1}, {h: c2}, {h: c3}, {h: c4}, {h: c5}},
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Tue Mar 26 03:33:36 UTC 2024 - 7.2K bytes - Viewed (0) -
docs/en/docs/advanced/openapi-callbacks.md
## The normal **FastAPI** app Let's first see how the normal API app would look like before adding the callback. It will have a *path operation* that will receive an `Invoice` body, and a query parameter `callback_url` that will contain the URL for the callback. This part is pretty normal, most of the code is probably already familiar to you:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu May 02 22:37:31 UTC 2024 - 7.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiGradleLifecycleIntegrationTest.groovy
projectsConfigured(":buildSrc", ":b") buildModelCreated() modelsCreated(":", ":a") } outputContains("Callback before root project 'root'") outputContains("Callback before project ':a'") outputContains("Callback before project ':b'") when: withIsolatedProjects() def model2 = runBuildAction(new FetchCustomModelForEachProject())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 4.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/TearDownStackTest.java
boolean ran = false; @Nullable Callback callback = null; public SimpleTearDown() {} public SimpleTearDown(Callback callback) { this.callback = callback; } @Override public void tearDown() throws Exception { if (callback != null) { callback.run(); } ran = true; } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 17 15:19:38 UTC 2023 - 4.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt
override fun handle(callbacks: Array<Callback>) { for (callback in callbacks) { if (callback is PasswordCallback) { val console = System.console() if (console != null) { callback.password = console.readPassword(callback.prompt) } else { System.err.println(callback.prompt) callback.password = System.`in`.bufferedReader().readLine().toCharArray()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.2K bytes - Viewed (0) -
pkg/kube/watcher/configmapwatcher/configmapwatcher.go
) // Controller watches a ConfigMap and calls the given callback when the ConfigMap changes. // The ConfigMap is passed to the callback, or nil if it doesn't exist. type Controller struct { configmaps kclient.Client[*v1.ConfigMap] queue controllers.Queue configMapNamespace string configMapName string callback func(*v1.ConfigMap) hasSynced atomic.Bool }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 19 07:11:52 UTC 2023 - 2.8K bytes - Viewed (0) -
callbacks/callbacks.go
createCallback.Clauses = config.CreateClauses queryCallback := db.Callback().Query() queryCallback.Register("gorm:query", Query) queryCallback.Register("gorm:preload", Preload) queryCallback.Register("gorm:after_query", AfterQuery) queryCallback.Clauses = config.QueryClauses deleteCallback := db.Callback().Delete() deleteCallback.Match(enableTransaction).Register("gorm:begin_transaction", BeginTransaction)
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Oct 27 23:56:55 UTC 2021 - 3.3K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/testdata/callback/main.h
// license that can be found in the LICENSE file. class Callback { public: virtual ~Callback() { } virtual std::string run() { return "Callback::run"; } }; class Caller { private: Callback *callback_; public: Caller(): callback_(0) { } ~Caller() { delCallback(); } void delCallback() { delete callback_; callback_ = 0; } void setCallback(Callback *cb) { delCallback(); callback_ = cb; } std::string call();
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:07 UTC 2023 - 529 bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/initialization/BuildCancellationToken.java
void cancel(); /** * @return current state of cancellation request before callback was added. */ boolean addCallback(Runnable cancellationHandler); /** * Removes a callback called when cancellation request happens. * * @param cancellationHandler removed callback. */ void removeCallback(Runnable cancellationHandler);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.2K bytes - Viewed (0) -
test-site/app/controllers/Suggest.java
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Fri Nov 06 08:48:32 UTC 2015 - 2.2K bytes - Viewed (0)