Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 704 for mask2 (0.07 sec)

  1. 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)
  2. 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)
  3. src/image/draw/clip_test.go

    	src0 := image.NewRGBA(image.Rect(0, 0, 100, 100))
    	mask0 := image.NewRGBA(image.Rect(0, 0, 100, 100))
    	for _, c := range clipTests {
    		dst := dst0.SubImage(c.dr).(*image.RGBA)
    		src := src0.SubImage(c.sr).(*image.RGBA)
    		r, sp, mp := c.r, c.sp, c.mp
    		if c.nilMask {
    			clip(dst, &r, src, &sp, nil, nil)
    		} else {
    			clip(dst, &r, src, &sp, mask0.SubImage(c.mr), &mp)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 4.4K 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. subprojects/core-api/src/main/java/org/gradle/util/internal/AntUtil.java

            task.setProject(createProject());
            task.execute();
        }
    
        /**
         * Masks a string against Ant property expansion.
         * This needs to be used when adding a File as String property
         * via {@link groovy.ant.AntBuilder}.
         * @param string to mask
         * @return The masked String
         */
        public static String maskFilename(String string) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:48 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top