Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 357 for Atack (0.03 sec)

  1. src/runtime/testdata/testprogcgo/traceback.go

    // 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.
    
    package main
    
    // This program will crash.
    // We want the stack trace to include the C functions.
    // We use a fake traceback, and a symbolizer that dumps a string we recognize.
    
    /*
    #cgo CFLAGS: -g -O0
    
    // Defined in traceback_c.c.
    extern int crashInGo;
    int tracebackF1(void);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 24 21:47:44 UTC 2020
    - 949 bytes
    - Viewed (0)
  2. test/fixedbugs/issue42284.dir/a.go

    	i = nil
    	return i
    }
    
    func g() {
    	h := E() // ERROR "inlining call to E" "T\(0\) does not escape"
    	h.M()    // ERROR "devirtualizing h.M to T" "inlining call to T.M"
    
    	// BAD: T(0) could be stack allocated.
    	i := F(T(0)) // ERROR "inlining call to F" "T\(0\) escapes to heap"
    
    	// Testing that we do NOT devirtualize here:
    	i.M()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 18:09:45 UTC 2023
    - 750 bytes
    - Viewed (0)
  3. src/runtime/debuglog_on.go

    // efficiently, or nil otherwise. The returned dlogger will be owned.
    func getCachedDlogger() *dlogger {
    	mp := acquirem()
    	// We don't return a cached dlogger if we're running on the
    	// signal stack in case the signal arrived while in
    	// get/putCachedDlogger. (Too bad we don't have non-atomic
    	// exchange!)
    	var l *dlogger
    	if getg() != mp.gsignal {
    		l = mp.dlogCache
    		mp.dlogCache = nil
    	}
    	releasem(mp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  4. test/maymorestack.go

    		panic("mayMoreStack not called")
    	} else if count != wantCount {
    		println(count, "!=", wantCount)
    		panic("wrong number of calls to mayMoreStack")
    	}
    }
    
    //go:noinline
    func anotherFunc(n int) {
    	// Trigger a stack growth on at least some calls to
    	// anotherFunc to test that mayMoreStack is called outside the
    	// morestack loop. It's also important that it is called
    	// before (not after) morestack, but that's hard to test.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 05 00:52:06 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  5. test/stackobj.go

    var n int
    var c int = -1
    
    func gc() {
    	// encourage heap object to be collected, and have its finalizer run.
    	runtime.GC()
    	runtime.GC()
    	runtime.GC()
    	n++
    }
    
    func main() {
    	f()
    	gc() // prior to stack objects, heap object is not collected until here
    	if c < 0 {
    		panic("heap object never collected")
    	}
    	if c != 1 {
    		panic(fmt.Sprintf("expected collection at phase 1, got phase %d", c))
    	}
    }
    
    func f() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 03 19:54:16 UTC 2018
    - 975 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testsanitizers/testdata/tsan9.go

    package main
    
    // This program failed when run under the C/C++ ThreadSanitizer. The
    // TSAN library was not keeping track of whether signals should be
    // delivered on the alternate signal stack, and the Go signal handler
    // was not preserving callee-saved registers from C callers.
    
    /*
    #cgo CFLAGS: -g -fsanitize=thread
    #cgo LDFLAGS: -g -fsanitize=thread
    
    #include <stdlib.h>
    #include <sys/time.h>
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. test/fixedbugs/issue45851.go

    // run
    
    // Copyright 2021 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.
    
    // This tickles a stack-allocation bug when the register ABI is enabled.
    // The original report was from cue, internal/core/adt/equality.go,
    // function equalVertex.
    
    // In the failing case, something bad gets passed to equalTerminal.
    
    package main
    
    import "fmt"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 03 17:46:12 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  8. test/fixedbugs/issue59680.go

    //go:noinline
    func recur(x int) {
    	for i := 0; i < x; i++ {
    		G = rec(i)
    	}
    }
    
    func main() {
    	b := newB(17)
    	for _, opt := range ROSL {
    		opt(b)
    	}
    	stop := b.startit()
    
    	// see if we can get some stack growth/moving
    	recur(10101)
    
    	if stop != nil {
    		stop <- struct{}{}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 05 21:04:38 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssagen/arch.go

    // interface to back end
    
    type ArchInfo struct {
    	LinkArch *obj.LinkArch
    
    	REGSP     int
    	MAXWIDTH  int64
    	SoftFloat bool
    
    	PadFrame func(int64) int64
    
    	// ZeroRange zeroes a range of memory on stack. It is only inserted
    	// at function entry, and it is ok to clobber registers.
    	ZeroRange func(*objw.Progs, *obj.Prog, int64, int64, *uint32) *obj.Prog
    
    	Ginsnop func(*objw.Progs) *obj.Prog
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 03 21:05:55 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/driver/stacks.go

    		cfg.CallTree = true
    		cfg.Trim = false
    		cfg.Granularity = "filefunctions"
    	})
    	if rpt == nil {
    		return // error already reported
    	}
    
    	// Make stack data and generate corresponding JSON.
    	stacks := rpt.Stacks()
    	b, err := json.Marshal(stacks)
    	if err != nil {
    		http.Error(w, "error serializing stacks for flame graph",
    			http.StatusInternalServerError)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top