Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 694 for Atack (0.24 sec)

  1. test/nosplit.go

    f7 16 nosplit call f8
    f8 16 nosplit call end
    end 1000
    REJECT
    
    # Two paths both go over the stack limit.
    start 0 call f1
    f1 80 nosplit call f2 call f3
    f2 40 nosplit call f4
    f3 96 nosplit
    f4 40 nosplit
    REJECT
    
    # Test cases near the 128-byte limit.
    
    # Ordinary stack split frame is always okay.
    start 112
    start 116
    start 120
    start 124
    start 128
    start 132
    start 136
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  2. src/runtime/mfinal_test.go

    				return c, d
    			}
    			if uintptr(unsafe.Pointer(d))+unsafe.Sizeof(*c) == uintptr(unsafe.Pointer(c)) {
    				return d, c
    			}
    		}
    		s = append(s, c)
    	}
    }
    
    // Make sure an empty slice on the stack doesn't pin the next object in memory.
    func TestEmptySlice(t *testing.T) {
    	x, y := adjChunks()
    
    	// the pointer inside xs points to y.
    	xs := x[objsize:] // change objsize to objsize-1 and the test passes
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 20:45:58 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/util.go

    func (p *Prog) InnermostFilename() string {
    	// TODO For now, this is only used for debugging output, and if we need more/better information, it might change.
    	// An example of what we might want to see is the full stack of positions for inlined code, so we get some visibility into what is recorded there.
    	pos := p.Ctxt.InnermostPos(p.Pos)
    	if !pos.IsKnown() {
    		return "<unknown file name>"
    	}
    	return pos.Filename()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. src/syscall/js/js.go

    	// in particular, note that WebGL2's texImage2D takes up to 10 arguments
    	const maxStackArgs = 16
    	if size <= maxStackArgs {
    		// as long as makeArgs is inlined, these will be stack-allocated
    		argVals = make([]Value, size, maxStackArgs)
    		argRefs = make([]ref, size, maxStackArgs)
    	} else {
    		// allocates on the heap, but exceeding maxStackArgs should be rare
    		argVals = make([]Value, size)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  5. src/crypto/cipher/cfb.go

    func NewCFBDecrypter(block Block, iv []byte) Stream {
    	return newCFB(block, iv, true)
    }
    
    func newCFB(block Block, iv []byte, decrypt bool) Stream {
    	blockSize := block.BlockSize()
    	if len(iv) != blockSize {
    		// stack trace will indicate whether it was de or encryption
    		panic("cipher.newCFB: IV length must equal block size")
    	}
    	x := &cfb{
    		b:       block,
    		out:     make([]byte, blockSize),
    		next:    make([]byte, blockSize),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. src/runtime/sys_libc.go

    package runtime
    
    import "unsafe"
    
    // Call fn with arg as its argument. Return what fn returns.
    // fn is the raw pc value of the entry point of the desired function.
    // Switches to the system stack, if not already there.
    // Preserves the calling point as the location where a profiler traceback will begin.
    //
    //go:nosplit
    func libcCall(fn, arg unsafe.Pointer) int32 {
    	// Leave caller's PC/SP/G around for traceback.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  7. src/runtime/defs_plan9_amd64.go

    	fs uint16
    	gs uint16
    
    	_type uint64
    	error uint64 /* error code (or zero) */
    	ip    uint64 /* pc */
    	cs    uint64 /* old context */
    	flags uint64 /* old flags */
    	sp    uint64 /* sp */
    	ss    uint64 /* old stack segment */
    }
    
    type sigctxt struct {
    	u *ureg
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) pc() uintptr { return uintptr(c.u.ip) }
    
    func (c *sigctxt) sp() uintptr { return uintptr(c.u.sp) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 21 22:12:04 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  8. src/runtime/internal/sys/nih.go

    package sys
    
    // NOTE: keep in sync with cmd/compile/internal/types.CalcSize
    // to make the compiler recognize this as an intrinsic type.
    type nih struct{}
    
    // NotInHeap is a type must never be allocated from the GC'd heap or on the stack,
    // and is called not-in-heap.
    //
    // Other types can embed NotInHeap to make it not-in-heap. Specifically, pointers
    // to these types must always fail the `runtime.inheap` check. The type may be used
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 18:24:50 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  9. src/runtime/os_linux.go

    // Version of newosproc that doesn't require a valid G.
    //
    //go:nosplit
    func newosproc0(stacksize uintptr, fn unsafe.Pointer) {
    	stack := sysAlloc(stacksize, &memstats.stacks_sys)
    	if stack == nil {
    		writeErrStr(failallocatestack)
    		exit(1)
    	}
    	ret := clone(cloneFlags, unsafe.Pointer(uintptr(stack)+stacksize), nil, nil, fn)
    	if ret < 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    }
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  10. src/runtime/trace/annotation.go

    func Logf(ctx context.Context, category, format string, args ...any) {
    	if IsEnabled() {
    		// Ideally this should be just Log, but that will
    		// add one more frame in the stack trace.
    		id := fromContext(ctx).id
    		userLog(id, category, fmt.Sprintf(format, args...))
    	}
    }
    
    const (
    	regionStartCode = uint64(0)
    	regionEndCode   = uint64(1)
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 20 00:47:09 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top