Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for __callback (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

                Consumer<RESPONSE> callback;
                while ((callback = doneCallbacks.poll()) != null) {
                    executeCallbacks.add(callback);
                }
            }
            if (executeCallbacks.size() > 0) {
                try {
                    executeCallbacks.stream().forEach(callback -> callback.accept(response));
                } catch (final Exception ignore) {}
            }
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top