- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 46 for StartLine (0.9 sec)
-
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/LightTreeUtil.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 13:47:09 UTC 2024 - 7.3K bytes - Viewed (0) -
pilot/pkg/config/file/util/kubeyaml/kubeyaml.go
if buffer.Len() != 0 { return buffer.Bytes(), startLine, nil } if err == io.EOF { return nil, startLine, err } } } if err == io.EOF { if buffer.Len() != 0 { // If we're at EOF, we have a final, non-terminated line. Return it. return buffer.Bytes(), startLine, nil } return nil, startLine, err } buffer.Write(line) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 12 02:41:40 UTC 2022 - 3.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/cover/profile.go
func (b blocksByStart) Len() int { return len(b) } func (b blocksByStart) Swap(i, j int) { b[i], b[j] = b[j], b[i] } func (b blocksByStart) Less(i, j int) bool { bi, bj := b[i], b[j] return bi.StartLine < bj.StartLine || bi.StartLine == bj.StartLine && bi.StartCol < bj.StartCol } // Boundary represents the position in a source file of the beginning or end of a // block as reported by the coverage profile. In HTML mode, it will correspond to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 11 17:02:03 UTC 2021 - 7.5K bytes - Viewed (0) -
src/cmd/go/internal/modindex/build_read.go
// at the end of a line. startLine := !first var c byte for r.err == nil && !r.eof { c = r.readByteNoBuf() Reswitch: switch c { default: startLine = false case '\n': startLine = true case ' ', '\t': // leave startLine alone case '"': startLine = false for r.err == nil { if r.eof { r.syntaxError()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 10:10:21 UTC 2023 - 13K bytes - Viewed (0) -
src/cmd/cover/func.go
for _, b := range profile.Blocks { if b.StartLine > f.endLine || (b.StartLine == f.endLine && b.StartCol >= f.endCol) { // Past the end of the function. break } if b.EndLine < f.startLine || (b.EndLine == f.startLine && b.EndCol <= f.startCol) { // Before the beginning of the function continue } total += int64(b.NumStmt)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 17:49:12 UTC 2022 - 6.3K bytes - Viewed (0) -
src/go/build/read.go
// at the end of a line. startLine := !first var c byte for r.err == nil && !r.eof { c = r.readByteNoBuf() Reswitch: switch c { default: startLine = false case '\n': startLine = true case ' ', '\t': // leave startLine alone case '"': startLine = false for r.err == nil { if r.eof { r.syntaxError()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 14.1K bytes - Viewed (0) -
src/cmd/vendor/rsc.io/markdown/table.go
} func (b *tableBuilder) build(p buildState) Block { pos := p.pos() pos.StartLine-- // builder does not count header pos.EndLine = pos.StartLine + 1 + len(b.rows) t := &Table{ Position: pos, } width := tableCount(b.hdr) t.Header = b.parseRow(p, b.hdr, pos.StartLine, width) t.Align = b.parseAlign(b.delim, width) t.Rows = make([][]*Text, len(b.rows)) for i, row := range b.rows {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/LoggingIntegrationTest.groovy
} } void assertHasPrefix(String pattern) { int startLine = actual.lastIndexOf('\n', index) if (startLine < 0) { startLine = 0 } else { startLine += 1 } String actualPrefix = actual.substring(startLine, index)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 15.6K bytes - Viewed (0) -
platforms/jvm/scala/src/main/java/org/gradle/api/internal/tasks/scala/MappedPosition.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 15:43:33 UTC 2023 - 2.7K bytes - Viewed (0) -
src/text/template/parse/lex.go
// thisItem returns the item at the current input point with the specified type // and advances the input. func (l *lexer) thisItem(t itemType) item { i := item{t, l.start, l.input[l.start:l.pos], l.startLine} l.start = l.pos l.startLine = l.line return i } // emit passes the trailing text as an item back to the parser. func (l *lexer) emit(t itemType) stateFn { return l.emitItem(l.thisItem(t)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 04 22:36:12 UTC 2022 - 18.1K bytes - Viewed (0)