Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 169 for maskOf (0.16 sec)

  1. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    func (b PSAPI_WORKING_SET_EX_BLOCK) intField(start, length int) uint64 {
    	var mask PSAPI_WORKING_SET_EX_BLOCK
    	for pos := start; pos < start+length; pos++ {
    		mask |= (1 << pos)
    	}
    
    	masked := b & mask
    	return uint64(masked >> start)
    }
    
    // PSAPI_WORKING_SET_EX_INFORMATION contains extended working set information for a process.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/riscv/cpu.go

    	ARDINSTRETH: true,
    }
    
    // Instruction encoding masks.
    const (
    	// BTypeImmMask is a mask including only the immediate portion of
    	// B-type instructions.
    	BTypeImmMask = 0xfe000f80
    
    	// CBTypeImmMask is a mask including only the immediate portion of
    	// CB-type instructions.
    	CBTypeImmMask = 0x1c7c
    
    	// CJTypeImmMask is a mask including only the immediate portion of
    	// CJ-type instructions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:19:33 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. src/crypto/internal/bigmod/nat.go

    func (x *Nat) assign(on choice, y *Nat) *Nat {
    	// Eliminate bounds checks in the loop.
    	size := len(x.limbs)
    	xLimbs := x.limbs[:size]
    	yLimbs := y.limbs[:size]
    
    	mask := ctMask(on)
    	for i := 0; i < size; i++ {
    		xLimbs[i] ^= mask & (xLimbs[i] ^ yLimbs[i])
    	}
    	return x
    }
    
    // add computes x += y and returns the carry.
    //
    // Both operands must have the same announced length.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/authentication/v1/generated.proto

      optional string apiVersion = 2;
    
      // Name of the referent.
      // +optional
      optional string name = 3;
    
      // UID of the referent.
      // +optional
      optional string uID = 4;
    }
    
    // ExtraValue masks the value so protobuf can generate
    // +protobuf.nullable=true
    // +protobuf.options.(gogoproto.goproto_stringer)=false
    message ExtraValue {
      // items, if empty, will result in an empty slice
    
      repeated string items = 1;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/addons/dns/dns_test.go

    		isDualStack                    bool
    	}{
    		{
    			name:          "subnet mask 12",
    			svcSubnet:     "10.96.0.0/12",
    			expectedDNSIP: "10.96.0.10",
    		},
    		{
    			name:          "subnet mask 26",
    			svcSubnet:     "10.87.116.64/26",
    			expectedDNSIP: "10.87.116.74",
    		},
    		{
    			name:          "dual-stack ipv4 primary, subnet mask 26",
    			svcSubnet:     "10.87.116.64/26,fd03::/112",
    			expectedDNSIP: "10.87.116.74",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  6. src/html/template/js_test.go

    		//   followed by an escaping text span end."
    		// Furthermore, spoofing an escaping text span end could lead
    		// to different interpretation of a </script> sequence otherwise
    		// masked by the escaping text span, and spoofing a start could
    		// allow regular text content to be interpreted as script
    		// allowing script execution via a combination of a JS string
    		// injection followed by an HTML text injection.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 02:20:11 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/authentication/v1/types.go

    	// Any additional information provided by the authenticator.
    	// +optional
    	Extra map[string]ExtraValue `json:"extra,omitempty" protobuf:"bytes,4,rep,name=extra"`
    }
    
    // ExtraValue masks the value so protobuf can generate
    // +protobuf.nullable=true
    // +protobuf.options.(gogoproto.goproto_stringer)=false
    type ExtraValue []string
    
    func (t ExtraValue) String() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. src/math/rand/v2/rand.go

    // uint64n is the no-bounds-checks version of Uint64N.
    func (r *Rand) uint64n(n uint64) uint64 {
    	if is32bit && uint64(uint32(n)) == n {
    		return uint64(r.uint32n(uint32(n)))
    	}
    	if n&(n-1) == 0 { // n is power of two, can mask
    		return r.Uint64() & (n - 1)
    	}
    
    	// Suppose we have a uint64 x uniform in the range [0,2⁶⁴)
    	// and want to reduce it to the range [0,n) preserving exact uniformity.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. src/runtime/symtab.go

    	// Return off == ^uint32(0) ? 0 : f.datap.gofunc + uintptr(off), but without branches.
    	// The compiler calculates mask on most architectures using conditional assignment.
    	var mask uintptr
    	if off == ^uint32(0) {
    		mask = 1
    	}
    	mask--
    	raw := base + uintptr(off)
    	return unsafe.Pointer(raw & mask)
    }
    
    // step advances to the next pc, value pair in the encoded table.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  10. test/codegen/shift.go

    	return v >> uint32(33)
    }
    
    func rshConst64x32(v int64) int64 {
    	// ppc64x:"SRAD"
    	// riscv64:"SRAI\t",-"OR",-"SLTIU"
    	return v >> uint32(33)
    }
    
    // ------------------ //
    //   masked shifts    //
    // ------------------ //
    
    func lshMask64x64(v int64, s uint64) int64 {
    	// arm64:"LSL",-"AND"
    	// ppc64x:"RLDICL",-"ORN",-"ISEL"
    	// riscv64:"SLL",-"AND\t",-"SLTIU"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top