Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for issue30628 (0.21 sec)

  1. test/fixedbugs/issue8028.go

    Emmanuel Odeke <******@****.***> 1460323946 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 426 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue30527/b.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.
    
    package issue30527
    
    const (
    	X = 1 << iota
    	Y
    	Z
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 211 bytes
    - Viewed (0)
  3. test/fixedbugs/issue30862.dir/main.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.
    
    package main
    
    import (
    	"fmt"
    	"os"
    
    	"issue30862.dir/b"
    )
    
    // Test case for issue 30862.
    
    // Be aware that unless GOEXPERIMENT=fieldtrack is set when building
    // the compiler, this test will fail if executed with a regular GC
    // compiler.
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 26 18:43:12 UTC 2021
    - 549 bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/reproduciblebuilds_test.go

    	tmpdir := t.TempDir()
    
    	src := filepath.Join("testdata", "reproducible", "issue38068.go")
    	for i := range scenarios {
    		s := &scenarios[i]
    		s.libpath = filepath.Join(tmpdir, s.tag+".a")
    		// Note: use of "-p" required in order for DWARF to be generated.
    		cmd := testenv.Command(t, testenv.GoToolPath(t), "tool", "compile", "-p=issue38068", "-buildid=", s.args, "-o", s.libpath, src)
    		out, err := cmd.CombinedOutput()
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 18:07:35 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue30527/a.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.
    
    package issue30527
    
    import "math"
    
    /*
    #include <inttypes.h>
    
    static void issue30527F(char **p, uint64_t mod, uint32_t unused) {}
    */
    import "C"
    
    func G(p **C.char) {
    	C.issue30527F(p, math.MaxUint64, 1)
    	C.issue30527F(p, 1<<64-1, Z)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 394 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testshared/testdata/issue30768/x_test.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.
    
    package issue30768_test
    
    import (
    	"testing"
    
    	"testshared/issue30768/issue30768lib"
    )
    
    type s struct {
    	s issue30768lib.S
    }
    
    func Test30768(t *testing.T) {
    	// Calling t.Log will convert S to an empty interface,
    	// which will force a reference to the generated hash function,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 487 bytes
    - Viewed (0)
  7. test/fixedbugs/issue30862.dir/b/b.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.
    
    package b
    
    import "issue30862.dir/a"
    
    type EmbedImported struct {
    	a.NoitfStruct
    }
    
    func Test() []string {
    	bad := []string{}
    	x := interface{}(new(a.NoitfStruct))
    	if _, ok := x.(interface {
    		NoInterfaceMethod()
    	}); ok {
    		bad = append(bad, "fail 1")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 26 18:43:12 UTC 2021
    - 562 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testgodefs/testgodefs_test.go

    // import "C" block.  Add more tests here.
    var filePrefixes = []string{
    	"anonunion",
    	"bitfields",
    	"issue8478",
    	"fieldtypedef",
    	"issue37479",
    	"issue37621",
    	"issue38649",
    	"issue39534",
    	"issue48396",
    }
    
    func TestGoDefs(t *testing.T) {
    	testenv.MustHaveGoRun(t)
    	testenv.MustHaveCGO(t)
    
    	testdata, err := filepath.Abs("testdata")
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. src/internal/types/testdata/check/issues1.go

    // When testing binary operators, for +, the operand types must either be
    // both numeric, or both strings. The implementation had the same problem
    // with this check as the conversion issue above (issue #39623).
    
    func issue39623[T interface{~int | ~string}](x, y T) T {
    	return x + y
    }
    
    // Simplified, from https://go2goplay.golang.org/p/efS6x6s-9NI:
    func Sum[T interface{~int | ~string}](s []T) (sum T) {
    	for _, v := range s {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:56:37 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testshared/shared_test.go

    // Issue 30768.
    func TestGeneratedHash(t *testing.T) {
    	globalSkip(t)
    	goCmd(t, "install", "-buildmode=shared", "-linkshared", "./issue30768/issue30768lib")
    	goCmd(t, "test", "-linkshared", "./issue30768")
    }
    
    // Test that packages can be added not in dependency order (here a depends on b, and a adds
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 26 01:54:41 UTC 2023
    - 36.3K bytes
    - Viewed (0)
Back to top