Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 150 for MASK (0.06 sec)

  1. src/html/template/attr.go

    // license that can be found in the LICENSE file.
    
    package template
    
    import (
    	"strings"
    )
    
    // attrTypeMap[n] describes the value of the given attribute.
    // If an attribute affects (or can mask) the encoding or interpretation of
    // other content, or affects the contents, idempotency, or credentials of a
    // network message, then the value in this map is contentTypeUnsafe.
    // This map is derived from HTML5, specifically
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  2. src/net/interface_test.go

    		case *IPNet:
    			if ifa == nil || ifa.IP == nil || ifa.IP.IsMulticast() || ifa.Mask == nil {
    				return nil, fmt.Errorf("unexpected value: %#v", ifa)
    			}
    			if len(ifa.IP) != IPv6len {
    				return nil, fmt.Errorf("should be internal representation either IPv6 or IPv4-mapped IPv6 address: %#v", ifa)
    			}
    			prefixLen, maxPrefixLen := ifa.Mask.Size()
    			if ifa.IP.To4() != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  3. src/crypto/rand/util_test.go

    			}
    			expected := (i + 7) / 8
    			if reader.n != expected {
    				t.Errorf("Int(reader, %d) should read %d bytes, but it read: %d", max, expected, reader.n)
    			}
    		})
    	}
    }
    
    // Test that Int does not mask out valid return values
    func TestIntMask(t *testing.T) {
    	for max := 1; max <= 256; max++ {
    		t.Run(fmt.Sprintf("max=%d", max), func(t *testing.T) {
    			for i := 0; i < max; i++ {
    				if testing.Short() && i == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 01:35:39 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  4. src/runtime/defs_freebsd.go

    // Local consts.
    const (
    	_NBBY            = C.NBBY            // Number of bits in a byte.
    	_CTL_MAXNAME     = C.CTL_MAXNAME     // Largest number of components supported.
    	_CPU_LEVEL_WHICH = C.CPU_LEVEL_WHICH // Actual mask/id for which.
    	_CPU_WHICH_PID   = C.CPU_WHICH_PID   // Specifies a process id.
    )
    
    const (
    	EINTR     = C.EINTR
    	EFAULT    = C.EFAULT
    	EAGAIN    = C.EAGAIN
    	ETIMEDOUT = C.ETIMEDOUT
    
    	O_WRONLY   = C.O_WRONLY
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/net/addrselect.go

    type policyTableEntry struct {
    	Prefix     netip.Prefix
    	Precedence uint8
    	Label      uint8
    }
    
    type policyTable []policyTableEntry
    
    // RFC 6724 section 2.1.
    // Items are sorted by the size of their Prefix.Mask.Size,
    var rfc6724policyTable = policyTable{
    	{
    		// "::1/128"
    		Prefix:     netip.PrefixFrom(netip.AddrFrom16([16]byte{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x01}), 128),
    		Precedence: 50,
    		Label:      0,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 00:24:06 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/serializer/ProgressStartEventSerializer.java

            if ((BUILD_OP_CATEGORY_MASK & maxCategory.ordinal()) != maxCategory.ordinal()) {
                // Too many build operation categories to fit into the flags assigned to encode the category - so you will need to adjust the mask above
                throw new IllegalArgumentException("Too many categories to fit into flags.");
            }
        }
    
        @Override
        public void write(Encoder encoder, ProgressStartEvent event) throws Exception {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  7. src/runtime/sys_freebsd_arm64.s

    	RET
    fail:
    	MOVD	$0, R0
    	MOVD	R0, (R0)	// crash
    
    // func cpuset_getaffinity(level int, which int, id int64, size int, mask *byte) int32
    TEXT runtime·cpuset_getaffinity(SB),NOSPLIT|NOFRAME,$0-44
    	MOVD	level+0(FP), R0
    	MOVD	which+8(FP), R1
    	MOVD	id+16(FP), R2
    	MOVD	size+24(FP), R3
    	MOVD	mask+32(FP), R4
    	MOVD	$SYS_cpuset_getaffinity, R8
    	SVC
    	BCC	ok
    	MOVW	$-1, R0
    ok:
    	MOVW	R0, ret+40(FP)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  8. src/math/log_amd64.s

    #define NegInf 0xFFF0000000000000
    #define PosInf 0x7FF0000000000000
    
    // func Log(x float64) float64
    TEXT ·archLog(SB),NOSPLIT,$0
    	// test bits for special cases
    	MOVQ    x+0(FP), BX
    	MOVQ    $~(1<<63), AX // sign bit mask
    	ANDQ    BX, AX
    	JEQ     isZero
    	MOVQ    $0, AX
    	CMPQ    AX, BX
    	JGT     isNegative
    	MOVQ    $PosInf, AX
    	CMPQ    AX, BX
    	JLE     isInfOrNaN
    	// f1, ki := math.Frexp(x); k := float64(ki)
    	MOVQ    BX, X0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 23 20:52:57 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. src/runtime/sys_freebsd_riscv64.s

    	BNE	T0, ZERO, fail
    	RET
    fail:
    	WORD	$0	// crash
    
    
    // func cpuset_getaffinity(level int, which int, id int64, size int, mask *byte) int32
    TEXT runtime·cpuset_getaffinity(SB),NOSPLIT|NOFRAME,$0-44
    	MOV	level+0(FP), A0
    	MOV	which+8(FP), A1
    	MOV	id+16(FP), A2
    	MOV	size+24(FP), A3
    	MOV	mask+32(FP), A4
    	MOV	$SYS_cpuset_getaffinity, T0
    	ECALL
    	BEQ	T0, ZERO, ok
    	MOV	$-1, A0
    ok:
    	MOVW	A0, ret+40(FP)
    	RET
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  10. pkg/controller/nodeipam/ipam/cidr_allocator.go

    	// ServiceCIDR is primary service cidr for cluster.
    	ServiceCIDR *net.IPNet
    	// SecondaryServiceCIDR is secondary service cidr for cluster.
    	SecondaryServiceCIDR *net.IPNet
    	// NodeCIDRMaskSizes is list of node cidr mask sizes.
    	NodeCIDRMaskSizes []int
    }
    
    // New creates a new CIDR range allocator.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top