Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for Stack (0.02 sec)

  1. src/cmd/internal/objabi/stack.go

    )
    
    func StackNosplit(race bool) int {
    	// This arithmetic must match that in runtime/stack.go:stackNosplit.
    	return abi.StackNosplitBase * stackGuardMultiplier(race)
    }
    
    // stackGuardMultiplier returns a multiplier to apply to the default
    // stack guard size. Larger multipliers are used for non-optimized
    // builds that have larger stack frames or for specific targets.
    func stackGuardMultiplier(race bool) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:56 UTC 2023
    - 904 bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/compile/internal/types2/errorcalls_test.go

    func balancedParentheses(s string) bool {
    	var stack []byte
    	for _, ch := range s {
    		var open byte
    		switch ch {
    		case '(', '[', '{':
    			stack = append(stack, byte(ch))
    			continue
    		case ')':
    			open = '('
    		case ']':
    			open = '['
    		case '}':
    			open = '{'
    		default:
    			continue
    		}
    		// closing parenthesis/bracket must have matching opening
    		top := len(stack) - 1
    		if top < 0 || stack[top] != open {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testsanitizers/testdata/msan6.go

    }
    */
    import "C"
    
    // allocateStack extends the stack so that stack copying doesn't
    // confuse the msan data structures.
    //
    //go:noinline
    func allocateStack(i int) int {
    	if i == 0 {
    		return i
    	}
    	return allocateStack(i - 1)
    }
    
    // F1 marks a chunk of stack as uninitialized.
    // C.f returns an uninitialized struct on the stack, so msan will mark
    // the stack as uninitialized.
    //
    //go:noinline
    func F1() uintptr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. src/cmd/trace/goroutinegen.go

    	gs.augmentName(st.Stack)
    
    	// Handle the goroutine state transition.
    	from, to := st.Goroutine()
    	if from == to {
    		// Filter out no-op events.
    		return
    	}
    	if from.Executing() && !to.Executing() {
    		if to == trace.GoWaiting {
    			// Goroutine started blocking.
    			gs.block(ev.Time(), ev.Stack(), st.Reason, ctx)
    		} else {
    			gs.stop(ev.Time(), ev.Stack(), ctx)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. src/cmd/trace/threadgen.go

    	gs.augmentName(st.Stack)
    
    	// Handle the goroutine state transition.
    	from, to := st.Goroutine()
    	if from == to {
    		// Filter out no-op events.
    		return
    	}
    	if from.Executing() && !to.Executing() {
    		if to == trace.GoWaiting {
    			// Goroutine started blocking.
    			gs.block(ev.Time(), ev.Stack(), st.Reason, ctx)
    		} else {
    			gs.stop(ev.Time(), ev.Stack(), ctx)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner.go

    		return nil, fmt.Errorf("unexpected addr2line output: %s", resp)
    	}
    
    	var stack []plugin.Frame
    	for {
    		frame, end := d.readFrame()
    		if end {
    			break
    		}
    
    		if frame != (plugin.Frame{}) {
    			stack = append(stack, frame)
    		}
    	}
    	return stack, err
    }
    
    // addrInfo returns the stack frame information for a specific program
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/textflag.go

    	TLSBSS = 256
    
    	// Do not insert instructions to allocate a stack frame for this function.
    	// Only valid on functions that declare a frame size of 0.
    	// TODO(mwhudson): only implemented for ppc64x at present.
    	NOFRAME = 512
    
    	// Function can call reflect.Type.Method or reflect.Type.MethodByName.
    	REFLECTMETHOD = 1024
    
    	// Function is the outermost frame of the call stack. Call stack unwinders
    	// should stop at this function.
    	TOPFRAME = 2048
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 20:25:30 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/security_test.go

    	{"-fno-pie"},
    	{"-fPIE"},
    	{"-fno-PIE"},
    	{"-fsplit-stack"},
    	{"-fno-split-stack"},
    	{"-fstack-xxx"},
    	{"-fno-stack-xxx"},
    	{"-fsanitize=hands"},
    	{"-g"},
    	{"-ggdb"},
    	{"-march=souza"},
    	{"-mcmodel=medium"},
    	{"-mcpu=123"},
    	{"-mfpu=123"},
    	{"-mlarge-data-threshold=16"},
    	{"-mtune=happybirthday"},
    	{"-mstack-overflow"},
    	{"-mno-stack-overflow"},
    	{"-mmacosx-version"},
    	{"-mnop-fun-dllimport"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue9400/gccgo.go

    // license that can be found in the LICENSE file.
    
    //go:build gccgo
    
    package issue9400
    
    import (
    	"runtime"
    	"sync/atomic"
    )
    
    // The test for the gc compiler resets the stack pointer so that the
    // stack gets modified.  We don't have a way to do that for gccgo
    // without writing more assembly code, which we haven't bothered to
    // do.  So this is not much of a test.
    
    var Baton int32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 612 bytes
    - Viewed (0)
Back to top