- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 37 for fileText (0.28 sec)
-
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) -
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) -
src/go/types/check.go
type Checker struct { // package information // (initialized by NewChecker, valid for the life-time of checker) conf *Config ctxt *Context // context for de-duplicating instances fset *token.FileSet pkg *Package *Info version goVersion // accepted language version nextID uint64 // unique Id for type parameters (first valid Id is 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.1K bytes - Viewed (0) -
src/cmd/go/internal/modindex/build.go
var dummyPkg build.Package // fileInfo records information learned about a file included in a build. type fileInfo struct { name string // full name including dir header []byte fset *token.FileSet parsed *ast.File parseErr error imports []fileImport embeds []fileEmbed directives []build.Directive
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 17:39:23 UTC 2023 - 26.8K bytes - Viewed (0) -
src/go/types/typestring.go
if isTypes2 { w.string(fmt.Sprintf(" /* with %s declared at %v */", t.obj.name, t.obj.Pos())) } else { // Can't print position information because // we don't have a token.FileSet accessible. w.string("/* type parameter */") } } } case *Alias: w.typeName(t.obj) if list := t.targs.list(); len(list) != 0 { // instantiated type w.typeList(list)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typestring.go
if isTypes2 { w.string(fmt.Sprintf(" /* with %s declared at %v */", t.obj.name, t.obj.Pos())) } else { // Can't print position information because // we don't have a token.FileSet accessible. w.string("/* type parameter */") } } } case *Alias: w.typeName(t.obj) if list := t.targs.list(); len(list) != 0 { // instantiated type w.typeList(list)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go
import ( "bytes" "fmt" "go/ast" "go/token" "go/types" "os" "strconv" "golang.org/x/tools/go/analysis" "golang.org/x/tools/internal/aliases" ) func TypeErrorEndPos(fset *token.FileSet, src []byte, start token.Pos) token.Pos { // Get the end position for the type error. offset, end := fset.PositionFor(start, false).Offset, start if offset >= len(src) { return end }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 11.7K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/other/ant.adoc
You execute an Ant task by calling a method on the `AntBuilder` instance. You use the task name as the method name: .build.gradle [source,groovy] ---- ant.mkdir(dir: "$STAGE") ant.copy(todir: "$STAGE/bin") { ant.fileset(dir: 'bin', includes: "**") } ant.gzip(destfile:"build/file-${VERSION}.tar.gz", src: "build/file-${VERSION}.tar") ---- For example, you execute the Ant `echo` task using the `ant.echo()` method.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 15:23:52 UTC 2024 - 13.1K bytes - Viewed (0) -
src/go/types/check_test.go
for _, err := range list { errlist = append(errlist, err) } } else { errlist = append(errlist, err) } } } return files, errlist } func unpackError(fset *token.FileSet, err error) (token.Position, string) { switch err := err.(type) { case *scanner.Error: return err.Pos, err.Msg case Error: return fset.Position(err.Pos), err.Msg } panic("unreachable") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 14.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/doc.go
package being analyzed, and provides operations to the Run function for reporting diagnostics and other information back to the driver. type Pass struct { Fset *token.FileSet Files []*ast.File OtherFiles []string IgnoredFiles []string Pkg *types.Package TypesInfo *types.Info ResultOf map[*Analyzer]interface{} Report func(Diagnostic)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13.3K bytes - Viewed (0)