- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for Wain (0.2 sec)
-
src/cmd/cgo/internal/swig/testdata/callback/main.go
// Copyright 2012 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. package main import ( "fmt" "os" ) func main() { if len(os.Args) != 2 { fatal("usage: callback testname") } switch os.Args[1] { default: fatal("unknown test %q", os.Args[1]) case "Call": testCall() case "Callback": testCallback() }
Go - Registered: 2023-11-28 11:13 - Last Modified: 2023-05-12 12:00 - 1K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/testdata/stdio/main.swig
Austin Clements <******@****.***> 1683216807 -0400
Plain Text - Registered: 2023-11-28 11:13 - Last Modified: 2023-05-12 12:00 - 563 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue24161e1/main.go
Austin Clements <******@****.***> 1683224724 -0400
Go - Registered: 2023-11-28 11:13 - Last Modified: 2023-05-12 12:00 - 1K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/s390x.s
Others - Registered: 2023-11-28 11:13 - Last Modified: 2023-11-22 03:55 - 21.6K bytes - Viewed (0) -
src/cmd/asm/internal/asm/operand_test.go
{"$1", "$1"}, {"$1.0", "$(1.0)"}, {"$10", "$10"}, {"$1000", "$1000"}, {"$1000000", "$1000000"}, {"$1000000000", "$1000000000"}, {"$__tsan_func_enter(SB)", "$__tsan_func_enter(SB)"}, {"$main(SB)", "$main(SB)"}, {"$masks<>(SB)", "$masks<>(SB)"}, {"$setg_gcc<>(SB)", "$setg_gcc<>(SB)"}, {"$shifts<>(SB)", "$shifts<>(SB)"}, {"$~(1<<63)", "$9223372036854775807"}, {"$~0x3F", "$-64"}, {"$~15", "$-16"},
Go - Registered: 2023-11-28 11:13 - Last Modified: 2023-08-29 18:31 - 23.9K bytes - Viewed (0) -
src/cmd/cgo/ast_go118.go
// Copyright 2021 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. //go:build !compiler_bootstrap package main import ( "go/ast" "go/token" ) func (f *File) walkUnexpected(x interface{}, context astContext, visit func(*File, interface{}, astContext)) { switch n := x.(type) { default: error_(token.NoPos, "unexpected type %T in walk", x)
Go - Registered: 2023-11-28 11:13 - Last Modified: 2022-11-30 21:45 - 730 bytes - Viewed (0) -
src/cmd/cgo/doc.go
in general generate direct references to the system libraries. Instead, the build process generates an object file using dynamic linkage to the desired libraries. The main function is provided by _cgo_main.c: int main() { return 0; } void crosscall2(void(*fn)(void*), void *a, int c, uintptr_t ctxt) { } uintptr_t _cgo_wait_runtime_init_done(void) { return 0; } void _cgo_release_context(uintptr_t ctxt) { }
Go - Registered: 2023-11-28 11:13 - Last Modified: 2023-11-02 16:43 - 42K bytes - Viewed (0) -
src/cmd/api/api_test.go
// Copyright 2011 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. package main import ( "flag" "fmt" "go/build" "internal/testenv" "os" "path/filepath" "sort" "strings" "sync" "testing" ) var flagCheck = flag.Bool("check", false, "run API checks") func TestMain(m *testing.M) { flag.Parse()
Go - Registered: 2023-11-28 11:13 - Last Modified: 2023-08-16 16:02 - 6.7K bytes - Viewed (0) -
src/cmd/cgo/ast.go
// Copyright 2009 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. // Parse input AST and prepare Prog structure. package main import ( "fmt" "go/ast" "go/format" "go/parser" "go/scanner" "go/token" "os" "strings" ) func parse(name string, src []byte, flags parser.Mode) *ast.File {
Go - Registered: 2023-11-28 11:13 - Last Modified: 2023-06-07 16:54 - 14.3K bytes - Viewed (0) -
doc/go1.17_spec.html
called the <i>main package</i> with all the packages it imports, transitively. The main package must have package name <code>main</code> and declare a function <code>main</code> that takes no arguments and returns no value. </p> <pre> func main() { … } </pre> <p> Program execution begins by initializing the main package and then
HTML - Registered: 2023-11-28 11:13 - Last Modified: 2023-08-03 14:43 - 211.4K bytes - Viewed (0)