Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 364 for maskOf (0.15 sec)

  1. src/cmd/internal/obj/s390x/rotate.go

    // the intersection between the selected bits and the provided mask.
    // If the intersection is unrepresentable (0 or not contiguous) nil
    // will be returned.
    func (r RotateParams) OutMerge(mask uint64) *RotateParams {
    	mask &= r.OutMask()
    	if mask == 0 {
    		return nil
    	}
    
    	// normalize the mask so that the set bits are left aligned
    	o := bits.LeadingZeros64(^mask)
    	mask = bits.RotateLeft64(mask, o)
    	z := bits.LeadingZeros64(mask)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 21 19:19:04 UTC 2020
    - 3.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

        val isMasked = b1 and B1_FLAG_MASK != 0
        if (isMasked == isClient) {
          // Masked payloads must be read on the server. Unmasked payloads must be read on the client.
          throw ProtocolException(
            if (isClient) {
              "Server-sent frames must not be masked."
            } else {
              "Client-sent frames must be masked."
            },
          )
        }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. src/net/netip/uint128.go

    // significant bit (in hi) and bit 127 is the lowest (lo&1).
    type uint128 struct {
    	hi uint64
    	lo uint64
    }
    
    // mask6 returns a uint128 bitmask with the topmost n bits of a
    // 128-bit number.
    func mask6(n int) uint128 {
    	return uint128{^(^uint64(0) >> n), ^uint64(0) << (128 - n)}
    }
    
    // isZero reports whether u == 0.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 07 21:28:44 UTC 2022
    - 2.2K 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/math/bits/bits.go

    // half returned in lo.
    //
    // This function's execution time does not depend on the inputs.
    func Mul64(x, y uint64) (hi, lo uint64) {
    	const mask32 = 1<<32 - 1
    	x0 := x & mask32
    	x1 := x >> 32
    	y0 := y & mask32
    	y1 := y >> 32
    	w0 := x0 * y0
    	t := x1*y0 + w0>>32
    	w1 := t & mask32
    	w2 := t >> 32
    	w1 += x0 * y1
    	hi = x1*y1 + w2 + w1>>32
    	lo = x * y
    	return
    }
    
    // --- Full-width divide ---
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  8. 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)
  9. src/runtime/internal/math/math.go

    // On supported platforms this is an intrinsic lowered by the compiler.
    func Mul64(x, y uint64) (hi, lo uint64) {
    	const mask32 = 1<<32 - 1
    	x0 := x & mask32
    	x1 := x >> 32
    	y0 := y & mask32
    	y1 := y >> 32
    	w0 := x0 * y0
    	t := x1*y0 + w0>>32
    	w1 := t & mask32
    	w2 := t >> 32
    	w1 += x0 * y1
    	hi = x1*y1 + w2 + w1>>32
    	lo = x * y
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 16:03:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. src/runtime/gcinfo_test.go

    		// may be larger than we expect.
    		return
    	}
    	t.Errorf("bad GC program for %v:\nwant %+v\ngot  %+v", name, mask0, mask)
    }
    
    func trimDead(mask []byte) []byte {
    	for len(mask) > 0 && mask[len(mask)-1] == typeScalar {
    		mask = mask[:len(mask)-1]
    	}
    	return mask
    }
    
    var infoPtr = []byte{typePointer}
    
    type Ptr struct {
    	*byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:58:08 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top