Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 541 for line3 (0.13 sec)

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

            DaemonLogFileUtils.tail(logFile, 1) == "line3"
        }
    
        def "returns at most n lines"() {
            given:
            def logFile = log("""\
                line1
                line2
                line3
            """)
    
            expect:
            DaemonLogFileUtils.tail(logFile, 2) == "line2\nline3"
        }
    
        def "returns all output if the log is too short"() {
            given:
            def logFile = log("""\
    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. 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)
  3. pkg/util/iptables/iptables_test.go

    		count: 0,
    		line:  3,
    		want:  mkLines(LineData{3, "Line3: 3"}),
    	}, {
    		name:  "test-common-cases",
    		count: 3,
    		line:  6,
    		want: mkLines(
    			LineData{3, "Line3: 3"},
    			LineData{4, "Line4: 4"},
    			LineData{5, "Line5: 5"},
    			LineData{6, "Line6: 6"},
    			LineData{7, "Line7: 7"},
    			LineData{8, "Line8: 8"},
    			LineData{9, "Line9: 9"}),
    	}, {
    		name:  "test4-bound-cases",
    		count: 11,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 08 15:21:59 UTC 2023
    - 46.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/debug/dwarf/testdata/line1.c

    #include "line1.h"
    
    void f2();
    
    int main()
    {
    	f1();
    	f2();
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 10 02:32:48 UTC 2015
    - 61 bytes
    - Viewed (0)
  8. 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)
  9. cmd/kubeadm/app/cmd/util/documentation_test.go

    			out:  "",
    		},
    		{
    			desc: "Single line text is preserved as is",
    			in:   "Some text",
    			out:  "Some text",
    		},
    		{
    			desc: "Consecutive new lines are combined into a single paragraph",
    			in:   "Line1\nLine2",
    			out:  "Line1 Line2",
    		},
    		{
    			desc: "Leading and trailing spaces are stripped (single line)",
    			in:   "\t  \nThe text line  \n  \t",
    			out:  "The text line",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 24 11:40:55 UTC 2019
    - 2.8K bytes
    - Viewed (0)
  10. 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)
Back to top