Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 175 for Atack (0.03 sec)

  1. src/internal/abi/escape.go

    // ensure that it's truly safe for p to not escape to the heap by
    // maintaining runtime pointer invariants (for example, that globals
    // and the heap may not generally point into a stack).
    //
    //go:nosplit
    //go:nocheckptr
    func NoEscape(p unsafe.Pointer) unsafe.Pointer {
    	x := uintptr(p)
    	return unsafe.Pointer(x ^ 0)
    }
    
    var alwaysFalse bool
    var escapeSink any
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 884 bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/telemetry/counter/counter.go

    type Counter = counter.Counter
    
    // A StackCounter is the in-memory knowledge about a stack counter.
    // StackCounters are more expensive to use than regular Counters,
    // requiring, at a minimum, a call to runtime.Callers.
    type StackCounter = counter.StackCounter
    
    // NewStack returns a new stack counter with the given name and depth.
    //
    // See "Counter Naming" in the package doc for a description of counter naming
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 18:02:34 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. src/internal/trace/parser.go

    	EvGoBlockRecv       = 23 // goroutine blocks on chan recv [timestamp, stack]
    	EvGoBlockSelect     = 24 // goroutine blocks on select [timestamp, stack]
    	EvGoBlockSync       = 25 // goroutine blocks on Mutex/RWMutex [timestamp, stack]
    	EvGoBlockCond       = 26 // goroutine blocks on Cond [timestamp, stack]
    	EvGoBlockNet        = 27 // goroutine blocks on network [timestamp, stack]
    	EvGoSysCall         = 28 // syscall enter [timestamp, stack]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:31:04 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. src/runtime/asan.go

    	doasanwrite(addr, uintptr(len), sp, pc)
    }
    
    // Private interface for the runtime.
    const asanenabled = true
    
    // asan{read,write} are nosplit because they may be called between
    // fork and exec, when the stack must not grow. See issue #50391.
    
    //go:linkname asanread
    //go:nosplit
    func asanread(addr unsafe.Pointer, sz uintptr) {
    	sp := getcallersp()
    	pc := getcallerpc()
    	doasanread(addr, sz, sp, pc)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 20:39:58 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. test/codegen/clobberdead.go

    type T [2]*int // contain pointer, not SSA-able (so locals are not registerized)
    
    var p1, p2, p3 T
    
    func F() {
    	// 3735936685 is 0xdeaddead. On ARM64 R27 is REGTMP.
    	// clobber x, y at entry. not clobber z (stack object).
    	// amd64:`MOVL\t\$3735936685, command-line-arguments\.x`, `MOVL\t\$3735936685, command-line-arguments\.y`, -`MOVL\t\$3735936685, command-line-arguments\.z`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. src/cmd/covdata/covdata.go

    	"os"
    	"runtime"
    	"runtime/pprof"
    	"strings"
    )
    
    var verbflag = flag.Int("v", 0, "Verbose trace output level")
    var hflag = flag.Bool("h", false, "Panic on fatal errors (for stack trace)")
    var hwflag = flag.Bool("hw", false, "Panic on warnings (for stack trace)")
    var indirsflag = flag.String("i", "", "Input dirs to examine (comma separated)")
    var pkgpatflag = flag.String("pkg", "", "Restrict output to package(s) matching specified package pattern.")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/ast/inspector/inspector.go

    			pop := ev.index
    			stack = append(stack, ev.node)
    			if ev.typ&mask != 0 {
    				if !f(ev.node, true, stack) {
    					i = pop + 1
    					stack = stack[:len(stack)-1]
    					continue
    				}
    			}
    			if in.events[pop].typ&mask == 0 {
    				// Subtrees does not contain types: skip them.
    				i = pop
    				continue
    			}
    		} else {
    			// pop
    			push := ev.index
    			if in.events[push].typ&mask != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. test/abi/uglyfib.go

    // wasm is excluded because the compiler chatter about register abi pragma ends up
    // on stdout, and causes the expected output to not match.
    
    package main
    
    import "fmt"
    
    // This test is designed to provoke a stack growth
    // in a way that very likely leaves junk in the
    // parameter save area if they aren't saved or spilled
    // there, as appropriate.
    
    //go:registerparams
    //go:noinline
    func f(x int, xm1, xm2, p *int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. src/io/fs/glob_test.go

    		if err != path.ErrBadPattern {
    			t.Errorf("Glob(fs, %#q) returned err=%v, want path.ErrBadPattern", pattern, err)
    		}
    	}
    }
    
    func TestCVE202230630(t *testing.T) {
    	// Prior to CVE-2022-30630, a stack exhaustion would occur given a large
    	// number of separators. There is now a limit of 10,000.
    	_, err := Glob(os.DirFS("."), "/*"+strings.Repeat("/", 10001))
    	if err != path.ErrBadPattern {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:36:52 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. test/fixedbugs/issue7921.go

    // both escape analysis and inlining.
    
    func bufferNotEscape() string {
    	// b itself does not escape, only its buf field will be
    	// copied during String() call, but object "handle" itself
    	// can be stack-allocated.
    	var b bytes.Buffer
    	b.WriteString("123")
    	b.Write([]byte{'4'}) // ERROR "\[\]byte{...} does not escape$"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 19:43:26 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top