Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for compiler_bootstrap (0.52 sec)

  1. src/math/bits/bits_errors.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 !compiler_bootstrap
    
    package bits
    
    import _ "unsafe"
    
    //go:linkname overflowError runtime.overflowError
    var overflowError error
    
    //go:linkname divideError runtime.divideError
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 368 bytes
    - Viewed (0)
  2. src/cmd/cgo/ast_go118.go

    // Copyright 2021 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 !compiler_bootstrap
    
    package main
    
    import (
    	"go/ast"
    	"go/token"
    )
    
    func (f *File) walkUnexpected(x interface{}, context astContext, visit func(*File, interface{}, astContext)) {
    	switch n := x.(type) {
    	default:
    		error_(token.NoPos, "unexpected type %T in walk", x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 30 21:45:10 UTC 2022
    - 730 bytes
    - Viewed (0)
  3. src/strconv/bytealg.go

    // Copyright 2009 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 !compiler_bootstrap
    
    package strconv
    
    import "internal/bytealg"
    
    // index returns the index of the first instance of c in s, or -1 if missing.
    func index(s string, c byte) int {
    	return bytealg.IndexByteString(s, c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 389 bytes
    - Viewed (0)
  4. src/cmd/cgo/ast_go1.go

    // Copyright 2021 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 compiler_bootstrap
    
    package main
    
    import (
    	"go/ast"
    	"go/token"
    )
    
    func (f *File) walkUnexpected(x interface{}, context astContext, visit func(*File, interface{}, astContext)) {
    	error_(token.NoPos, "unexpected type %T in walk", x)
    	panic("unexpected type")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 30 21:45:10 UTC 2022
    - 578 bytes
    - Viewed (0)
  5. src/cmd/dist/buildtag_test.go

    	{"gc || (gccgo && !gccgo)", true, nil},
    	{"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/strconv/bytealg_bootstrap.go

    // Copyright 2020 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 compiler_bootstrap
    
    package strconv
    
    // index returns the index of the first instance of c in s, or -1 if missing.
    func index(s string, c byte) int {
    	for i := 0; i < len(s); i++ {
    		if s[i] == c {
    			return i
    		}
    	}
    	return -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 401 bytes
    - Viewed (0)
  7. src/math/bits/bits_errors_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 compiler_bootstrap
    
    // This version used only for bootstrap (on this path we want
    // to avoid use of go:linkname as applied to variables).
    
    package bits
    
    type errorString string
    
    func (e errorString) RuntimeError() {}
    
    func (e errorString) Error() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 592 bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/compile/internal/test/race.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.
    
    //go:build !compiler_bootstrap
    
    package test
    
    // The racecompile builder only builds packages, but does not build
    // or run tests. This is a non-test file to hold cases that (used
    // to) trigger compiler data races, so they will be exercised on
    // the racecompile builder.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 20 22:16:41 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  10. src/cmd/internal/telemetry/telemetry.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 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
    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