Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for What (0.11 sec)

  1. src/cmd/cgo/internal/test/issue26430/a.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.
    
    package a
    
    // typedef struct S ST;
    // static ST* F() { return 0; }
    import "C"
    
    func F1() {
    	C.F()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 260 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue52611a/a.go

    // Copyright 2022 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 issue52611a
    
    /*
    typedef struct Foo {
        int X;
    } Foo;
    */
    import "C"
    
    func GetX1(foo *C.struct_Foo) int32 {
    	return int32(foo.X)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 299 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue43639/a.go

    // Copyright 2021 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 issue43639
    
    // #cgo CFLAGS: -W -Wall -Werror
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 224 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue52611b/a.go

    // Copyright 2022 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 issue52611b
    
    import "C"
    
    func GetX1(bar *C.struct_Bar) int32 {
    	return int32(bar.X)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 254 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/issue39777/a/a.go

    // 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.
    
    package a
    
    import "testshared/issue39777/b"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 224 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue23555b/a.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.
    
    package issue23555
    
    // #include <stdlib.h>
    import "C"
    
    func X() {
    	C.free(C.malloc(10))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 250 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testcarchive/testdata/libgo9/a.go

    // Copyright 2023 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 "runtime"
    
    import "C"
    
    func main() {}
    
    //export GoF
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 261 bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testcarchive/testdata/libgo8/a.go

    // Copyright 2021 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 "C"
    
    import (
    	"os"
    	"runtime"
    	"sync/atomic"
    )
    
    var started int32
    
    // Start a goroutine that loops forever.
    func init() {
    	runtime.GOMAXPROCS(1)
    	go func() {
    		for {
    			atomic.StoreInt32(&started, 1)
    		}
    	}()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 529 bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testshared/testdata/issue44031/a/a.go

    // Copyright 2021 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 a
    
    type ATypeWithALoooooongName interface { // a long name, so the type descriptor symbol name is mangled
    	M()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 281 bytes
    - Viewed (0)
Back to top