Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for nocallback (0.07 sec)

  1. src/cmd/cgo/doc.go

    When a Go function calls a C function, it prepares for the C function to
    call back to a Go function. The #cgo nocallback directive may be used to
    tell the compiler that these preparations are not necessary.
    If the nocallback directive is used and the C function does call back into
    Go code, the program will panic.
    
    For example:
    
    	// #cgo nocallback cFunctionName
    
    # Special cases
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 01 22:52:54 UTC 2024
    - 44K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    //  1. discards all #cgo CFLAGS, LDFLAGS, nocallback and noescape directives,
    //     so they don't make their way into _cgo_export.h.
    //  2. parse the nocallback and noescape directives.
    func (f *File) ProcessCgoDirectives() {
    	linesIn := strings.Split(f.Preamble, "\n")
    	linesOut := make([]string, 0, len(linesIn))
    	f.NoCallbacks = make(map[string]bool)
    	f.NoEscapes = make(map[string]bool)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental.cc

        const TFE_CancelCallback* c_callback, const char* callback_name) {
      tensorflow::CancelCallback callback = [callback = c_callback->callback,
                                             context = c_callback->context]() {
        callback(context);
      };
      return tensorflow::unwrap(cancellation_manager)
          ->RegisterCallbackWithErrorLogging(token, callback, callback_name);
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  4. 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: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. docs/pt/docs/advanced/openapi-callbacks.md

    ## O aplicativo **FastAPI** normal
    
    Vamos primeiro ver como o aplicativo da API normal se pareceria antes de adicionar o callback.
    
    Ele terá uma *operação de rota* que receberá um corpo `Invoice`, e um parâmetro de consulta `callback_url` que conterá a URL para o callback.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 30 19:53:03 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

            loadIncludes(path, sp, callback);
            substitute(sp, callback);
            sp.forEach(properties::setProperty);
        }
    
        public static void substitute(MavenProperties props, Function<String, String> callback) {
            for (Enumeration<?> e = props.propertyNames(); e.hasMoreElements(); ) {
                String name = (String) e.nextElement();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. 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: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/ExtensionConfigurationModule.java

        private final CoreExtensionEntry extension;
        private final Function<String, String> callback;
        private final DefaultInterpolator interpolator = new DefaultInterpolator();
    
        public ExtensionConfigurationModule(CoreExtensionEntry extension, Function<String, String> callback) {
            this.extension = extension;
            this.callback = callback;
        }
    
        @Override
        public void configure(Binder binder) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java

     * under the License.
     */
    package org.apache.maven;
    
    import org.apache.maven.execution.MavenSession;
    
    /**
     * Allows core extensions to participate in Maven build session lifecycle.
     *
     * All callback methods (will) follow beforeXXX/afterXXX naming pattern to
     * indicate at what lifecycle point it is being called.
     *
     * @see <a href="https://maven.apache.org/examples/maven-3-lifecycle-extensions.html">example</a>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top