Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 229 for Subtract (0.26 sec)

  1. src/math/bits/bits.go

    	// is (x | y), and a carry from the lower place happened. If such a carry
    	// happens, the top bit will be 1 + 0 + 1 = 0 (&^ sum).
    	carryOut = ((x & y) | ((x | y) &^ sum)) >> 63
    	return
    }
    
    // --- Subtract with borrow ---
    
    // Sub returns the difference of x, y and borrow: diff = x - y - borrow.
    // The borrow input must be 0 or 1; otherwise the behavior is undefined.
    // The borrowOut output is guaranteed to be 0 or 1.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  2. src/cmd/go/internal/cache/cache.go

    			lastTrim := time.Unix(t, 0)
    			if d := now.Sub(lastTrim); d < trimInterval && d > -mtimeInterval {
    				return nil
    			}
    		}
    	}
    
    	// Trim each of the 256 subdirectories.
    	// We subtract an additional mtimeInterval
    	// to account for the imprecision of our "last used" mtimes.
    	cutoff := now.Add(-trimLimit - mtimeInterval)
    	for i := 0; i < 256; i++ {
    		subdir := filepath.Join(c.dir, fmt.Sprintf("%02x", i))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. src/crypto/internal/nistec/p256_asm.go

    type p256OrdElement [4]uint64
    
    // p256OrdReduce ensures s is in the range [0, ord(G)-1].
    func p256OrdReduce(s *p256OrdElement) {
    	// Since 2 * ord(G) > 2²⁵⁶, we can just conditionally subtract ord(G),
    	// keeping the result if it doesn't underflow.
    	t0, b := bits.Sub64(s[0], 0xf3b9cac2fc632551, 0)
    	t1, b := bits.Sub64(s[1], 0xbce6faada7179e84, b)
    	t2, b := bits.Sub64(s[2], 0xffffffffffffffff, b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go

    			accessor.SetNamespace(namespace)
    		}
    	}
    	// there is at least one quota that definitely matches our object
    	// as a result, we need to measure the usage of this object for quota
    	// on updates, we need to subtract the previous measured usage
    	// if usage shows no change, just return since it has no impact on quota
    	deltaUsage, err := evaluator.Usage(inputObject)
    	if err != nil {
    		return quotas, err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/dwarf.go

    			default:
    				opcode = OPCODE_BASE + LINE_RANGE*PC_RANGE - 1 // 249
    			}
    		}
    	}
    	if opcode < OPCODE_BASE || opcode > 255 {
    		panic(fmt.Sprintf("produced invalid special opcode %d", opcode))
    	}
    
    	// Subtract from deltaPC and deltaLC the amounts that the opcode will add.
    	deltaPC -= uint64((opcode - OPCODE_BASE) / LINE_RANGE)
    	deltaLC -= (opcode-OPCODE_BASE)%LINE_RANGE + LINE_BASE
    
    	// Encode deltaPC.
    	if deltaPC != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 20:40:28 UTC 2023
    - 22K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/crypto/cryptobyte/asn1.go

    	if b.err != nil {
    		return
    	}
    
    	b.AddASN1(asn1.INTEGER, func(c *Builder) {
    		if n.Sign() < 0 {
    			// A negative number has to be converted to two's-complement form. So we
    			// invert and subtract 1. If the most-significant-bit isn't set then
    			// we'll need to pad the beginning with 0xff in order to keep the number
    			// negative.
    			nMinus1 := new(big.Int).Neg(n)
    			nMinus1.Sub(nMinus1, bigOne)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  7. src/math/big/arith_s390x.s

    	MOVD z+0(FP), R8
    	MOVD $0, R0          // R0 is a temporary variable used during computation. Ensure it has zero in it.
    
    	CMPBEQ R5, $0, returnC // len(z) == 0, have an early return
    
    	// Subtract the first two words, and determine which path (copy path or loop path) to take based on the borrow flag
    	MOVD   0(R6), R9
    	SUBC   R7, R9
    	MOVD   R9, 0(R8)
    	CMPBEQ R5, $1, returnResult
    	MOVD   8(R6), R9
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/ppc64/asm9.go

    	/* Vector subtract */
    	{as: AVSUBUM, a1: C_VREG, a2: C_VREG, a6: C_VREG, type_: 82, size: 4},            /* vector subtract unsigned modulo, vx-form */
    	{as: AVSUBCU, a1: C_VREG, a2: C_VREG, a6: C_VREG, type_: 82, size: 4},            /* vector subtract & write carry unsigned, vx-form */
    	{as: AVSUBUS, a1: C_VREG, a2: C_VREG, a6: C_VREG, type_: 82, size: 4},            /* vector subtract unsigned saturate, vx-form */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  9. src/internal/trace/gc.go

    				//
    				// However, if UtilPerProc isn't set, then we probably have data from other procs
    				// and from previous events. We need to fix that up.
    				if flags&UtilPerProc != 0 {
    					break
    				}
    				// Subtract out 1/gomaxprocs mutator utilization for all time periods
    				// from the beginning of the trace until now.
    				mi, pi := 0, 0
    				for mi < len(out[0]) {
    					if pi < len(procs)-1 && procs[pi+1].time < out[0][mi].Time {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  10. src/image/jpeg/reader.go

    			// so we check for this before we read the 16-bit length of the segment.
    			continue
    		}
    
    		// Read the 16-bit length of the segment. The value includes the 2 bytes for the
    		// length itself, so we subtract 2 to get the number of remaining bytes.
    		if err = d.readFull(d.tmp[:2]); err != nil {
    			return nil, err
    		}
    		n := int(d.tmp[0])<<8 + int(d.tmp[1]) - 2
    		if n < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 22.5K bytes
    - Viewed (0)
Back to top