- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for exclude (0.09 sec)
-
src/cmd/link/testdata/dynimportvar/main.go
// 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" import "cmd/link/testdata/dynimportvar/asm" func main() { c := uint32(C.Mach_task_self())
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/internal/metadata/main.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. // Metadata prints basic system metadata to include in test logs. This is // separate from cmd/dist so it does not need to build with the bootstrap // toolchain. // This program is only used by cmd/dist. Add an "ignore" build tag so it // is not installed. cmd/dist does "go run main.go" directly.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 17 21:40:36 UTC 2023 - 876 bytes - Viewed (0) -
src/cmd/doc/main.go
} } dirs.Reset() // Next iteration of for loop must scan all the directories again. } // If it has a slash, we've failed. if slash >= 0 { // build.Import should always include the path in its error message, // and we should avoid repeating it. Unfortunately, build.Import doesn't // return a structured error. That can't easily be fixed, since it
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/dist/main.go
Commands are: banner print installation banner bootstrap rebuild everything clean deletes all built files env [-p] print environment (-p: include $PATH) install [dir] install individual directory list [-json] [-broken] list all supported platforms test [-h] run Go test(s) version print Go version
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/test2json/main.go
"os/signal" "cmd/internal/telemetry" "cmd/internal/test2json" ) var ( flagP = flag.String("p", "", "report `pkg` as the package being tested in each event") flagT = flag.Bool("t", false, "include timestamps in events") ) func usage() { fmt.Fprintf(os.Stderr, "usage: go tool test2json [-p pkg] [-t] [./pkg.test -test.v]\n") os.Exit(2) } // ignoreSignals ignore the interrupt signals.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.1K bytes - Viewed (0) -
misc/go_android_exec/main.go
return err } // Copy only the relevant subdirectories from pkg: pkg/include and the // platform-native binaries in pkg/tool. if err := adb("exec-out", "mkdir", "-p", path.Join(deviceGoroot, "pkg", "tool")); err != nil { return err } if err := adb("push", filepath.Join(goroot, "pkg", "include"), path.Join(deviceGoroot, "pkg", "include")); err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0)