Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 584 for MASK (0.06 sec)

  1. src/runtime/os_aix.go

    		// it was deliver in a non-Go thread.
    		c.set_sigcode(_SI_USER)
    	}
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func sigaddset(mask *sigset, i int) {
    	(*mask)[(i-1)/64] |= 1 << ((uint32(i) - 1) & 63)
    }
    
    func sigdelset(mask *sigset, i int) {
    	(*mask)[(i-1)/64] &^= 1 << ((uint32(i) - 1) & 63)
    }
    
    func setProcessCPUProfiler(hz int32) {
    	setProcessCPUProfilerTimer(hz)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/quota/v1/resources.go

    		if _, found := result[key]; !found {
    			quantity := value.DeepCopy()
    			quantity.Neg()
    			result[key] = quantity
    		}
    	}
    	return result
    }
    
    // Mask returns a new resource list that only has the values with the specified names
    func Mask(resources corev1.ResourceList, names []corev1.ResourceName) corev1.ResourceList {
    	nameSet := ToSet(names)
    	result := corev1.ResourceList{}
    	for key, value := range resources {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 06 23:11:22 UTC 2021
    - 8.7K bytes
    - Viewed (0)
  3. src/syscall/syscall_solaris.go

    type WaitStatus uint32
    
    const (
    	mask  = 0x7F
    	core  = 0x80
    	shift = 8
    
    	exited  = 0
    	stopped = 0x7F
    )
    
    func (w WaitStatus) Exited() bool { return w&mask == exited }
    
    func (w WaitStatus) ExitStatus() int {
    	if w&mask != exited {
    		return -1
    	}
    	return int(w >> shift)
    }
    
    func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != 0 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top