- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 156 for imports (0.16 sec)
-
src/cmd/cgo/doc.go
C code can #include this to see the declarations. -importpath string The import path for the Go package. Optional; used for nicer comments in the generated files. -import_runtime_cgo If set (which it is by default) import runtime/cgo in generated output. -import_syscall If set (which it is by default) import syscall in generated output. -gccgo Generate output for the gccgo compiler rather than the
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) -
src/cmd/api/main_test.go
for k, v := range pkg.ImportMap { importMap[pkg.Dir][k] = v } } sort.Strings(stdPackages) imports = listImports{ stdPackages: stdPackages, importMap: importMap, importDir: importDir, } imports, _ = listCache.LoadOrStore(name, imports) } li := imports.(listImports) w.stdPackages = li.stdPackages w.importDir = li.importDir w.importMap = li.importMap }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 09 20:48:51 GMT 2024 - 31.4K bytes - Viewed (0) -
api/go1.5.txt
pkg go/constant, type Value interface, Kind() Kind pkg go/constant, type Value interface, String() string pkg go/constant, type Value interface, unexported methods pkg go/importer, func Default() types.Importer pkg go/importer, func For(string, Lookup) types.Importer pkg go/importer, type Lookup func(string) (io.ReadCloser, error) pkg go/parser, func ParseExprFrom(*token.FileSet, string, interface{}, Mode) (ast.Expr, error) pkg go/types, const Bool = 1
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Jul 30 21:14:09 GMT 2015 - 46.6K bytes - Viewed (0) -
doc/go1.17_spec.html
import m "lib/math" m.Sin import . "lib/math" Sin </pre> <p> An import declaration declares a dependency relation between the importing and imported package. It is illegal for a package to import itself, directly or indirectly, or to directly import a package without referring to any of its exported identifiers. To import a package solely for
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
doc/next/7-ports.md
## Ports {#ports} ### Darwin {#darwin} <!-- go.dev/issue/64207 --> As [announced](go1.22#darwin) in the Go 1.22 release notes, Go 1.23 requires macOS 11 Big Sur or later; support for previous versions has been discontinued. ### Wasm {#wasm} <!-- go.dev/issue/63718 --> The `go_wasip1_wasm_exec` script in `GOROOT/misc/wasm` has dropped support
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 17:09:10 GMT 2024 - 385 bytes - Viewed (0) -
src/cmd/api/api_test.go
w := NewWalker(context, filepath.Join(testenv.GOROOT(b), "src")) for _, name := range w.stdPackages { pkg, _ := w.import_(name) w.export(pkg) } w.Features() } } } var warmupCache = sync.OnceFunc(func() { // Warm up the import cache in parallel. var wg sync.WaitGroup for _, context := range contexts { context := context wg.Add(1) go func() {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jan 04 17:31:12 GMT 2024 - 7.1K bytes - Viewed (0) -
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) => { sp >>>= 0;
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) -
src/cmd/cgo/ast.go
error_(sel.Pos(), `cannot define new methods on non-local type %s`, &buf) } } } } } if !sawC { error_(ast1.Package, `cannot find import "C"`) } // In ast2, strip the import "C" line. if *godefs { w := 0 for _, decl := range ast2.Decls { d, ok := decl.(*ast.GenDecl) if !ok { ast2.Decls[w] = decl w++ continue }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jun 07 16:54:27 GMT 2023 - 14.3K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue24161arg/use.go
// license that can be found in the LICENSE file. //go:build darwin package issue24161arg /* #cgo LDFLAGS: -framework CoreFoundation #include <CoreFoundation/CoreFoundation.h> */ import "C" import "testing" func Test(t *testing.T) { a := test24161array() C.CFArrayCreateCopy(0, a)
Go - Registered: Tue Apr 09 11:13:10 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 398 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue26213/test26213.go
// Copyright 2018 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 issue26213 /* #include "jni.h" */ import "C" import ( "testing" ) func Test26213(t *testing.T) { var x1 C.jobject = 0 // Note: 0, not nil. That makes sure we use uintptr for these types. _ = x1 var x2 C.jclass = 0 _ = x2 var x3 C.jthrowable = 0
Go - Registered: Tue Mar 26 11:13:08 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 835 bytes - Viewed (0)