Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 276 for line1 (0.04 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/pprof/pprof.go

    		}
    		f.pcln = pcln
    	}
    	addr -= f.offset
    	file, line, fn := f.pcln.PCToLine(addr)
    	if fn != nil {
    		frame := []driver.Frame{
    			{
    				Func: fn.Name,
    				File: file,
    				Line: line,
    			},
    		}
    		return frame, nil
    	}
    
    	frames := f.dwarfSourceLine(addr)
    	if frames != nil {
    		return frames, nil
    	}
    
    	return nil, fmt.Errorf("no line information for PC=%#x", addr)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/integtests/resolve/locking/LockfileFixture.groovy

            def lines = new ArrayList(LockFileReaderWriter.LOCKFILE_HEADER_LIST)
            if (modules.isEmpty()) {
                lines.add("empty=$configuration")
            } else {
                lines.addAll modules.toSorted().collect({ "$it=$configuration".toString() })
                lines.add("empty=")
            }
            lockFile.writelns(lines)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. operator/pkg/util/progress/progress.go

    // around the limitations of the pb library, which will only support single lines. To do this, we aggregate
    // the current components into a single line, and as components complete there final state is persisted to a new line.
    type Log struct {
    	components map[string]*ManifestLog
    	bar        *pb.ProgressBar
    	template   string
    	mu         sync.Mutex
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/ops/gen/common/source_code.cc

      string code;
      for (const Line& line : lines_) {
        absl::StrAppend(&code, string(line.indent * spaces_per_indent_, ' '),
                        line.text, "\n");
      }
      return code;
    }
    
    void SourceCode::AddLineWithIndent(const string& line) {
      ValidateAndAddLine(current_indent_, line);
    }
    
    void SourceCode::AddLineWithoutIndent(const string& line) {
      ValidateAndAddLine(0, line);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. security/pkg/pki/testdata/cert-chain-trailing-line.pem

    sschepens <******@****.***> 1717506007 -0300
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 13:00:07 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top