- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 134 for __callback (0.2 sec)
-
okhttp/src/main/kotlin/okhttp3/Callback.kt
e: IOException, ) /** * Called when the HTTP response was successfully returned by the remote server. The callback may * proceed to read the response body with [Response.body]. The response is still live until its * response body is [closed][ResponseBody]. The recipient of the callback may consume the response * body on another thread. *
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.6K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/cgo-callback.go
// license that can be found in the LICENSE file. // Tests CPU profiling. //go:build ignore package main /* #include <pthread.h> void go_callback(); void go_callback2(); 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: Fri May 17 18:48:18 UTC 2024 - 1.3K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/cgonocallback.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main // #cgo nocallback annotations for a C function means it should not callback to Go. // But it do callback to go in this test, Go should crash here. /* // TODO(#56378): #cgo nocallback runCShouldNotCallback extern void runCShouldNotCallback(); */ import "C" import ( "fmt" ) func init() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 16:43:23 UTC 2023 - 629 bytes - Viewed (0) -
src/runtime/race/output_test.go
typedef struct cb { int foo; } cb; extern void goCallback(); static inline void *threadFunc(void *p) { goCallback(); return 0; } static inline void startThread(cb* c) { pthread_t th; pthread_create(&th, 0, threadFunc, 0); } */ import "C" var done chan bool var racy int //export goCallback func goCallback() { racy++ done <- true } func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 25 20:44:25 UTC 2023 - 9.3K bytes - Viewed (0) -
callbacks.go
} } return nil } func (p *processor) Before(name string) *callback { return &callback{before: name, processor: p} } func (p *processor) After(name string) *callback { return &callback{after: name, processor: p} } func (p *processor) Match(fc func(*DB) bool) *callback { return &callback{match: fc, processor: p} } func (p *processor) Register(name string, fn func(*DB)) error {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Tue Mar 26 03:33:36 UTC 2024 - 8.6K bytes - Viewed (0) -
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) -
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) -
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/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)