Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 694 for Atack (0.1 sec)

  1. test/fixedbugs/issue22200.go

    // license that can be found in the LICENSE file.
    
    package p
    
    func f1(x *[1<<30 - 1e6]byte) byte {
    	for _, b := range *x {
    		return b
    	}
    	return 0
    }
    func f2(x *[1<<30 + 1e6]byte) byte { // GC_ERROR "stack frame too large"
    	for _, b := range *x {
    		return b
    	}
    	return 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 17:37:52 UTC 2020
    - 396 bytes
    - Viewed (0)
  2. src/runtime/syscall_aix.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    import "unsafe"
    
    // This file handles some syscalls from the syscall package
    // Especially, syscalls use during forkAndExecInChild which must not split the stack
    
    //go:cgo_import_dynamic libc_chdir chdir "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_chroot chroot "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_dup2 dup2 "libc.a/shr_64.o"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. test/fixedbugs/bug092.go

    	var b [10000] int64;  // this causes a runtime crash
    	_, _ = a, b;
    }
    
    /*
    uetli:~/Source/go1/test/bugs gri$ 6g bug092.go && 6l bug092.6 && 6.out
    Illegal instruction
    
    gri: array size matters, possibly related to stack overflow check?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:30 UTC 2012
    - 474 bytes
    - Viewed (0)
  4. test/recover.go

    }
    
    func test13reflect2() {
    	f := reflect.TypeOf(T5{}).Method(0).Func.Interface().(func(T5))
    	defer f(T5{})
    	panic(13)
    }
    
    // enormous receiver + enormous method frame, so wrapper splits stack to call M,
    // and then M splits stack to allocate its frame.
    // recover must look back two frames to find the panic.
    type T6 [8192]byte
    
    var global byte
    
    func (T6) M() {
    	var x [8192]byte
    	x[0] = 1
    	x[1] = 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 10.6K bytes
    - Viewed (0)
  5. test/fixedbugs/issue10486.go

    // run
    
    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 10486.
    // Check stack walk during div by zero fault,
    // especially on software divide systems.
    
    package main
    
    import "runtime"
    
    var A, B int
    
    func divZero() int {
    	defer func() {
    		if p := recover(); p != nil {
    			var pcs [512]uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 518 bytes
    - Viewed (0)
  6. test/fixedbugs/issue30476.go

    // run
    
    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 30476: KeepAlive didn't keep stack object alive.
    
    package main
    
    import "runtime"
    
    func main() {
    	x := new([10]int)
    	runtime.SetFinalizer(x, func(*[10]int) { panic("FAIL: finalizer runs") })
    	p := &T{x, 0}
    	use(p)
    	runtime.GC()
    	runtime.GC()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 01 15:36:52 UTC 2019
    - 525 bytes
    - Viewed (0)
  7. src/runtime/mpagealloc.go

    //
    // The heap lock must not be held over this operation, since it will briefly acquire
    // the heap lock.
    //
    // Must be called on the system stack because it acquires the heap lock.
    //
    //go:systemstack
    func (p *pageAlloc) enableChunkHugePages() {
    	// Grab the heap lock to turn on huge pages for new chunks and clone the current
    	// heap address space ranges.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modload/load.go

    	var stack []*loadPkg
    	for p := pkg; p != nil; p = p.stack {
    		stack = append(stack, p)
    	}
    
    	var buf strings.Builder
    	for i := len(stack) - 1; i >= 0; i-- {
    		p := stack[i]
    		fmt.Fprint(&buf, p.path)
    		if p.testOf != nil {
    			fmt.Fprint(&buf, ".test")
    		}
    		if i > 0 {
    			if stack[i-1].testOf == p {
    				fmt.Fprint(&buf, " tested by\n\t")
    			} else {
    				fmt.Fprint(&buf, " imports\n\t")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testplugin/testdata/plugin2/plugin2.go

    //#include <string.h>
    import "C"
    
    // #include
    // void cfunc() {} // uses cgo_topofstack
    
    import (
    	"reflect"
    	"strings"
    
    	"testplugin/common"
    )
    
    func init() {
    	_ = strings.NewReplacer() // trigger stack unwind, Issue #18190.
    	C.strerror(C.EIO)         // uses cgo_topofstack
    	common.X = 2
    }
    
    type sameNameReusedInPlugins struct {
    	X string
    }
    
    type sameNameHolder struct {
    	F *sameNameReusedInPlugins
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 796 bytes
    - Viewed (0)
  10. src/reflect/value.go

    			continue
    		}
    
    		// There are four cases to handle in translating each
    		// argument:
    		// 1. Stack -> stack translation.
    		// 2. Stack -> registers translation.
    		// 3. Registers -> stack translation.
    		// 4. Registers -> registers translation.
    
    		// If the value ABI passes the value on the stack,
    		// then the method ABI does too, because it has strictly
    		// fewer arguments. Simply copy between the two.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top