- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 325 for parsego (0.2 sec)
-
test/stress/parsego.go
return isGoFile(dir) && !strings.HasSuffix(dir.Name(), "_test.go") // ignore test files } func pkgName(filename string) string { file, err := parser.ParseFile(token.NewFileSet(), filename, nil, parser.PackageClauseOnly) if err != nil || file == nil { return "" } return file.Name.Name } func parseDir(dirpath string) map[string]*ast.Package {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 4.1K bytes - Viewed (0) -
test/stress/runstress.go
doMaps = flag.Bool("maps", true, "stress maps") doExec = flag.Bool("exec", true, "stress exec") doChan = flag.Bool("chan", true, "stress channels") doNet = flag.Bool("net", true, "stress networking") doParseGo = flag.Bool("parsego", true, "stress parsing Go (generates garbage)") ) func Println(a ...interface{}) { if *v { log.Println(a...) } } func dialStress(a net.Addr) { for {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:21:35 UTC 2024 - 3.6K bytes - Viewed (0) -
tools/docker-builder/dockerfile/parse.go
Value []string // The contents of the command (ex: `ubuntu:xenial`) } // parseFile parses a Dockerfile from a filename. func parseFile(filename string) ([]Command, error) { file, err := os.Open(filename) if err != nil { return nil, err } defer file.Close() res, err := parser.Parse(file) if err != nil { return nil, err } var ret []Command
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 5.8K bytes - Viewed (0) -
src/text/template/helper.go
func parseGlob(t *Template, pattern string) (*Template, error) { filenames, err := filepath.Glob(pattern) if err != nil { return nil, err } if len(filenames) == 0 { return nil, fmt.Errorf("template: pattern matches no files: %#q", pattern) } return parseFiles(t, readFileOS, filenames...) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:54:08 UTC 2024 - 6.4K bytes - Viewed (0) -
tensorflow/compiler/jit/device_util.cc
DeviceNameUtils::ParsedName parsed0, parsed1; if (!DeviceNameUtils::ParseFullName(name0, &parsed0) || !DeviceNameUtils::ParseFullName(name1, &parsed1) || !DeviceNameUtils::AreCompatibleDevNames(parsed0, parsed1)) { return true; } if (DeviceNameUtils::IsSpecification(parsed0, parsed1)) { return false; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 7.8K bytes - Viewed (0) -
src/html/template/multi_test.go
` func TestMultiExecute(t *testing.T) { // Declare a couple of templates first. template, err := New("root").Parse(multiText1) if err != nil { t.Fatalf("parse error for 1: %s", err) } _, err = template.Parse(multiText2) if err != nil { t.Fatalf("parse error for 2: %s", err) } testExecute(multiExecTests, template, t) } func TestParseFiles(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 15:48:16 UTC 2022 - 8K bytes - Viewed (0) -
cmd/signature-v4-parser.go
} // preSignValues data type represents structured form of AWS Signature V4 query string. type preSignValues struct { signValues Date time.Time Expires time.Duration } // Parses signature version '4' query string of the following form. // // querystring = X-Amz-Algorithm=algorithm // querystring += &X-Amz-Credential= urlencode(accessKey + '/' + credential_scope) // querystring += &X-Amz-Date=date
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.4K bytes - Viewed (0) -
pkg/util/parsers/parsers.go
limitations under the License. */ package parsers import ( "fmt" // Import the crypto sha256 algorithm for the docker image parser to work _ "crypto/sha256" // Import the crypto/sha512 algorithm for the docker image parser to work with 384 and 512 sha hashes _ "crypto/sha512" dockerref "github.com/distribution/reference" ) // ParseImageName parses a docker image string into three parts: repo, tag and digest.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 01 01:53:40 UTC 2023 - 1.6K bytes - Viewed (0) -
src/main/resources/tika.xml
<?xml version="1.0" encoding="UTF-8"?> <properties> <parsers> <parser class="org.apache.tika.parser.DefaultParser"> <parser-exclude class="org.apache.tika.parser.ocr.TesseractOCRParser"/> </parser> </parsers>
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Feb 24 12:59:41 UTC 2020 - 241 bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/Parser.kt
val wrappedCode: String, val originalCodeOffset: Int, val suffixLength: Int, ) fun parse(@Language("kts") code: String): ParsedLightTree { val (wrappedCode, codeOffset, suffixLength) = wrapScriptIntoClassInitializerBlock(code) return ParsedLightTree( KotlinLightParser.parse(psiBuilderFactory.createBuilder(parserDefinition, lexer, wrappedCode)), wrappedCode, codeOffset,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 22:06:18 UTC 2024 - 2.6K bytes - Viewed (0)