Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 47 for MASK (0.06 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.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 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    // intField extracts an integer field in the PSAPI_WORKING_SET_EX_BLOCK union.
    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)
  3. src/runtime/mgc.go

    // is set if ptrs[i] is reachable.
    func gcTestIsReachable(ptrs ...unsafe.Pointer) (mask uint64) {
    	// This takes the pointers as unsafe.Pointers in order to keep
    	// them live long enough for us to attach specials. After
    	// that, we drop our references to them.
    
    	if len(ptrs) > 64 {
    		panic("too many pointers for uint64 mask")
    	}
    
    	// Block GC while we attach specials and drop our references
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  4. src/crypto/x509/x509.go

    		ret[n].Critical = template.PermittedDNSDomainsCritical
    
    		ipAndMask := func(ipNet *net.IPNet) []byte {
    			maskedIP := ipNet.IP.Mask(ipNet.Mask)
    			ipAndMask := make([]byte, 0, len(maskedIP)+len(ipNet.Mask))
    			ipAndMask = append(ipAndMask, maskedIP...)
    			ipAndMask = append(ipAndMask, ipNet.Mask...)
    			return ipAndMask
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  5. src/crypto/tls/conn.go

    		toCheck = len(payload)
    	}
    
    	for i := 0; i < toCheck; i++ {
    		t := uint(paddingLen) - uint(i)
    		// if i <= paddingLen then the MSB of t is zero
    		mask := byte(int32(^t) >> 31)
    		b := payload[len(payload)-1-i]
    		good &^= mask&paddingLen ^ mask&b
    	}
    
    	// We AND together the bits of good and replicate the result across
    	// all the bits.
    	good &= good << 4
    	good &= good << 2
    	good &= good << 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  6. src/runtime/mgcmark.go

    		if flushBgCredit {
    			gcFlushBgCredit(workDone)
    		}
    	}
    	return workDone
    }
    
    // markrootBlock scans the shard'th shard of the block of memory [b0,
    // b0+n0), with the given pointer mask.
    //
    // Returns the amount of work done.
    //
    //go:nowritebarrier
    func markrootBlock(b0, n0 uintptr, ptrmask0 *uint8, gcw *gcWork, shard int) int64 {
    	if rootBlockBytes%(8*goarch.PtrSize) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/decode.go

    	"fmt"
    )
    
    type instArgs [5]instArg
    
    // An instFormat describes the format of an instruction encoding.
    // An instruction with 32-bit value x matches the format if x&mask == value
    // and the predicator: canDecode(x) return true.
    type instFormat struct {
    	mask  uint32
    	value uint32
    	op    Op
    	// args describe how to decode the instruction arguments.
    	// args is stored as a fixed-size array.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 76.9K bytes
    - Viewed (0)
  8. docs/en/data/people.yml

      url: https://github.com/Ventura94
    - login: White-Mask
      count: 6
      avatarUrl: https://avatars.githubusercontent.com/u/31826970?u=8625355dc25ddf9c85a8b2b0b9932826c4c8f44c&v=4
      url: https://github.com/White-Mask
    - login: sehraramiz
      count: 5
      avatarUrl: https://avatars.githubusercontent.com/u/14166324?v=4
      url: https://github.com/sehraramiz
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jun 03 01:09:53 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  9. src/syscall/syscall_windows.go

    //sys	LocalFree(hmem Handle) (handle Handle, err error) [failretval!=0]
    //sys	SetHandleInformation(handle Handle, mask uint32, flags uint32) (err error)
    //sys	FlushFileBuffers(handle Handle) (err error)
    //sys	GetFullPathName(path *uint16, buflen uint32, buf *uint16, fname **uint16) (n uint32, err error) = kernel32.GetFullPathNameW
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  10. src/runtime/mheap.go

    func (b *gcBits) bytep(n uintptr) *uint8 {
    	return addb(&b.x, n)
    }
    
    // bitp returns a pointer to the byte containing bit n and a mask for
    // selecting that bit from *bytep.
    func (b *gcBits) bitp(n uintptr) (bytep *uint8, mask uint8) {
    	return b.bytep(n / 8), 1 << (n % 8)
    }
    
    const gcBitsChunkBytes = uintptr(64 << 10)
    const gcBitsHeaderBytes = unsafe.Sizeof(gcBitsHeader{})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
Back to top