Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 374 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/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)
  6. 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)
  7. 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)
  8. 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)
  9. misc/ios/detect.go

    	}
    	return bytes.TrimSpace(out), nil
    }
    
    func getLines(cmd *exec.Cmd) [][]byte {
    	out := output(cmd)
    	lines := bytes.Split(out, []byte("\n"))
    	// Skip the empty line at the end.
    	if len(lines[len(lines)-1]) == 0 {
    		lines = lines[:len(lines)-1]
    	}
    	return lines
    }
    
    func output(cmd *exec.Cmd) []byte {
    	out, err := cmd.Output()
    	if err != nil {
    		fmt.Println(strings.Join(cmd.Args, "\n"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. pkg/proxy/util/linebuffer_test.go

    		name     string
    		expected int
    	}{
    		{
    			name:     "write no line",
    			expected: 0,
    		},
    		{
    			name:     "write one line",
    			expected: 1,
    		},
    		{
    			name:     "write 100 lines",
    			expected: 100,
    		},
    		{
    			name:     "write 1000 lines",
    			expected: 1000,
    		},
    		{
    			name:     "write 10000 lines",
    			expected: 10000,
    		},
    		{
    			name:     "write 100000 lines",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 12:38:25 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top