Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 141 for stacklo (0.21 sec)

  1. src/runtime/cgo/gcc_darwin_amd64.c

    	pthread_sigmask(SIG_SETMASK, &ign, &oset);
    
    	size = pthread_get_stacksize_np(pthread_self());
    	pthread_attr_init(&attr);
    	pthread_attr_setstacksize(&attr, size);
    	// Leave stacklo=0 and set stackhi=size; mstart will do the rest.
    	ts->g->stackhi = size;
    	err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
    
    	pthread_sigmask(SIG_SETMASK, &oset, nil);
    
    	if (err != 0) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 12 03:56:28 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. src/runtime/cgo/gcc_linux.c

    	size_t size;
    	int err;
    
    	sigfillset(&ign);
    	pthread_sigmask(SIG_SETMASK, &ign, &oset);
    
    	pthread_attr_init(&attr);
    	pthread_attr_getstacksize(&attr, &size);
    	// Leave stacklo=0 and set stackhi=size; mstart will do the rest.
    	ts->g->stackhi = size;
    	err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
    
    	pthread_sigmask(SIG_SETMASK, &oset, nil);
    
    	if (err != 0) {
    		fatalf("pthread_create failed: %s", strerror(err));
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 03:55:36 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. src/runtime/cgo/libcgo_unix.h

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    /*
     * Initialize g->stacklo.
     */
    extern void _cgo_set_stacklo(G *, uintptr *);
    
    /*
     * Call pthread_create, retrying on EAGAIN.
     */
    extern int _cgo_try_pthread_create(pthread_t*, const pthread_attr_t*, void* (*)(void*), void*);
    
    /*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 22:06:46 UTC 2023
    - 684 bytes
    - Viewed (0)
  4. src/runtime/cgo/gcc_linux_arm64.c

    	size_t size;
    	int err;
    
    	sigfillset(&ign);
    	pthread_sigmask(SIG_SETMASK, &ign, &oset);
    
    	pthread_attr_init(&attr);
    	pthread_attr_getstacksize(&attr, &size);
    	// Leave stacklo=0 and set stackhi=size; mstart will do the rest.
    	ts->g->stackhi = size;
    	err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
    
    	pthread_sigmask(SIG_SETMASK, &oset, nil);
    
    	if (err != 0) {
    		fatalf("pthread_create failed: %s", strerror(err));
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 22:06:46 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. src/runtime/cgo/libcgo.h

    /*
     * The beginning of the per-goroutine structure,
     * as defined in ../pkg/runtime/runtime.h.
     * Just enough to edit these two fields.
     */
    typedef struct G G;
    struct G
    {
    	uintptr stacklo;
    	uintptr stackhi;
    };
    
    /*
     * Arguments to the _cgo_thread_start call.
     * Also known to ../pkg/runtime/runtime.h.
     */
    typedef struct ThreadStart ThreadStart;
    struct ThreadStart
    {
    	G *g;
    	uintptr *tls;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 20:50:04 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. src/runtime/cgo/gcc_darwin_arm64.c

    	pthread_sigmask(SIG_SETMASK, &ign, &oset);
    
    	size = pthread_get_stacksize_np(pthread_self());
    	pthread_attr_init(&attr);
    	pthread_attr_setstacksize(&attr, size);
    	// Leave stacklo=0 and set stackhi=size; mstart will do the rest.
    	ts->g->stackhi = size;
    	err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
    
    	pthread_sigmask(SIG_SETMASK, &oset, nil);
    
    	if (err != 0) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 09 03:13:11 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/report/stacks.go

    				inlined := (j != len(loc.Line)-1)
    				stack.Sources = append(stack.Sources, getSrc(line, inlined))
    			}
    		}
    
    		leaf := stack.Sources[len(stack.Sources)-1]
    		s.Sources[leaf].Self += value
    		s.Stacks = append(s.Stacks, stack)
    	}
    }
    
    func (s *StackSet) fillPlaces() {
    	for i, stack := range s.Stacks {
    		seenSrcs := map[int]bool{}
    		for j, src := range stack.Sources {
    			if seenSrcs[src] {
    				continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. src/runtime/stack.go

    	// allocation.
    	if newsize < fixedStack {
    		return
    	}
    	// Compute how much of the stack is currently in use and only
    	// shrink the stack if gp is using less than a quarter of its
    	// current stack. The currently used stack includes everything
    	// down to the SP plus the stack guard space that ensures
    	// there's room for nosplit functions.
    	avail := gp.stack.hi - gp.stack.lo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.css

    body {
      overflow: hidden; /* Want scrollbar not here, but in #stack-holder */
    }
    /* Scrollable container for flame graph */
    #stack-holder {
      width: 100%;
      flex-grow: 1;
      overflow-y: auto;
      background: #eee; /* Light grey gives better contrast with boxes */
      position: relative; /* Allows absolute positioning of child boxes */
    }
    /* Flame graph */
    #stack-chart {
      width: 100%;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.js

      // listed in places.
      function totalValue(places) {
        const seen = new Set();
        let pos = 0;
        let neg = 0;
        for (const place of places) {
          if (seen.has(place.Stack)) continue; // Do not double-count stacks
          seen.add(place.Stack);
          const stack = stacks.Stacks[place.Stack];
          if (stack.Value < 0) {
    	neg += -stack.Value;
          } else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top