- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 3,361 for xinit (0.22 sec)
-
src/cmd/dist/main.go
if len(os.Args) > 1 && os.Args[1] == "-check-goarm" { useVFPv1() // might fail with SIGILL println("VFPv1 OK.") useVFPv3() // might fail with SIGILL println("VFPv3 OK.") os.Exit(0) } xinit() xmain() xexit(0) } // The OS-specific main calls into the portable code here. func xmain() { if len(os.Args) < 2 { usage() } cmd := os.Args[1]
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/dist/build.go
func find(p string, l []string) int { for i, s := range l { if p == s { return i } } return -1 } // xinit handles initialization of the various global state, like goroot and goarch. func xinit() { b := os.Getenv("GOROOT") if b == "" { fatalf("$GOROOT must be set") } goroot = filepath.Clean(b) gorootBin = pathf("%s/bin", goroot)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0) -
src/cmd/go/internal/modcmd/init.go
must not already exist. Init accepts one optional argument, the module path for the new module. If the module path argument is omitted, init will attempt to infer the module path using import comments in .go files, vendoring tool configuration files (like Gopkg.lock), and the current directory (if in GOPATH). See https://golang.org/ref/mod#go-mod-init for more about 'go mod init'. `, Run: runInit, } func init() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 19 15:51:46 UTC 2023 - 1.3K bytes - Viewed (0) -
internal/once/init.go
// initialized when the provided function returns nil. // Init represents the structure. type Init struct { done uint32 m sync.Mutex } // Do is similar to sync.Once.Do - makes one successful // call to the function. ie, it invokes the function // if it is not successful yet. func (l *Init) Do(f func() error) error { if atomic.LoadUint32(&l.done) == 0 { return l.do(f) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 09 04:20:31 UTC 2023 - 2.1K bytes - Viewed (0) -
test/init.go
// license that can be found in the LICENSE file. // Verify that erroneous use of init is detected. // Does not compile. package main func init() { } func main() { init() // ERROR "undefined.*init" runtime.init() // ERROR "undefined.*runtime\.init|reference to undefined name|undefined: runtime" var _ = init // ERROR "undefined.*init"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 14 20:13:36 UTC 2020 - 479 bytes - Viewed (0) -
internal/init/init.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Nov 04 23:44:38 UTC 2022 - 874 bytes - Viewed (0) -
src/cmd/go/internal/modload/init.go
// calling Init and Enabled, the main package can call this function. func WillBeEnabled() bool { if modRoots != nil || cfg.ModulesEnabled { // Already enabled. return true } if initialized { // Initialized, not enabled. return false } // Keep in sync with Init. Init does extra validation and prints warnings or // exits, so it can't call this function directly.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:36:30 UTC 2024 - 69.8K bytes - Viewed (0) -
src/cmd/go/internal/workcmd/init.go
// go work init package workcmd import ( "context" "path/filepath" "cmd/go/internal/base" "cmd/go/internal/fsys" "cmd/go/internal/gover" "cmd/go/internal/modload" "golang.org/x/mod/modfile" ) var cmdInit = &base.Command{ UsageLine: "go work init [moddirs]", Short: "initialize workspace file", Long: `Init initializes and writes a new go.work file in the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jun 03 21:13:11 UTC 2023 - 1.6K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/init.go
skipCRIDetect bool } const ( // CoreDNSPhase is the name of CoreDNS subphase in "kubeadm init" coreDNSPhase = "addon/coredns" // KubeProxyPhase is the name of kube-proxy subphase during "kubeadm init" kubeProxyPhase = "addon/kube-proxy" // AddonPhase is the name of addon phase during "kubeadm init" addonPhase = "addon" ) // compile-time assert that the local data object satisfies the phases data interface.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 17 03:37:05 UTC 2024 - 24.1K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/initScripts/plugins/groovy/init.gradle
// tag::init-script-plugin[] apply plugin: EnterpriseRepositoryPlugin class EnterpriseRepositoryPlugin implements Plugin<Gradle> { private static String ENTERPRISE_REPOSITORY_URL = "https://repo.gradle.org/gradle/repo" void apply(Gradle gradle) { // ONLY USE ENTERPRISE REPO FOR DEPENDENCIES gradle.allprojects { project -> project.repositories {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.1K bytes - Viewed (0)