Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Atack (0.04 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/compile/internal/types2/unify.go

    			// endless recursion occurs if the cycle is not detected.
    			//
    			// If x and y were compared before, they must be equal
    			// (if they were not, the recursion would have stopped);
    			// search the ifacePair stack for the same pair.
    			//
    			// This is a quadratic algorithm, but in practice these stacks
    			// are extremely short (bounded by the nesting depth of interface
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  8. src/net/http/transport.go

    	// (They may be actively dialing, but this conn is ready first.
    	// Chrome calls this socket late binding.
    	// See https://www.chromium.org/developers/design-documents/network-stack#TOC-Connection-Management.)
    	key := pconn.cacheKey
    	if q, ok := t.idleConnWait[key]; ok {
    		done := false
    		if pconn.alt == nil {
    			// HTTP/1.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  9. src/cmd/go/alldocs.go

    //	    Write a mutex contention profile to the specified file
    //	    when all tests are complete.
    //	    Writes test binary as -c would.
    //
    //	-mutexprofilefraction n
    //	    Sample 1 in n stack traces of goroutines holding a
    //	    contended mutex.
    //
    //	-outputdir directory
    //	    Place output files from profiling in the specified directory,
    //	    by default the directory in which "go test" is running.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssagen/ssa.go

    	stksize    int64                // stack size for current frame
    	stkptrsize int64                // prefix of stack containing pointers
    
    	// alignment for current frame.
    	// NOTE: when stkalign > PtrSize, currently this only ensures the offsets of
    	// objects in the stack frame are aligned. The stack pointer is still aligned
    	// only PtrSize.
    	stkalign int64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top