- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 2,396 for What (1.46 sec)
-
src/cmd/gofmt/rewrite.go
// It might make sense to expand this to allow statement patterns, // but there are problems with preserving formatting and also // with what a wildcard for a statement looks like. func parseExpr(s, what string) ast.Expr { x, err := parser.ParseExpr(s) if err != nil { fmt.Fprintf(os.Stderr, "parsing %s %s at %s\n", what, s, err) os.Exit(2) } return x } // Keep this function for debugging. /*
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 27 22:07:13 UTC 2023 - 8.1K bytes - Viewed (0) -
doc/asm.html
If you plan to write assembly language, you should read that document although much of it is Plan 9-specific. The current document provides a summary of the syntax and the differences with what is explained in that document, and describes the peculiarities that apply when writing assembly code to interact with Go. </p> <p> The most important thing to know about Go's assembler is that it is not a direct representation of the underlying machine.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 28 19:15:27 UTC 2023 - 36.3K bytes - Viewed (0) -
src/cmd/go/internal/modindex/build_read.go
// If we stopped successfully before EOF, we read a byte that told us we were done. // Return all but that last byte, which would cause a syntax error if we let it through. if r.err == nil && !r.eof { info.header = r.buf[:len(r.buf)-1] } // If we stopped for a syntax error, consume the whole file so that // we are sure we don't change the errors that go/parser returns. if r.err == errSyntax { r.err = nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 10:10:21 UTC 2023 - 13K bytes - Viewed (0) -
src/cmd/internal/buildid/rewrite.go
// Copyright 2017 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. package buildid import ( "bytes" "cmd/internal/codesign" "crypto/sha256" "debug/macho" "fmt" "io" ) // FindAndHash reads all of r and returns the offsets of occurrences of id. // While reading, findAndHash also computes and returns
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 5.1K bytes - Viewed (0) -
src/cmd/internal/src/xpos.go
func (p XPos) WithIsStmt() XPos { p.lico = p.lico.withIsStmt() return p } // WithBogusLine returns a bogus line that won't match any recorded for the source code. // Its use is to disrupt the statements within an infinite loop so that the debugger // will not itself loop infinitely waiting for the line number to change. // gdb chooses not to display the bogus line; delve shows it with a complaint, but the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:52:41 UTC 2023 - 4.9K bytes - Viewed (0) -
src/cmd/go/internal/work/buildid.go
// stored in the installed binary, and see if that makes // the upcoming link action ID a match. If so, report that // we built the package, safe in the knowledge that the // link step will not ask us for the actual package file. // Note that (*Builder).LinkAction arranged that all of // a.triggers[0]'s dependencies other than a are also // dependencies of a, so that we can be sure that,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:31:25 UTC 2024 - 26.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_tidy_compat.txt
# (because it is lower than the version explicitly required by m, # and the module that requires it — m — specifies 'go 1.17'). # # That go.mod file happens not to affect the final 1.16 module graph anyway, # so the pruned graph is equivalent to the unpruned one. cp go.mod go.mod.orig go mod tidy cmp go.mod go.mod.orig # Make sure that -diff behaves the same as tidy. [exec:patch] mv go.mod go.mod.tidyResult
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 3.3K bytes - Viewed (0) -
src/cmd/cover/cover.go
// caution), since as part of the instrumentation process we // add calls to AddUint32/StoreUint32, and we don't want to // somehow create an infinite loop. // // Note that in the current implementation (Go 1.20) both // routines are assembly stubs that forward calls to the // internal/runtime/atomic equivalents, hence the infinite // loop scenario is purely theoretical (maybe if in some
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 34.5K bytes - Viewed (0) -
src/cmd/compile/internal/types/fmt.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package types import ( "bytes" "encoding/binary" "fmt" "strconv" "sync" "cmd/compile/internal/base" "cmd/internal/notsha256" ) // BuiltinPkg is a fake package that declares the universe block. var BuiltinPkg *Pkg // LocalPkg is the package being compiled.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 15:41:17 UTC 2023 - 15.7K bytes - Viewed (0) -
src/cmd/go/internal/mvs/mvs.go
// pseudo-versions and retracted versions — that may be selected as transitive // requirements of other modules. // // If one of those requirements pulls the version back up above the version // identified by reqs.Previous, then the transitive dependencies of that that // initially-downgraded version should no longer matter — in particular, we // should not add new dependencies on module paths that nothing else in the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 21:58:12 UTC 2024 - 14.5K bytes - Viewed (0)