Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for cmd_go_bootstrap (0.27 sec)

  1. src/cmd/go/internal/telemetrystats/telemetrystats_bootstrap.go

    // Copyright 2024 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 cmd_go_bootstrap
    
    package telemetrystats
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 233 bytes
    - Viewed (0)
  2. src/cmd/go/internal/telemetrystats/version_other.go

    // Copyright 2024 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 !cmd_go_bootstrap && !unix && !windows
    
    package telemetrystats
    
    import "cmd/internal/telemetry"
    
    func incrementVersionCounters() {
    	telemetry.Inc("go/platform:version-not-supported")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 356 bytes
    - Viewed (0)
  3. src/cmd/go/internal/telemetrystats/version_windows.go

    // Copyright 2024 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 !cmd_go_bootstrap && windows
    
    package telemetrystats
    
    import (
    	"fmt"
    
    	"cmd/internal/telemetry"
    
    	"golang.org/x/sys/windows"
    )
    
    func incrementVersionCounters() {
    	v := windows.RtlGetVersion()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 637 bytes
    - Viewed (0)
  4. src/cmd/go/internal/telemetrystats/telemetrystats.go

    // Copyright 2024 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 !cmd_go_bootstrap
    
    package telemetrystats
    
    import (
    	"cmd/go/internal/base"
    	"cmd/go/internal/cfg"
    	"cmd/go/internal/modload"
    	"cmd/internal/telemetry"
    )
    
    func Increment() {
    	incrementConfig()
    	incrementVersionCounters()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. src/cmd/go/internal/telemetrystats/version_unix.go

    // Copyright 2024 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 !cmd_go_bootstrap && unix
    
    package telemetrystats
    
    import (
    	"bytes"
    	"fmt"
    	"runtime"
    	"strings"
    
    	"cmd/internal/telemetry"
    
    	"golang.org/x/sys/unix"
    )
    
    func incrementVersionCounters() {
    	convert := func(nullterm []byte) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 15:44:55 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. src/cmd/internal/telemetry/telemetry_bootstrap.go

    // Copyright 2024 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 cmd_go_bootstrap || compiler_bootstrap
    
    package telemetry
    
    import "flag"
    
    type dummyCounter struct{}
    
    func (dc dummyCounter) Inc() {}
    
    func Start()                                                              {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 20:16:39 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. src/cmd/internal/telemetry/telemetry.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !cmd_go_bootstrap && !compiler_bootstrap
    
    // Package telemetry is a shim package around the golang.org/x/telemetry
    // and golang.org/x/telemetry/counter packages that has code build tagged
    // out for cmd_go_bootstrap so that the bootstrap Go command does not
    // depend on net (which is a dependency of golang.org/x/telemetry/counter
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. src/cmd/dist/build.go

    	"netbsd":    true,
    	"openbsd":   true,
    	"solaris":   true,
    }
    
    // matchtag reports whether the tag matches this build.
    func matchtag(tag string) bool {
    	switch tag {
    	case "gc", "cmd_go_bootstrap", "go1.1":
    		return true
    	case "linux":
    		return goos == "linux" || goos == "android"
    	case "solaris":
    		return goos == "solaris" || goos == "illumos"
    	case "darwin":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
Back to top