Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for stacksize (0.22 sec)

  1. src/runtime/os_darwin.go

    	if err != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    
    	// Find out OS stack size for our own stack guard.
    	var stacksize uintptr
    	if pthread_attr_getstacksize(&attr, &stacksize) != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    	mp.g0.stack.hi = stacksize // for mstart
    
    	// Tell the pthread library we won't join with this thread.
    	if pthread_attr_setdetachstate(&attr, _PTHREAD_CREATE_DETACHED) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  2. src/runtime/os_freebsd.go

    	// utilizing c-shared/c-archive force external linking.
    	param := thrparam{
    		start_func: uintptr(fn),
    		arg:        nil,
    		stack_base: uintptr(stack), //+stacksize?
    		stack_size: stacksize,
    		child_tid:  nil, // minit will record tid
    		parent_tid: nil,
    		tls_base:   unsafe.Pointer(&m0.tls[0]),
    		tls_size:   unsafe.Sizeof(m0.tls),
    	}
    
    	var oset sigset
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Throwables.java

       *
       * <ul>
       *   <li>{@code getStackTrace} takes {@code stackSize} time to return but then negligible time to
       *       retrieve each element of the returned list.
       *   <li>{@code lazyStackTrace} takes negligible time to return but then {@code 1/stackSize} time
       *       to retrieve each element of the returned list (probably slightly more than {@code
       *       1/stackSize}).
       * </ul>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Mar 06 15:38:58 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Throwables.java

       *
       * <ul>
       *   <li>{@code getStackTrace} takes {@code stackSize} time to return but then negligible time to
       *       retrieve each element of the returned list.
       *   <li>{@code lazyStackTrace} takes negligible time to return but then {@code 1/stackSize} time
       *       to retrieve each element of the returned list (probably slightly more than {@code
       *       1/stackSize}).
       * </ul>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Mar 06 15:38:58 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  5. src/runtime/os_linux.go

    	}
    }
    
    // Version of newosproc that doesn't require a valid G.
    //
    //go:nosplit
    func newosproc0(stacksize uintptr, fn unsafe.Pointer) {
    	stack := sysAlloc(stacksize, &memstats.stacks_sys)
    	if stack == nil {
    		writeErrStr(failallocatestack)
    		exit(1)
    	}
    	ret := clone(cloneFlags, unsafe.Pointer(uintptr(stack)+stacksize), nil, nil, fn)
    	if ret < 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    }
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go

    // profilez samples are a repeated sequence of stack frames of the
    // form:
    //
    //	1st word -- The number of times this stack was encountered.
    //	2nd word -- The size of the stack (StackSize).
    //	3rd word -- The first address on the stack.
    //	...
    //	StackSize + 2 -- The last address on the stack
    //
    // The last stack trace is of the form:
    //
    //	1st word -- 0
    //	2nd word -- 1
    //	3rd word -- 0
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
  7. src/runtime/sys_openbsd_amd64.s

    	MOVQ	0(DI), DI		// arg 1 - attr
    	CALL	libc_pthread_attr_destroy(SB)
    	RET
    
    TEXT runtime·pthread_attr_getstacksize_trampoline(SB),NOSPLIT,$0
    	MOVQ	8(DI), SI		// arg 2 - stacksize
    	MOVQ	0(DI), DI		// arg 1 - attr
    	CALL	libc_pthread_attr_getstacksize(SB)
    	RET
    
    TEXT runtime·pthread_attr_setdetachstate_trampoline(SB),NOSPLIT,$0
    	MOVQ	8(DI), SI		// arg 2 - detachstate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  8. src/syscall/exec_linux.go

    	parentTID  uint64 // Where to store child TID, in parent's memory (pid_t *)
    	exitSignal uint64 // Signal to deliver to parent on child termination
    	stack      uint64 // Pointer to lowest byte of stack
    	stackSize  uint64 // Size of stack
    	tls        uint64 // Location of new TLS
    	setTID     uint64 // Pointer to a pid_t array (since Linux 5.5)
    	setTIDSize uint64 // Number of elements in set_tid (since Linux 5.5)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  9. src/runtime/export_test.go

    	g.init(int32(gcPercent), memoryLimit)
    	return g
    }
    
    func (c *GCController) StartCycle(stackSize, globalsSize uint64, scannableFrac float64, gomaxprocs int) {
    	trigger, _ := c.trigger()
    	if c.heapMarked > trigger {
    		trigger = c.heapMarked
    	}
    	c.maxStackScan.Store(stackSize)
    	c.globalsScan.Store(globalsSize)
    	c.heapLive.Store(trigger)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  10. src/runtime/asm_s390x.s

    	MOVD	_cgo_sys_thread_create(SB), R1
    	CMP	R1, $0
    	BEQ	nocgo
    	MOVD	$_rt0_s390x_lib_go(SB), R2
    	MOVD	$0, R3
    	BL	R1
    	BR	restore
    
    nocgo:
    	MOVD	$0x800000, R1              // stacksize
    	MOVD	R1, 0(R15)
    	MOVD	$_rt0_s390x_lib_go(SB), R1
    	MOVD	R1, 8(R15)                 // fn
    	MOVD	$runtime·newosproc(SB), R1
    	BL	R1
    
    restore:
    	// Restore F8-F15 from our stack frame.
    	FMOVD	16(R15), F8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 09:18:28 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top