Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for cmd_go_bootstrap (0.19 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/modfetch/bootstrap.go

    // Copyright 2019 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 modfetch
    
    import "golang.org/x/mod/module"
    
    func useSumDB(mod module.Version) bool {
    	return false
    }
    
    func lookupSumDB(mod module.Version) (string, []string, error) {
    	panic("bootstrap")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 386 bytes
    - Viewed (0)
  4. src/cmd/go/internal/web/bootstrap.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 cmd_go_bootstrap
    
    // This code is compiled only into the bootstrap 'go' binary.
    // These stubs avoid importing packages with large dependency
    // trees that potentially require C linking,
    // like the use of "net/http" in vcs.go.
    
    package web
    
    import (
    	"errors"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:00:34 UTC 2022
    - 691 bytes
    - Viewed (0)
  5. src/cmd/dist/buildtag_test.go

    	{"gc && (gccgo || !gccgo)", true, nil},
    	{"!(gc && (gccgo || !gccgo))", false, nil},
    	{"gccgo || gc", true, nil},
    	{"!(!(!(gccgo || gc)))", false, nil},
    	{"compiler_bootstrap", false, nil},
    	{"cmd_go_bootstrap", true, nil},
    	{"syntax(error", false, fmt.Errorf("parsing //go:build line: unexpected (")},
    	{"(gc", false, fmt.Errorf("parsing //go:build line: missing )")},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 25 00:02:52 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top