Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 404 for Decrement (0.34 sec)

  1. cmd/namespace-lock.go

    	if readLock {
    		locked = nsLk.GetRLock(ctx, opsID, lockSource, timeout)
    	} else {
    		locked = nsLk.GetLock(ctx, opsID, lockSource, timeout)
    	}
    
    	if !locked { // We failed to get the lock
    		// Decrement ref count since we failed to get the lock
    		n.lockMapMutex.Lock()
    		n.lockMap[resource].ref--
    		if n.lockMap[resource].ref < 0 {
    			logger.CriticalIf(GlobalContext, errors.New("resource reference count was lower than 0"))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 05 23:56:35 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  2. src/html/template/js_test.go

    		// div op.
    		{jsCtxRegexp, "+"},
    		{jsCtxRegexp, "-"},
    		// An incr/decr op precedes a div operator.
    		// This is not airtight. In (g = ++/h/i) a regexp follows a
    		// pre-increment operator, but in practice devs do not try to
    		// increment or decrement regular expressions.
    		// (g++/h/i) where ++ is a postfix operator on g is much more
    		// common.
    		{jsCtxDivOp, "--"},
    		{jsCtxDivOp, "++"},
    		{jsCtxDivOp, "x--"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 02:20:11 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. src/net/http/httptest/server.go

    					panic("invalid state transition")
    				}
    				s.conns[c] = cs
    			}
    			if s.closed {
    				s.closeConn(c)
    			}
    		case http.StateHijacked, http.StateClosed:
    			// Remove c from the set of tracked conns and decrement it from the
    			// waitgroup, unless it was previously removed.
    			if _, ok := s.conns[c]; ok {
    				delete(s.conns, c)
    				// Keep Close from returning until the user's ConnState hook
    				// (if any) finishes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:26:10 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. src/encoding/json/stream.go

    		for ; scanp < len(dec.buf); scanp++ {
    			c := dec.buf[scanp]
    			dec.scan.bytes++
    			switch dec.scan.step(&dec.scan, c) {
    			case scanEnd:
    				// scanEnd is delayed one byte so we decrement
    				// the scanner bytes count by 1 to ensure that
    				// this value is correct in the next call of Decode.
    				dec.scan.bytes--
    				break Input
    			case scanEndObject, scanEndArray:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  5. src/crypto/aes/gcm_ppc64x.s

    	XXLXOR	V15, V1, V1		// XOR with input
    	P8_STXVB16X(V1,R0,BLK_OUT)	// Store final encryption value to output
    	ADD	$16, BLK_INP		// Increment input pointer
    	ADD	$16, BLK_OUT		// Increment output pointer
    	ADD	$-16, IN_LEN		// Decrement input length
    	BR	block16_loop		// Check for next
    final_block:
    	CMP	IN_LEN, $0
    	BEQ	done
    	GEN_VCIPHER_INPUT		// Generate input value for partial encryption
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    		return "identifier"
    	case *ast.IfStmt:
    		return "if statement"
    	case *ast.ImportSpec:
    		return "import specification"
    	case *ast.IncDecStmt:
    		if n.Tok == token.INC {
    			return "increment statement"
    		}
    		return "decrement statement"
    	case *ast.IndexExpr:
    		return "index expression"
    	case *ast.IndexListExpr:
    		return "index list expression"
    	case *ast.InterfaceType:
    		return "interface type"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset.go

    }
    
    // rDecrement is the amount by which the progress meter R is wound backwards
    // when needed to avoid overflow.
    const rDecrement = fqrequest.MaxSeatSeconds / 2
    
    // highR is the threshold that triggers advance of the epoch.
    // That is, decrementing the global progress meter R by rDecrement.
    const highR = rDecrement + rDecrement/2
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 16:59:21 UTC 2024
    - 42.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

      private strictfp double trueLog2(double d) {
        double trueLog2 = StrictMath.log(d) / StrictMath.log(2);
        // increment until it's >= the true value
        while (StrictMath.pow(2.0, trueLog2) < d) {
          trueLog2 = StrictMath.nextUp(trueLog2);
        }
        // decrement until it's <= the true value
        while (StrictMath.pow(2.0, trueLog2) > d) {
          trueLog2 = StrictMath.nextAfter(trueLog2, Double.NEGATIVE_INFINITY);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  9. pkg/controller/replicaset/replica_set.go

    			logger.V(2).Info("Slow-start failure. Skipping creation of pods, decrementing expectations", "podsSkipped", skippedPods, "kind", rsc.Kind, "replicaSet", klog.KObj(rs))
    			for i := 0; i < skippedPods; i++ {
    				// Decrement the expected number of creates because the informer won't observe this pod
    				rsc.expectations.CreationObserved(logger, rsKey)
    			}
    		}
    		return err
    	} else if diff > 0 {
    		if diff > rsc.burstReplicas {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  10. pilot/pkg/model/jwks_resolver.go

    				e.lastRefreshedTime, e.lastUsedTime, k.issuer)
    			r.keyEntries.Delete(k)
    			return true
    		}
    
    		oldPubKey := e.pubKey
    		// Increment the WaitGroup counter.
    		wg.Add(1)
    
    		go func() {
    			// Decrement the counter when the goroutine completes.
    			defer wg.Done()
    			jwksURI := k.jwksURI
    			if jwksURI == "" {
    				var err error
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top