- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 111 for maskOf (0.26 sec)
-
test/codegen/bitfield.go
} // check 32-bit shift masking func mask32(x uint32) uint32 { return (x << 29) >> 29 // arm64:"AND\t[$]7, R[0-9]+",-"LSR",-"LSL" } // check 16-bit shift masking func mask16(x uint16) uint16 { return (x << 14) >> 14 // arm64:"AND\t[$]3, R[0-9]+",-"LSR",-"LSL" } // check 8-bit shift masking func mask8(x uint8) uint8 { return (x << 7) >> 7 // arm64:"AND\t[$]1, R[0-9]+",-"LSR",-"LSL" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 23 06:11:32 UTC 2022 - 9.6K bytes - Viewed (0) -
src/crypto/sha1/sha1.go
if i >= 56 { // we might have to write the length here if all fit in one block d.x[i] |= mask1b & length[i-56] } } // compress, and only keep the digest if all fit in one block block(d, d.x[:]) var digest [Size]byte for i, s := range d.h { digest[i*4] = mask1b & byte(s>>24) digest[i*4+1] = mask1b & byte(s>>16) digest[i*4+2] = mask1b & byte(s>>8)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:50:58 UTC 2024 - 5.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/cidr_test.go
expectResult: apiservercel.IP{Addr: ipv4Addr}, }, { name: "masks masked ipv4", expr: `cidr("192.168.0.0/24").masked()`, expectResult: apiservercel.CIDR{Prefix: netip.PrefixFrom(ipv4Addr, 24)}, }, { name: "masks unmasked ipv4", expr: `cidr("192.168.0.1/24").masked()`, expectResult: apiservercel.CIDR{Prefix: netip.PrefixFrom(ipv4Addr, 24)}, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 12:03:09 UTC 2023 - 8.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt
internal const val B0_FLAG_RSV3 = 16 /** Byte 0 mask for the frame opcode. */ internal const val B0_MASK_OPCODE = 15 /** Flag in the opcode which indicates a control frame. */ internal const val OPCODE_FLAG_CONTROL = 8 /** * Byte 1 flag for whether the payload data is masked. * * If this flag is set, the next four
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.8K bytes - Viewed (0) -
src/cmd/internal/obj/s390x/condition_code.go
r |= Less } return r } func (c CCMask) String() string { switch c { // 0-bit mask case Never: return "Never" // 1-bit masks case Equal: return "Equal" case Less: return "Less" case Greater: return "Greater" case Unordered: return "Unordered" // 2-bit masks case EqualOrUnordered: return "EqualOrUnordered" case LessOrEqual: return "LessOrEqual"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 08 01:46:31 UTC 2020 - 3.2K bytes - Viewed (0) -
src/cmd/internal/obj/s390x/rotate.go
// the intersection between the selected bits and the provided mask. // If the intersection is unrepresentable (0 or not contiguous) nil // will be returned. func (r RotateParams) OutMerge(mask uint64) *RotateParams { mask &= r.OutMask() if mask == 0 { return nil } // normalize the mask so that the set bits are left aligned o := bits.LeadingZeros64(^mask) mask = bits.RotateLeft64(mask, o) z := bits.LeadingZeros64(mask)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 21 19:19:04 UTC 2020 - 3.6K bytes - Viewed (0) -
src/internal/bytealg/count_s390x.s
// Load 1-15 bytes and corresponding mask. // Note: only the low 32-bits of R_LEN are used for the index. VLL R_LEN, (R_PTR), V_VAL VLL R_LEN, (R_MPTR), V_MASK // Compare each byte in input chunk against byte to be counted. // Each byte element will be set to either 0 (no match) or 1 (match). VCEQB V_CHAR, V_VAL, V_VAL // each byte will be either 0xff or 0x00 VN V_MASK, V_VAL, V_VAL // mask out most significant 7 bits
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 15 21:04:43 UTC 2019 - 5.4K bytes - Viewed (0) -
src/net/netip/uint128.go
// significant bit (in hi) and bit 127 is the lowest (lo&1). type uint128 struct { hi uint64 lo uint64 } // mask6 returns a uint128 bitmask with the topmost n bits of a // 128-bit number. func mask6(n int) uint128 { return uint128{^(^uint64(0) >> n), ^uint64(0) << (128 - n)} } // isZero reports whether u == 0. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 07 21:28:44 UTC 2022 - 2.2K bytes - Viewed (0) -
src/runtime/internal/math/math.go
// On supported platforms this is an intrinsic lowered by the compiler. func Mul64(x, y uint64) (hi, lo uint64) { const mask32 = 1<<32 - 1 x0 := x & mask32 x1 := x >> 32 y0 := y & mask32 y1 := y >> 32 w0 := x0 * y0 t := x1*y0 + w0>>32 w1 := t & mask32 w2 := t >> 32 w1 += x0 * y1 hi = x1*y1 + w2 + w1>>32 lo = x * y return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 16 16:03:04 UTC 2023 - 1.7K bytes - Viewed (0) -
src/runtime/gcinfo_test.go
// may be larger than we expect. return } t.Errorf("bad GC program for %v:\nwant %+v\ngot %+v", name, mask0, mask) } func trimDead(mask []byte) []byte { for len(mask) > 0 && mask[len(mask)-1] == typeScalar { mask = mask[:len(mask)-1] } return mask } var infoPtr = []byte{typePointer} type Ptr struct { *byte }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 19:58:08 UTC 2023 - 6K bytes - Viewed (0)