Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 122 for Decrement (0.17 sec)

  1. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

        address = InetAddresses.decrement(address);
    
        assertEquals(address66255, address);
    
        for (int i = 0; i < 255; i++) {
          address = InetAddresses.decrement(address);
        }
        assertEquals(address660, address);
    
        InetAddress address0000 = InetAddress.getByName("0.0.0.0");
        assertThrows(IllegalArgumentException.class, () -> InetAddresses.decrement(address0000));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/ppc64/a.out.go

    	BI_FU  = 3
    )
    
    // Common values for the BO field.
    
    const (
    	BO_ALWAYS  = 20 // branch unconditionally
    	BO_BCTR    = 16 // decrement ctr, branch on ctr != 0
    	BO_NOTBCTR = 18 // decrement ctr, branch on ctr == 0
    	BO_BCR     = 12 // branch on cr value
    	BO_BCRBCTR = 8  // decrement ctr, branch on ctr != 0 and cr value
    	BO_NOTBCR  = 4  // branch on not cr value
    )
    
    // Bit settings from the CR
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 18:50:29 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. plugin/pkg/auth/authorizer/node/graph.go

    		delete(g.destinationEdgeIndex, n.ID())
    		return
    	}
    
    	// decrement the nodeID->destinationID refcount in the index, if the index exists
    	index := g.destinationEdgeIndex[n.ID()]
    	if index == nil {
    		return
    	}
    	if destinationEdge, ok := e.(*destinationEdge); ok {
    		index.decrement(destinationEdge.DestinationID())
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

                put(BEGIN_KEY, ComponentUtil.getSystemHelper().getCurrentTimeAsLong());
                count = new AtomicInteger(1);
            }
    
            public int increment() {
                return count.incrementAndGet();
            }
    
            public int decrement() {
                return count.decrementAndGet();
            }
        }
    
        public enum StatsAction {
            ACCESSED, //
            ACCESS_EXCEPTION, //
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. src/sync/atomic/doc.go

    // AddUint32 atomically adds delta to *addr and returns the new value.
    // To subtract a signed positive constant value c from x, do AddUint32(&x, ^uint32(c-1)).
    // In particular, to decrement x, do AddUint32(&x, ^uint32(0)).
    // Consider using the more ergonomic and less error-prone [Uint32.Add] instead.
    func AddUint32(addr *uint32, delta uint32) (new uint32)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top