Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 308 for mask6 (1.66 sec)

  1. src/net/netip/netip.go

    		return ip.addr.xor(p.ip.addr).and(mask6(p.Bits())).isZero()
    	}
    }
    
    // Overlaps reports whether p and o contain any IP addresses in common.
    //
    // If p and o are of different address families or either have a zero
    // IP, it reports false. Like the Contains method, a prefix with an
    // IPv4-mapped IPv6 address is still treated as an IPv6 mask.
    func (p Prefix) Overlaps(o Prefix) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  2. src/unicode/utf8/utf8.go

    		return rune(p0&mask2)<<6 | rune(b1&maskx), 2
    	}
    	b2 := p[2]
    	if b2 < locb || hicb < b2 {
    		return RuneError, 1
    	}
    	if sz <= 3 {
    		return rune(p0&mask3)<<12 | rune(b1&maskx)<<6 | rune(b2&maskx), 3
    	}
    	b3 := p[3]
    	if b3 < locb || hicb < b3 {
    		return RuneError, 1
    	}
    	return rune(p0&mask4)<<18 | rune(b1&maskx)<<12 | rune(b2&maskx)<<6 | rune(b3&maskx), 4
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:36 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. src/image/draw/draw.go

    					return
    				}
    			} else if mask0, ok := mask.(*image.Alpha); ok {
    				switch src0 := src.(type) {
    				case *image.Uniform:
    					drawGlyphOver(dst0, r, src0, mask0, mp)
    					return
    				case *image.RGBA:
    					drawRGBAMaskOver(dst0, r, src0, sp, mask0, mp)
    					return
    				case *image.Gray:
    					drawGrayMaskOver(dst0, r, src0, sp, mask0, mp)
    					return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  4. src/net/ip.go

    		}
    	}
    	return true
    }
    
    // Mask returns the result of masking the IP address ip with mask.
    func (ip IP) Mask(mask IPMask) IP {
    	if len(mask) == IPv6len && len(ip) == IPv4len && allFF(mask[:12]) {
    		mask = mask[12:]
    	}
    	if len(mask) == IPv4len && len(ip) == IPv6len && bytealg.Equal(ip[:12], v4InV6Prefix) {
    		ip = ip[12:]
    	}
    	n := len(ip)
    	if n != len(mask) {
    		return nil
    	}
    	out := make(IP, n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/apis/kubeadm/validation/validation.go

    func ValidatePodSubnetNodeMask(subnetStr string, c *kubeadm.ClusterConfiguration, fldPath *field.Path) field.ErrorList {
    	allErrs := field.ErrorList{}
    	// subnets were already validated
    	subnets, _ := netutils.ParseCIDRs(strings.Split(subnetStr, ","))
    	for _, podSubnet := range subnets {
    		// obtain podSubnet mask
    		mask := podSubnet.Mask
    		maskSize, _ := mask.Size()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewrite.go

    	} else if nbits == 32 {
    		mb = bits.LeadingZeros32(uint32(mask))
    		me = 32 - bits.TrailingZeros32(uint32(mask))
    		mbn = bits.LeadingZeros32(^uint32(mask))
    		men = 32 - bits.TrailingZeros32(^uint32(mask))
    	} else {
    		mb = bits.LeadingZeros64(uint64(mask))
    		me = 64 - bits.TrailingZeros64(uint64(mask))
    		mbn = bits.LeadingZeros64(^uint64(mask))
    		men = 64 - bits.TrailingZeros64(^uint64(mask))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/riscv/cpu.go

    	ARDINSTRETH: true,
    }
    
    // Instruction encoding masks.
    const (
    	// BTypeImmMask is a mask including only the immediate portion of
    	// B-type instructions.
    	BTypeImmMask = 0xfe000f80
    
    	// CBTypeImmMask is a mask including only the immediate portion of
    	// CB-type instructions.
    	CBTypeImmMask = 0x1c7c
    
    	// CJTypeImmMask is a mask including only the immediate portion of
    	// CJ-type instructions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:19:33 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. src/os/signal/doc.go

    the SIGPROF signal in particular.
    
    The non-Go code should not change the signal mask on any threads
    created by the Go runtime. If the non-Go code starts new threads
    itself, those threads may set the signal mask as they please.
    
    If the non-Go code starts a new thread, changes the signal mask, and
    then invokes a Go function in that thread, the Go runtime will
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:11:00 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/op.go

    	s += "INS:\n"
    	for _, i := range r.inputs {
    		mask := fmt.Sprintf("%64b", i.regs)
    		mask = strings.Replace(mask, "0", ".", -1)
    		s += fmt.Sprintf("%2d |%s|\n", i.idx, mask)
    	}
    	s += "OUTS:\n"
    	for _, i := range r.outputs {
    		mask := fmt.Sprintf("%64b", i.regs)
    		mask = strings.Replace(mask, "0", ".", -1)
    		s += fmt.Sprintf("%2d |%s|\n", i.idx, mask)
    	}
    	s += "CLOBBERS:\n"
    	mask := fmt.Sprintf("%64b", r.clobbers)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  10. src/runtime/asm_386.s

    DATA masks<>+0xac(SB)/4, $0x00000000
    
    DATA masks<>+0xb0(SB)/4, $0xffffffff
    DATA masks<>+0xb4(SB)/4, $0xffffffff
    DATA masks<>+0xb8(SB)/4, $0x00ffffff
    DATA masks<>+0xbc(SB)/4, $0x00000000
    
    DATA masks<>+0xc0(SB)/4, $0xffffffff
    DATA masks<>+0xc4(SB)/4, $0xffffffff
    DATA masks<>+0xc8(SB)/4, $0xffffffff
    DATA masks<>+0xcc(SB)/4, $0x00000000
    
    DATA masks<>+0xd0(SB)/4, $0xffffffff
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 15:45:13 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top