- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for losses (0.58 sec)
-
src/cmd/link/internal/benchmark/bench.go
// bench.Start("foo") // // etc. // } func New(gc Flags, filebase string) *Metrics { if gc == GC { runtime.GC() } return &Metrics{gc: gc, filebase: filebase} } // Report reports the metrics. // Closes the currently Start(ed) range, and writes the report to the given io.Writer. func (m *Metrics) Report(w io.Writer) { if m == nil { return } m.closeMark() gcString := "" if m.gc == GC {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 30 18:10:36 UTC 2023 - 4.7K bytes - Viewed (0) -
src/cmd/go/internal/work/shell.go
// Common case return nil } if len(cmdOut) == 0 && cmdErr != nil { // Just return the error. // // TODO: This is what we've done for a long time, but it may be a // mistake because it loses all of the extra context and results in // ultimately less descriptive output. We should probably just take the // text of cmdErr as the output in this case and do everything we
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 19.8K bytes - Viewed (0) -
src/cmd/go/internal/work/buildid.go
p.StaleReason = "build -a flag in use" } // Begin saving output for later writing to cache. a.output = []byte{} return false } defer func() { // Increment counters for cache hits and misses based on the return value // of this function. Don't increment counters if we return early because of // cfg.BuildA above because we don't even look at the cache in that case. if ok { counterCacheHit.Inc()
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/link/internal/ld/outbuf.go
return err } } if err := out.f.Close(); err != nil { return err } out.f = nil return nil } // ErrorClose closes the output file (if any). // It is supposed to be called only at exit on error, so it doesn't do // any clean up or buffer flushing, just closes the file. func (out *OutBuf) ErrorClose() { if out.isView { panic(viewCloseError) } if out.f == nil { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 17 19:51:29 UTC 2022 - 8.1K bytes - Viewed (0) -
src/archive/tar/writer.go
if tw.err != nil { return 0, tw.err } n, err := tw.curr.ReadFrom(r) if err != nil && err != ErrWriteTooLong { tw.err = err } return n, err } // Close closes the tar archive by flushing the padding, and writing the footer. // If the current file (from a prior call to [Writer.WriteHeader]) is not fully written, // then this returns an error. func (tw *Writer) Close() error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
src/cmd/link/link_test.go
lizard up Holborn Hill. Smoke lowering down from chimney-pots, making a soft black drizzle, with flakes of soot in it as big as full-grown snowflakes—gone into mourning, one might imagine, for the death of the sun. Dogs, undistinguishable in mire. Horses, scarcely better; splashed to their very blinkers. Foot passengers, jostling one another’s umbrellas in a general infection of ill temper, and losing their foot-hold at street-corners, where tens of thousands of other foot passengers have been slipping...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:02 UTC 2024 - 43.5K bytes - Viewed (0) -
src/cmd/go/internal/modload/load.go
// patterns that did not match any packages. SilenceUnmatchedWarnings bool // Resolve the query against this module. MainModule module.Version // If Switcher is non-nil, then LoadPackages passes all encountered errors // to Switcher.Error and tries Switcher.Switch before base.ExitIfErrors. Switcher gover.Switcher } // LoadPackages identifies the set of packages matching the given patterns and
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
// the low byte is for type info, and the rest of a pointer // (32 or 64-bit) is for payload, whatever the tagged class. // // Note that the specific integers used to identify the // specific tagged classes can and will change from release // to release (that's why this stuff is in CF*Internal*.h), // as can the definition of type info vs payload above. // #if __LP64__
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0) -
src/cmd/internal/bio/must.go
// Copyright 2016 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 bio import ( "io" "log" ) // MustClose closes Closer c and calls log.Fatal if it returns a non-nil error. func MustClose(c io.Closer) { if err := c.Close(); err != nil { log.Fatal(err) } } // MustWriter returns a Writer that wraps the provided Writer,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 14 17:58:33 UTC 2016 - 883 bytes - Viewed (0) -
src/cmd/go/terminal_test.go
"io" "os" "testing" "golang.org/x/term" ) func TestTerminalPassthrough(t *testing.T) { // Check that if 'go test' is run with a terminal connected to stdin/stdout, // then the go command passes that terminal down to the test binary // invocation (rather than, e.g., putting a pipe in the way). // // See issue 18153. testenv.MustHaveGoBuild(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 07 18:18:50 UTC 2022 - 3.3K bytes - Viewed (0)