Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for triage (0.25 sec)

  1. src/cmd/cgo/doc.go

    	package main
    
    	// typedef int (*intFunc) ();
    	//
    	// int
    	// bridge_int_func(intFunc f)
    	// {
    	//		return f();
    	// }
    	//
    	// int fortytwo()
    	// {
    	//	    return 42;
    	// }
    	import "C"
    	import "fmt"
    
    	func main() {
    		f := C.intFunc(C.fortytwo)
    		fmt.Println(int(C.bridge_int_func(f)))
    		// Output: 42
    	}
    
    In C, a function argument written as a fixed size array
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. misc/wasm/wasm_exec.js

    				_gotest: {
    					add: (a, b) => a + b,
    				},
    				gojs: {
    					// Go's SP does not change as long as no Go code is running. Some operations (e.g. calls, getters and setters)
    					// 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).
    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.5.txt

    pkg runtime, func ReadTrace() []uint8
    pkg runtime, func StartTrace() error
    pkg runtime, func StopTrace()
    pkg runtime, type MemStats struct, GCCPUFraction float64
    pkg runtime/trace, func Start(io.Writer) error
    pkg runtime/trace, func Stop()
    pkg strings, func Compare(string, string) int
    pkg strings, func LastIndexByte(string, uint8) int
    pkg strings, method (*Reader) Size() int64
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  4. src/archive/zip/reader_test.go

    		0xff, 0xff, 0xff, 0x20, 0x00,
    	}
    	defer func() {
    		if r := recover(); r != nil {
    			t.Fatalf("NewReader panicked: %s", r)
    		}
    	}()
    	// Previously, this would trigger a panic as we attempt to read from
    	// an io.SectionReader which would access a slice at a negative offset
    	// as the section reader offset & size were < 0.
    	NewReader(bytes.NewReader(data), int64(len(data))+1875)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/callback.go

    	// 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
    
    func use(buf []byte) {
    	for _, c := range buf {
    		Used += c
    	}
    }
    
    var splitTests = []func(){
    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)
  6. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const IFT_BGPPOLICYACCOUNTING = 162
    pkg syscall (netbsd-arm64-cgo), const IFT_BGPPOLICYACCOUNTING ideal-int
    pkg syscall (netbsd-arm64-cgo), const IFT_BRIDGE = 209
    pkg syscall (netbsd-arm64-cgo), const IFT_BRIDGE ideal-int
    pkg syscall (netbsd-arm64-cgo), const IFT_BSC = 83
    pkg syscall (netbsd-arm64-cgo), const IFT_BSC ideal-int
    pkg syscall (netbsd-arm64-cgo), const IFT_CARP = 248
    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)
  7. doc/go1.17_spec.html

    spaces (U+0020), horizontal tabs (U+0009),
    carriage returns (U+000D), and newlines (U+000A),
    is ignored except as it separates tokens
    that would otherwise combine into a single token. Also, a newline or end of file
    may trigger the insertion of a <a href="#Semicolons">semicolon</a>.
    While breaking the input into tokens,
    the next token is the longest sequence of characters that form a
    valid token.
    </p>
    
    <h3 id="Semicolons">Semicolons</h3>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  8. api/go1.1.txt

    pkg syscall (darwin-386), const IFT_ARCNET = 35
    pkg syscall (darwin-386), const IFT_ARCNETPLUS = 36
    pkg syscall (darwin-386), const IFT_ATM = 37
    pkg syscall (darwin-386), const IFT_BRIDGE = 209
    pkg syscall (darwin-386), const IFT_CARP = 248
    pkg syscall (darwin-386), const IFT_CELLULAR = 255
    pkg syscall (darwin-386), const IFT_CEPT = 19
    pkg syscall (darwin-386), const IFT_DS3 = 30
    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)
  9. doc/go_spec.html

    spaces (U+0020), horizontal tabs (U+0009),
    carriage returns (U+000D), and newlines (U+000A),
    is ignored except as it separates tokens
    that would otherwise combine into a single token. Also, a newline or end of file
    may trigger the insertion of a <a href="#Semicolons">semicolon</a>.
    While breaking the input into tokens,
    the next token is the longest sequence of characters that form a
    valid token.
    </p>
    
    <h3 id="Semicolons">Semicolons</h3>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  10. api/go1.11.txt

    pkg regexp/syntax, method (Op) String() string
    pkg runtime/trace, func IsEnabled() bool
    pkg runtime/trace, func Log(context.Context, string, string)
    pkg runtime/trace, func Logf(context.Context, string, string, ...interface{})
    pkg runtime/trace, func NewTask(context.Context, string) (context.Context, *Task)
    pkg runtime/trace, func StartRegion(context.Context, string) *Region
    pkg runtime/trace, func WithRegion(context.Context, string, func())
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 22 03:48:56 GMT 2018
    - 25K bytes
    - Viewed (2)
Back to top