Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 43 for newosproc (0.14 sec)

  1. src/cmd/internal/goobj/mkbuiltin.go

    type extra struct {
    	name string
    	abi  int
    }
    
    var fextras = [...]extra{
    	// compiler frontend inserted calls (sysfunc)
    	{"deferproc", 1},
    	{"deferprocStack", 1},
    	{"deferreturn", 1},
    	{"newproc", 1},
    	{"panicoverflow", 1},
    	{"sigpanic", 1},
    
    	// compiler backend inserted calls
    	{"gcWriteBarrier", 1},
    	{"duffzero", 1},
    	{"duffcopy", 1},
    
    	// assembler backend inserted calls
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. pkg/kubelet/winstats/winstats.go

    import (
    	"syscall"
    	"time"
    	"unsafe"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	cadvisorapiv2 "github.com/google/cadvisor/info/v2"
    )
    
    var (
    	procGetDiskFreeSpaceEx = modkernel32.NewProc("GetDiskFreeSpaceExW")
    )
    
    // Client is an interface that is used to get stats information.
    type Client interface {
    	WinContainerInfos() (map[string]cadvisorapiv2.ContainerInfo, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  3. src/runtime/mstats.go

    //
    // Must be nosplit as it is called in runtime initialization, e.g. newosproc0.
    //
    //go:nosplit
    func (s *sysMemStat) load() uint64 {
    	return atomic.Load64((*uint64)(s))
    }
    
    // add atomically adds the sysMemStat by n.
    //
    // Must be nosplit as it is called in runtime initialization, e.g. newosproc0.
    //
    //go:nosplit
    func (s *sysMemStat) add(n int64) {
    	val := atomic.Xadd64((*uint64)(s), n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  4. 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)
  5. internal/lock/lock_windows.go

    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	"syscall"
    	"unsafe"
    
    	"golang.org/x/sys/windows"
    )
    
    var (
    	modkernel32    = windows.NewLazySystemDLL("kernel32.dll")
    	procLockFileEx = modkernel32.NewProc("LockFileEx")
    )
    
    const (
    	// https://msdn.microsoft.com/en-us/library/windows/desktop/aa365203(v=vs.85).aspx
    	lockFileExclusiveLock   = 2
    	lockFileFailImmediately = 1
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. test/live.go

    	return                       // ERROR "live at indirect call: .autotmp_[0-9]+"
    }
    
    // and newproc (go) escapes to the heap
    
    func f27go(b bool) {
    	x := 0
    	if b {
    		go call27(func() { x++ }) // ERROR "live at call to newobject: &x$" "live at call to newobject: &x .autotmp_[0-9]+$" "live at call to newproc: &x$" // allocate two closures, the func literal, and the wrapper for go
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18K bytes
    - Viewed (0)
  7. test/live_regabi.go

    	return                       // ERROR "live at indirect call: .autotmp_[0-9]+"
    }
    
    // and newproc (go) escapes to the heap
    
    func f27go(b bool) {
    	x := 0
    	if b {
    		go call27(func() { x++ }) // ERROR "live at call to newobject: &x$" "live at call to newobject: &x .autotmp_[0-9]+$" "live at call to newproc: &x$" // allocate two closures, the func literal, and the wrapper for go
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  8. src/runtime/syscall_windows_test.go

    	}
    }
    
    var (
    	modwinmm    = syscall.NewLazyDLL("winmm.dll")
    	modkernel32 = syscall.NewLazyDLL("kernel32.dll")
    
    	procCreateEvent = modkernel32.NewProc("CreateEventW")
    	procSetEvent    = modkernel32.NewProc("SetEvent")
    )
    
    func createEvent() (syscall.Handle, error) {
    	r0, _, e0 := syscall.Syscall6(procCreateEvent.Addr(), 4, 0, 0, 0, 0, 0, 0)
    	if r0 == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K 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