Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 50 for goFiles (0.21 sec)

  1. cmd/import-boss/main_test.go

    		}
    	}
    }
    
    func TestPackageDir(t *testing.T) {
    	cases := []struct {
    		input  *packages.Package
    		expect string
    	}{{
    		input: &packages.Package{
    			PkgPath:      "example.com/foo/bar/qux",
    			GoFiles:      []string{"/src/prj/file.go"},
    			IgnoredFiles: []string{"/otherdir/file.go"},
    		},
    		expect: filepath.Clean("/src/prj"),
    	}, {
    		input: &packages.Package{
    			PkgPath:      "example.com/foo/bar/qux",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 8.8K 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/go/internal/modindex/read.go

    	}
    	sort.Strings(p.AllTags)
    
    	if len(p.CgoFiles) > 0 {
    		p.SFiles = append(p.SFiles, Sfiles...)
    		sort.Strings(p.SFiles)
    	} else {
    		p.IgnoredOtherFiles = append(p.IgnoredOtherFiles, Sfiles...)
    		sort.Strings(p.IgnoredOtherFiles)
    	}
    
    	if badGoError != nil {
    		return p, badGoError
    	}
    	if len(p.GoFiles)+len(p.CgoFiles)+len(p.TestGoFiles)+len(p.XTestGoFiles) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/stdlib_test.go

    			return nil, nil // no *.go files, not an error
    		}
    		return nil, err
    	}
    	if excluded[pkg.ImportPath] {
    		return nil, nil
    	}
    	var filenames []string
    	for _, name := range pkg.GoFiles {
    		filenames = append(filenames, filepath.Join(pkg.Dir, name))
    	}
    	if includeTest {
    		for _, name := range pkg.TestGoFiles {
    			filenames = append(filenames, filepath.Join(pkg.Dir, name))
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:18:33 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. src/cmd/go/alldocs.go

    // files presented to the compiler. Typically this means that it repeats
    // the files listed in GoFiles and then also adds the Go code generated
    // by processing CgoFiles and SwigFiles. The Imports list contains the
    // union of all imports from both GoFiles and CompiledGoFiles.
    //
    // The -deps flag causes list to iterate over not just the named packages
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/cgo/doc.go

    to auto-update code from Go 1.14 and earlier:
    
    	go tool fix -r eglconf <pkg>
    
    # Using cgo directly
    
    Usage:
    
    	go tool cgo [cgo options] [-- compiler options] gofiles...
    
    Cgo transforms the specified input Go source files into several output
    Go and C source files.
    
    The compiler options are passed through uninterpreted when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  8. 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)
  9. cmd/storage-rest-common.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    //go:generate msgp -file $GOFILE -unexported
    
    const (
    	storageRESTVersion       = "v58" // Change VerifyFile signature
    	storageRESTVersionPrefix = SlashSeparator + storageRESTVersion
    	storageRESTPrefix        = minioReservedBucketPath + "/storage"
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. internal/grid/debug.go

    import (
    	"context"
    	"fmt"
    	"net"
    	"net/http"
    	"net/http/httptest"
    	"sync"
    	"time"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/mux"
    )
    
    //go:generate stringer -type=debugMsg $GOFILE
    
    // debugMsg is a debug message for testing purposes.
    // may only be used for tests.
    type debugMsg int
    
    const (
    	debugPrint = false
    	debugReqs  = false
    )
    
    const (
    	debugShutdown debugMsg = iota
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top