Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 271 for GCCGO (0.04 sec)

  1. src/go/types/gotype.go

    Imports are processed by importing directly from the source of
    imported packages (default), or by importing from compiled and
    installed packages (by setting -c to the respective compiler).
    
    The -c flag must be set to a compiler ("gc", "gccgo") when type-
    checking packages containing imports with relative import paths
    (import "./mypkg") because the source importer cannot know which
    files to include for such packages.
    
    Usage:
    
    	gotype [flags] [path...]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/cover_cgo_extra_test.txt

    [short] skip
    [!cgo] skip
    [compiler:gccgo] skip # gccgo has no cover tool
    
    # Test coverage on cgo code. This test case has an external
    # test that tests the code and an in-package test file with
    # no test cases.
    
    go test -short -cover cgocover3
    stdout  'coverage:.*[1-9][0-9.]+%'
    ! stderr '[^0-9]0\.0%'
    
    -- go.mod --
    module cgocover3
    
    go 1.16
    -- p.go --
    package p
    
    /*
    void
    f(void)
    {
    }
    */
    import "C"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 584 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_profile.txt

    [compiler:gccgo] skip 'gccgo has no standard packages'
    [short] skip
    
    # Check go test -cpuprofile creates errors.test
    go test -cpuprofile errors.prof errors
    exists -exec errors.test$GOEXE
    
    # Check go test -cpuprofile -o myerrors.test creates errors.test
    go test -cpuprofile errors.prof -o myerrors.test$GOEXE errors
    exists -exec myerrors.test$GOEXE
    
    # Check go test -mutexprofile creates errors.test
    go test -mutexprofile errors.prof errors
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 637 bytes
    - Viewed (0)
  4. test/fixedbugs/bug487.go

    // errorcheck
    
    // Copyright 2014 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.
    
    // The gccgo compiler did not reliably report mismatches between the
    // number of function results and the number of expected results.
    
    package p
    
    func G() (int, int, int) {
    	return 0, 0, 0
    }
    
    func F() {
    	a, b := G()	// ERROR "mismatch|cannot initialize"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 21:28:48 UTC 2020
    - 570 bytes
    - Viewed (0)
  5. test/fixedbugs/issue8612.go

    //compile
    
    // Copyright 2014 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.
    
    // Gccgo had a bug comparing a struct or array value with an interface
    // values, when the struct or array was not addressable.
    
    package p
    
    type A [10]int
    
    type S struct {
    	i int
    }
    
    func F1() S {
    	return S{0}
    }
    
    func F2() A {
    	return A{}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 525 bytes
    - Viewed (0)
  6. src/internal/bytealg/equal_generic.go

    //
    // Equal is equivalent to bytes.Equal.
    // It is provided here for convenience,
    // because some packages cannot depend on bytes.
    func Equal(a, b []byte) bool {
    	// Neither cmd/compile nor gccgo allocates for these string conversions.
    	// There is a test for this in package bytes.
    	return string(a) == string(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 24 00:56:36 UTC 2019
    - 628 bytes
    - Viewed (0)
  7. test/fixedbugs/bug274.go

    // terminated with a semicolon. No semicolon is present for the labeled
    // statements and because the last token is a colon ":", no semicolon is
    // inserted automatically.
    //
    // Both gccgo and gofmt correctly refuse this program as is and accept it
    // when the semicolons are present.
    
    // This is a test case for issue 777 ( https://golang.org/issue/777 ).
    
    package main
    
    func main() {
    	switch 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 888 bytes
    - Viewed (0)
  8. test/fixedbugs/bug485.go

    // run
    
    // Copyright 2014 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.
    
    // Gccgo chose the wrong embedded method when the same type appeared
    // at different levels and the correct choice was not the first
    // appearance of the type in a depth-first search.
    
    package main
    
    type embedded string
    
    func (s embedded) val() string {
    	return string(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 624 bytes
    - Viewed (0)
  9. src/cmd/go/internal/tool/tool.go

    		// If it's windows, don't show the .exe suffix.
    		name = strings.TrimSuffix(strings.ToLower(name), cfg.ToolExeSuffix())
    
    		// The tool directory used by gccgo will have other binaries
    		// in addition to go tools. Only display go tools here.
    		if cfg.BuildToolchainName == "gccgo" && !isGccgoTool(name) {
    			continue
    		}
    		fmt.Println(name)
    	}
    }
    
    func impersonateDistList(args []string) (handled bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 18:02:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. src/go/types/gccgosizes.go

    // Copyright 2019 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.
    
    // This is a copy of the file generated during the gccgo build process.
    // Last update 2019-01-22.
    
    package types
    
    var gccgoArchSizes = map[string]*StdSizes{
    	"386":         {4, 4},
    	"alpha":       {8, 8},
    	"amd64":       {8, 8},
    	"amd64p32":    {4, 8},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top