Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for NewProc (0.64 sec)

  1. src/syscall/zsyscall_windows.go

    	procWSARecv                            = modws2_32.NewProc("WSARecv")
    	procWSARecvFrom                        = modws2_32.NewProc("WSARecvFrom")
    	procWSASend                            = modws2_32.NewProc("WSASend")
    	procWSASendTo                          = modws2_32.NewProc("WSASendTo")
    	procWSAStartup                         = modws2_32.NewProc("WSAStartup")
    	procbind                               = modws2_32.NewProc("bind")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 56.3K bytes
    - Viewed (0)
  2. src/internal/syscall/windows/zsyscall_windows.go

    	procOpenThreadToken                   = modadvapi32.NewProc("OpenThreadToken")
    	procQueryServiceStatus                = modadvapi32.NewProc("QueryServiceStatus")
    	procRevertToSelf                      = modadvapi32.NewProc("RevertToSelf")
    	procSetTokenInformation               = modadvapi32.NewProc("SetTokenInformation")
    	procProcessPrng                       = modbcryptprimitives.NewProc("ProcessPrng")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	procAdjustTokenPrivileges                                = modadvapi32.NewProc("AdjustTokenPrivileges")
    	procAllocateAndInitializeSid                             = modadvapi32.NewProc("AllocateAndInitializeSid")
    	procBuildSecurityDescriptorW                             = modadvapi32.NewProc("BuildSecurityDescriptorW")
    	procChangeServiceConfig2W                                = modadvapi32.NewProc("ChangeServiceConfig2W")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  4. internal/disk/stat_windows.go

    	GetDiskFreeSpaceEx = kernel32.NewProc("GetDiskFreeSpaceExW")
    
    	// GetDiskFreeSpace - https://msdn.microsoft.com/en-us/library/windows/desktop/aa364935(v=vs.85).aspx
    	// Retrieves information about the specified disk, including the amount of free space on the disk.
    	GetDiskFreeSpace = kernel32.NewProc("GetDiskFreeSpaceW")
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. pkg/kubelet/util/util_windows.go

    	serverPart := `\\.`
    	pipePart := "pipe"
    	pipeName := "kubelet-" + podResourcesDir
    	return npipeProtocol + "://" + filepath.Join(serverPart, pipePart, pipeName), nil
    }
    
    var tickCount = syscall.NewLazyDLL("kernel32.dll").NewProc("GetTickCount64")
    
    // GetBootTime returns the time at which the machine was started, truncated to the nearest second
    func GetBootTime() (time.Time, error) {
    	currentTime := time.Now()
    	output, _, err := tickCount.Call()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. pkg/kubelet/winstats/perfcounter_nodestats.go

    	AvailVirtual         uint64
    	AvailExtendedVirtual uint64
    }
    
    var (
    	modkernel32                 = windows.NewLazySystemDLL("kernel32.dll")
    	procGlobalMemoryStatusEx    = modkernel32.NewProc("GlobalMemoryStatusEx")
    	procGetActiveProcessorCount = modkernel32.NewProc("GetActiveProcessorCount")
    )
    
    const allProcessorGroups = 0xFFFF
    
    // NewPerfCounterClient creates a client using perf counters
    func NewPerfCounterClient() (Client, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 18:37:21 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. src/syscall/dll_windows.go

    		panic(e)
    	}
    }
    
    // Handle returns d's module handle.
    func (d *LazyDLL) Handle() uintptr {
    	d.mustLoad()
    	return uintptr(d.dll.Handle)
    }
    
    // NewProc returns a [LazyProc] for accessing the named procedure in the [DLL] d.
    func (d *LazyDLL) NewProc(name string) *LazyProc {
    	return &LazyProc{l: d, Name: name}
    }
    
    // NewLazyDLL creates new [LazyDLL] associated with [DLL] file.
    func NewLazyDLL(name string) *LazyDLL {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.armHasVFPv4", 0},
    	{"runtime.arm64HasATOMICS", 0},
    	{"runtime.asanregisterglobals", 1},
    	{"runtime.deferproc", 1},
    	{"runtime.deferprocStack", 1},
    	{"runtime.deferreturn", 1},
    	{"runtime.newproc", 1},
    	{"runtime.panicoverflow", 1},
    	{"runtime.sigpanic", 1},
    	{"runtime.gcWriteBarrier", 1},
    	{"runtime.duffzero", 1},
    	{"runtime.duffcopy", 1},
    	{"runtime.morestack", 0},
    	{"runtime.morestackc", 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. src/internal/syscall/windows/registry/registry_test.go

    	TimeZoneKeyName             [128]uint16
    	DynamicDaylightTimeDisabled uint8
    }
    
    var (
    	modkernel32 = syscall.NewLazyDLL("kernel32.dll")
    
    	procGetDynamicTimeZoneInformation = modkernel32.NewProc("GetDynamicTimeZoneInformation")
    )
    
    func GetDynamicTimeZoneInformation(dtzi *DynamicTimezoneinformation) (rc uint32, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 19:19:00 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  10. src/runtime/asm_amd64.s

    	MOVQ	$runtime·debugCallV2<ABIInternal>(SB), AX
    	RET
    
    // mainPC is a function value for runtime.main, to be passed to newproc.
    // The reference to runtime.main is made via ABIInternal, since the
    // actual function (not the ABI0 wrapper) is needed by newproc.
    DATA	runtime·mainPC+0(SB)/8,$runtime·main<ABIInternal>(SB)
    GLOBL	runtime·mainPC(SB),RODATA,$8
    
    TEXT runtime·breakpoint(SB),NOSPLIT,$0-0
    	BYTE	$0xcc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
Back to top