Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 64 for MASK (0.07 sec)

  1. 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)
  2. src/runtime/map_fast32.go

    		m := bucketMask(h.B)
    		b = (*bmap)(add(h.buckets, (hash&m)*uintptr(t.BucketSize)))
    		if c := h.oldbuckets; c != nil {
    			if !h.sameSizeGrow() {
    				// There used to be half as many buckets; mask down one more power of two.
    				m >>= 1
    			}
    			oldb := (*bmap)(add(c, (hash&m)*uintptr(t.BucketSize)))
    			if !evacuated(oldb) {
    				b = oldb
    			}
    		}
    	}
    	for ; b != nil; b = b.overflow(t) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. 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)
  4. src/net/net_windows_test.go

    	//    DHCP enabled:                         Yes
    	//    IP Address:                           10.0.0.2
    	//    Subnet Prefix:                        10.0.0.0/24 (mask 255.255.255.0)
    	//    IP Address:                           10.0.0.3
    	//    Subnet Prefix:                        10.0.0.0/24 (mask 255.255.255.0)
    	//    Default Gateway:                      10.0.0.254
    	//    Gateway Metric:                       0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSet.java

        Object[] table = new Object[tableSize];
        int mask = tableSize - 1;
        int hashCode = 0;
        int uniques = 0;
        for (int i = 0; i < n; i++) {
          Object element = checkElementNotNull(elements[i], i);
          int hash = element.hashCode();
          for (int j = Hashing.smear(hash); ; j++) {
            int index = j & mask;
            Object value = table[index];
            if (value == null) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  6. src/runtime/map_faststr.go

    	m := bucketMask(h.B)
    	b := (*bmap)(add(h.buckets, (hash&m)*uintptr(t.BucketSize)))
    	if c := h.oldbuckets; c != nil {
    		if !h.sameSizeGrow() {
    			// There used to be half as many buckets; mask down one more power of two.
    			m >>= 1
    		}
    		oldb := (*bmap)(add(c, (hash&m)*uintptr(t.BucketSize)))
    		if !evacuated(oldb) {
    			b = oldb
    		}
    	}
    	top := tophash(hash)
    	for ; b != nil; b = b.overflow(t) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. src/crypto/internal/mlkem768/mlkem768.go

    		u[i] = ringDecodeAndDecompress10(b)
    	}
    
    	b := (*[encodingSize4]byte)(c[encodingSize10*k:])
    	v := ringDecodeAndDecompress4(b)
    
    	var mask nttElement // s⊺ ◦ NTT(u)
    	for i := range dx.s {
    		mask = polyAdd(mask, nttMul(dx.s[i], ntt(u[i])))
    	}
    	w := polySub(v, inverseNTT(mask))
    
    	return ringCompressAndEncode1(nil, w)
    }
    
    // fieldElement is an integer modulo q, an element of ℤ_q. It is always reduced.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  8. src/runtime/runtime2.go

    	//
    	// Each P must update only its own bit. In order to maintain
    	// consistency, a P going idle must the idle mask simultaneously with
    	// updates to the idle P list under the sched.lock, otherwise a racing
    	// pidleget may clear the mask before pidleput sets the mask,
    	// corrupting the bitmap.
    	//
    	// N.B., procresize takes ownership of all Ps in stopTheWorldWithSema.
    	idlepMask pMask
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  9. src/syscall/exec_linux.go

    			goto childerror
    		}
    
    		for _, c = range sys.AmbientCaps {
    			// Add the c capability to the permitted and inheritable capability mask,
    			// otherwise we will not be able to add it to the ambient capability mask.
    			caps.data[capToIndex(c)].permitted |= capToMask(c)
    			caps.data[capToIndex(c)].inheritable |= capToMask(c)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. src/syscall/syscall_linux.go

    // from stopped via the core dump bit.
    
    const (
    	mask    = 0x7F
    	core    = 0x80
    	exited  = 0x00
    	stopped = 0x7F
    	shift   = 8
    )
    
    func (w WaitStatus) Exited() bool { return w&mask == exited }
    
    func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != exited }
    
    func (w WaitStatus) Stopped() bool { return w&0xFF == stopped }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
Back to top