Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for issue9473 (2.01 sec)

  1. src/internal/types/testdata/check/issues0.go

    	_ = Point{x: 1, y: 2}
    }
    
    func f0() (a []int)         { return }
    func f1() (a []int, b int)  { return }
    func f2() (a, b []int)      { return }
    
    func append_([]int, ...int) {}
    
    func issue9473(a []int, b ...int) {
    	// variadic builtin function
    	_ = append(f0())
    	_ = append(f0(), f0()...)
    	_ = append(f1())
    	_ = append(f2 /* ERRORx `cannot use .* in argument` */ ())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testgodefs/testdata/issue8478.go

    //go:build ignore
    
    package main
    
    // Issue 8478.  Test that void* is consistently mapped to *byte.
    
    /*
    typedef struct {
    	void *p;
    	void **q;
    	void ***r;
    } s;
    */
    import "C"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 351 bytes
    - Viewed (0)
  3. src/internal/types/testdata/fixedbugs/issue49735.go

    Robert Griesemer <******@****.***> 1670545237 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 447 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue4273.c

    Austin Clements <******@****.***> 1683224724 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 320 bytes
    - Viewed (0)
  5. src/internal/types/testdata/fixedbugs/issue49739.go

    Robert Griesemer <******@****.***> 1670545237 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 577 bytes
    - Viewed (0)
  6. src/internal/types/testdata/fixedbugs/issue49736.go

    Robert Griesemer <******@****.***> 1706742151 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 16:41:56 UTC 2024
    - 478 bytes
    - Viewed (0)
  7. test/fixedbugs/issue9083.go

    Robert Griesemer <******@****.***> 1679511579 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 28 14:28:33 UTC 2023
    - 846 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue9400_linux.go

    	"sync/atomic"
    	"testing"
    
    	"cmd/cgo/internal/test/issue9400"
    )
    
    func test9400(t *testing.T) {
    	// We synchronize through a shared variable, so we need two procs
    	defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(2))
    
    	// Start signaller
    	atomic.StoreInt32(&issue9400.Baton, 0)
    	go func() {
    		// Wait for RewindAndSetgid
    		for atomic.LoadInt32(&issue9400.Baton) == 0 {
    			runtime.Gosched()
    		}
    		// Broadcast SIGSETXID
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 19:55:29 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue9400/stubs.go

    // 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.
    
    //go:build linux && gc
    
    package issue9400
    
    var Baton int32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 243 bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue9400/gccgo.go

    // 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.
    
    //go:build gccgo
    
    package issue9400
    
    import (
    	"runtime"
    	"sync/atomic"
    )
    
    // The test for the gc compiler resets the stack pointer so that the
    // stack gets modified.  We don't have a way to do that for gccgo
    // without writing more assembly code, which we haven't bothered to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 612 bytes
    - Viewed (0)
Back to top