Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 268 for Director (0.34 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");
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:07 UTC 2023
    - 366 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_fs_patterns.txt

    ! go list .
    stderr 'current directory outside main module or its selected dependencies'
    ! go list $PWD
    stderr 'current directory outside main module or its selected dependencies'
    ! go list $PWD/...
    stderr 'current directory outside main module or its selected dependencies'
    
    -- x/go.mod --
    module m
    
    -- x/x.go --
    package x
    
    -- x/vendor/v/v.go --
    package v
    import _ "golang.org/x/crypto"
    
    -- x/vendor/v.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 18:09:53 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_compile_multi_pkg.txt

    # Verify test -c can output multiple executables to a directory.
    
    # This test also serves as a regression test for https://go.dev/issue/62221:
    # prior to the fix for that issue, it occasionally failed with ETXTBSY when
    # run on Unix platforms.
    
    go test -c -o $WORK/some/nonexisting/directory/ ./pkg/...
    exists -exec $WORK/some/nonexisting/directory/pkg1.test$GOEXE
    exists -exec $WORK/some/nonexisting/directory/pkg2.test$GOEXE
    
    go test -c ./pkg/...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 22:09:34 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/work_use_only_dirs.txt

    ! go work use foo bar baz
    
    stderr '^go: foo is not a directory'
    stderr '^go: directory baz does not exist'
    cmp go.work go.work_want
    
    ! go work use -r qux
    stderr '^go: qux is not a directory'
    
    -- go.work --
    go 1.18
    -- go.work_want --
    go 1.18
    -- foo --
    -- qux --
    -- bar/go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 289 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_find.txt

    cd $GOPATH/src/example.com/x/y/z
    go mod init
    stderr 'unexpected.com/z'
    rm go.mod
    
    # Empty directory outside GOPATH fails.
    mkdir $WORK/empty
    cd $WORK/empty
    ! go mod init
    stderr 'cannot determine module path for source directory'
    rm go.mod
    
    # Empty directory inside GOPATH/src uses location inside GOPATH.
    mkdir $GOPATH/src/empty
    cd $GOPATH/src/empty
    go mod init
    stderr 'empty'
    rm go.mod
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:14 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modcmd/init.go

    	"context"
    )
    
    var cmdInit = &base.Command{
    	UsageLine: "go mod init [module-path]",
    	Short:     "initialize new module in current directory",
    	Long: `
    Init initializes and writes a new go.mod file in the current directory, in
    effect creating a new module rooted at the current directory. The go.mod file
    must not already exist.
    
    Init accepts one optional argument, the module path for the new module. If the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 15:51:46 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_vendor_auto.txt

    ! go list -m all
    stderr 'go: can''t compute ''all'' using the vendor directory\n\t\(Use -mod=mod or -mod=readonly to bypass.\)'
    
    ! go list -m -f '{{.Dir}}' all
    stderr 'go: can''t compute ''all'' using the vendor directory\n\t\(Use -mod=mod or -mod=readonly to bypass.\)'
    
    # An explicit -mod=mod should force the vendor directory to be ignored.
    env GOFLAGS=-mod=mod
    
    go list -f {{.Dir}} -tags tools -e all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/list_issue_56509.txt

    # Test that a directory with an .s file that has a comment that can't
    # be parsed isn't matched as a go directory. (This was happening because
    # non-go files with unparsable comments were being added to InvalidGoFiles
    # leading the package matching code to think there were Go files in the
    # directory.)
    
    cd bar
    go list ./...
    ! stdout .
    cd ..
    
    [short] skip
    
    # Test that an unparsable .s file is completely ignored when its name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 21:02:24 UTC 2022
    - 740 bytes
    - Viewed (0)
  9. src/cmd/go/internal/help/helpdoc.go

    a non-Go program in the directory. Files in package documentation
    are ignored by the go command.
    
    As a special case, if the package list is a list of .go files from a
    single directory, the command is applied to a single synthesized
    package made up of exactly those files, ignoring any build constraints
    in those files and ignoring any other files in the directory.
    
    Directory and file names that begin with "." or "_" are ignored
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/README

    // license that can be found in the LICENSE file.
    
    This command generates Go code (in the parent directory) for all
    the architecture-specific opcodes, blocks, and rewrites. See the
    "Hacking on SSA" section in the parent directory's README.md for
    more information.
    
    To regenerate everything, run "go generate" on the ssa package
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 462 bytes
    - Viewed (0)
Back to top