- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for Director (0.36 sec)
-
src/cmd/cgo/internal/swig/testdata/callback/main.swigcxx
license that can be found in the LICENSE file. */ /* An example of writing a C++ virtual function in Go. */ %module(directors="1") callback %{ #include <string> #include "main.h" %} %include "std_string.i" %feature("director");
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 366 bytes - Viewed (0) -
src/cmd/cgo/doc.go
When the cgo directives are parsed, any occurrence of the string ${SRCDIR} will be replaced by the absolute path to the directory containing the source file. This allows pre-compiled static libraries to be included in the package directory and linked properly. For example if package foo is in the directory /go/src/foo: // #cgo LDFLAGS: -L${SRCDIR}/libs -lfoo Will be expanded to: // #cgo LDFLAGS: -L/go/src/foo/libs -lfoo
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/cgo/internal/swig/swig_test.go
swig, err := exec.LookPath("swig") if err != nil { t.Skipf("swig not in PATH: %s", err) } // Check that swig was installed with Go support by checking // that a go directory exists inside the swiglib directory. // See https://golang.org/issue/23469. output, err := exec.Command(swig, "-go", "-swiglib").Output() if err != nil { t.Skip("swig is missing Go support") }
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 3.7K bytes - Viewed (0) -
src/archive/zip/fuzz_test.go
package zip import ( "bytes" "io" "os" "path/filepath" "testing" ) func FuzzReader(f *testing.F) { testdata, err := os.ReadDir("testdata") if err != nil { f.Fatalf("failed to read testdata directory: %s", err) } for _, de := range testdata { if de.IsDir() { continue } b, err := os.ReadFile(filepath.Join("testdata", de.Name())) if err != nil { f.Fatalf("failed to read testdata: %s", err)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jan 13 18:06:33 GMT 2022 - 1.7K bytes - Viewed (0) -
src/archive/zip/reader_test.go
} dirEntries, err := fs.ReadDir(r, ".") if err != nil { t.Fatalf("Error reading the root directory: %v", err) } if len(dirEntries) != 1 || dirEntries[0].Name() != "test.txt" { t.Errorf("Unexpected directory entries") for _, dirEntry := range dirEntries { _, err := r.Open(dirEntry.Name()) t.Logf("%q (Open error: %v)", dirEntry.Name(), err) }
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) -
src/cmd/api/api_test.go
if err != nil { t.Fatal(err) } fis, err := td.Readdir(0) if err != nil { t.Fatal(err) } for _, fi := range fis { if !fi.IsDir() { continue } // TODO(gri) remove extra pkg directory eventually goldenFile := filepath.Join("testdata", "src", "pkg", fi.Name(), "golden.txt") w := NewWalker(nil, "testdata/src/pkg") pkg, _ := w.import_(fi.Name()) w.export(pkg) if *updateGolden {
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) -
api/go1.13.txt
pkg syscall (netbsd-arm64-cgo), const O_DIRECT = 524288 pkg syscall (netbsd-arm64-cgo), const O_DIRECT ideal-int pkg syscall (netbsd-arm64-cgo), const O_DIRECTORY = 2097152 pkg syscall (netbsd-arm64-cgo), const O_DIRECTORY ideal-int pkg syscall (netbsd-arm64-cgo), const O_DSYNC = 65536 pkg syscall (netbsd-arm64-cgo), const O_DSYNC ideal-int pkg syscall (netbsd-arm64-cgo), const O_EXCL = 2048
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Aug 08 18:44:16 GMT 2019 - 452.6K bytes - Viewed (0) -
doc/go1.17_spec.html
<pre> package math </pre> <p> A set of files sharing the same PackageName form the implementation of a package. An implementation may require that all source files for a package inhabit the same directory. </p> <h3 id="Import_declarations">Import declarations</h3> <p> An import declaration states that the source file containing the declaration depends on functionality of the <i>imported</i> package
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) -
src/README.vendor
The module requirements of std and cmd do not influence version selection in other modules. They are only considered when running module commands like 'go get' and 'go mod vendor' from a directory in GOROOT/src. Maintaining vendor directories ============================== Before updating vendor directories, ensure that module mode is enabled.
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 02 02:20:05 GMT 2024 - 2.2K bytes - Viewed (0) -
doc/next/1-intro.md
<!-- NOTE: In this document and others in this directory, the convention is to set fixed-width phrases with non-fixed-width spaces, as in `hello` `world`. --> <style> main ul li { margin: 0.5em 0; } </style>
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Jan 24 16:44:53 GMT 2024 - 256 bytes - Viewed (0)