Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 118 for maskOf (0.46 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/runtime/signal_unix.go

    	maskUpdatedChan = make(chan struct{})
    	disableSigChan = make(chan uint32)
    	enableSigChan = make(chan uint32)
    	go func() {
    		// Signal masks are per-thread, so make sure this goroutine stays on one
    		// thread.
    		LockOSThread()
    		defer UnlockOSThread()
    		// The sigBlocked mask contains the signals not active for os/signal,
    		// initially all signals except the essential. When signal.Notify()/Stop is called,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/ppc64/obj9.go

    }
    
    // Encode a doubleword rotate mask into mb (mask begin) and
    // me (mask end, inclusive). Note, POWER ISA labels bits in
    // big endian order.
    func encodePPC64RLDCMask(mask int64) (mb, me int) {
    	// Determine boundaries and then decode them
    	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: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  10. src/sync/atomic/doc.go

    func AndUint32(addr *uint32, mask uint32) (old uint32)
    
    // AndInt64 atomically performs a bitwise AND operation on *addr using the bitmask provided as mask
    // and returns the old value.
    // Consider using the more ergonomic and less error-prone [Int64.And] instead.
    func AndInt64(addr *int64, mask int64) (old int64)
    
    // AndUint64 atomically performs a bitwise AND operation on *addr using the bitmask provided as mask
    // and returns the old.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top