Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for file (0.13 sec)

  1. src/cmd/go/internal/modload/init.go

    )
    
    // ModFile returns the parsed go.mod file.
    //
    // Note that after calling LoadPackages or LoadModGraph,
    // the require statements in the modfile.File are no longer
    // the source of truth and will be ignored: edits made directly
    // will be lost at the next call to WriteGoMod.
    // To make permanent changes to the require statements
    // in go.mod, edit it before loading.
    func ModFile() *modfile.File {
    	Init()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  2. src/cmd/go/internal/test/test.go

    			// asking cmd/cover for a static meta-data file as part of
    			// the package build. This static meta-data file is then
    			// consumed by a pseudo-action (writeCoverMetaAct) that
    			// adds it to a summary file, then this summary file is
    			// consumed by the various "run test" actions. Below we
    			// add a dependence edge between the build action and the
    			// "write meta files" pseudo-action, and then another dep
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/buildlist.go

    		}
    
    		if _, ok := rs.rootSelected(pkg.mod.Path); ok {
    			// It is possible that the main module's go.mod file is incomplete or
    			// otherwise erroneous — for example, perhaps the author forgot to 'git
    			// add' their updated go.mod file after adding a new package import, or
    			// perhaps they made an edit to the go.mod file using a third-party tool
    			// ('git merge'?) that doesn't maintain consistency for module
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    	}
    	p.rewriteRef(f)
    }
    
    // loadDefines coerces gcc into spitting out the #defines in use
    // in the file f and saves relevant renamings in f.Name[name].Define.
    func (p *Package) loadDefines(f *File) {
    	var b bytes.Buffer
    	b.WriteString(builtinProlog)
    	b.WriteString(f.Preamble)
    	stdout := p.gccDefines(b.Bytes())
    
    	for _, line := range strings.Split(stdout, "\n") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/load.go

    		// that are upgraded above or otherwise missing from the go.mod files of
    		// direct dependencies. (For example, the direct dependency might be a very
    		// stable codebase that predates modules and thus lacks a go.mod file, or
    		// the author of the direct dependency may have forgotten to commit a change
    		// to the go.mod file, or may have made an erroneous hand-edit that causes
    		// it to be untidy.)
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  6. src/cmd/dist/build.go

    		return !strings.HasPrefix(p, ".") && (!strings.HasPrefix(p, "_") || !strings.HasSuffix(p, ".go"))
    	})
    
    	// Add generated files for this package.
    	for _, gt := range gentab {
    		if gt.pkg == pkg {
    			files = append(files, gt.file)
    		}
    	}
    	files = uniq(files)
    
    	// Convert to absolute paths.
    	for i, p := range files {
    		if !filepath.IsAbs(p) {
    			files[i] = pathf("%s/%s", dir, p)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/api_test.go

    		{"go1.20", "go1.20.1", "go1.20"},     // file upgrade ignored
    		{"go1.20.1", "go1.20", "go1.20.1"},   // file upgrade ignored
    		{"go1.20.1", "go1.21", "go1.21"},     // file upgrade permitted
    		{"go1.20.1", "go1.19", "go1.20.1"},   // file downgrade not permitted
    		{"go1.21.1", "go1.19.1", "go1.21.1"}, // file downgrade not permitted (invalid file version)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ppc64/ssa.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 ppc64
    
    import (
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/logopt"
    	"cmd/compile/internal/objw"
    	"cmd/compile/internal/ssa"
    	"cmd/compile/internal/ssagen"
    	"cmd/compile/internal/types"
    	"cmd/internal/obj"
    	"cmd/internal/obj/ppc64"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  9. src/bytes/bytes_test.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.
    
    package bytes_test
    
    import (
    	. "bytes"
    	"fmt"
    	"internal/testenv"
    	"math"
    	"math/rand"
    	"reflect"
    	"strings"
    	"testing"
    	"unicode"
    	"unicode/utf8"
    	"unsafe"
    )
    
    func eq(a, b []string) bool {
    	if len(a) != len(b) {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  10. src/cmd/go/go_test.go

    	}
    	dir := ""
    	for _, file := range strings.Split(tg.stdout.String(), "\n") {
    		if file == "" {
    			continue
    		}
    		if dir == "" {
    			dir = file
    			continue
    		}
    		if !strings.Contains(file, "/") && !strings.Contains(file, `\`) {
    			file = filepath.Join(dir, file)
    		}
    		if _, err := os.Stat(file); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
Back to top