Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,618 for Atack (0.03 sec)

  1. test/fixedbugs/issue10353.go

    	// Create a new goroutine to get a default-size stack segment.
    	go func() {
    		x := new(X)
    		clos(x.foo)()
    		c <- true
    	}()
    	<-c
    }
    
    type X int
    
    func (x *X) foo() {
    }
    
    func clos(x func()) func() {
    	f := func() {
    		print("")
    		x() // This statement crashed, because the partial call was allocated on the old stack.
    	}
    	// Grow stack so that partial call x becomes invalid if allocated on stack.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 13:47:20 UTC 2015
    - 917 bytes
    - Viewed (0)
  2. cmd/kubeadm/app/constants/constants_test.go

    		},
    		{
    			svcSubnetList: "fd03::/112,192.168.10.0/24",
    			expected:      "fd03::/112",
    			expectedError: false,
    			name:          "valid: valid <IPv6,IPv4> ranges from dual-stack",
    		},
    		{
    			svcSubnetList: "192.168.10.0/24,fd03:x::/112",
    			expected:      "",
    			expectedError: true,
    			name:          "invalid: failed to parse subnet range for dual-stack",
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 03:26:36 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. test/fixedbugs/issue7690.go

    // issue 7690 - Stack and other routines did not back up initial PC
    // into CALL instruction, instead reporting line number of next instruction,
    // which might be on a different line.
    
    package main
    
    import (
    	"bytes"
    	"regexp"
    	"runtime"
    	"strconv"
    )
    
    func main() {
    	buf1 := make([]byte, 1000)
    	buf2 := make([]byte, 1000)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/wasm/ssa.go

       the Wasm stack each time we want to switch goroutines.
    
       To support unwinding a stack, each function call returns on the Wasm
       stack a boolean that tells the function whether it should return
       immediately or not. When returning immediately, a return address
       is left on the top of the Go stack indicating where the goroutine
       should be resumed.
    
       Stack pointer:
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  5. src/runtime/runtime2.go

    }
    
    type g struct {
    	// Stack parameters.
    	// stack describes the actual stack memory: [stack.lo, stack.hi).
    	// stackguard0 is the stack pointer compared in the Go stack growth prologue.
    	// It is stack.lo+StackGuard normally, but can be StackPreempt to trigger a preemption.
    	// stackguard1 is the stack pointer compared in the //go:systemstack stack growth prologue.
    	// It is stack.lo+StackGuard on g0 and gsignal stacks.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  6. test/fixedbugs/issue25507.go

    type large struct {
    	b [1500000000]byte
    }
    
    func (x large) f1() int { // GC_ERROR "stack frame too large"
    	return 5
    }
    
    func f2(x large) int { // GC_ERROR "stack frame too large"
    	return 5
    }
    
    func f3() (x large, i int) { // GC_ERROR "stack frame too large"
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 17:37:52 UTC 2020
    - 754 bytes
    - Viewed (0)
  7. test/fixedbugs/issue16249.go

    	}
    	if n <= 1 {
    		res = n
    		return
    	}
    	res = B(m) // This call to B drizzles a little junk on the stack.
    	res, err = A(n-1, m)
    	res++
    	return
    }
    
    // B does a little bit of recursion dribbling not-zero onto the stack.
    //go:noinline
    func B(n int64) (res int64) {
    	if n <= 1 { // Prefer to leave a 1 on the stack.
    		return n
    	}
    	return 1 + B(n-1)
    }
    
    func main() {
    	x, e := A(0, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jul 02 00:40:40 UTC 2016
    - 1.3K bytes
    - Viewed (0)
  8. src/runtime/mgcmark.go

    	}
    
    	var state stackScanState
    	state.stack = gp.stack
    
    	if stackTraceDebug {
    		println("stack trace goroutine", gp.goid)
    	}
    
    	if debugScanConservative && gp.asyncSafePoint {
    		print("scanning async preempted goroutine ", gp.goid, " stack [", hex(gp.stack.lo), ",", hex(gp.stack.hi), ")\n")
    	}
    
    	// Scan the saved context register. This is effectively a live
    	// register that gets moved back and forth between the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  9. src/internal/trace/traceviewer/emitter.go

    		Name:  "process_sort_index",
    		Phase: "M",
    		PID:   sectionID,
    		Arg:   &format.SortIndexArg{Index: priority},
    	})
    }
    
    // Stack emits the given frames and returns a unique id for the stack. No
    // pointers to the given data are being retained beyond the call to Stack.
    func (e *Emitter) Stack(stk []*trace.Frame) int {
    	return e.buildBranch(e.frameTree, stk)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:58 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  10. src/runtime/gcinfo_test.go

    	{
    		var x Ptr
    		verifyGCInfo(t, "stack Ptr", &x, infoPtr)
    		runtime.KeepAlive(x)
    	}
    	{
    		var x ScalarPtr
    		verifyGCInfo(t, "stack ScalarPtr", &x, infoScalarPtr)
    		runtime.KeepAlive(x)
    	}
    	{
    		var x PtrScalar
    		verifyGCInfo(t, "stack PtrScalar", &x, infoPtrScalar)
    		runtime.KeepAlive(x)
    	}
    	{
    		var x BigStruct
    		verifyGCInfo(t, "stack BigStruct", &x, infoBigStruct())
    		runtime.KeepAlive(x)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:58:08 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top