Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for losses (0.49 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/go/internal/gover/version.go

    // license that can be found in the LICENSE file.
    
    package gover
    
    import "golang.org/x/mod/modfile"
    
    const (
    	// narrowAllVersion is the Go version at which the
    	// module-module "all" pattern no longer closes over the dependencies of
    	// tests outside of the main module.
    	NarrowAllVersion = "1.16"
    
    	// DefaultGoModVersion is the Go version to assume for go.mod files
    	// that do not declare a Go version. The go command has been
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/cmd/go/internal/script/scripttest/scripttest.go

    	conds["verbose"] = script.BoolCondition("testing.Verbose()", testing.Verbose())
    	return conds
    }
    
    // Run runs the script from the given filename starting at the given initial state.
    // When the script completes, Run closes the state.
    func Run(t testing.TB, e *script.Engine, s *script.State, filename string, testScript io.Reader) {
    	t.Helper()
    	err := func() (err error) {
    		log := new(strings.Builder)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 11 20:12:18 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/html.go

    		var first, last int
    		if mask == "*" {
    			first = 0
    			last = len(passes) - 1
    		} else {
    			first = passIdxByName(spl[0])
    			last = passIdxByName(spl[len(spl)-1])
    		}
    		if first < 0 || last < 0 || first > last {
    			fmt.Printf("range is not valid: %v\n", r)
    			return nil
    		}
    		for p := first; p <= last; p++ {
    			ph[passes[p].name] = true
    		}
    	}
    
    	path, err := exec.LookPath("dot")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 15:11:40 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/rulegen.go

    	// that if "foo := bar" is unused and removed, we can then detect if
    	// "bar" becomes unused as well.
    	defining *object
    }
    
    // scoped opens a new scope when called, and returns a function which closes
    // that same scope. When a scope is closed, unused variables are recorded.
    func (u *unusedInspector) scoped() func() {
    	outer := u.scope
    	u.scope = &scope{outer: outer, objects: map[string]*object{}}
    	return func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 02 22:09:21 UTC 2023
    - 48.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types/type.go

    // The answers are correct for an optimizer
    // or code generator, but not necessarily typechecking.
    // The order chosen is arbitrary, only consistency and division
    // into equivalence classes (Types that compare CMPeq) matters.
    func (t *Type) Compare(x *Type) Cmp {
    	if x == t {
    		return CMPeq
    	}
    	return t.cmp(x)
    }
    
    func cmpForNe(x bool) Cmp {
    	if x {
    		return CMPlt
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
Back to top