- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for darwin (1.13 sec)
-
src/cmd/link/testdata/dynimportvar/main.go
// license that can be found in the LICENSE file. // Test that we can access dynamically imported variables. // We ues mach_task_self_ from darwin's system library. // Check that loading the variable from C and Go gets the // same result. //go:build darwin package main /* #include <mach/mach_init.h> unsigned int Mach_task_self(void) { return mach_task_self(); } */ import "C"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 19:39:32 UTC 2023 - 678 bytes - Viewed (0) -
src/cmd/dist/main.go
// Default Unix system. out := run("", CheckExit, "uname", "-m") outAll := run("", CheckExit, "uname", "-a") switch { case strings.Contains(outAll, "RELEASE_ARM64"): // MacOS prints // Darwin p1.local 21.1.0 Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:01 PDT 2021; root:xnu-8019.41.5~1/RELEASE_ARM64_T6000 x86_64 // on ARM64 laptops when there is an x86 parent in the // process tree. Look for the RELEASE_ARM64 to avoid being
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 22 19:44:52 UTC 2023 - 5.5K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue24161e1/main.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 issue24161e1 /* #cgo CFLAGS: -x objective-c #cgo LDFLAGS: -framework CoreFoundation -framework Security #include <TargetConditionals.h> #include <CoreFoundation/CoreFoundation.h> #include <Security/Security.h>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 1K bytes - Viewed (0) -
src/cmd/link/internal/ld/main.go
*FlagW = false case ternaryFlagTrue: *FlagW = true case ternaryFlagUnset: *FlagW = *FlagS // -s implies -w if not explicitly set if ctxt.IsDarwin() && ctxt.BuildMode == BuildModeCShared { *FlagW = true // default to -w in c-shared mode on darwin, see #61229 } } if !buildcfg.Experiment.RegabiWrappers { abiInternalVer = 0 } startProfile() if ctxt.BuildMode == BuildModeUnset {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:59:50 UTC 2024 - 16.6K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue24161e0/main.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 issue24161e0 /* #cgo CFLAGS: -x objective-c #cgo LDFLAGS: -framework CoreFoundation -framework Security #include <TargetConditionals.h> #include <CoreFoundation/CoreFoundation.h> #include <Security/Security.h>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 919 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue24161e2/main.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 issue24161e2 /* #cgo CFLAGS: -x objective-c #cgo LDFLAGS: -framework CoreFoundation -framework Security #include <TargetConditionals.h> #include <CoreFoundation/CoreFoundation.h> #include <Security/Security.h>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 1K bytes - Viewed (0) -
src/cmd/go/main.go
fmt.Fprintf(os.Stderr, "go: cannot find GOROOT directory: %v\n", cfg.GOROOT) os.Exit(2) } switch strings.ToLower(cfg.GOROOT) { case "/usr/local/go": // Location recommended for installation on Linux and Darwin and used by Mac installer. telemetry.Inc("go/goroot:usr-local-go") case "/usr/lib/go": // A typical location used by Linux package managers. telemetry.Inc("go/goroot:usr-lib-go")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:09:11 UTC 2024 - 10K bytes - Viewed (0) -
misc/go_android_exec/main.go
// This wrapper uses syscall.Flock to prevent concurrent adb commands, // so for now it only builds on platforms that support that system call. // TODO(#33974): use a more portable library for file locking. //go:build darwin || dragonfly || freebsd || illumos || linux || netbsd || openbsd // This program can be used as go_android_GOARCH_exec by the Go tool. // It executes binaries on an android device using adb. package main import (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0)