- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 518 for MASK (0.16 sec)
-
src/cmd/vendor/golang.org/x/tools/go/ast/inspector/typeof.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 21:28:13 UTC 2023 - 4.8K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)