Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for goFiles (0.25 sec)

  1. src/cmd/dist/build.go

    		if !t.IsZero() && !strings.HasSuffix(p, ".a") && !shouldbuild(p, pkg) {
    			return false
    		}
    		if strings.HasSuffix(p, ".go") {
    			gofiles = append(gofiles, p)
    		} else if strings.HasSuffix(p, ".s") {
    			sfiles = append(sfiles, p)
    		}
    		if t.After(ttarg) {
    			stale = true
    		}
    		return true
    	})
    
    	// If there are no files to compile, we're done.
    	if len(files) == 0 {
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  2. src/go/build/build.go

    	BinaryOnly    bool     // cannot be rebuilt from source (has //go:binary-only-package comment)
    
    	// Source files
    	GoFiles           []string // .go source files (excluding CgoFiles, TestGoFiles, XTestGoFiles)
    	CgoFiles          []string // .go source files that import "C"
    	IgnoredGoFiles    []string // .go source files ignored for this build (including ignored _test.go files)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  3. src/cmd/internal/testdir/testdir_test.go

    			t.Skipf("skipping: GOROOT/test not present")
    		}
    	}
    
    	for _, dir := range dirs {
    		for _, goFile := range goFiles(t, dir) {
    			test := test{testCommon: common, dir: dir, goFile: goFile}
    			t.Run(path.Join(dir, goFile), func(t *testing.T) {
    				t.Parallel()
    				test.T = t
    				testError := test.run()
    				wantError := test.expectFail() && !*force
    				if testError != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  4. src/cmd/cgo/out.go

    	base := srcfile
    	base = strings.TrimSuffix(base, ".go")
    	base = filepath.Base(base)
    	fgo1 := creat(*objDir + base + ".cgo1.go")
    	fgcc := creat(*objDir + base + ".cgo2.c")
    
    	p.GoFiles = append(p.GoFiles, base+".cgo1.go")
    	p.GccFiles = append(p.GccFiles, base+".cgo2.c")
    
    	// Write Go output: Go input with rewrites of C.xxx to _C_xxx.
    	fmt.Fprintf(fgo1, "// Code generated by cmd/cgo; DO NOT EDIT.\n\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/load.go

    // figure out what the error-reporting actually ought to be.
    func ImportFromFiles(ctx context.Context, gofiles []string) {
    	rs := LoadModFile(ctx)
    
    	tags := imports.Tags()
    	imports, testImports, err := imports.ScanFiles(gofiles, tags)
    	if err != nil {
    		base.Fatal(err)
    	}
    
    	loaded = loadFromRoots(ctx, loaderParams{
    		PackageOpts: PackageOpts{
    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/go/internal/test/test.go

    			Actor:      work.ActorFunc(builderPrintTest),
    			Deps:       []*work.Action{cleanAction},
    			Package:    p,
    			IgnoreFail: true, // print even if test failed
    		}
    	}
    
    	if len(ptest.GoFiles)+len(ptest.CgoFiles) > 0 {
    		addTestVet(b, ptest, vetRunAction, installAction)
    	}
    	if pxtest != nil {
    		addTestVet(b, pxtest, vetRunAction, installAction)
    	}
    
    	if installAction != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    		}
    	} else {
    		if _, err = c.PutObject(ctx, tgtBucket, pathJoin(tgtPrefix, objInfo.Name), rd, size, "", "", putOpts); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    //go:generate msgp -file $GOFILE -unexported
    
    // batchJobInfo current batch replication information
    type batchJobInfo struct {
    	mu sync.RWMutex `json:"-" msg:"-"`
    
    	Version       int       `json:"-" msg:"v"`
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2.go

    	xlHeader = [4]byte{'X', 'L', '2', ' '}
    
    	// Current version being written.
    	xlVersionCurrent [4]byte
    )
    
    //go:generate msgp -file=$GOFILE -unexported
    //go:generate stringer -type VersionType,ErasureAlgo -output=xl-storage-format-v2_string.go $GOFILE
    
    const (
    	// Breaking changes.
    	// Newer versions cannot be read by older software.
    	// This will prevent downgrades to incompatible versions.
    	xlVersionMajor = 1
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  9. src/cmd/go/go_test.go

    	defer tg.cleanup()
    	tg.parallel()
    	tg.makeTempdir()
    	tg.setenv("GOCACHE", tg.tempdir)
    
    	tg.run("list", "-f", `{{join .CgoFiles "\n"}}`, "net")
    	if tg.stdout.String() == "" {
    		t.Skip("net does not use cgo")
    	}
    	if strings.Contains(tg.stdout.String(), tg.tempdir) {
    		t.Fatalf(".CgoFiles unexpectedly mentioned cache %s", tg.tempdir)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  10. cmd/api-errors.go

    	RangeRequested   string `xml:"RangeRequested,omitempty" json:"RangeRequested,omitempty"`
    }
    
    // APIErrorCode type of error status.
    type APIErrorCode int
    
    //go:generate stringer -type=APIErrorCode -trimprefix=Err $GOFILE
    
    // Error codes, non exhaustive list - http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html
    const (
    	ErrNone APIErrorCode = iota
    	ErrAccessDenied
    	ErrBadDigest
    	ErrEntityTooSmall
    	ErrEntityTooLarge
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (0)
Back to top