Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for Cgo2 (0.1 sec)

  1. src/cmd/cgo/internal/testerrors/ptr_test.go

    	// (The latter cannot have C definitions, only declarations.)
    	var cgo1, cgo2 bytes.Buffer
    	fmt.Fprintf(&cgo1, "package main\n\n/*\n")
    	fmt.Fprintf(&cgo2, "package main\n\n/*\n")
    
    	// C code
    	for _, pt := range ptrTests {
    		cgo := &cgo1
    		if strings.Contains(pt.support, "//export") {
    			cgo = &cgo2
    		}
    		fmt.Fprintf(cgo, "%s\n", pt.c)
    		fmt.Fprintf(&cgo1, "%s\n", pt.c1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:49 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    files:
    
    	x.cgo1.go       # for gc (cmd/compile)
    	y.cgo1.go       # for gc
    	_cgo_gotypes.go # for gc
    	_cgo_import.go  # for gc (if -dynout _cgo_import.go)
    	x.cgo2.c        # for gcc
    	y.cgo2.c        # for gcc
    	_cgo_defun.c    # for gcc (if -gccgo)
    	_cgo_export.c   # for gcc
    	_cgo_export.h   # for gcc
    	_cgo_main.c     # for gcc
    	_cgo_flags      # for build tool (if -gccgo)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  3. src/cmd/cgo/out.go

    		if n.AddError {
    			fmt.Fprint(fgo2, "\te := syscall.GetErrno()\n")
    			fmt.Fprint(fgo2, "\tif e != 0 {\n")
    			fmt.Fprint(fgo2, "\t\treturn ")
    			if !void {
    				fmt.Fprint(fgo2, "r, ")
    			}
    			fmt.Fprint(fgo2, "e\n")
    			fmt.Fprint(fgo2, "\t}\n")
    			fmt.Fprint(fgo2, "\treturn ")
    			if !void {
    				fmt.Fprint(fgo2, "r, ")
    			}
    			fmt.Fprint(fgo2, "nil\n")
    		} else if !void {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  4. src/go/build/build_test.go

    			"// This package implements parsing of tags like\n" +
    			"// +build tag1\n" +
    			"package build",
    		tags:        map[string]bool{"cgo": true},
    		shouldBuild: false,
    	},
    	{
    		name: "Cgo2",
    		content: "//go:build cgo\n" +
    			"// Copyright The Go Authors.\n\n" +
    			"// This package implements parsing of tags like\n" +
    			"// +build tag1\n" +
    			"package build",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  5. src/cmd/internal/archive/testdata/mycgo/go2.go

    // Copyright 2017 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.
    
    package mycgo
    
    import "fmt"
    
    func go2() {
    	fmt.Println("go2")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 10 22:16:32 UTC 2020
    - 224 bytes
    - Viewed (0)
  6. src/cmd/internal/archive/testdata/go2.go

    // Copyright 2017 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.
    
    package mypkg
    
    import "fmt"
    
    func go2() {
    	fmt.Println("go2")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 10 22:16:32 UTC 2020
    - 224 bytes
    - Viewed (0)
  7. src/go/parser/testdata/metrics.go2

    Rob Findley <******@****.***> 1605629213 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 24 19:44:06 UTC 2020
    - 908 bytes
    - Viewed (0)
  8. src/go/parser/testdata/tparams.go2

    Robert Griesemer <******@****.***> 1698787325 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. src/go/parser/testdata/set.go2

    Rob Findley <******@****.***> 1605629213 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 24 19:44:06 UTC 2020
    - 474 bytes
    - Viewed (0)
  10. src/go/parser/testdata/typeset.go2

    Robert Griesemer <******@****.***> 1698787325 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top