Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for cmd_go_bootstrap (0.21 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/go/internal/web/api.go

    // license that can be found in the LICENSE file.
    
    // Package web defines minimal helper routines for accessing HTTP/HTTPS
    // resources without requiring external dependencies on the net package.
    //
    // If the cmd_go_bootstrap build tag is present, web avoids the use of the net
    // package and returns errors for all network operations.
    package web
    
    import (
    	"bytes"
    	"fmt"
    	"io"
    	"io/fs"
    	"net/url"
    	"strings"
    	"unicode"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:00:34 UTC 2022
    - 6.9K bytes
    - Viewed (0)
  10. src/cmd/go/internal/web/http.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 into the real 'go' binary, but it is not
    // compiled into the binary that is built during all.bash, so as
    // to avoid needing to build net (and thus use cgo) during the
    // bootstrap process.
    
    package web
    
    import (
    	"crypto/tls"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 10 17:34:27 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top