Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 45 for MASK (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Umask(mask int) (oldmask int) {
    	r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procUmask)), 1, uintptr(mask), 0, 0, 0, 0, 0)
    	oldmask = int(r0)
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Uname(buf *Utsname) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 59.7K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/elf.go

    //	  uint8_t cpr2_size;
    //	  /* The floating-point ABI.  */
    //	  uint8_t fp_abi;
    //	  /* Processor-specific extension.  */
    //	  uint32_t isa_ext;
    //	  /* Mask of ASEs used.  */
    //	  uint32_t ases;
    //	  /* Mask of general flags.  */
    //	  uint32_t flags1;
    //	  uint32_t flags2;
    //	} Elf_Internal_ABIFlags_v0;
    func elfWriteMipsAbiFlags(ctxt *Link) int {
    	sh := elfshname(".MIPS.abiflags")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
Back to top