- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 55 for fileText (0.2 sec)
-
src/go/types/format.go
// This file implements (error and trace) message formatting support. package types import ( "bytes" "fmt" "go/ast" "go/token" "strconv" "strings" ) func sprintf(fset *token.FileSet, qf Qualifier, tpSubscripts bool, format string, args ...any) string { for i, arg := range args { switch a := arg.(type) { case nil: arg = "<nil>" case operand: panic("got operand instead of *operand")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/CodeNarcInvoker.groovy
option(name: 'outputFile', value: r.outputLocation.asFile.get()) } } } source.addToAntBuilder(ant, 'fileset', FileCollection.AntType.FileSet) if (!compilationClasspath.empty) { compilationClasspath.addToAntBuilder(ant, 'classpath') } } } catch (Exception e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 21 14:00:06 UTC 2023 - 5.6K bytes - Viewed (0) -
src/go/ast/import.go
"slices" "strconv" ) // SortImports sorts runs of consecutive import lines in import blocks in f. // It also removes duplicate imports when it is possible to do so without data loss. func SortImports(fset *token.FileSet, f *File) { for _, d := range f.Decls { d, ok := d.(*GenDecl) if !ok || d.Tok != token.IMPORT { // Not an import declaration, so we're done. // Imports are always first. break }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 5.7K bytes - Viewed (0) -
module.xml
<target name="remove.jars" if="with.fess"> <delete> <fileset dir="${modules.dir}"> <include name="lang-expression/asm-*" /> <include name="lang-painless/asm-*" /> <include name="reindex/commons-codec-*" /> <include name="reindex/commons-logging-*" /> <include name="reindex/httpclient-*" /> <include name="reindex/httpcore-4*" /> </fileset> </delete> </target>
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu May 16 07:10:50 UTC 2024 - 4.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/internal/analysisutil/util.go
"golang.org/x/tools/go/analysis" "golang.org/x/tools/internal/aliases" "golang.org/x/tools/internal/analysisinternal" ) // Format returns a string representation of the expression. func Format(fset *token.FileSet, x ast.Expr) string { var b bytes.Buffer printer.Fprint(&b, fset, x) return b.String() } // HasSideEffects reports whether evaluation of e has side effects. func HasSideEffects(info *types.Info, e ast.Expr) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 3.9K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AntFileSetBuilder.java
for (final DirectoryTree tree : trees) { if (!tree.getDir().exists()) { continue; } dynamicObject.invokeMethod(nodeName == null ? "fileset" : nodeName, Collections.singletonMap("dir", AntUtil.maskFilename(tree.getDir().getAbsolutePath())), new Closure<Void>(this) { public Object doCall(Object ignore) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/CheckstyleInvoker.groovy
maxErrors: maxErrors, maxWarnings: maxWarnings, failureProperty: FAILURE_PROPERTY_NAME) { source.addToAntBuilder(ant, 'fileset', FileCollection.AntType.FileSet) if (showViolations) { formatter(type: 'plain', useFile: false) } if (isXmlRequired || isHtmlRequired) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 16 22:34:07 UTC 2023 - 9.2K bytes - Viewed (0) -
src/go/ast/resolve.go
// license that can be found in the LICENSE file. // This file implements NewPackage. package ast import ( "fmt" "go/scanner" "go/token" "strconv" ) type pkgBuilder struct { fset *token.FileSet errors scanner.ErrorList } func (p *pkgBuilder) error(pos token.Pos, msg string) { p.errors.Add(p.fset.Position(pos), msg) } func (p *pkgBuilder) errorf(pos token.Pos, format string, args ...any) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 5.4K bytes - Viewed (0) -
platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/PmdInvoker.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 21 12:23:38 UTC 2023 - 7.7K bytes - Viewed (0) -
src/go/printer/example_test.go
package printer_test import ( "bytes" "fmt" "go/ast" "go/parser" "go/printer" "go/token" "strings" ) func parseFunc(filename, functionname string) (fun *ast.FuncDecl, fset *token.FileSet) { fset = token.NewFileSet() if file, err := parser.ParseFile(fset, filename, nil, 0); err == nil { for _, d := range file.Decls { if f, ok := d.(*ast.FuncDecl); ok && f.Name.Name == functionname { fun = f
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 16 14:55:02 UTC 2022 - 1.7K bytes - Viewed (0)