Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 107 for Atack (0.03 sec)

  1. src/runtime/lock_sema.go

    	gp.m.blocked = false
    }
    
    //go:nosplit
    func notetsleep_internal(n *note, ns int64, gp *g, deadline int64) bool {
    	// gp and deadline are logically local variables, but they are written
    	// as parameters so that the stack space they require is charged
    	// to the caller.
    	// This reduces the nosplit footprint of notetsleep_internal.
    	gp = getg()
    
    	// Register for wakeup on n->waitm.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. src/net/main_test.go

    func runningGoroutines() []string {
    	var gss []string
    	b := make([]byte, 2<<20)
    	b = b[:runtime.Stack(b, true)]
    	for _, s := range strings.Split(string(b), "\n\n") {
    		_, stack, _ := strings.Cut(s, "\n")
    		stack = strings.TrimSpace(stack)
    		if !strings.Contains(stack, "created by net") {
    			continue
    		}
    		gss = append(gss, stack)
    	}
    	slices.Sort(gss)
    	return gss
    }
    
    func printInflightSockets() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. src/runtime/os_aix.go

    //go:build aix
    
    package runtime
    
    import (
    	"internal/abi"
    	"internal/runtime/atomic"
    	"unsafe"
    )
    
    const (
    	threadStackSize = 0x100000 // size of a thread stack allocated by OS
    )
    
    // funcDescriptor is a structure representing a function descriptor
    // A variable with this type is always created in assembler
    type funcDescriptor struct {
    	fn         uintptr
    	toc        uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. test/fixedbugs/bug385_64.go

    // license that can be found in the LICENSE file.
    
    // Issue 2444
    // Issue 4666: issue with arrays of exactly 4GB.
    
    package main
    
    var z [10 << 20]byte
    
    func main() { // GC_ERROR "stack frame too large"
    	// seq 1 206 | sed 's/.*/	var x& [10<<20]byte/'
    	// seq 1 206 | sed 's/.*/	z = x&/'
    	var x1 [10<<20]byte
    	var x2 [10<<20]byte
    	var x3 [10<<20]byte
    	var x4 [10<<20]byte
    	var x5 [10<<20]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. src/runtime/runtime-gdb_unix_test.go

    	if err := syscall.Close(*pipeFD); err != nil {
    		panic(fmt.Sprintf("error closing control pipe fd %d: %v", *pipeFD, err))
    	}
    
    	for {}
    }
    `
    
    // TestGdbCoreSignalBacktrace tests that gdb can unwind the stack correctly
    // through a signal handler in a core file
    func TestGdbCoreSignalBacktrace(t *testing.T) {
    	if runtime.GOOS != "linux" {
    		// N.B. This test isn't fundamentally Linux-only, but it needs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 17 19:05:30 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. src/runtime/tracetype.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Trace stack table and acquisition.
    
    package runtime
    
    import (
    	"internal/abi"
    	"internal/goarch"
    	"unsafe"
    )
    
    // traceTypeTable maps stack traces (arrays of PC's) to unique uint32 ids.
    // It is lock-free for reading.
    type traceTypeTable struct {
    	tab traceMap
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/runtime/pprof/protomem.go

    	}
    
    	values := []int64{0, 0, 0, 0}
    	var locs []uint64
    	for _, r := range p {
    		hideRuntime := true
    		for tries := 0; tries < 2; tries++ {
    			stk := r.Stack
    			// For heap profiles, all stack
    			// addresses are return PCs, which is
    			// what appendLocsForStack expects.
    			if hideRuntime {
    				for i, addr := range stk {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/telemetry/internal/config/config.go

    }
    
    func (r *Config) HasCounterPrefix(program, prefix string) bool {
    	return r.pgcounterprefix[pgkey{program, prefix}]
    }
    
    func (r *Config) HasStack(program, stack string) bool {
    	return r.pgstack[pgkey{program, stack}]
    }
    
    func (r *Config) Rate(program, name string) float64 {
    	return r.rate[pgkey{program, name}]
    }
    
    func set(slice []string) map[string]bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. 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)
  10. src/runtime/os_openbsd_syscall2.go

    // return value is only set on linux to be used in osinit().
    func madvise(addr unsafe.Pointer, n uintptr, flags int32) int32
    
    // exitThread terminates the current thread, writing *wait = freeMStack when
    // the stack is safe to reclaim.
    //
    //go:noescape
    func exitThread(wait *atomic.Uint32)
    
    //go:noescape
    func obsdsigprocmask(how int32, new sigset) sigset
    
    //go:nosplit
    //go:nowritebarrierrec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top