Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for VirtualQuery (0.18 sec)

  1. src/cmd/go/internal/mmap/mmap_windows.go

    	if err != nil {
    		return Data{}, fmt.Errorf("MapViewOfFile %s: %w", f.Name(), err)
    	}
    	var info windows.MemoryBasicInformation
    	err = windows.VirtualQuery(addr, &info, unsafe.Sizeof(info))
    	if err != nil {
    		return Data{}, fmt.Errorf("VirtualQuery %s: %w", f.Name(), err)
    	}
    	data := unsafe.Slice((*byte)(unsafe.Pointer(addr)), int(info.RegionSize))
    	return Data{f, data}, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 1K bytes
    - Viewed (0)
  2. src/internal/syscall/windows/syscall_windows.go

    //sys	SetFileInformationByHandle(handle syscall.Handle, fileInformationClass uint32, buf unsafe.Pointer, bufsize uint32) (err error) = kernel32.SetFileInformationByHandle
    //sys	VirtualQuery(address uintptr, buffer *MemoryBasicInformation, length uintptr) (err error) = kernel32.VirtualQuery
    //sys	GetTempPath2(buflen uint32, buf *uint16) (n uint32, err error) = GetTempPath2W
    
    const (
    	// flags for CreateToolhelp32Snapshot
    	TH32CS_SNAPMODULE   = 0x08
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. src/internal/syscall/windows/zsyscall_windows.go

    	procSetFileInformationByHandle        = modkernel32.NewProc("SetFileInformationByHandle")
    	procUnlockFileEx                      = modkernel32.NewProc("UnlockFileEx")
    	procVirtualQuery                      = modkernel32.NewProc("VirtualQuery")
    	procNetShareAdd                       = modnetapi32.NewProc("NetShareAdd")
    	procNetShareDel                       = modnetapi32.NewProc("NetShareDel")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. src/runtime/os_windows.go

    	if res == 0 {
    		print("runtime: VirtualQuery failed; errno=", getlasterror(), "\n")
    		throw("VirtualQuery for stack base failed")
    	}
    	// The system leaves an 8K PAGE_GUARD region at the bottom of
    	// the stack (in theory VirtualQuery isn't supposed to include
    	// that, but it does). Add an additional 8K of slop for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    //sys	VirtualProtectEx(process Handle, address uintptr, size uintptr, newProtect uint32, oldProtect *uint32) (err error) = kernel32.VirtualProtectEx
    //sys	VirtualQuery(address uintptr, buffer *MemoryBasicInformation, length uintptr) (err error) = kernel32.VirtualQuery
    //sys	VirtualQueryEx(process Handle, address uintptr, buffer *MemoryBasicInformation, length uintptr) (err error) = kernel32.VirtualQueryEx
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	procVirtualProtectEx                                     = modkernel32.NewProc("VirtualProtectEx")
    	procVirtualQuery                                         = modkernel32.NewProc("VirtualQuery")
    	procVirtualQueryEx                                       = modkernel32.NewProc("VirtualQueryEx")
    	procVirtualUnlock                                        = modkernel32.NewProc("VirtualUnlock")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
Back to top