- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 93 for Ball (0.35 sec)
-
src/cmd/cgo/internal/swig/testdata/callback/main.go
cb := NewCallback() c.SetCallback(cb) s := c.Call() if s != "Callback::run" { fatal("unexpected string from Call: %q", s) } c.DelCallback() } func testCallback() { c := NewCaller() cb := NewDirectorCallback(&GoCallback{}) c.SetCallback(cb) s := c.Call() if s != "GoCallback.Run" { fatal("unexpected string from Call with callback: %q", s) } c.DelCallback()
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 1K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/swig_test.go
} func TestCall(t *testing.T) { testenv.MustHaveCGO(t) mustHaveSwig(t) mustHaveCxx(t) run(t, "testdata/callback", false, "Call") t.Run("lto", func(t *testing.T) { run(t, "testdata/callback", true, "Call") }) } func TestCallback(t *testing.T) { testenv.MustHaveCGO(t) mustHaveSwig(t) mustHaveCxx(t) run(t, "testdata/callback", false, "Callback")
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 3.7K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue18146.go
cmd.Stdout = buf cmd.Stderr = buf if err := cmd.Start(); err != nil { // We are starting so many processes that on // some systems (problem seen on Darwin, // Dragonfly, OpenBSD) the fork call will fail // with EAGAIN. if pe, ok := err.(*os.PathError); ok { err = pe.Err } if se, ok := err.(syscall.Errno); ok && (se == syscall.EAGAIN || se == syscall.EMFILE) { time.Sleep(time.Millisecond)
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Tue Sep 05 23:35:32 GMT 2023 - 2.8K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/net/http/61472.md
The new [Request.CookiesNamed] method retrieves all cookies that match the given name....
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Mar 20 18:08:20 GMT 2024 - 87 bytes - Viewed (0) -
src/cmd/cgo/internal/test/gcc68255/c.h
// 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.
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 184 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue27054/egl.h
// 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. // This is the relevant part of EGL/egl.h. typedef void *EGLDisplay;
C - Registered: Tue Mar 26 11:13:08 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 255 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue23555a/a.go
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 250 bytes - Viewed (0) -
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
Go - Registered: Tue Mar 26 11:13:08 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 261 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue24161arg/def.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 darwin package issue24161arg /* #cgo LDFLAGS: -framework CoreFoundation #include <CoreFoundation/CoreFoundation.h> */ import "C" func test24161array() C.CFArrayRef { return C.CFArrayCreate(0, nil, 0, nil)
Go - Registered: Tue Apr 09 11:13:10 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 382 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue26743.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 cgo // Issue 26743: typedef of uint leads to inconsistent typedefs error. // No runtime test; just make sure it compiles. package cgotest
Go - Registered: Tue Mar 26 11:13:08 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 356 bytes - Viewed (0)