Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 120 for Atack (0.06 sec)

  1. 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)
  2. 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)
  3. src/cmd/compile/internal/rangefunc/rewrite.go

    	default:
    		// Push n onto stack.
    		r.stack = append(r.stack, n)
    		if nfor, ok := forRangeFunc(n); ok {
    			loop := &forLoop{nfor: nfor, depth: 1 + len(r.forStack)}
    			r.forStack = append(r.forStack, loop)
    			r.startLoop(loop)
    		}
    
    	case nil:
    		// n == nil signals that we are done visiting
    		// the top-of-stack node's children. Find it.
    		n = r.stack[len(r.stack)-1]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/telemetry/internal/upload/reports.go

    			u.logger.Printf("Unparseable count file %s: %v", filepath.Base(f), err)
    			continue
    		}
    		prog := findProgReport(x.Meta, report)
    		for k, v := range x.Count {
    			if counter.IsStackCounter(k) {
    				// stack
    				prog.Stacks[k] += int64(v)
    			} else {
    				// counter
    				prog.Counters[k] += int64(v)
    			}
    			succeeded = true
    			fok = true
    		}
    		if !fok {
    			u.logger.Printf("no counters found in %s", f)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/internal/counter/counter.go

    	}
    	pf, err := Parse(name, data)
    	if err != nil {
    		return nil, fmt.Errorf("failed to parse: %v", err)
    	}
    	return pf, nil
    }
    
    // ReadFile reads the counters and stack counters from the given file.
    // This is the implementation of x/telemetry/counter/countertest.Read
    func ReadFile(name string) (counters, stackCounters map[string]uint64, _ error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/deadstore.go

    			if elim[v] == nil {
    				elim[v] = n
    				changed = true
    			}
    			return
    		case OpVarLive:
    			// Don't delete the auto if it needs to be kept alive.
    
    			// We depend on this check to keep the autotmp stack slots
    			// for open-coded defers from being removed (since they
    			// may not be used by the inline code, but will be used by
    			// panic processing).
    			n, ok := v.Aux.(*ir.Name)
    			if !ok || n.Class != ir.PAUTO {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. src/runtime/metrics/doc.go

    	/gc/scan/heap:bytes
    		The total amount of heap space that is scannable.
    
    	/gc/scan/stack:bytes
    		The number of bytes of stack that were scanned last GC cycle.
    
    	/gc/scan/total:bytes
    		The total amount space that is scannable. Sum of all metrics in
    		/gc/scan.
    
    	/gc/stack/starting-size:bytes
    		The stack size of new goroutines.
    
    	/godebug/non-default-behavior/execerrdot:events
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/compile.go

    	phaseName := "init"
    	defer func() {
    		if phaseName != "" {
    			err := recover()
    			stack := make([]byte, 16384)
    			n := runtime.Stack(stack, false)
    			stack = stack[:n]
    			if f.HTMLWriter != nil {
    				f.HTMLWriter.flushPhases()
    			}
    			f.Fatalf("panic during %s while compiling %s:\n\n%v\n\n%s\n", phaseName, f.Name, err, stack)
    		}
    	}()
    
    	// Run all the passes
    	if f.Log() {
    		printFunc(f)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. src/runtime/crash_test.go

    }
    
    func TestStackOverflow(t *testing.T) {
    	output := runTestProg(t, "testprog", "StackOverflow")
    	want := []string{
    		"runtime: goroutine stack exceeds 1474560-byte limit\n",
    		"fatal error: stack overflow",
    		// information about the current SP and stack bounds
    		"runtime: sp=",
    		"stack=[",
    	}
    	if !strings.HasPrefix(output, want[0]) {
    		t.Errorf("output does not start with %q", want[0])
    	}
    	for _, s := range want[1:] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
  10. src/internal/reflectlite/value.go

    		return "reflect: call of " + e.Method + " on zero Value"
    	}
    	return "reflect: call of " + e.Method + " on " + e.Kind.String() + " Value"
    }
    
    // methodName returns the name of the calling method,
    // assumed to be two stack frames above.
    func methodName() string {
    	pc, _, _, _ := runtime.Caller(2)
    	f := runtime.FuncForPC(pc)
    	if f == nil {
    		return "unknown method"
    	}
    	return f.Name()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top