Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for VirtualFree (0.1 sec)

  1. src/runtime/race/race_windows_test.go

    	// are implemented inside of race runtime.
    	kernel32 := syscall.NewLazyDLL("kernel32.dll")
    	VirtualAlloc := kernel32.NewProc("VirtualAlloc")
    	VirtualFree := kernel32.NewProc("VirtualFree")
    	const (
    		MEM_COMMIT     = 0x00001000
    		MEM_RESERVE    = 0x00002000
    		MEM_RELEASE    = 0x8000
    		PAGE_READWRITE = 0x04
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  2. src/runtime/mem_windows.go

    	if r != 0 {
    		return
    	}
    
    	// Decommit failed. Usual reason is that we've merged memory from two different
    	// VirtualAlloc calls, and Windows will only let each VirtualFree handle pages from
    	// a single VirtualAlloc. It is okay to specify a subset of the pages from a single alloc,
    	// just not pages from multiple allocs. This is a rare case, arising only when we're
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top