Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for yerine (1.4 sec)

  1. src/cmd/go/testdata/script/cgo_badmethod_issue57926.txt

    [short] skip
    [!cgo] skip
    
    # Test that cgo rejects attempts to declare methods
    # on the types C.T or *C.T; see issue #57926.
    
    ! go build
    stderr 'cannot define new methods on non-local type C.T'
    stderr 'cannot define new methods on non-local type \*C.T'
    ! stderr 'Alias'
    
    -- go.mod --
    module example.com
    go 1.12
    
    -- a.go --
    package a
    
    /*
    typedef int T;
    */
    import "C"
    
    func (C.T) f() {}
    func (recv *C.T) g() {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 12:55:28 UTC 2023
    - 562 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_find.txt

    env GO111MODULE=on
    
    # Derive module path from import comment.
    cd $WORK/x
    exists x.go
    go mod init
    stderr 'module x'
    
    # Import comment works even with CRLF line endings.
    rm go.mod
    replace '\n' '\r\n' x.go
    go mod init
    stderr 'module x'
    
    # Derive module path from location inside GOPATH.
    # 'go mod init' should succeed if modules are not explicitly disabled.
    cd $GOPATH/src/example.com/x/y
    go mod init
    stderr 'module example.com/x/y$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:14 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/trampoline_reuse_test.txt

    -- bar/bar.s --
    
    #define NOP64 DWORD $0; DWORD $0; DWORD $0; DWORD $0; DWORD $0; DWORD $0; DWORD $0; DWORD $0;
    #define NOP256 NOP64 NOP64 NOP64 NOP64
    #define NOP2S10 NOP256 NOP256 NOP256 NOP256
    #define NOP2S12 NOP2S10 NOP2S10 NOP2S10 NOP2S10
    #define NOP2S14 NOP2S12 NOP2S12 NOP2S12 NOP2S12
    #define NOP2S16 NOP2S14 NOP2S14 NOP2S14 NOP2S14
    #define NOP2S18 NOP2S16 NOP2S16 NOP2S16 NOP2S16
    #define NOP2S20 NOP2S18 NOP2S18 NOP2S18 NOP2S18
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 14:31:23 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/cgo_path.txt

    ! exists p/bug.txt
    
    -- go.mod --
    module m
    
    -- m.go --
    package m
    
    import _ "m/p"
    
    -- p/p.go --
    package p
    
    // #define X 1
    import "C"
    
    -- p/gcc --
    #!/bin/sh
    echo ran gcc >bug.txt
    -- p/clang --
    #!/bin/sh
    echo ran clang >bug.txt
    -- p/gcc.bat --
    echo ran gcc >bug.txt
    -- p/clang.bat --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 17:09:07 UTC 2023
    - 952 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/cgo_path_space.txt

    [!GOOS:windows] env CC=$WORK/'program files'/gcc
    [GOOS:windows] env CC=$WORK\'program files'\gcc.bat
    ! go build -x
    ! exists $WORK/log.txt
    
    -- go.mod --
    module m
    
    -- m.go --
    package m
    
    // #define X 1
    import "C"
    
    -- $WORK/program files/gcc --
    #!/bin/sh
    
    echo ok >$WORK/log.txt
    -- $WORK/program files/clang --
    #!/bin/sh
    
    echo ok >$WORK/log.txt
    -- $WORK/program files/gcc.bat --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/README.md

    include and which symbols need to be `#define`d to get the actual data
    structures that pass through to the kernel system calls. Some C libraries
    preset alternate versions for binary compatibility and translate them on the
    way in and out of system calls, but there is almost always a `#define` that can
    get the real ones.
    See `types_darwin.go` and `linux/types.go` for examples.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 06 14:32:58 UTC 2021
    - 8.5K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/build_relative_tmpdir.txt

    env GO111MODULE=off
    
    # If GOTMPDIR is relative, 'go build' should derive an absolute $WORK directory.
    cd $WORK
    mkdir tmp
    env GOTMPDIR=tmp
    go build -work a
    stderr 'WORK='$WORK
    
    # Similarly if TMP/TMPDIR is relative.
    env GOTMPDIR=
    env TMP=tmp    # Windows
    env TMPDIR=tmp # Unix
    go build -work a
    stderr 'WORK='$WORK
    
    -- a/a.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:16 UTC 2022
    - 337 bytes
    - Viewed (0)
  8. doc/godebug.md

    When preparing any change that is permitted by Go 1 compatibility
    but may nonetheless break some existing programs,
    we first engineer the change to keep as many existing programs working as possible.
    For the remaining programs,
    we define a new GODEBUG setting that
    allows individual programs to opt back in to the old behavior.
    A GODEBUG setting may not be added if doing so is infeasible,
    but that should be extremely rare.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_get_moved.txt

    go list -m all
    stdout 'example.com/join/subpkg v1.0.0'
    
    # A 'go get' that simultaneously upgrades away conflicting package definitions is not ambiguous.
    # (A wildcard pattern applies to both packages and modules,
    # because we define wildcard matching to apply after version resolution.)
    go get example.com/join/subpkg/...@v1.1.0
    
    # A 'go get' without an upgrade should find the package.
    rm go.mod
    go mod init example.com/foo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. api/go1.1.txt

    pkg go/token, const COMMENT = 2
    pkg go/token, const CONST = 64
    pkg go/token, const CONTINUE = 65
    pkg go/token, const DEC = 38
    pkg go/token, const DEFAULT = 66
    pkg go/token, const DEFER = 67
    pkg go/token, const DEFINE = 47
    pkg go/token, const ELLIPSIS = 48
    pkg go/token, const ELSE = 68
    pkg go/token, const EOF = 1
    pkg go/token, const EQL = 39
    pkg go/token, const FALLTHROUGH = 69
    pkg go/token, const FLOAT = 6
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top