- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 196 for __callback (0.17 sec)
-
src/cmd/cgo/internal/testsanitizers/testdata/tsan15.go
// Running under TSAN, this fails with "signal handler // spoils errno". /* #include <pthread.h> #include <signal.h> #include <stdlib.h> void go_callback(); static void *thr(void *arg) { int i; for (i = 0; i < 10; i++) go_callback(); return 0; } static void *sendthr(void *arg) { pthread_t th = *(pthread_t*)arg; while (1) { int r = pthread_kill(th, SIGWINCH); if (r < 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 21:14:49 UTC 2024 - 968 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
MockCallback callback = new MockCallback("foo"); addCallback(f, callback, directExecutor()); f.set("foo"); } public void testExecutorSuccess() { CountingSameThreadExecutor ex = new CountingSameThreadExecutor(); SettableFuture<String> f = SettableFuture.create(); MockCallback callback = new MockCallback("foo"); Futures.addCallback(f, callback, ex); f.set("foo");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 06 12:56:11 UTC 2023 - 6.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/InternalCancellationToken.java
boolean isCancellationRequested(); /** * Adds a callback that will be executed when cancel event is triggered. * It can be run synchronously if the token is already cancelled. * * @param cancellationHandler callback to be executed when cancel is requested. * @return current state of cancellation request before callback was added. */ boolean addCallback(Runnable cancellationHandler);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 13:57:30 UTC 2024 - 1.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
MockCallback callback = new MockCallback("foo"); addCallback(f, callback, directExecutor()); f.set("foo"); } public void testExecutorSuccess() { CountingSameThreadExecutor ex = new CountingSameThreadExecutor(); SettableFuture<String> f = SettableFuture.create(); MockCallback callback = new MockCallback("foo"); Futures.addCallback(f, callback, ex); f.set("foo");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Nov 15 16:33:21 UTC 2022 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/cbean/ca/bs/BsRoleCA.java
if (queryLambda != null) { queryLambda.callback(cq); } FilterAggregationBuilder builder = regFilterA(name, cq.getQuery()); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { RoleCA ca = new RoleCA(); aggsLambda.callback(ca); ca.getAggregationBuilderList().forEach(builder::subAggregation);
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 8.9K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/tsan14.go
// _cgo_getstackbound, then writes to the same G can be seen on multiple // threads (when the G is reused after thread exit). This would trigger TSAN. /* #include <pthread.h> void go_callback(); static void *thr(void *arg) { go_callback(); return 0; } static void foo() { pthread_t th; pthread_attr_t attr; pthread_attr_init(&attr); pthread_attr_setstacksize(&attr, 256 << 10);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 17 21:53:11 UTC 2023 - 1.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 5.4K bytes - Viewed (0) -
docs/de/docs/advanced/openapi-callbacks.md
## Die normale **FastAPI**-Anwendung Sehen wir uns zunächst an, wie die normale API-Anwendung aussehen würde, bevor wir den Callback hinzufügen. Sie verfügt über eine *Pfadoperation*, die einen `Invoice`-Body empfängt, und einen Query-Parameter `callback_url`, der die URL für den Callback enthält.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 20:17:23 UTC 2024 - 8.8K bytes - Viewed (0) -
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)