Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 9,390 for boop (0.08 sec)

  1. pkg/queue/instance.go

    	HasSynced() bool
    }
    
    type queueImpl struct {
    	delay     time.Duration
    	tasks     []*queueTask
    	cond      *sync.Cond
    	closing   bool
    	closed    chan struct{}
    	closeOnce *sync.Once
    	// initialSync indicates the queue has initially "synced".
    	initialSync *atomic.Bool
    	id          string
    	metrics     *queueMetrics
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jul 21 16:30:36 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/watch/filter.go

    	return fw.result
    }
    
    // Stop stops the upstream watch, which will eventually stop this watch.
    func (fw *filteredWatch) Stop() {
    	fw.incoming.Stop()
    }
    
    // loop waits for new values, filters them, and resends them.
    func (fw *filteredWatch) loop() {
    	defer close(fw.result)
    	for event := range fw.incoming.ResultChan() {
    		filtered, keep := fw.f(event)
    		if keep {
    			fw.result <- filtered
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/wait/wait.go

    // if the loop should be aborted.
    type ConditionFunc func() (done bool, err error)
    
    // ConditionWithContextFunc returns true if the condition is satisfied, or an error
    // if the loop should be aborted.
    //
    // The caller passes along a context that can be used by the condition function.
    type ConditionWithContextFunc func(context.Context) (done bool, err error)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 19:14:11 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  4. pkg/controlplane/reconcilers/none.go

    func NewNoneEndpointReconciler() EndpointReconciler {
    	return &noneEndpointReconciler{}
    }
    
    // ReconcileEndpoints noop reconcile
    func (r *noneEndpointReconciler) ReconcileEndpoints(serviceName string, ip net.IP, endpointPorts []corev1.EndpointPort, reconcilePorts bool) error {
    	return nil
    }
    
    // RemoveEndpoints noop reconcile
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 11:45:48 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  5. src/syscall/js/func.go

    // pause the event loop and spawn a new goroutine.
    // Other wrapped functions which are triggered during a call from Go to JavaScript
    // get executed on the same goroutine.
    //
    // As a consequence, if one wrapped function blocks, JavaScript's event loop
    // is blocked until that function returns. Hence, calling any async JavaScript
    // API, which requires the event loop, like fetch (http.Client), will cause an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 17:47:47 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. pkg/kubelet/pluginmanager/operationexecutor/operation_executor_test.go

    	return opFunc
    }
    
    func isOperationRunSerially(ch <-chan interface{}, quit chan<- interface{}) bool {
    	defer close(quit)
    	numOperationsStarted := 0
    loop:
    	for {
    		select {
    		case <-ch:
    			numOperationsStarted++
    			if numOperationsStarted > 1 {
    				return false
    			}
    		case <-time.After(5 * time.Second):
    			break loop
    		}
    	}
    	return true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/deadness_analysis.cc

    //
    // `X` may contain symbolic predicates and the operations corresponding to these
    // symbolic predicates are either in frame `loop` or outside it.  The symbols
    // that are inside frame `loop` are loop variant (i.e. can have different
    // liveness in each loop iteration) and the symbols that are outside frame
    // `loop` are loop invariant (i.e. have the same liveness across all
    // iterations).
    class AndRecurrencePredicate : public Predicate {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  8. pkg/kubelet/cloudresource/cloud_request_manager_test.go

    		name                   string
    		addrs                  []v1.NodeAddress
    		err                    error
    		wantAddrs              []v1.NodeAddress
    		wantErr                bool
    		shouldDisableInstances bool
    	}{
    		{
    			name:    "first sync loop encounters an error",
    			err:     errors.New("bad"),
    			wantErr: true,
    		},
    		{
    			name:                   "failed to get instances from cloud provider",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. src/regexp/syntax/compile.go

    	return f
    }
    
    func (c *compiler) quest(f1 frag, nongreedy bool) frag {
    	f := c.inst(InstAlt)
    	i := &c.p.Inst[f.i]
    	if nongreedy {
    		i.Arg = f1.i
    		f.out = makePatchList(f.i << 1)
    	} else {
    		i.Out = f1.i
    		f.out = makePatchList(f.i<<1 | 1)
    	}
    	f.out = f.out.append(c.p, f1.out)
    	return f
    }
    
    // loop returns the fragment for the main loop of a plus or star.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 13 14:52:20 UTC 2021
    - 6.8K bytes
    - Viewed (0)
  10. src/go/doc/testdata/testing.go

    	}
    }
    
    func RunTests(matchString func(pat, str string) (bool, error), tests []InternalTest) (ok bool) {
    	ok = true
    	if len(tests) == 0 {
    		fmt.Fprintln(os.Stderr, "testing: warning: no tests to run")
    		return
    	}
    	for _, procs := range cpuList {
    		runtime.GOMAXPROCS(procs)
    		// We build a new channel tree for each run of the loop.
    		// collector merges in one channel all the upstream signals from parallel tests.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 11.8K bytes
    - Viewed (0)
Back to top