Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 712 for Fmask (0.03 sec)

  1. src/internal/bytealg/compare_amd64.s

    	ADDQ	$16, DI
    	SUBQ	$16, R8
    	JMP	loop
    
    diff64:
    	ADDQ	$48, SI
    	ADDQ	$48, DI
    	JMP	diff16
    diff48:
    	ADDQ	$32, SI
    	ADDQ	$32, DI
    	JMP	diff16
    diff32:
    	ADDQ	$16, SI
    	ADDQ	$16, DI
    	// AX = bit mask of differences
    diff16:
    	BSFQ	AX, BX	// index of first byte that differs
    	XORQ	AX, AX
    	MOVB	(SI)(BX*1), CX
    	CMPB	CX, (DI)(BX*1)
    	SETHI	AX
    	LEAQ	-1(AX*2), AX	// convert 1/0 to +1/-1
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 17:17:01 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/DoubleUtils.java

        return -Math.nextUp(-d);
      }
    
      // The mask for the significand, according to the {@link
      // Double#doubleToRawLongBits(double)} spec.
      static final long SIGNIFICAND_MASK = 0x000fffffffffffffL;
    
      // The mask for the exponent, according to the {@link
      // Double#doubleToRawLongBits(double)} spec.
      static final long EXPONENT_MASK = 0x7ff0000000000000L;
    
      // The mask for the sign, according to the {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 28 15:37:52 UTC 2021
    - 5.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/ast/inspector/typeof.go

    		return 1 << nValueSpec
    	}
    	return 0
    }
    
    func maskOf(nodes []ast.Node) uint64 {
    	if nodes == nil {
    		return math.MaxUint64 // match all node types
    	}
    	var mask uint64
    	for _, n := range nodes {
    		mask |= typeOf(n)
    	}
    	return mask
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. src/unicode/utf8/utf8.go

    	if x >= as {
    		// The following code simulates an additional check for x == xx and
    		// handling the ASCII and invalid cases accordingly. This mask-and-or
    		// approach prevents an additional branch.
    		mask := rune(x) << 31 >> 31 // Create 0x0000 or 0xFFFF.
    		return rune(p[0])&^mask | RuneError&mask, 1
    	}
    	sz := int(x & 7)
    	accept := acceptRanges[x>>4]
    	if n < sz {
    		return RuneError, 1
    	}
    	b1 := p[1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:36 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. test/codegen/bits.go

    }
    
    func bitSetTest(x int) bool {
    	// amd64:"ANDL\t[$]9, AX"
    	// amd64:"CMPQ\tAX, [$]9"
    	return x&9 == 9
    }
    
    // mask contiguous one bits
    func cont1Mask64U(x uint64) uint64 {
    	// s390x:"RISBGZ\t[$]16, [$]47, [$]0,"
    	return x & 0x0000ffffffff0000
    }
    
    // mask contiguous zero bits
    func cont0Mask64U(x uint64) uint64 {
    	// s390x:"RISBGZ\t[$]48, [$]15, [$]0,"
    	return x & 0xffff00000000ffff
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

                source[offset]);
          }
    
          @Override
          public void putLongLittleEndian(byte[] sink, int offset, long value) {
            long mask = 0xFFL;
            for (int i = 0; i < 8; mask <<= 8, i++) {
              sink[offset + i] = (byte) ((value & mask) >> (i * 8));
            }
          }
        }
      }
    
      static {
        LittleEndianBytes theGetter = JavaLittleEndianBytes.INSTANCE;
        try {
          /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. src/runtime/os_dragonfly.go

    //
    //go:nosplit
    func setSignalstackSP(s *stackt, sp uintptr) {
    	s.ss_sp = sp
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func sigaddset(mask *sigset, i int) {
    	mask.__bits[(i-1)/32] |= 1 << ((uint32(i) - 1) & 31)
    }
    
    func sigdelset(mask *sigset, i int) {
    	mask.__bits[(i-1)/32] &^= 1 << ((uint32(i) - 1) & 31)
    }
    
    //go:nosplit
    func (c *sigctxt) fixsigcode(sig uint32) {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/net/http2/hpack/huffman.go

    		sbits = cbits
    	}
    	if sbits > 7 {
    		// Either there was an incomplete symbol, or overlong padding.
    		// Both are decoding errors per RFC 7541 section 5.2.
    		return ErrInvalidHuffman
    	}
    	if mask := uint(1<<cbits - 1); cur&mask != mask {
    		// Trailing bits must be a prefix of EOS per RFC 7541 section 5.2.
    		return ErrInvalidHuffman
    	}
    
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/crypto/internal/poly1305/sum_generic.go

    		h2r0 := mul64(h2, r0)
    		h0r1 := mul64(h0, r1)
    		h1r1 := mul64(h1, r1)
    		h2r1 := mul64(h2, r1)
    
    		// Since h2 is known to be at most 7 (5 + 1 + 1), and r0 and r1 have their
    		// top 4 bits cleared by rMask{0,1}, we know that their product is not going
    		// to overflow 64 bits, so we can ignore the high part of the products.
    		//
    		// This also means that the product doesn't have a fifth limb (t4).
    		if h2r0.hi != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. src/net/textproto/reader.go

    //	VCHAR          =  %x21-7E
    func validHeaderValueByte(c byte) bool {
    	// mask is a 128-bit bitmap with 1s for allowed bytes,
    	// so that the byte c can be tested with a shift and an and.
    	// If c >= 128, then 1<<c and 1<<(c-64) will both be zero.
    	// Since this is the obs-text range, we invert the mask to
    	// create a bitmap with 1s for disallowed bytes.
    	const mask = 0 |
    		(1<<(0x7f-0x21)-1)<<0x21 | // VCHAR: %x21-7E
    		1<<0x20 | // SP: %x20
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top