- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 196 for MASK (0.1 sec)
-
src/runtime/os_linux_generic.go
var sigset_all = sigset{^uint32(0), ^uint32(0)} //go:nosplit //go:nowritebarrierrec func sigaddset(mask *sigset, i int) { (*mask)[(i-1)/32] |= 1 << ((uint32(i) - 1) & 31) } func sigdelset(mask *sigset, i int) { (*mask)[(i-1)/32] &^= 1 << ((uint32(i) - 1) & 31) } //go:nosplit func sigfillset(mask *uint64) { *mask = ^uint64(0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 21 01:56:24 UTC 2022 - 870 bytes - Viewed (0) -
src/sync/atomic/type.go
// And atomically performs a bitwise AND operation on x using the bitmask // provided as mask and returns the old value. func (x *Int32) And(mask int32) (old int32) { return AndInt32(&x.v, mask) } // Or atomically performs a bitwise OR operation on x using the bitmask // provided as mask and returns the old value. func (x *Int32) Or(mask int32) (old int32) { return OrInt32(&x.v, mask) } // An Int64 is an atomic int64. The zero value is zero.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 8.5K 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) -
cmd/cloud-controller-manager/nodeipamcontroller.go
if maskConfigured { // original mask flag is still the main reference. if maskV4Configured || maskV6Configured { return nil, errors.New("usage of --node-cidr-mask-size-ipv4 and --node-cidr-mask-size-ipv6 is not allowed if --node-cidr-mask-size is set. For dual-stack clusters please unset it and use IPFamily specific flags") } mask := int(cfg.NodeCIDRMaskSize) return sortedSizes(mask, mask), nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 14 19:06:22 UTC 2023 - 8.9K bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/testdata/props/returns2.go
// <endcallsites> // <endfuncpreamble> func T_return_feeds_iface_call() { b := newBar(10) b.Plark() } // returns2.go T_multi_return_feeds_iface_call 29 0 1 // <endpropsdump> // {"Flags":0,"ParamFlags":null,"ResultFlags":null}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 20:15:01 UTC 2023 - 5.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/softfloat.go
v.AddArg(arg0) mask := v.Block.NewValue0(v.Pos, OpConst32, v.Type) mask.AuxInt = -0x80000000 v.AddArg(mask) case OpNeg64F: arg0 := v.Args[0] v.reset(OpXor64) v.Type = f.Config.Types.UInt64 v.AddArg(arg0) mask := v.Block.NewValue0(v.Pos, OpConst64, v.Type) mask.AuxInt = -0x8000000000000000 v.AddArg(mask) case OpRound32F: v.Op = OpCopy
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 03 16:14:24 UTC 2021 - 2K bytes - Viewed (0) -
src/net/interface_bsd.go
case *route.InterfaceAddrMessage: if index != 0 && index != m.Index { continue } var mask IPMask switch sa := m.Addrs[syscall.RTAX_NETMASK].(type) { case *route.Inet4Addr: mask = IPv4Mask(sa.IP[0], sa.IP[1], sa.IP[2], sa.IP[3]) case *route.Inet6Addr: mask = make(IPMask, IPv6len) copy(mask, sa.IP[:]) } var ip IP switch sa := m.Addrs[syscall.RTAX_IFA].(type) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 27 05:42:03 UTC 2022 - 2.8K bytes - Viewed (0) -
internal/pubsub/pubsub_test.go
ch3 := make(chan Maskable, 1) doneCh := make(chan struct{}) defer close(doneCh) // Mask matches maskString, should get result if err := ps.Subscribe(Mask(1), ch1, doneCh, func(entry Maskable) bool { return true }); err != nil { t.Fatalf("unexpected error: %v", err) } // Mask matches maskString, should get result if err := ps.Subscribe(Mask(1|2), ch2, doneCh, func(entry Maskable) bool { return true }); err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 5.8K bytes - Viewed (0) -
src/net/http/sniff.go
&maskedSig{ mask: []byte("\xFF\xFF\xFF\xFF\x00\x00\x00\x00\xFF\xFF\xFF\xFF"), pat: []byte("FORM\x00\x00\x00\x00AIFF"), ct: "audio/aiff", }, &maskedSig{ mask: []byte("\xFF\xFF\xFF"), pat: []byte("ID3"), ct: "audio/mpeg", }, &maskedSig{ mask: []byte("\xFF\xFF\xFF\xFF\xFF"), pat: []byte("OggS\x00"), ct: "application/ogg",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 20 21:51:06 UTC 2022 - 7.9K bytes - Viewed (0) -
src/runtime/cgo/gcc_freebsd_sigaction.c
} else { oldgoact->handler = (uintptr_t)(oldact.sa_handler); } for (i = 0 ; i < _SIG_WORDS; i++) { oldgoact->mask.__bits[i] = 0; } for (i = 0; i < 8 * sizeof(oldgoact->mask); i++) { if (sigismember(&oldact.sa_mask, i+1) == 1) { oldgoact->mask.__bits[i/32] |= (uint32_t)(1)<<(i&31); } } oldgoact->flags = oldact.sa_flags; } _cgo_tsan_release(); return ret;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 24 22:38:02 UTC 2023 - 2K bytes - Viewed (0)