Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 419 for line1 (0.16 sec)

  1. platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/launcher/daemon/diagnostics/DaemonLogFileUtilsTest.groovy

        }
    
        def "returns last line if the limit is one"() {
            given:
            def logFile = log("""\
                line1
                line2
                line3""")
    
            expect:
            DaemonLogFileUtils.tail(logFile, 1) == "line3"
        }
    
        def "input-ending eoln is ignored"() {
            given:
            def logFile = log("""\
                line1
                line2
                line3
            """)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. cmd/update-notifier_test.go

    			// Valid no update message case. No further
    			// validation needed.
    			continue
    		case !strings.Contains(output, line1):
    			t.Errorf("Testcase %d: output '%s' did not contain line 1: '%s'", i+1, output, line1)
    		case !strings.Contains(output, line2):
    			t.Errorf("Testcase %d: output '%s' did not contain line 2: '%s'", i+1, output, line2)
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jul 31 15:36:19 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. src/testing/cover.go

    // the file is number 1, for example. Columns are measured
    // in bytes.
    // NOTE: This struct is internal to the testing infrastructure and may change.
    // It is not covered (yet) by the Go 1 compatibility guidelines.
    type CoverBlock struct {
    	Line0 uint32 // Line number for block start.
    	Col0  uint16 // Column number for block start.
    	Line1 uint32 // Line number for block end.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:37:31 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsCompatibilityIntegrationTest.groovy

                    String lineA
                    while ((lineA = bufferedReaderA.readLine()) != null) {
                        IoActions.withResource(new BufferedReader(new FileReader(textFileB)), new Action<BufferedReader>() {
                            void execute(BufferedReader bufferedReaderB) {
                                String lineB
                                while ((lineB = bufferedReaderB.readLine()) != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  5. src/runtime/symtab_test.go

    		{"lineVar2a", lineVar2a, 3},
    		{"lineVar2b", lineVar2b, 3},
    		{"compLit[0].lineA", compLit[0].lineA, 9},
    		{"compLit[0].lineB", compLit[0].lineB, 9},
    		{"compLit[1].lineA", compLit[1].lineA, 12},
    		{"compLit[1].lineB", compLit[1].lineB, 13},
    		{"compLit[2].lineA", compLit[2].lineA, 17},
    		{"compLit[2].lineB", compLit[2].lineB, 16},
    
    		{"arrayLit[0]", arrayLit[0], 20},
    		{"arrayLit[1]", arrayLit[1], 21},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 21:46:33 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  6. src/cmd/internal/objabi/line.go

    Russ Cox <******@****.***> 1669995570 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 23:10:31 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/line.go

    }
    
    // getFileIndexAndLine returns the relative file index (local to the CU), and
    // the relative line number for a position (i.e., as adjusted by a //line
    // directive). This is the file/line visible in the final binary (pcfile, pcln,
    // etc).
    func (ctxt *Link) getFileIndexAndLine(xpos src.XPos) (int, int32) {
    	pos := ctxt.InnermostPos(xpos)
    	if !pos.IsKnown() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 892 bytes
    - Viewed (0)
  8. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/Line.java

    import java.util.Arrays;
    import java.util.List;
    import java.util.stream.Collectors;
    import java.util.stream.IntStream;
    
    public class Line {
        String label;
        List<List<Number>> data;
    
        public Line(MeasuredOperationList measuredOperations) {
            List<Double> points = measuredOperations.getTotalTime().asDoubleList();
            this.label = measuredOperations.getName();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. docs/en/docs/js/termynal.js

        }
    
        /**
         * Animate a typed line.
         * @param {Node} line - The line element to render.
         */
        async type(line) {
            const chars = [...line.textContent];
            line.textContent = '';
            this.container.appendChild(line);
    
            for (let char of chars) {
                const delay = line.getAttribute(`${this.pfx}-typeDelay`) || this.typeDelay;
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/stmtlines_test.go

    		for {
    			err := lrdr.Next(&le)
    			if err == io.EOF {
    				break
    			}
    			must(err)
    			fl := Line{le.File.Name, le.Line}
    			lines[fl] = lines[fl] || le.IsStmt
    		}
    	}
    
    	nonStmtLines := []Line{}
    	for line, isstmt := range lines {
    		if !isstmt {
    			nonStmtLines = append(nonStmtLines, line)
    		}
    	}
    
    	var m int
    	if runtime.GOARCH == "amd64" {
    		m = 1 // > 99% obtained on amd64, no backsliding
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 17:05:14 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top