Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 305 for mask6 (0.07 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. pkg/kubelet/cm/topologymanager/bitmask/bitmask_test.go

    		{
    			name:   "Mask 01 OR mask 10",
    			masks:  [][]int{{0}, {1}},
    			orMask: "11",
    		},
    		{
    			name:   "Mask 11 OR mask 11",
    			masks:  [][]int{{0, 1}, {0, 1}},
    			orMask: "11",
    		},
    		{
    			name:   "Mask 01 OR mask 10 OR mask 11",
    			masks:  [][]int{{0}, {1}, {0, 1}},
    			orMask: "11",
    		},
    		{
    			name:   "Mask 1000 OR mask 0100 OR mask 0010 OR mask 0001",
    			masks:  [][]int{{3}, {2}, {1}, {0}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:09 UTC 2022
    - 16.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  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/internal/bytealg/index_ppc64x.s

    	MOVD $2, R15      // Set up index
    
    	// Set up masks for use with VSEL
    	MOVD   $0xff, R21        // Set up mask 0xff000000ff000000...
    	SLD    $24, R21
    	MTVSRD R21, V10
    	VSPLTW $1, V10, V29
    	VSLDOI $2, V29, V29, V30 // Mask 0x0000ff000000ff00...
    	MOVD   $0xffff, R21
    	SLD    $16, R21
    	MTVSRD R21, V10
    	VSPLTW $1, V10, V31      // Mask 0xffff0000ffff0000...
    	VSPLTW $0, V0, V1        // Splat 1st word of separator
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 16:47:45 UTC 2023
    - 31.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top