Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for Director (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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 Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  8. 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 Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  9. api/README

    The same requirement applies to next/* (described below), which will
    become a go1.XX.txt for XX >= 19.
    
    The next/ directory contains the only files intended to be mutated.
    Each file in that directory contains a list of features that may be added
    to the next release of Go. The files in this directory only affect the
    warning output from the go api tool. Each file should be named
    nnnnn.txt, after the issue number for the accepted proposal.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 31 19:22:50 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  10. doc/README.md

    ## For developers
    
    Release notes should be added to `next` by editing existing files or creating
    new files. **Do not add RELNOTE=yes comments in CLs.** Instead, add a file to
    the CL (or ask the author to do so).
    
    At the end of the development cycle, the files will be merged by being
    concatenated in sorted order by pathname. Files in the directory matching the
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 21:24:36 GMT 2024
    - 1.9K bytes
    - Viewed (0)
Back to top