Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 174 for maskOf (0.12 sec)

  1. src/cmd/compile/internal/ssa/rewrite.go

    	// Rewrite mask to apply after the final left shift.
    	mask_3 := (mask_1 & mask_2) << uint(GetPPC64Shiftsh(sld))
    
    	r_1 := 32 - srw
    	r_2 := GetPPC64Shiftsh(sld)
    	r_3 := (r_1 + r_2) & 31 // This can wrap.
    
    	if uint64(uint32(mask_3)) != mask_3 || mask_3 == 0 {
    		return 0
    	}
    	return encodePPC64RotateMask(int64(r_3), int64(mask_3), 32)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.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/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)
  5. 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)
  6. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    									CacheSize:  pointer.Int32(10),
    								},
    							},
    						},
    					},
    				},
    			},
    			expectedError: "resource \"secrets\" is masked by earlier rule \"*.\"",
    		},
    		{
    			desc: "*. masked by *. group",
    			config: &apiserver.EncryptionConfiguration{
    				Resources: []apiserver.ResourceConfiguration{
    					{
    						Resources: []string{
    							"*.",
    						},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  7. src/net/netip/netip.go

    	ip, err := ParsePrefix(s)
    	if err != nil {
    		panic(err)
    	}
    	return ip
    }
    
    // Masked returns p in its canonical form, with all but the high
    // p.Bits() bits of p.Addr() masked off.
    //
    // If p is zero or otherwise invalid, Masked returns the zero [Prefix].
    func (p Prefix) Masked() Prefix {
    	m, _ := p.ip.Prefix(p.Bits())
    	return m
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  8. src/net/netip/netip_test.go

    			masked: Prefix{},
    		},
    	}
    	for _, test := range tests {
    		t.Run(test.prefix.String(), func(t *testing.T) {
    			got := test.prefix.Masked()
    			if got != test.masked {
    				t.Errorf("Masked=%s, want %s", got, test.masked)
    			}
    		})
    	}
    }
    
    func TestPrefix(t *testing.T) {
    	tests := []struct {
    		prefix      string
    		ip          Addr
    		bits        int
    		str         string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  9. src/crypto/cipher/gcm.go

    	var mask [gcmBlockSize]byte
    
    	for len(in) >= gcmBlockSize {
    		g.cipher.Encrypt(mask[:], counter[:])
    		gcmInc32(counter)
    
    		subtle.XORBytes(out, in, mask[:])
    		out = out[gcmBlockSize:]
    		in = in[gcmBlockSize:]
    	}
    
    	if len(in) > 0 {
    		g.cipher.Encrypt(mask[:], counter[:])
    		gcmInc32(counter)
    		subtle.XORBytes(out, in, mask[:])
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. src/runtime/mbitmap.go

    	// the address of the first word referenced by mask.
    	addr uintptr
    
    	// mask is a bitmask where each bit corresponds to pointer-words after addr.
    	// Bit 0 is the pointer-word at addr, Bit 1 is the next word, and so on.
    	// If a bit is 1, then there is a pointer at that word.
    	// nextFast and next mask out bits in this mask as their pointers are processed.
    	mask uintptr
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
Back to top