Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,635 for Koop (0.05 sec)

  1. pkg/kubelet/pluginmanager/operationexecutor/operation_executor_test.go

    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)
  2. tensorflow/cc/framework/while_gradients_test.cc

    TEST_F(WhileGradientsTest, Chaining) {
      Init(2, DT_DOUBLE);
    
      // Multiply each input by 2 before passing to while loop to make sure chaining
      // works properly
      std::vector<Output> loop_inputs = {ops::Multiply(scope_, inputs_[0], 2.0),
                                         ops::Multiply(scope_, inputs_[1], 2.0)};
    
      // Create loop: while (i > 0 && j > 0) i -= 1
      CreateLoop(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 27 20:32:17 UTC 2017
    - 7.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/reconcilers/peer_endpoint_lease.go

    	// RemoveEndpoints removes this apiserver's peer endpoint lease.
    	RemoveLease(serverId string) error
    	// Destroy cleans up everything on shutdown.
    	Destroy()
    	// StopReconciling turns any later ReconcileEndpoints call into a noop.
    	StopReconciling()
    }
    
    type peerEndpointLeaseReconciler struct {
    	serverLeases          *peerEndpointLeases
    	stopReconcilingCalled atomic.Bool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/range.go

    		// or the other of hp and hu as the loop proceeds.
    		//
    		// hp is live during most of the body of the loop. But it isn't live
    		// at the very top of the loop, when we haven't checked i<n yet, and
    		// it could point off the end of the backing store.
    		// hu is live only at the very top and very bottom of the loop.
    		// In particular, only when it cannot possibly be live across a call.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:33 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue9400/asm_arm.s

    	// Ask signaller to setgid
    	MOVW	$·Baton(SB), R2
    storeloop:
    	MOVW	0(R2), R0
    	MOVW	$1, R1
    	BL	cas<>(SB)
    	BCC	storeloop
    
    	// Wait for setgid completion
    loop:
    	MOVW	$0, R0
    	MOVW	$0, R1
    	BL	cas<>(SB)
    	BCC	loop
    
    	// Restore stack
    	SUB	$(1024 * 8), R13
    
    	MOVW	R4, R14
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 758 bytes
    - Viewed (0)
  6. doc/next/2-language.md

    The "range" clause in a "for-range" loop now accepts iterator functions of the following types
    
    	func(func() bool)
    	func(func(K) bool)
    	func(func(K, V) bool)
    
    as range expressions.
    Calls of the iterator argument function produce the iteration values for the "for-range" loop.
    For details see the [language spec](/ref/spec#For_statements).
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 19:56:43 UTC 2024
    - 757 bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/loopbce.go

    // findIndVar finds induction variables in a function.
    //
    // Look for variables and blocks that satisfy the following
    //
    //	 loop:
    //	   ind = (Phi min nxt),
    //	   if ind < max
    //	     then goto enter_loop
    //	     else goto exit_loop
    //
    //	   enter_loop:
    //		do something
    //	      nxt = inc + ind
    //		goto loop
    //
    //	 exit_loop:
    func findIndVar(f *Func) []indVar {
    	var iv []indVar
    	sdom := f.Sdom()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 17:37:47 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  8. pkg/util/async/bounded_frequency_runner.go

    	}
    	return bfr
    }
    
    // Loop handles the periodic timer and run requests.  This is expected to be
    // called as a goroutine.
    func (bfr *BoundedFrequencyRunner) Loop(stop <-chan struct{}) {
    	klog.V(3).Infof("%s Loop running", bfr.name)
    	bfr.timer.Reset(bfr.maxInterval)
    	for {
    		select {
    		case <-stop:
    			bfr.stop()
    			klog.V(3).Infof("%s Loop stopping", bfr.name)
    			return
    		case <-bfr.timer.C():
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 15 09:36:26 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  9. src/os/signal/signal_plan9.go

    func signal_disable(uint32)
    func signal_enable(uint32)
    func signal_ignore(uint32)
    func signal_ignored(uint32) bool
    func signal_recv() string
    
    func init() {
    	watchSignalLoop = loop
    }
    
    func loop() {
    	for {
    		process(syscall.Note(signal_recv()))
    	}
    }
    
    const numSig = 256
    
    func signum(sig os.Signal) int {
    	switch sig := sig.(type) {
    	case syscall.Note:
    		n, ok := sigtab[sig]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 01 23:55:34 UTC 2020
    - 1K bytes
    - Viewed (0)
  10. test/chan/select.go

    var shift uint
    
    func GetValue() uint {
    	counter++
    	return 1 << shift
    }
    
    func Send(a, b chan uint) int {
    	var i int
    
    LOOP:
    	for {
    		select {
    		case a <- GetValue():
    			i++
    			a = nil
    		case b <- GetValue():
    			i++
    			b = nil
    		default:
    			break LOOP
    		}
    		shift++
    	}
    	return i
    }
    
    func main() {
    	a := make(chan uint, 1)
    	b := make(chan uint, 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 06:44:02 UTC 2012
    - 913 bytes
    - Viewed (0)
Back to top