Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 137 for maskOf (0.45 sec)

  1. 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)
  2. pkg/util/iptree/iptree.go

    	if prefix.Addr().Is6() {
    		n = t.rootV6
    	}
    	bitPosition := 0
    	// mask the address for sanity
    	address := prefix.Masked().Addr()
    	// we can't check longer than the request mask
    	mask := prefix.Bits()
    	// walk the network bits of the prefix
    	for bitPosition < mask {
    		// Look for a child checking the bit position after the mask
    		n = n.child[getBitFromAddr(address, bitPosition+1)]
    		if n == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17.7K 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/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)
  5. 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)
  6. 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)
  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. pkg/registry/core/service/ipallocator/ipallocator.go

    	base := subnet.Masked().Addr()
    	bytes := base.AsSlice()
    	// get all the host bits from the subnet
    	n := 8*len(bytes) - subnet.Bits()
    	// set all the host bits to 1
    	for i := len(bytes) - 1; i >= 0 && n > 0; i-- {
    		if n >= 8 {
    			bytes[i] = 0xff
    			n -= 8
    		} else {
    			mask := ^uint8(0) >> (8 - n)
    			bytes[i] |= mask
    			break
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

            .isEqualTo("Client-sent frames must be masked.")
        }
      }
    
      @Test fun serverSentFramesMustNotBeMasked() {
        data.write("8180".decodeHex())
        assertFailsWith<ProtocolException> {
          clientReader.processNextFrame()
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("Server-sent frames must not be masked.")
        }
      }
    
      @Test fun controlFramePayloadMax() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. 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)
Back to top