- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 110 for Parsing (1.44 sec)
-
src/cmd/vendor/github.com/google/pprof/profile/legacy_java_profile.go
return nil, nil, fmt.Errorf("parsing sample %s: %v", line, err) } if s.Value[1], err = strconv.ParseInt(value2, 0, 64); err != nil { return nil, nil, fmt.Errorf("parsing sample %s: %v", line, err) } switch pType { case "heap": const javaHeapzSamplingRate = 524288 // 512K if s.Value[0] == 0 { return nil, nil, fmt.Errorf("parsing sample %s: second value must be non-zero", line)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 8.8K bytes - Viewed (0) -
src/cmd/internal/pgo/pprof.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package pgo contains the compiler-agnostic portions of PGO profile handling. // Notably, parsing pprof profiles and serializing/deserializing from a custom // intermediate representation. package pgo import ( "errors" "fmt" "internal/profile" "io" "sort" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:20:01 UTC 2024 - 4K bytes - Viewed (0) -
src/cmd/internal/pgo/pgo.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package pgo contains the compiler-agnostic portions of PGO profile handling. // Notably, parsing pprof profiles and serializing/deserializing from a custom // intermediate representation. package pgo // Profile contains the processed data from the PGO profile. type Profile struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:20:01 UTC 2024 - 1.6K bytes - Viewed (0) -
src/cmd/internal/pgo/serialize.go
if err != nil { return written, err } } if err := bw.Flush(); err != nil { return written, err } // No need to serialize TotalWeight, it can be trivially recomputed // during parsing. return written, nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:20:01 UTC 2024 - 1.8K bytes - Viewed (0) -
src/cmd/compile/internal/types/goversion.go
log.Fatalf("invalid value %q for -lang: %v", base.Flag.Lang, err) } if def := currentLang(); base.Flag.Lang != def { defVers, err := parseLang(def) if err != nil { log.Fatalf("internal error parsing default lang %q: %v", def, err) } if langWant.major > defVers.major || (langWant.major == defVers.major && langWant.minor > defVers.minor) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 21:36:02 UTC 2024 - 2.4K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go
if err != nil { return nil, fmt.Errorf("error parsing %s: %v", name, err) } defer of.Close() return b.openMachOCommon(name, of, start, limit, offset) } func (b *binrep) openELF(name string, start, limit, offset uint64, relocationSymbol string) (plugin.ObjFile, error) { ef, err := elfOpen(name) if err != nil { return nil, fmt.Errorf("error parsing %s: %v", name, err) } defer ef.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 22.3K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/swig_test.go
if len(matches[2]) > 0 { minor = atoi(string(matches[2][1:])) } if len(matches[3]) > 0 { patch = atoi(string(matches[3][1:])) } if parseError != nil { t.Logf("error parsing swig version %q, continuing anyway: %s", string(matches[0]), parseError) return } t.Logf("found swig version %d.%d.%d", major, minor, patch) if major < 3 || (major == 3 && minor == 0 && patch < 6) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 12:38:14 UTC 2024 - 4K bytes - Viewed (0) -
src/cmd/fix/main_test.go
func parseFixPrint(t *testing.T, fn func(*ast.File) bool, desc, in string, mustBeGofmt bool) (out string, fixed, ok bool) { file, err := parser.ParseFile(fset, desc, in, parserMode) if err != nil { t.Errorf("parsing: %v", err) return } outb, err := gofmtFile(file) if err != nil { t.Errorf("printing: %v", err) return } if s := string(outb); in != s && mustBeGofmt {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 05:31:47 UTC 2024 - 3.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/struct.go
err.addAltDecl(alt) err.report() return false } return true } func (check *Checker) tag(t *syntax.BasicLit) string { // If t.Bad, an error was reported during parsing. if t != nil && !t.Bad { if t.Kind == syntax.StringLit { if val, err := strconv.Unquote(t.Value); err == nil { return val } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 6.6K bytes - Viewed (0) -
src/cmd/go/internal/base/goflags.go
if hideErrors { continue } Fatalf("go: parsing $GOFLAGS: non-flag %q", f) } name := f[1:] if name[0] == '-' { name = name[1:] } if i := strings.Index(name, "="); i >= 0 { name = name[:i] } if !hasFlag(Go, name) { if hideErrors { continue } Fatalf("go: parsing $GOFLAGS: unknown flag -%s", name) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 19 14:42:39 UTC 2023 - 4.5K bytes - Viewed (0)