Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 838 for ncgo (0.18 sec)

  1. doc/initial/3-tools.md

    ## Tools {#tools}
    
    ### Go command {#go-command}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 18:07:49 UTC 2024
    - 65 bytes
    - Viewed (0)
  2. src/reflect/nih_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build cgo
    
    package reflect_test
    
    import (
    	. "reflect"
    	"runtime/cgo"
    	"testing"
    	"unsafe"
    )
    
    type nih struct {
    	_ cgo.Incomplete
    	x int
    }
    
    var global_nih = nih{x: 7}
    
    func TestNotInHeapDeref(t *testing.T) {
    	// See issue 48399.
    	v := ValueOf((*nih)(nil))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 31 01:16:54 UTC 2022
    - 1004 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_readonly.txt

    ! go list
    stderr '^go: updates to go.mod needed; to update it:\n\tgo mod tidy'
    
    # However, it should not reject files missing a 'go' directive,
    # since that was not always required.
    cp go.mod.nogo go.mod
    go list all
    cmp go.mod go.mod.nogo
    
    # Nor should it reject files with redundant (not incorrect)
    # requirements.
    cp go.mod.redundant go.mod
    go list all
    cmp go.mod go.mod.redundant
    
    cp go.mod.indirect go.mod
    go list all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/cgo_long_cmd.txt

    # Issue #66456
    
    [!cgo] skip
    [GOOS:windows] skip
    [GOOS:plan9] skip
    
    # Generate a file with a very long #cgo LDFLAGS line.
    # This used to cause "go build" to fail with "argument list too long".
    go generate
    
    # Build with the generated file.
    go build
    
    -- go.mod --
    module cgolongcmd
    
    go 1.22
    -- generate.go --
    //go:build ignore
    
    package main
    
    import (
    	"fmt"
    	"log"
    	"os"
    	"bytes"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 782 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/issue36000.txt

    # Tests golang.org/issue/36000
    
    [!cgo] skip
    
    # go env with CGO flags should not make NUL file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 20 21:52:17 UTC 2020
    - 112 bytes
    - Viewed (0)
  6. src/cmd/distpack/pack.go

    		"pkg/**",
    
    		// Generated during cmd/dist. See ../dist/build.go:/gentab.
    		"src/cmd/go/internal/cfg/zdefaultcc.go",
    		"src/go/build/zcgo.go",
    		"src/runtime/internal/sys/zversion.go",
    		"src/time/tzdata/zzipdata.go",
    
    		// Generated during cmd/dist by bootstrapBuildTools.
    		"src/cmd/cgo/zdefaultcc.go",
    		"src/cmd/internal/objabi/zbootstrap.go",
    		"src/internal/buildcfg/zbootstrap.go",
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. src/cmd/internal/test2json/testdata/vet.json

    {"Action":"pause","Test":"TestVetDirs/incomplete"}
    {"Action":"run","Test":"TestVetDirs/cgo"}
    {"Action":"output","Test":"TestVetDirs/cgo","Output":"=== RUN   TestVetDirs/cgo\n"}
    {"Action":"output","Test":"TestVetDirs/cgo","Output":"=== PAUSE TestVetDirs/cgo\n"}
    {"Action":"pause","Test":"TestVetDirs/cgo"}
    {"Action":"cont","Test":"TestVet/7"}
    {"Action":"output","Test":"TestVet/7","Output":"=== CONT  TestVet/7\n"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  8. test/fixedbugs/issue40954.go

    // Copyright 2020 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.
    
    //go:build cgo
    
    package main
    
    import (
    	"runtime/cgo"
    	"unsafe"
    )
    
    type S struct {
    	_ cgo.Incomplete
    	x int
    }
    
    func main() {
    	var i int
    	p := (*S)(unsafe.Pointer(uintptr(unsafe.Pointer(&i))))
    	v := uintptr(unsafe.Pointer(p))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 15:27:18 UTC 2022
    - 874 bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/build_cc_cache_issue64423.txt

    env GOCACHE=$WORK${/}.cache
    mkdir $GOCACHE
    
    go build -x runtime/cgo
    
    	# Tell our fake clang to stop working.
    	# Previously, 'go build -x runtime/cgo' would continue to
    	# succeed because both the broken clang and the non-broken one
    	# resulted in a cache key with no clang version information.
    env GO_BREAK_CLANG=1
    ! go build -x runtime/cgo
    stderr '# runtime/cgo\nGO_BREAK_CLANG is set'
    
    -- go.mod --
    module example/issue64423
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:13:29 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/net/route/zsys_netbsd.go

    // Code generated by cmd/cgo -godefs; DO NOT EDIT.
    // cgo -godefs defs_netbsd.go
    
    package route
    
    const (
    	sizeofIfMsghdrNetBSD7         = 0x98
    	sizeofIfaMsghdrNetBSD7        = 0x18
    	sizeofIfAnnouncemsghdrNetBSD7 = 0x18
    
    	sizeofRtMsghdrNetBSD7  = 0x78
    	sizeofRtMetricsNetBSD7 = 0x50
    
    	sizeofSockaddrStorage = 0x80
    	sizeofSockaddrInet    = 0x10
    	sizeofSockaddrInet6   = 0x1c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 375 bytes
    - Viewed (0)
Back to top