Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for margin (0.16 sec)

  1. src/cmd/cgo/internal/swig/testdata/callback/main.go

    // Copyright 2012 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"
    )
    
    func main() {
    	if len(os.Args) != 2 {
    		fatal("usage: callback testname")
    	}
    	switch os.Args[1] {
    	default:
    		fatal("unknown test %q", os.Args[1])
    	case "Call":
    		testCall()
    	case "Callback":
    		testCallback()
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 1K bytes
    - Viewed (0)
  2. doc/next/7-ports.md

    ## Ports {#ports}
    
    ### Darwin {#darwin}
    
    <!-- go.dev/issue/64207 -->
    As [announced](go1.22#darwin) in the Go 1.22 release notes,
    Go 1.23 requires macOS 11 Big Sur or later;
    support for previous versions has been discontinued.
    
    ### Wasm {#wasm}
    
    <!-- go.dev/issue/63718 -->
    The `go_wasip1_wasm_exec` script in `GOROOT/misc/wasm` has dropped support
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 17:09:10 GMT 2024
    - 385 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue18146.go

    	"crypto/md5"
    	"os"
    	"os/exec"
    	"runtime"
    	"syscall"
    	"testing"
    	"time"
    )
    
    func test18146(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping in short mode")
    	}
    
    	if runtime.GOOS == "darwin" || runtime.GOOS == "ios" {
    		t.Skipf("skipping flaky test on %s; see golang.org/issue/18202", runtime.GOOS)
    	}
    
    	if runtime.GOARCH == "mips" || runtime.GOARCH == "mips64" {
    		t.Skipf("skipping on %s", runtime.GOARCH)
    	}
    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)
  4. src/cmd/api/api_test.go

    		// say "pkg syscall (darwin-amd64), type RawSockaddrInet6 struct" is missing.
    		// See https://go.dev/issue/4303.
    		{
    			name: "contexts reconverging after api/next/* update",
    			features: []string{
    				"A",
    				"pkg syscall, type RawSockaddrInet6 struct",
    			},
    			required: []string{
    				"A",
    				"pkg syscall (darwin-amd64), type RawSockaddrInet6 struct", // api/go1.n.txt
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 17:31:12 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/cgo/internal/test/issue24161arg/use.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"
    import "testing"
    
    func Test(t *testing.T) {
    	a := test24161array()
    	C.CFArrayCreateCopy(0, a)
    Go
    - Registered: Tue Apr 09 11:13:10 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 398 bytes
    - Viewed (0)
  7. api/go1.5.txt

    pkg strings, method (*Reader) Size() int64
    pkg syscall (darwin-386), type SysProcAttr struct, Ctty int
    pkg syscall (darwin-386), type SysProcAttr struct, Foreground bool
    pkg syscall (darwin-386), type SysProcAttr struct, Pgid int
    pkg syscall (darwin-386-cgo), type SysProcAttr struct, Ctty int
    pkg syscall (darwin-386-cgo), type SysProcAttr struct, Foreground bool
    pkg syscall (darwin-386-cgo), type SysProcAttr struct, Pgid int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  8. misc/chrome/gophertool/popup.html

    <script src="popup.js"></script>
    </head>
    <body style='margin: 0.5em; font-family: sans;'>
    <small><a href="#" url="https://golang.org/issue">issue</a>,
    <a href="#" url="https://golang.org/cl">codereview</a>,
    <a href="#" url="https://golang.org/change">commit</a>, or
    <a href="#" url="https://golang.org/pkg/">pkg</a> id/name:</small>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 05 02:35:21 GMT 2021
    - 830 bytes
    - Viewed (0)
  9. api/go1.3.txt

    pkg syscall (darwin-386), func FcntlFlock(uintptr, int, *Flock_t) error
    pkg syscall (darwin-386), func Mlock([]uint8) error
    pkg syscall (darwin-386), func Mlockall(int) error
    pkg syscall (darwin-386), func Mprotect([]uint8, int) error
    pkg syscall (darwin-386), func Munlock([]uint8) error
    pkg syscall (darwin-386), func Munlockall() error
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  10. src/cmd/cgo/doc.go

    in general generate direct references to the system libraries.
    
    Instead, the build process generates an object file using dynamic
    linkage to the desired libraries. The main function is provided by
    _cgo_main.c:
    
    	int main() { return 0; }
    	void crosscall2(void(*fn)(void*), void *a, int c, uintptr_t ctxt) { }
    	uintptr_t _cgo_wait_runtime_init_done(void) { return 0; }
    	void _cgo_release_context(uintptr_t ctxt) { }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
Back to top