Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for Atack (0.06 sec)

  1. test/linknameasm.dir/x.go

    // Test that a linkname applied on an assembly declaration
    // does not affect stack map generation.
    
    package main
    
    import (
    	"runtime"
    	_ "unsafe"
    )
    
    //go:linkname asm
    func asm(*int)
    
    func main() {
    	x := new(int)
    	asm(x)
    }
    
    // called from asm
    func callback() {
    	runtime.GC() // scan stack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 451 bytes
    - Viewed (0)
  2. src/cmd/vendor/rsc.io/markdown/inline.go

    	return p.list
    }
    
    func (ps *parseState) emph(dst, src []Inline) []Inline {
    	const chars = "_*~\"'"
    	var stack [len(chars)][]*emphPlain
    	stackOf := func(c byte) int {
    		return strings.IndexByte(chars, c)
    	}
    
    	trimStack := func() {
    		for i := range stack {
    			stk := &stack[i]
    			for len(*stk) > 0 && (*stk)[len(*stk)-1].i >= len(dst) {
    				*stk = (*stk)[:len(*stk)-1]
    			}
    		}
    	}
    
    Src:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/debug.go

    		}
    		setSlot(slotID, VarLoc{0, stackOffset})
    		if state.loggingLevel > 1 {
    			if v.Op == OpVarDef {
    				state.logf("at %v: stack-only var %v now live\n", v, state.slots[slotID])
    			} else {
    				state.logf("at %v: stack-only var %v now dead\n", v, state.slots[slotID])
    			}
    		}
    
    	case v.Op == OpArg:
    		home := state.f.getHome(v.ID).(LocalSlot)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  4. src/runtime/gc_test.go

    	// further move the stack.
    	new2 := uintptr(unsafe.Pointer(new))
    
    	t.Logf("old stack pointer %x, new stack pointer %x", old, new2)
    	if new2 == old {
    		// Check that we didn't screw up the test's escape analysis.
    		if cls := runtime.GCTestPointerClass(unsafe.Pointer(new)); cls != "stack" {
    			t.Fatalf("test bug: new (%#x) should be a stack pointer, not %s", new2, cls)
    		}
    		// This was a real failure.
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go

    	{11, "SIGSEGV", "segmentation fault"},
    	{12, "SIGUSR2", "user defined signal 2"},
    	{13, "SIGPIPE", "broken pipe"},
    	{14, "SIGALRM", "alarm clock"},
    	{15, "SIGTERM", "terminated"},
    	{16, "SIGSTKFLT", "stack fault"},
    	{17, "SIGCHLD", "child exited"},
    	{18, "SIGCONT", "continued"},
    	{19, "SIGSTOP", "stopped (signal)"},
    	{20, "SIGTSTP", "stopped"},
    	{21, "SIGTTIN", "stopped (tty input)"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  8. src/net/http/server.go

    // provided Request.
    //
    // If ServeHTTP panics, the server (the caller of ServeHTTP) assumes
    // that the effect of the panic was isolated to the active request.
    // It recovers the panic, logs a stack trace to the server error log,
    // and either closes the network connection or sends an HTTP/2
    // RST_STREAM, depending on the HTTP protocol. To abort a handler so
    // the client sees an interrupted response but the server doesn't log
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modget/get.go

    				// it unresolved. Either some other query (perhaps a wildcard matching a
    				// newly-added dependency for some other missing package) will fill in
    				// the gaps, or we will report an error (with a better import stack) in
    				// the final LoadPackages call.
    				return true
    			}
    		}
    
    		mu.Lock()
    		upgrades = append(upgrades, pathSet{path: path, pkgMods: pkgMods, err: err})
    		mu.Unlock()
    		return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  10. src/runtime/coro.go

    // and then blocks the current goroutine on c.
    func coroswitch(c *coro) {
    	gp := getg()
    	gp.coroarg = c
    	mcall(coroswitch_m)
    }
    
    // coroswitch_m is the implementation of coroswitch
    // that runs on the m stack.
    //
    // Note: Coroutine switches are expected to happen at
    // an order of magnitude (or more) higher frequency
    // than regular goroutine switches, so this path is heavily
    // optimized to remove unnecessary work.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:18 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top