Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 336 for Atack (0.1 sec)

  1. src/context/x_test.go

    			buf := make([]byte, 10<<10)
    			n := runtime.Stack(buf, true)
    			t.Fatalf("timed out after %v waiting for <-ctx.Done(); stacks:\n%s", d, buf[:n])
    		}
    	}
    	// Wait for all the cancel functions to return.
    	done := make(chan struct{})
    	go func() {
    		wg.Wait()
    		close(done)
    	}()
    	select {
    	case <-done:
    	case <-stuck:
    		buf := make([]byte, 10<<10)
    		n := runtime.Stack(buf, true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 26.3K 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/internal/trace/internal/oldtrace/parser.go

    	EvGoSleep           event.Type = 19 // goroutine calls Sleep [timestamp, stack]
    	EvGoBlock           event.Type = 20 // goroutine blocks [timestamp, stack]
    	EvGoUnblock         event.Type = 21 // goroutine is unblocked [timestamp, goroutine id, seq, stack]
    	EvGoBlockSend       event.Type = 22 // goroutine blocks on chan send [timestamp, stack]
    	EvGoBlockRecv       event.Type = 23 // goroutine blocks on chan recv [timestamp, stack]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  4. 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)
  5. src/runtime/heapdump.go

    	stw := stopTheWorld(stwWriteHeapDump)
    
    	// Keep m on this G's stack instead of the system stack.
    	// Both readmemstats_m and writeheapdump_m have pretty large
    	// peak stack depths and we risk blowing the system stack.
    	// This is safe because the world is stopped, so we don't
    	// need to worry about anyone shrinking and therefore moving
    	// our stack.
    	var m MemStats
    	systemstack(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/order.go

    			}
    		}
    	}
    	return replaced
    }
    
    type ordermarker int
    
    // markTemp returns the top of the temporary variable stack.
    func (o *orderState) markTemp() ordermarker {
    	return ordermarker(len(o.temp))
    }
    
    // popTemp pops temporaries off the stack until reaching the mark,
    // which must have been returned by markTemp.
    func (o *orderState) popTemp(mark ordermarker) {
    	for _, n := range o.temp[mark:] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/op.go

    // package (assembler).
    func ObjRegForAbiReg(r abi.RegIndex, c *Config) int16 {
    	m := archRegForAbiReg(r, c)
    	return c.registers[m].objNum
    }
    
    // ArgWidth returns the amount of stack needed for all the inputs
    // and outputs of a function or method, including ABI-defined parameter
    // slots and ABI-defined spill slots for register-resident parameters.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  8. src/runtime/debuglog.go

    // finish the message.
    //
    // dlog can be used from highly-constrained corners of the runtime: it
    // is safe to use in the signal handler, from within the write
    // barrier, from within the stack implementation, and in places that
    // must be recursively nosplit.
    //
    // This will be compiled away if built without the debuglog build tag.
    // However, argument construction may not be. If any of the arguments
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  9. src/runtime/export_test.go

    func G0StackOverflow() {
    	systemstack(func() {
    		g0 := getg()
    		sp := getcallersp()
    		// The stack bounds for g0 stack is not always precise.
    		// Use an artificially small stack, to trigger a stack overflow
    		// without actually run out of the system stack (which may seg fault).
    		g0.stack.lo = sp - 4096 - stackSystem
    		g0.stackguard0 = g0.stack.lo + stackGuard
    		g0.stackguard1 = g0.stackguard0
    
    		stackOverflow(nil)
    	})
    }
    
    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/cmd/vendor/github.com/google/pprof/internal/driver/config.go

    	SampleIndex         string  `json:"-"`
    	DivideBy            float64 `json:"-"`
    	Normalize           bool    `json:"normalize,omitempty"`
    	Sort                string  `json:"sort,omitempty"`
    
    	// Label pseudo stack frame generation options
    	TagRoot string `json:"tagroot,omitempty"`
    	TagLeaf string `json:"tagleaf,omitempty"`
    
    	// Filtering options
    	DropNegative bool    `json:"drop_negative,omitempty"`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top