- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for delimiter (0.65 sec)
-
src/cmd/compile/internal/inline/inlheur/funcprops_test.go
props: CSPropBits(flags), score: score, mask: scoreAdjustTyp(mask), } } // Consume function delimiter. dr.scan() line = dr.curLine() if line != fnDelimiter { return funcInlHeur, nil, fmt.Errorf("malformed testcase file %q, missing delimiter %q", dr.p, fnDelimiter) } return funcInlHeur, callsites, nil } // gatherPropsDumpForFile builds the specified testcase 'testcase' from
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 20:15:25 UTC 2023 - 15K bytes - Viewed (0) -
src/bufio/bufio.go
return fullBuffers, frag, totalLen, err } // ReadBytes reads until the first occurrence of delim in the input, // returning a slice containing the data up to and including the delimiter. // If ReadBytes encounters an error before finding a delimiter, // it returns the data read before the error and the error itself (often io.EOF). // ReadBytes returns err != nil if and only if the returned data does not end in // delim.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 14:39:08 UTC 2023 - 21.8K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go
} var cpuHz int64 // Parse text of the form "attribute = value" before the samples. const delimiter = "=" for s.Scan() { line := s.Text() if line = strings.TrimSpace(line); isSpaceOrComment(line) { continue } if strings.HasPrefix(line, "---") { break } attr := strings.SplitN(line, delimiter, 2) if len(attr) != 2 { break }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 18:58:12 UTC 2022 - 32.8K bytes - Viewed (0) -
src/cmd/go/internal/modindex/build.go
} // expandSrcDir expands any occurrence of ${SRCDIR}, making sure // the result is safe for the shell. func expandSrcDir(str string, srcdir string) (string, bool) { // "\" delimited paths cause safeCgoName to fail // so convert native paths with a different delimiter // to "/" before starting (eg: on windows). srcdir = filepath.ToSlash(srcdir) chunks := strings.Split(str, "${SRCDIR}") if len(chunks) < 2 {
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/cmd/vendor/github.com/google/pprof/profile/merge.go
for _, l := range sample.Location { // Get the location in the merged profile, which may have a different ID. if loc := pm.mapLocation(l); loc != nil { putNumber(loc.ID) } } putNumber(0) // Delimiter for _, l := range sortedKeys1(sample.Label) { putDelimitedString(l) values := sample.Label[l] putNumber(uint64(len(values))) for _, v := range values { putDelimitedString(v) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 17K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/scanner_test.go
{_AssignOp, ">>=", Shr, precMul}, // other operations {_IncOp, "++", Add, precAdd}, {_IncOp, "--", Sub, precAdd}, {_Assign, "=", 0, 0}, {_Define, ":=", 0, 0}, {_Arrow, "<-", 0, 0}, // delimiters {_Lparen, "(", 0, 0}, {_Lbrack, "[", 0, 0}, {_Lbrace, "{", 0, 0}, {_Rparen, ")", 0, 0}, {_Rbrack, "]", 0, 0}, {_Rbrace, "}", 0, 0}, {_Comma, ",", 0, 0}, {_Semi, ";", 0, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 14 16:11:21 UTC 2022 - 21.9K bytes - Viewed (0) -
src/archive/tar/reader.go
return err } buf.Write(blk[:]) for _, c := range blk { if c == '\n' { cntNewline++ } } } return nil } // nextToken gets the next token delimited by a newline. This assumes that // at least one newline exists in the buffer. nextToken := func() string { cntNewline-- tok, _ := buf.ReadString('\n') return strings.TrimRight(tok, "\n") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0) -
src/cmd/go/internal/script/engine.go
} else if err != nil { return lineErr(err) } line = strings.TrimSuffix(line, "\n") lineno++ // The comment character "#" at the start of the line delimits a section of // the script. if strings.HasPrefix(line, "#") { // If there was a previous section, the fact that we are starting a new // one implies the success of the previous one. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 27 01:16:19 UTC 2023 - 22.2K bytes - Viewed (0)