- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 553 for endLine (0.16 sec)
-
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/LoggingIntegrationTest.groovy
} } void assertIsAtEndOfLine() { int endLine = index + expected.length() if (endLine == actual.length()) { return } if (!actual.substring(endLine).startsWith('\n')) { throw new AssertionError("Expected content '$expected' is not at the end of a line in output $actual.") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 15.6K bytes - Viewed (0) -
src/go/parser/parser.go
func (p *parser) consumeComment() (comment *ast.Comment, endline int) { // /*-style comments may end on a different line than where they start. // Scan the comment for '\n' chars and adjust endline accordingly. endline = p.file.Line(p.pos) if p.lit[1] == '*' { // don't use range here - no need to decode Unicode code points for i := 0; i < len(p.lit); i++ { if p.lit[i] == '\n' { endline++ } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 20:07:50 UTC 2023 - 72.2K bytes - Viewed (0) -
src/cmd/vendor/rsc.io/markdown/parse.go
nl byte // newline character ending this line: \r or \n or zero for EOF } func (p *parseState) addLine(s line) { // Process continued prefixes. p.lineDepth = 0 for ; p.lineDepth+1 < len(p.stack); p.lineDepth++ { old := s var ok bool s, ok = p.stack[p.lineDepth+1].builder.extend(p, s) if !old.isBlank() && (ok || s != old) { p.stack[p.lineDepth+1].pos.EndLine = p.lineno } if !ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 13.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/ConfigurationCacheProblemsFixture.groovy
} private static String linesBetween(File file, String beginLine, String endLine) { return file.withReader('utf-8') { reader -> reader.lines().iterator() .dropWhile { it != beginLine } .drop(1) .takeWhile { it != endLine } .collect() .join('\n') } } @Nullable
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 22.8K bytes - Viewed (0) -
src/encoding/csv/reader.go
return records, nil } if err != nil { return nil, err } records = append(records, record) } } // readLine reads the next line (with the trailing endline). // If EOF is hit without a trailing endline, it will be omitted. // If some bytes were read, then the error is never [io.EOF]. // The result is only valid until the next call to readLine. func (r *Reader) readLine() ([]byte, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:32:28 UTC 2024 - 14.2K bytes - Viewed (0) -
src/go/printer/nodes.go
} } return } prev := p.posFor(prev0) next := p.posFor(next0) line := p.lineFor(list[0].Pos()) endLine := p.lineFor(list[len(list)-1].End()) if prev.IsValid() && prev.Line == line && line == endLine { // all list entries on a single line for i, x := range list { if i > 0 { // use position of expression following the comma as
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 17 18:53:17 UTC 2023 - 52.6K bytes - Viewed (0) -
src/cmd/go/internal/script/engine.go
// before returning. To stop those, use [State.CloseAndWait] or the // [Wait] command. func (e *Engine) Execute(s *State, file string, script *bufio.Reader, log io.Writer) (err error) { defer func(prev *Engine) { s.engine = prev }(s.engine) s.engine = e var sectionStart time.Time // endSection flushes the logs for the current section from s.log to log.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 27 01:16:19 UTC 2023 - 22.2K bytes - Viewed (0) -
samples/bookinfo/src/productpage/static/tailwind/tailwind.css
eof f.offset=="number"){let d=this.fromOffset(f.offset);s=d.line,o=d.col}else s=f.line,o=f.column}else if(!r){let c=this.fromOffset(t);t=c.line,r=c.col}let u=this.origin(t,r,s,o);return u?a=new ec(e,u.endLine===void 0?u.line:{line:u.line,column:u.column},u.endLine===void 0?u.column:{line:u.endLine,column:u.endColumn},u.source,u.file,n.plugin):a=new ec(e,s===void 0?t:{line:t,column:r},s===void 0?r:{line:s,column:o},this.css,this.file,n.plugin),a.input={line:t,column:r,endLine:s,endColumn:o,source...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 28 14:48:01 UTC 2024 - 357.1K bytes - Viewed (1) -
src/cmd/compile/internal/ssa/numberlines.go
for _, p := range b.Preds { pbi := p.Block().ID if !endlines[pbi].SameFileAndLine(firstPos) { b.Values[firstPosIndex].Pos = firstPos.WithIsStmt() if f.pass.debug > 0 { fmt.Printf("Mark stmt differing-pred %s %s %s %s, different=%s ending %s\n", f.Name, b, b.Values[firstPosIndex], flc(firstPos), p.Block(), flc(endlines[pbi])) } break } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 14 21:26:13 UTC 2023 - 7.8K bytes - Viewed (0) -
src/internal/trace/summary_test.go
return } if (summary.StartTime != 0 && summary.CreationTime > summary.StartTime) || (summary.StartTime != 0 && summary.EndTime != 0 && summary.StartTime > summary.EndTime) { t.Errorf("bad summary creation/start/end times for G %d: creation=%d start=%d end=%d", summary.ID, summary.CreationTime, summary.StartTime, summary.EndTime) } if (summary.PC != 0 && summary.Name == "") || (summary.PC == 0 && summary.Name != "") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 13.4K bytes - Viewed (0)