Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 177 for Decrement (0.13 sec)

  1. cmd/http-stats.go

    	}
    
    	if w == nil { // when response recorder nil, this is an active request
    		hstats.currentS3Requests.Inc(api)
    		bh.httpStats[bucket] = hstats
    		return
    	} // else {
    	hstats.currentS3Requests.Dec(api) // decrement this once we have the response recorder.
    
    	hstats.totalS3Requests.Inc(api)
    	code := w.StatusCode
    
    	switch {
    	case code == 0:
    	case code == 499:
    		// 499 is a good error, shall be counted as canceled.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 06:25:13 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. common/config/.golangci.yml

          - name: unexported-return
          - name: errorf
          - name: context-as-argument
          - name: dot-imports
          - name: error-return
          - name: error-strings
          - name: error-naming
          - name: increment-decrement
          - name: var-naming
          - name: package-comments
          - name: range
          - name: receiver-naming
          - name: indent-error-flow
          - name: superfluous-else
          - name: modifies-parameter
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 20:03:06 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top