Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for syscallpc (0.43 sec)

  1. src/runtime/traceback.go

    		// instead on the g0 stack.
    		throw("cannot trace user goroutine on its own stack")
    	}
    
    	if pc0 == ^uintptr(0) && sp0 == ^uintptr(0) { // Signal to fetch saved values from gp.
    		if gp.syscallsp != 0 {
    			pc0 = gp.syscallpc
    			sp0 = gp.syscallsp
    			if usesLR {
    				lr0 = 0
    			}
    		} else {
    			pc0 = gp.sched.pc
    			sp0 = gp.sched.sp
    			if usesLR {
    				lr0 = gp.sched.lr
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. src/syscall/zsyscall_darwin_amd64.go

    	_, _, e1 := syscall(abi.FuncPCABI0(libc_closedir_trampoline), uintptr(dir), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_closedir_trampoline()
    
    //go:cgo_import_dynamic libc_closedir closedir "/usr/lib/libSystem.B.dylib"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Dup(fd int) (nfd int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 21:34:30 UTC 2023
    - 51.7K bytes
    - Viewed (0)
  3. src/runtime/malloc.go

    	gcController.memoryLimit.Store(maxInt64)
    }
    
    // sysAlloc allocates heap arena space for at least n bytes. The
    // returned pointer is always heapArenaBytes-aligned and backed by
    // h.arenas metadata. The returned size is always a multiple of
    // heapArenaBytes. sysAlloc returns nil on failure.
    // There is no corresponding free function.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  4. src/syscall/zsyscall_windows.go

    	r0, _, e1 := Syscall(procGetCurrentProcess.Addr(), 0, 0, 0, 0)
    	pseudoHandle = Handle(r0)
    	if pseudoHandle == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func getCurrentProcessId() (pid uint32) {
    	r0, _, _ := Syscall(procGetCurrentProcessId.Addr(), 0, 0, 0, 0)
    	pid = uint32(r0)
    	return
    }
    
    func GetEnvironmentStrings() (envs *uint16, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 56.3K bytes
    - Viewed (0)
  5. src/syscall/zsyscall_darwin_arm64.go

    	_, _, e1 := syscall(abi.FuncPCABI0(libc_closedir_trampoline), uintptr(dir), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_closedir_trampoline()
    
    //go:cgo_import_dynamic libc_closedir closedir "/usr/lib/libSystem.B.dylib"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Dup(fd int) (nfd int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 21:34:30 UTC 2023
    - 51.7K bytes
    - Viewed (0)
  6. src/runtime/mprof.go

    	bh := (*buckhashArray)(buckhash.Load())
    	if bh == nil {
    		lock(&profInsertLock)
    		// check again under the lock
    		bh = (*buckhashArray)(buckhash.Load())
    		if bh == nil {
    			bh = (*buckhashArray)(sysAlloc(unsafe.Sizeof(buckhashArray{}), &memstats.buckhash_sys))
    			if bh == nil {
    				throw("runtime: cannot allocate memory")
    			}
    			buckhash.StoreNoWB(unsafe.Pointer(bh))
    		}
    		unlock(&profInsertLock)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    // field names when generating the C or Go code. For generated
    // C, we leave the names as is (tv_sec, tv_usec), since that's what
    // people are used to seeing in C.  For generated Go code, such as
    // package syscall's data structures, we drop a common prefix
    // (so sec, usec, which will get turned into Sec, Usec for exporting).
    func fieldPrefix(fld []*ast.Field) string {
    	prefix := ""
    	for _, f := range fld {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top