Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Atack (0.05 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/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)
  3. src/vendor/golang.org/x/crypto/sha3/sha3.go

    		panic("sha3: Sum after Read")
    	}
    
    	// Make a copy of the original hash so that caller can keep writing
    	// and summing.
    	dup := d.clone()
    	hash := make([]byte, dup.outputLen, 64) // explicit cap to allow stack allocation
    	dup.Read(hash)
    	return append(in, hash...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top