- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 220 for endLine (0.21 sec)
-
src/cmd/vendor/golang.org/x/build/relnote/relnote.go
if pkg != "" && pkg != prevPkg { h := stdlibPackageHeading(pkg, lastBlock(doc).Pos().EndLine) doc.Blocks = append(doc.Blocks, h) } prevPkg = pkg // Put a blank line between the current and new blocks, so that the end // of a file acts as a blank line. lastLine := lastBlock(doc).Pos().EndLine delta := lastLine + 2 - newdoc.Blocks[0].Pos().StartLine for _, b := range newdoc.Blocks {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 12.7K bytes - Viewed (0) -
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/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/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) -
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) -
src/cmd/trace/gen.go
var startStack, endStack trace.Stack var startG, endG trace.GoID startTime, endTime := ctx.startTime, ctx.endTime if task.Start != nil { startStack = task.Start.Stack() startG = task.Start.Goroutine() startTime = task.Start.Time() } if task.End != nil { endStack = task.End.Stack() endG = task.End.Goroutine() endTime = task.End.Time() } arg := struct { ID uint64 `json:"id"`
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 11.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/parameters/BuildProgressListenerAdapterForBuildOperationsTest.groovy
event } private InternalSuccessResult buildSuccess(long startTime, long endTime) { InternalSuccessResult result = Mock(InternalSuccessResult) result.startTime >> startTime result.endTime >> endTime result } private InternalFailureResult buildFailure(long startTime, long endTime, InternalFailure failure) { InternalFailureResult result = Mock(InternalFailureResult)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 13.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/CrossVersionTestEngine.java
import org.gradle.util.GradleVersion; import org.junit.platform.engine.ConfigurationParameters; import org.junit.platform.engine.DiscoveryFilter; import org.junit.platform.engine.DiscoverySelector; import org.junit.platform.engine.EngineDiscoveryListener; import org.junit.platform.engine.EngineDiscoveryRequest; import org.junit.platform.engine.ExecutionRequest; import org.junit.platform.engine.TestDescriptor; import org.junit.platform.engine.TestEngine;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 13.4K bytes - Viewed (0)