Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 877 for lineB (0.05 sec)

  1. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/jvm/toolchain/internal/ShowToolchainsTaskTest.groovy

                // 6
                """       | Error:              {description}line0{normal}
           |     Caused by:      {description}line1{normal}
           |     Caused by:      {description}line2{normal}
           |     Caused by:      {description}line3{normal}
           |     Caused by:      {description}line4{normal}
           |     Caused by:      {description}line5{normal}
           |                     {description}...{normal}""",
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. 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)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/LockFileReaderWriterTest.groovy

            given:
            def lockFile = lockDir.file('conf.lockfile')
            lockFile << """#Ignored
    line1
    
    line2"""
    
            when:
            def result = lockFileReaderWriter.readLockFile('conf')
    
            then:
            result == ['line1', 'line2']
    
            1 * listener.fileObserved(lockFile)
        }
    
        def 'reads a unique lock file'() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. src/text/tabwriter/tabwriter.go

    // Returns the buffer position corresponding to the beginning of
    // line1 and an error, if any.
    func (b *Writer) format(pos0 int, line0, line1 int) (pos int) {
    	pos = pos0
    	column := len(b.widths)
    	for this := line0; this < line1; this++ {
    		line := b.lines[this]
    
    		if column >= len(line)-1 {
    			continue
    		}
    		// cell exists in this column => this line
    		// has more cells than the previous line
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 16:46:34 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  5. 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)
  6. src/net/textproto/reader_test.go

    	line := strings.Repeat("12345", 10000)
    	r := reader(line + "\r\n")
    	s, err := r.ReadLine()
    	if err != nil {
    		t.Fatalf("Line 1: %v", err)
    	}
    	if s != line {
    		t.Fatalf("%v-byte line does not match expected %v-byte line", len(s), len(line))
    	}
    }
    
    func TestReadContinuedLine(t *testing.T) {
    	r := reader("line1\nline\n 2\nline3\n")
    	s, err := r.ReadContinuedLine()
    	if s != "line1" || err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 05 18:31:56 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/LogContent.java

         */
        public ImmutableList<String> getLines() {
            return lines;
        }
    
        /**
         * Returns the first line. The text does not include the line separator.
         */
        public String getFirst() {
            return lines.get(0);
        }
    
        /**
         * Visits each line in this content. The line does not include the line separator.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/parser_test.go

    		{"//line foo:x\n", "invalid line number: x", filename, 1, 12},
    		{"//line foo:0\n", "invalid line number: 0", filename, 1, 12},
    		{"//line foo:1 \n", "invalid line number: 1 ", filename, 1, 12},
    		{"//line foo:-12\n", "invalid line number: -12", filename, 1, 12},
    		{"//line C:foo:0\n", "invalid line number: 0", filename, 1, 14},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 16:30:19 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/ReadelfBinaryInfo.groovy

            def process = ['readelf', '-d', binaryFile.absolutePath].execute()
            List<String> lines = process.inputStream.readLines()
            return readSoName(lines)
        }
    
        @VisibleForTesting
        static String readSoName(List<String> lines) {
            final Pattern pattern = ~/^.*\(SONAME\)\s+.*soname.*\: \[(.*)\]$/
            String matchingLine = lines.find {
                pattern.matcher(it).matches()
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 15:17:55 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    			stack = append(stack, callID{
    				file: callees[j].File,
    				line: callees[j].Line,
    			})
    		}
    		file.lines[f.Line] = append(file.lines[f.Line], sourceInst{addr, stack})
    
    		// Remember the first function name encountered per source line
    		// and assume that that line belongs to that function.
    		if _, ok := file.funcName[f.Line]; !ok {
    			file.funcName[f.Line] = f.Func
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
Back to top