Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Stack (3.77 sec)

  1. src/cmd/asm/internal/lex/stack.go

    import (
    	"text/scanner"
    
    	"cmd/internal/src"
    )
    
    // A Stack is a stack of TokenReaders. As the top TokenReader hits EOF,
    // it resumes reading the next one down.
    type Stack struct {
    	tr []TokenReader
    }
    
    // Push adds tr to the top (end) of the input stack. (Popping happens automatically.)
    func (s *Stack) Push(tr TokenReader) {
    	s.tr = append(s.tr, tr)
    }
    
    func (s *Stack) Next() ScanToken {
    	tos := s.tr[len(s.tr)-1]
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jan 09 22:33:23 GMT 2017
    - 1.2K bytes
    - Viewed (0)
  2. misc/wasm/go_js_wasm_exec

    	SOURCE="$(readlink "$SOURCE")"
    	[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE"
    done
    DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
    
    # Increase the V8 stack size from the default of 984K
    # to 8192K to ensure all tests can pass without hitting
    # stack size limits.
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Feb 02 15:35:28 GMT 2023
    - 603 bytes
    - Viewed (0)
  3. .github/ISSUE_TEMPLATE/12-telemetry.yml

          counter: gopls/bug
          title: Gopls bug reports
          description: Stacks of bugs encountered on the gopls server.
          type: partition, histogram, stack # choose only one.
          program: golang.org/x/tools/gopls
          counter: gopls/bug
          depth: 16  # only if type is stack.
          version: v0.13.0  # the first binary version containing this counter.
      validations:
          required: true
    - type: dropdown
      attributes:
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Nov 27 17:23:51 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  4. .github/SUPPORT.md

    * [The Go Forum](https://forum.golangbridge.org/), a web-based forum
    
    * [Gophers Slack](https://gophers.slack.com), use the [invite app](https://invite.slack.golangbridge.org/) for access
    
    * [Stack Overflow](https://stackoverflow.com/questions/tagged/go) with questions tagged "go"
    
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Mar 29 22:00:27 GMT 2023
    - 692 bytes
    - Viewed (0)
  5. misc/wasm/go_wasip1_wasm_exec

    	"wazero")
    		exec wazero run -mount /:/ -env-inherit -cachedir "${TMPDIR:-/tmp}"/wazero ${GOWASIRUNTIMEARGS:-} "$1" "${@:2}"
    		;;
    	"wasmtime" | "")
    		exec wasmtime run --dir=/ --env PWD="$PWD" --env PATH="$PATH" -W max-wasm-stack=1048576 ${GOWASIRUNTIMEARGS:-} "$1" "${@:2}"
    		;;
    	*)
    		echo "Unknown Go WASI runtime specified: $GOWASIRUNTIME"
    		exit 1
    		;;
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 17:09:10 GMT 2024
    - 797 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. misc/wasm/wasm_exec_node.js

    WebAssembly.instantiate(fs.readFileSync(process.argv[2]), go.importObject).then((result) => {
    	process.on("exit", (code) => { // Node.js exits if no event handler is pending
    		if (code === 0 && !go.exited) {
    			// deadlock, make Go print error and stack traces
    			go._pendingEvent = { id: 0 };
    			go._resume();
    		}
    	});
    	return go.run(result.instance);
    }).catch((err) => {
    	console.error(err);
    	process.exit(1);
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jan 30 18:49:42 GMT 2023
    - 1.1K bytes
    - Viewed (0)
Back to top