Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for coerce (0.41 sec)

  1. src/cmd/cgo/internal/test/issue52611a/b.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
    
    import "C"
    
    func GetX2(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
    - 254 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue52611b/b.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
    
    /*
    typedef struct Bar {
        int X;
    } Bar;
    */
    import "C"
    
    func GetX2(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
    - 299 bytes
    - Viewed (0)
  3. src/cmd/objdump/testdata/testfilenum/b.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 p
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 16 14:40:50 UTC 2020
    - 183 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue9510b/b.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.
    
    package issue9510b
    
    /*
    static double csquare(double a, double b) {
    	__complex__ double d;
    	__real__ d = a;
    	__imag__ d = b;
    	return __real__ (d * d);
    }
    */
    import "C"
    
    func F(a, b float64) float64 {
    	return float64(C.csquare(C.double(a), C.double(b)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 413 bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/cgo/internal/test/issue26430/b.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;
    // struct S { int f; };
    import "C"
    
    func F2(p *C.ST) {
    	p.f = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 261 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testshared/testdata/iface_b/b.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.
    
    package iface_b
    
    import "testshared/iface_i"
    
    //go:noinline
    func F() interface{} {
    	return (*iface_i.T)(nil)
    }
    
    //go:noinline
    func G() iface_i.I {
    	return (*iface_i.T)(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 335 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testshared/testdata/issue39777/b/b.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 b
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 183 bytes
    - Viewed (0)
  9. src/cmd/link/testdata/testIndexMismatch/b.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
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 24 17:48:07 UTC 2020
    - 211 bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue26743/b.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 issue26743
    
    import "C"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 206 bytes
    - Viewed (0)
Back to top