Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 523 for MASK (0.26 sec)

  1. 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)
  2. pkg/util/iptables/save_restore_test.go

    		-A KUBE-SVC-2222222222222222 -m comment --comment "kube-system/kube-dns:dns-tcp" -j KUBE-SVC-3333333333333333
    		-A KUBE-SVC-3333333333333333 -p tcp -m comment --comment "kube-system/kube-dns:dns-tcp" -m recent --set --name KUBE-SVC-3333333333333333 --mask 255.255.255.255 --rsource -j DNAT --to-destination 10.246.1.2:53
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. 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.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/build/relnote/links.go

    func isIdentASCII(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,
    	// and this function will return false.
    	const mask = 0 |
    		(1<<26-1)<<'A' |
    		(1<<26-1)<<'a' |
    		(1<<10-1)<<'0' |
    		1<<'_'
    
    	return ((uint64(1)<<c)&(mask&(1<<64-1)) |
    		(uint64(1)<<(c-64))&(mask>>64)) != 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. src/math/trig_reduce.go

    	const PI4 = Pi / 4
    	if x < PI4 {
    		return 0, x
    	}
    	// Extract out the integer and exponent such that,
    	// x = ix * 2 ** exp.
    	ix := Float64bits(x)
    	exp := int(ix>>shift&mask) - bias - shift
    	ix &^= mask << shift
    	ix |= 1 << shift
    	// Use the exponent to extract the 3 appropriate uint64 digits from mPi4,
    	// B ~ (z0, z1, z2), such that the product leading digit has the exponent -61.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/writebarrier.go

    // A ZeroRegion only applies to a single memory state.
    // Each bit in mask is set if the corresponding pointer-sized word of
    // the base object is known to be zero.
    // In other words, if mask & (1<<i) != 0, then [base+i*ptrSize, base+(i+1)*ptrSize)
    // is known to be zero.
    type ZeroRegion struct {
    	base *Value
    	mask uint64
    }
    
    // mightBeHeapPointer reports whether v might point to the heap.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  7. src/sync/poolqueue.go

    func (d *poolDequeue) unpack(ptrs uint64) (head, tail uint32) {
    	const mask = 1<<dequeueBits - 1
    	head = uint32((ptrs >> dequeueBits) & mask)
    	tail = uint32(ptrs & mask)
    	return
    }
    
    func (d *poolDequeue) pack(head, tail uint32) uint64 {
    	const mask = 1<<dequeueBits - 1
    	return (uint64(head) << dequeueBits) |
    		uint64(tail&mask)
    }
    
    // pushHead adds val at the head of the queue. It returns false if the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 18:12:29 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. src/internal/bytealg/compare_386.s

    	JEQ	allsame
    
    diff4:
    	BSWAPL	BX	// reverse order of bytes
    	BSWAPL	CX
    	XORL	BX, CX	// find bit differences
    	BSRL	CX, CX	// index of highest bit difference
    	SHRL	CX, BX	// move a's bit to bottom
    	ANDL	$1, BX	// mask bit
    	LEAL	-1(BX*2), BX // 1/0 => +1/-1
    	MOVL	BX, (AX)
    	RET
    
    	// 0-3 bytes in common
    small:
    	LEAL	(BP*8), CX
    	NEGL	CX
    	JEQ	allsame
    
    	// load si
    	CMPB	SI, $0xfc
    	JA	si_high
    	MOVL	(SI), SI
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 23 21:22:58 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/cpumanager/policy_static.go

    	bitmask.IterateBitMasks(p.topology.CPUDetails.NUMANodes().List(), func(mask bitmask.BitMask) {
    		// First, update minAffinitySize for the current request size.
    		cpusInMask := p.topology.CPUDetails.CPUsInNUMANodes(mask.GetBits()...).Size()
    		if cpusInMask >= request && mask.Count() < minAffinitySize {
    			minAffinitySize = mask.Count()
    		}
    
    		// Then check to see if we have enough CPUs available on the current
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 06 13:16:15 UTC 2023
    - 28.8K bytes
    - Viewed (0)
  10. src/math/floor.go

    	//
    	// func Round(x float64) float64 {
    	//   t := Trunc(x)
    	//   if Abs(x-t) >= 0.5 {
    	//     return t + Copysign(1, x)
    	//   }
    	//   return t
    	// }
    	bits := Float64bits(x)
    	e := uint(bits>>shift) & mask
    	if e < bias {
    		// Round abs(x) < 1 including denormals.
    		bits &= signMask // +-0
    		if e == bias-1 {
    			bits |= uvone // +-1
    		}
    	} else if e < bias+shift {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.3K bytes
    - Viewed (0)
Back to top