Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 135 for GCCGO (0.04 sec)

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

    [compiler:gccgo] skip # gccgo assumes cross-compilation is always possible
    
    env GOOS=windwos # intentional misspelling of windows
    
    ! go build -n exclude
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 20 18:25:35 UTC 2023
    - 191 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/build_tags_no_comma.txt

    [compiler:gccgo] skip 'gccgo has no standard packages'
    go build -tags 'tag1 tag2' math
    ! go build -tags 'tag1,tag2 tag3' math
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 170 bytes
    - Viewed (0)
  3. src/net/http/pprof/pprof_test.go

    	atomic.AddUint32(&Sink, 1)
    	for time.Since(start) < dt {
    		// When using gccgo the loop of mutex operations is
    		// not preemptible. This can cause the loop to block a GC,
    		// causing the time limits in TestDeltaContentionz to fail.
    		// Since this loop is not very realistic, when using
    		// gccgo add preemption points 100 times a second.
    		t1 := time.Now()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:52:28 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/cover_cgo.txt

    [short] skip
    [!cgo] skip
    [compiler:gccgo] skip # gccgo has no cover tool
    
    # Test coverage on cgo code.
    
    go test -short -cover cgocover
    stdout  'coverage:.*[1-9][0-9.]+%'
    ! stderr '[^0-9]0\.0%'
    
    -- go.mod --
    module cgocover
    
    go 1.16
    -- p.go --
    package p
    
    /*
    void
    f(void)
    {
    }
    */
    import "C"
    
    var b bool
    
    func F() {
    	if b {
    		for {
    		}
    	}
    	C.f()
    }
    -- p_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 423 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/cover_dot_import.txt

    [short] skip
    [compiler:gccgo] skip # gccgo has no cover tool
    
    go test -coverpkg=coverdot/a,coverdot/b coverdot/b
    ! stderr '[^0-9]0\.0%'
    ! stdout '[^0-9]0\.0%'
    
    -- go.mod --
    module coverdot
    
    go 1.16
    -- a/a.go --
    package a
    
    func F() {}
    -- b/b.go --
    package b
    
    import . "coverdot/a"
    
    func G() { F() }
    -- b/b_test.go --
    package b
    
    import "testing"
    
    func TestG(t *testing.T) {
    	G()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 379 bytes
    - Viewed (0)
  6. src/cmd/dist/util_gccgo.go

    // Copyright 2015 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 gccgo
    
    package main
    
    func useVFPv1() {}
    
    func useVFPv3() {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 252 bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/cover_cgo_xtest.txt

    [short] skip
    [!cgo] skip
    [compiler:gccgo] skip # gccgo has no cover tool
    
    # Test cgo coverage with an external test.
    
    go test -short -cover cgocover2
    stdout  'coverage:.*[1-9][0-9.]+%'
    ! stderr '[^0-9]0\.0%'
    
    -- go.mod --
    module cgocover2
    
    go 1.16
    -- p.go --
    package p
    
    /*
    void
    f(void)
    {
    }
    */
    import "C"
    
    var b bool
    
    func F() {
    	if b {
    		for {
    		}
    	}
    	C.f()
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 464 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/build_gcflags.txt

    env GO111MODULE=off
    
    # Test that the user can override default code generation flags.
    
    [compiler:gccgo] skip  # gccgo does not use -gcflags
    [!cgo] skip
    [!GOOS:linux] skip  # test only works if c-archive implies -shared
    [short] skip
    
    env GOCACHE=$WORK/gocache  # Looking for compile commands, so need a clean cache.
    go build -x -n -buildmode=c-archive -gcflags=all=-shared=false ./override.go
    stderr '^.*/compile (.* )?-shared (.* )?-shared=false'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 541 bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.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 linux && gccgo && arm
    
    package unix
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    func seek(fd int, offset int64, whence int) (int64, syscall.Errno) {
    	var newoffset int64
    	offsetLow := uint32(offset & 0xffffffff)
    	offsetHigh := uint32((offset >> 32) & 0xffffffff)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 596 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/cover_runs.txt

    [compiler:gccgo] skip 'gccgo has no cover tool'
    [short] skip
    
    go test -short -coverpkg=strings strings regexp
    ! stdout '[^0-9]0\.0%'
    stdout  'strings.*coverage:.*[1-9][0-9.]+%'
    stdout  'regexp.*coverage:.*[1-9][0-9.]+%'
    
    go test -short -cover strings math regexp
    ! stdout '[^0-9]0\.0%'
    stdout  'strings.*coverage:.*[1-9][0-9.]+%'
    stdout  'math.*coverage:.*[1-9][0-9.]+%'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 413 bytes
    - Viewed (0)
Back to top