Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 271 for GCCGO (0.11 sec)

  1. test/fixedbugs/bug502.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.
    
    // Linking this with gccgo got an undefined symbol reference,
    // because the private method in testing.TB led gccgo to assume that
    // the interface method table would be defined in the testing package.
    
    package main
    
    import "testing"
    
    type I interface {
    	testing.TB
    	Parallel()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 08 03:58:11 UTC 2017
    - 520 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testcarchive/carchive_test.go

    	if runtime.Compiler == "gccgo" {
    		ccArgs = append(ccArgs, "-lgo")
    	}
    	if out, err := exec.Command(ccArgs[0], ccArgs[1:]...).CombinedOutput(); err != nil {
    		t.Logf("%s", out)
    		t.Fatal(err)
    	}
    
    	binArgs := append(bin, "arg1", "arg2")
    	cmd = exec.Command(binArgs[0], binArgs[1:]...)
    	if runtime.Compiler == "gccgo" {
    		cmd.Env = append(os.Environ(), "GCCGO=1")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  3. test/tinyfin.go

    // Test finalizers work for tiny (combined) allocations.
    
    package main
    
    import (
    	"runtime"
    	"time"
    )
    
    func main() {
    	// Does not work on gccgo due to partially conservative GC.
    	// Try to enable when we have fully precise GC.
    	if runtime.Compiler == "gccgo" {
    		return
    	}
    	const N = 100
    	finalized := make(chan int32, N)
    	for i := 0; i < N; i++ {
    		x := new(int32) // subject to tiny alloc
    		*x = int32(i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 03 18:57:18 UTC 2015
    - 1.6K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_fuzz_cache.txt

    go clean -cache
    exists $GOCACHE/fuzz
    
    # 'go clean -fuzzcache' should delete the fuzz cache but not the build cache.
    go build -x ./empty
    stderr '(compile|gccgo)( |\.exe).*empty.go'
    go clean -fuzzcache
    ! exists $GOCACHE/fuzz
    go build -x ./empty
    ! stderr '(compile|gccgo)( |\.exe).*empty.go'
    
    # Fuzzing indicates that one new interesting value was found with an empty
    # corpus, and the total size of the cache is now 1.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 30 17:22:49 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/sys/cpu/cpu_gccgo_x86.go

    // Copyright 2018 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 (386 || amd64 || amd64p32) && gccgo
    
    package cpu
    
    //extern gccgoGetCpuidCount
    func gccgoGetCpuidCount(eaxArg, ecxArg uint32, eax, ebx, ecx, edx *uint32)
    
    func cpuid(eaxArg, ecxArg uint32) (eax, ebx, ecx, edx uint32) {
    	var a, b, c, d uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 795 bytes
    - Viewed (0)
  6. src/go/importer/importer.go

    	switch compiler {
    	case "gc":
    		return &gcimports{
    			fset:     fset,
    			packages: make(map[string]*types.Package),
    			lookup:   lookup,
    		}
    
    	case "gccgo":
    		var inst gccgoimporter.GccgoInstallation
    		if err := inst.InitFromDriver("gccgo"); err != nil {
    			return nil
    		}
    		return &gccgoimports{
    			packages: make(map[string]*types.Package),
    			importer: inst.GetImporter(nil, nil),
    			lookup:   lookup,
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. src/cmd/go/go_test.go

    	// so the test should not have been rerun.
    	tg.grepStderr(`([\\/]compile|gccgo).*t2_test.go`, "did not recompile t2")
    	tg.grepStderr(`([\\/]link|gccgo).*t2\.test`, "did not relink t2_test")
    	// This check does not currently work with gccgo, as garbage
    	// collection of unused variables is not turned on by default.
    	if runtime.Compiler != "gccgo" {
    		tg.grepStdout(`ok  \tt/t2\t\(cached\)`, "did not cache t/t2")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  8. src/go/internal/gccgoimporter/importer.go

    // Copyright 2013 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 gccgoimporter implements Import for gccgo-generated object files.
    package gccgoimporter // import "go/internal/gccgoimporter"
    
    import (
    	"bytes"
    	"debug/elf"
    	"fmt"
    	"go/types"
    	"internal/xcoff"
    	"io"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 18:41:18 UTC 2020
    - 6.8K bytes
    - Viewed (0)
  9. test/fixedbugs/issue5493.go

    	}
    	runtime.SetFinalizer(&f1, func(f *func()) {
    		atomic.AddInt64(&count, -1)
    	})
    	go f2()
    	return nil
    }
    
    func main() {
    	// Does not work with gccgo, due to partially conservative GC.
    	// Try to enable when we have fully precise GC.
    	if runtime.Compiler == "gccgo" {
    		return
    	}
    	count = N
    	var wg sync.WaitGroup
    	wg.Add(N)
    	for i := 0; i < N; i++ {
    		go func() {
    			run()
    			wg.Done()
    		}()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 05 21:11:31 UTC 2021
    - 953 bytes
    - Viewed (0)
  10. test/fixedbugs/bug510.go

    // rundir
    
    // 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.
    
    // Gccgo confused type descriptors for aliases.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 07 17:29:52 UTC 2020
    - 236 bytes
    - Viewed (0)
Back to top