Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for Darwin (0.51 sec)

  1. src/cmd/cgo/internal/test/issue24161res/restype.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 issue24161res
    
    /*
    #cgo LDFLAGS: -framework CoreFoundation
    #include <CoreFoundation/CoreFoundation.h>
    */
    import "C"
    import (
    	"reflect"
    	"testing"
    )
    
    func Test(t *testing.T) {
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 486 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/cthread_unix.c

    // Copyright 2013 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 aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
    
    #include <pthread.h>
    #include "_cgo_export.h"
    
    static void*
    addThread(void *p)
    {
    	int i, max;
    	
    	max = *(int*)p;
    	for(i=0; i<max; i++)
    		Add(i);
    	return 0;
    }
    
    void
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed May 17 21:53:11 GMT 2023
    - 1K bytes
    - Viewed (0)
  3. src/archive/tar/stat_unix.go

    			minor := uint32((dev & 0x00000000000000ff) >> 0)
    			minor |= uint32((dev & 0x00000ffffff00000) >> 12)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "darwin", "ios":
    			// Copied from golang.org/x/sys/unix/dev_darwin.go.
    			major := uint32((dev >> 24) & 0xff)
    			minor := uint32(dev & 0xffffff)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "dragonfly":
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/cmd/api/main_test.go

    	{GOOS: "linux", GOARCH: "amd64"},
    	{GOOS: "linux", GOARCH: "arm", CgoEnabled: true},
    	{GOOS: "linux", GOARCH: "arm"},
    	{GOOS: "darwin", GOARCH: "amd64", CgoEnabled: true},
    	{GOOS: "darwin", GOARCH: "amd64"},
    	{GOOS: "darwin", GOARCH: "arm64", CgoEnabled: true},
    	{GOOS: "darwin", GOARCH: "arm64"},
    	{GOOS: "windows", GOARCH: "amd64"},
    	{GOOS: "windows", GOARCH: "386"},
    	{GOOS: "freebsd", GOARCH: "386", CgoEnabled: true},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  5. src/archive/tar/stat_actime2.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.
    
    //go:build darwin || freebsd || netbsd
    
    package tar
    
    import (
    	"syscall"
    	"time"
    )
    
    func statAtime(st *syscall.Stat_t) time.Time {
    	return time.Unix(st.Atimespec.Unix())
    }
    
    func statCtime(st *syscall.Stat_t) time.Time {
    	return time.Unix(st.Ctimespec.Unix())
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 28 18:17:57 GMT 2021
    - 421 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue21897.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.
    
    //go:build darwin && cgo && !internal
    
    package cgotest
    
    /*
    #cgo LDFLAGS: -framework CoreFoundation
    #include <CoreFoundation/CoreFoundation.h>
    */
    import "C"
    import (
    	"runtime/debug"
    	"testing"
    	"unsafe"
    )
    
    func test21897(t *testing.T) {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    func (p *Package) gccMachine() []string {
    	switch goarch {
    	case "amd64":
    		if goos == "darwin" {
    			return []string{"-arch", "x86_64", "-m64"}
    		}
    		return []string{"-m64"}
    	case "arm64":
    		if goos == "darwin" {
    			return []string{"-arch", "arm64"}
    		}
    	case "386":
    		return []string{"-m32"}
    	case "arm":
    		return []string{"-marm"} // not thumb
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  8. src/cmd/cgo/doc.go

    to Go.
    
    # Special cases
    
    A few special C types which would normally be represented by a pointer
    type in Go are instead represented by a uintptr. Those include:
    
    1. The *Ref types on Darwin, rooted at CoreFoundation's CFTypeRef type.
    
    2. The object types from Java's JNI interface:
    
    	jobject
    	jclass
    	jthrowable
    	jstring
    	jarray
    	jbooleanArray
    	jbyteArray
    	jcharArray
    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)
  9. api/except.txt

    pkg os, type PathError struct, Err error
    pkg os, type PathError struct, Op string
    pkg os, type PathError struct, Path string
    pkg syscall (darwin-amd64), const ImplementsGetwd = false
    pkg syscall (darwin-amd64), func Fchflags(string, int) error
    pkg syscall (darwin-amd64-cgo), const ImplementsGetwd = false
    pkg syscall (darwin-amd64-cgo), func Fchflags(string, int) error
    pkg syscall (freebsd-386), const AF_MAX = 38
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 25 00:13:30 GMT 2023
    - 34.6K bytes
    - Viewed (0)
  10. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const TCP_MAXSEG = 2
    pkg syscall (netbsd-arm64-cgo), const TCP_MAXSEG ideal-int
    pkg syscall (netbsd-arm64-cgo), const TCP_MAXWIN = 65535
    pkg syscall (netbsd-arm64-cgo), const TCP_MAXWIN ideal-int
    pkg syscall (netbsd-arm64-cgo), const TCP_MAX_WINSHIFT = 14
    pkg syscall (netbsd-arm64-cgo), const TCP_MAX_WINSHIFT ideal-int
    pkg syscall (netbsd-arm64-cgo), const TCP_MD5SIG = 16
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
Back to top