Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for Atack (0.18 sec)

  1. src/cmd/cgo/internal/test/callback.go

    }
    
    func testCallbackStack(t *testing.T) {
    	// Make cgo call and callback with different amount of stack available.
    	// We do not do any explicit checks, just ensure that it does not crash.
    	for _, f := range splitTests {
    		f()
    	}
    }
    
    //export goStackCheck
    func goStackCheck() {
    	// use some stack memory to trigger split stack check
    	var buf [256]byte
    	use(buf[:])
    }
    
    var Used byte
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  2. misc/wasm/wasm_exec.js

    					// may synchronously trigger a Go event handler. This makes Go code get executed in the middle of the imported
    					// function. A goroutine can switch to a new stack if the current stack is too small (see morestack function).
    					// This changes the SP, thus we have to update the SP used by the imported function.
    
    					// func wasmExit(code int32)
    					"runtime.wasmExit": (sp) => {
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  3. api/go1.3.txt

    pkg syscall (netbsd-386), const MAP_RENAME ideal-int
    pkg syscall (netbsd-386), const MAP_SHARED = 1
    pkg syscall (netbsd-386), const MAP_SHARED ideal-int
    pkg syscall (netbsd-386), const MAP_STACK = 8192
    pkg syscall (netbsd-386), const MAP_STACK ideal-int
    pkg syscall (netbsd-386), const MAP_TRYFIXED = 1024
    pkg syscall (netbsd-386), const MAP_TRYFIXED ideal-int
    pkg syscall (netbsd-386), const MAP_WIRED = 2048
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  4. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const MAP_SHARED = 1
    pkg syscall (netbsd-arm64-cgo), const MAP_SHARED ideal-int
    pkg syscall (netbsd-arm64-cgo), const MAP_STACK = 8192
    pkg syscall (netbsd-arm64-cgo), const MAP_STACK ideal-int
    pkg syscall (netbsd-arm64-cgo), const MAP_TRYFIXED = 1024
    pkg syscall (netbsd-arm64-cgo), const MAP_TRYFIXED ideal-int
    pkg syscall (netbsd-arm64-cgo), const MAP_WIRED = 2048
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/lex/input.go

    	"cmd/asm/internal/flags"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    )
    
    // Input is the main input: a stack of readers and some macro definitions.
    // It also handles #include processing (by pushing onto the input stack)
    // and parses and instantiates macro definitions.
    type Input struct {
    	Stack
    	includes        []string
    	beginningOfLine bool
    	ifdefStack      []bool
    	macros          map[string]*Macro
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/callback_c.c

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include <string.h>
    
    #include "_cgo_export.h"
    
    void
    callback(void *f)
    {
    	// use some stack space
    	volatile char data[64*1024];
    
    	data[0] = 0;
    	goCallback(f);
            data[sizeof(data)-1] = 0;
    }
    
    void
    callGoFoo(void)
    {
    	extern void goFoo(void);
    	goFoo();
    }
    
    void
    IntoC(void)
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 933 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/callback_windows.go

    	}
    	return i;
    #else
    	return 0;
    #endif
    }
    */
    import "C"
    
    import (
    	"internal/testenv"
    	"reflect"
    	"runtime"
    	"strings"
    	"testing"
    	"unsafe"
    )
    
    // Test that the stack can be unwound through a call out and call back
    // into Go.
    func testCallbackCallersSEH(t *testing.T) {
    	testenv.SkipIfOptimizationOff(t) // This test requires inlining.
    	if runtime.Compiler != "gc" {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Nov 29 16:01:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/flags/flags.go

    	Spectre    = flag.String("spectre", "", "enable spectre mitigations in `list` (all, ret)")
    )
    
    var DebugFlags struct {
    	MayMoreStack string `help:"call named function before all stack growth checks"`
    	PCTab        string `help:"print named pc-value table\nOne of: pctospadj, pctofile, pctoline, pctoinline, pctopcdata"`
    }
    
    var (
    	D        MultiFlag
    	I        MultiFlag
    	PrintOut int
    	DebugV   bool
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 19:18:23 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/parse.go

    	case "SB":
    		addr.Name = obj.NAME_EXTERN
    		if isStatic {
    			addr.Name = obj.NAME_STATIC
    		}
    	case "SP":
    		addr.Name = obj.NAME_AUTO // The pseudo-stack.
    	default:
    		p.errorf("expected pseudo-register; found %s", reg)
    	}
    	if prefix == '$' {
    		addr.Type = obj.TYPE_ADDR
    	}
    }
    
    // symRefAttrs parses an optional function symbol attribute clause for
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  10. api/go1.1.txt

    pkg syscall (freebsd-386), const MAP_RESERVED0100 ideal-int
    pkg syscall (freebsd-386), const MAP_SHARED = 1
    pkg syscall (freebsd-386), const MAP_SHARED ideal-int
    pkg syscall (freebsd-386), const MAP_STACK = 1024
    pkg syscall (freebsd-386), const MAP_STACK ideal-int
    pkg syscall (freebsd-386), const MCL_CURRENT = 1
    pkg syscall (freebsd-386), const MCL_CURRENT ideal-int
    pkg syscall (freebsd-386), const MCL_FUTURE = 2
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
Back to top