Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 117 for fileText (0.14 sec)

  1. src/go/printer/printer.go

    	commentNewline bool              // true if the comment group contains newlines
    }
    
    type printer struct {
    	// Configuration (does not change after initialization)
    	Config
    	fset *token.FileSet
    
    	// Current state
    	output       []byte       // raw printer result
    	indent       int          // current indentation
    	level        int          // level == 0: outside composite literal; level > 0: inside composite literal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  2. src/go/internal/gcimporter/gcimporter.go

    // the corresponding package object to the packages map, and returns the object.
    // The packages map must contain all packages already imported.
    func Import(fset *token.FileSet, packages map[string]*types.Package, path, srcDir string, lookup func(path string) (io.ReadCloser, error)) (pkg *types.Package, err error) {
    	var rc io.ReadCloser
    	var id string
    	if lookup != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. src/runtime/align_test.go

    	}
    
    	// Analyze all atomic.*64 callsites.
    	v := Visitor{t: t, fset: fset, types: info.Types, checked: checked}
    	ast.Walk(&v, pkg)
    }
    
    type Visitor struct {
    	fset    *token.FileSet
    	types   map[ast.Expr]types.TypeAndValue
    	checked map[string]bool
    	t       *testing.T
    }
    
    func (v *Visitor) Visit(n ast.Node) ast.Visitor {
    	c, ok := n.(*ast.CallExpr)
    	if !ok {
    		return v
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 14:52:12 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. src/go/types/api.go

    // A "soft" error is an error that still permits a valid interpretation of a
    // package (such as "unused variable"); "hard" errors may lead to unpredictable
    // behavior if ignored.
    type Error struct {
    	Fset *token.FileSet // file set for interpretation of Pos
    	Pos  token.Pos      // error position
    	Msg  string         // error message
    	Soft bool           // if set, error is "soft"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. src/go/types/eval_test.go

    	"fmt"
    	"go/ast"
    	"go/importer"
    	"go/parser"
    	"go/token"
    	"go/types"
    	"internal/godebug"
    	"internal/testenv"
    	"strings"
    	"testing"
    
    	. "go/types"
    )
    
    func testEval(t *testing.T, fset *token.FileSet, pkg *Package, pos token.Pos, expr string, typ Type, typStr, valStr string) {
    	gotTv, err := Eval(fset, pkg, pos, expr)
    	if err != nil {
    		t.Errorf("Eval(%q) failed: %s", expr, err)
    		return
    	}
    	if gotTv.Type == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 19:56:15 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractFileCollection.java

        public void addToAntBuilder(Object builder, String nodeName, AntType type) {
            if (type == AntType.ResourceCollection) {
                addAsResourceCollection(builder, nodeName);
            } else if (type == AntType.FileSet) {
                addAsFileSet(builder, nodeName);
            } else {
                addAsMatchingTask(builder, nodeName);
            }
        }
    
        protected void addAsMatchingTask(Object builder, String nodeName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/analysis.go

    //
    // The Run function should not call any of the Pass functions concurrently.
    type Pass struct {
    	Analyzer *Analyzer // the identity of the current analyzer
    
    	// syntax and type information
    	Fset         *token.FileSet // file position information; Run may add new files
    	Files        []*ast.File    // the abstract syntax tree of each file
    	OtherFiles   []string       // names of non-Go files of this package
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultSourceDirectorySetTest.groovy

        void failsWhenSourceDirectoryIsNotADirectory() {
            File srcDir = new File(testDir, 'dir1')
            touch(srcDir)
    
            when:
            set.srcDir 'dir1'
            set.addToAntBuilder("node", "fileset")
    
            then:
            InvalidUserDataException e = thrown()
            e.message == "Source directory '$srcDir' is not a directory."
        }
    
        void hasNoDependenciesWhenNoSourceDirectoriesSpecified() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 15:32:09 UTC 2022
    - 14.4K bytes
    - Viewed (0)
  9. src/debug/pe/file_test.go

    	"path/filepath"
    	"reflect"
    	"regexp"
    	"runtime"
    	"strconv"
    	"testing"
    	"text/template"
    )
    
    type fileTest struct {
    	file           string
    	hdr            FileHeader
    	opthdr         any
    	sections       []*SectionHeader
    	symbols        []*Symbol
    	hasNoDwarfInfo bool
    }
    
    var fileTests = []fileTest{
    	{
    		file: "testdata/gcc-386-mingw-obj",
    		hdr:  FileHeader{0x014c, 0x000c, 0x0, 0x64a, 0x1e, 0x0, 0x104},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 01 02:25:16 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  10. cmd/sftp-server-driver.go

    // - sftp.Filelist
    // - sftp.Filecmd
    func NewSFTPDriver(perms *ssh.Permissions) sftp.Handlers {
    	handler := &sftpDriver{endpoint: fmt.Sprintf("127.0.0.1:%s", globalMinioPort), permissions: perms}
    	return sftp.Handlers{
    		FileGet:  handler,
    		FilePut:  handler,
    		FileCmd:  handler,
    		FileList: handler,
    	}
    }
    
    func (f *sftpDriver) getMinIOClient() (*minio.Client, error) {
    	mcreds := credentials.NewStaticV4(
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top