Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for __callback (0.48 sec)

  1. 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)
  2. subprojects/core/src/main/java/org/gradle/api/services/internal/RegisteredBuildServiceProvider.java

        }
    
        /**
         * Registers a callback to be called just before the service represented by this provider is stopped.
         * The callback runs even if the service wasn't created.
         * This provider is used as a callback argument.
         * <p>
         * The service will only be stopped after completing all registered callbacks.
         *
         * @param stopAction the callback
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 09:24:00 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. test/linknameasm.dir/a_amd64.s

    // Copyright 2024 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    TEXT	·asm(SB),0,$0-8
    	CALL	·callback(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 208 bytes
    - Viewed (0)
  4. tools/istio-iptables/pkg/log/nflog.go

    			"src", src,
    			"dst", dst,
    		).Infof(comment)
    		return 0
    	}
    
    	// Register our callback for the nflog
    	err = nf.RegisterWithErrorFunc(ctx, fn, func(e error) int {
    		iptablesTrace.Warnf("log failed: %v", e)
    		return 0
    	})
    	if err != nil {
    		log.Errorf("failed to register nflog callback: %v", err)
    		return
    	}
    
    	// Block util the context expires
    	<-ctx.Done()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. test/linknameasm.dir/x.go

    package main
    
    import (
    	"runtime"
    	_ "unsafe"
    )
    
    //go:linkname asm
    func asm(*int)
    
    func main() {
    	x := new(int)
    	asm(x)
    }
    
    // called from asm
    func callback() {
    	runtime.GC() // scan stack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 451 bytes
    - Viewed (0)
  6. tensorflow/c/experimental/stream_executor/stream_executor.cc

      return base;
    }
    
    // Wrapper that allows passing std::function across C API.
    struct HostCallbackContext {
      absl::AnyInvocable<absl::Status() &&> callback;
    };
    
    // This wrapper allows calling `HostCallbackContext::callback` across C API.
    // This function matches `SE_StatusCallbackFn` signature and will be passed as
    // `callback_fn` to `host_callback` in `SP_StreamExecutor`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/filterlatency/filterlatency_test.go

    	if handlerCallCount != 1 {
    		t.Errorf("expected the given handler to be invoked once, but was actually invoked %d times", handlerCallCount)
    	}
    	if actionCallCount != 1 {
    		t.Errorf("expected the action callback to be invoked once, but was actually invoked %d times", actionCallCount)
    	}
    	if filterRecordGot == nil {
    		t.Fatal("expected a filter record in the request context, but got nil")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. internal/grid/stream.go

    	select {
    	case s.Requests <- b:
    		return nil
    	case <-s.ctx.Done():
    		return context.Cause(s.ctx)
    	}
    }
    
    // Results returns the results from the remote server one by one.
    // If any error is returned by the callback, the stream will be canceled.
    // If the context is canceled, the stream will be canceled.
    func (s *Stream) Results(next func(b []byte) error) (err error) {
    	done := false
    	defer func() {
    		if s.cancel != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. pkg/revisions/tag_watcher.go

    // when the tags change.
    type TagWatcher interface {
    	Run(stopCh <-chan struct{})
    	HasSynced() bool
    	AddHandler(handler TagHandler)
    	GetMyTags() sets.String
    }
    
    // TagHandler is a callback for when the tags revision change.
    type TagHandler func(sets.String)
    
    type tagWatcher struct {
    	revision string
    	handlers []TagHandler
    
    	queue    controllers.Queue
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet.go

    	// and inform container to reopen log file after log rotation.
    	kl.containerLogManager.Start()
    	// Adding Registration Callback function for CSI Driver
    	kl.pluginManager.AddHandler(pluginwatcherapi.CSIPlugin, plugincache.PluginHandler(csi.PluginHandler))
    	// Adding Registration Callback function for DRA Plugin
    	if utilfeature.DefaultFeatureGate.Enabled(features.DynamicResourceAllocation) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
Back to top