Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 149 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/ExecutionGraph.java

    public class ExecutionGraph {
        // Execution 1,2,3, starting from 1
        int index;
        String title;
        List<Line> data;
    
        public ExecutionGraph(int index, Line... lines) {
            this.index = index;
            this.title = "Execution " + index + " (ms)";
            this.data = Arrays.asList(lines);
        }
    
        String getData() {
            return JsonOutput.toJson(data);
        }
    
        String getTicks() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/ParameterUtil.java

                final String[] lines = value.split("[\r\n]");
                for (final String line : lines) {
                    if (StringUtil.isNotBlank(line)) {
                        final int pos = line.indexOf('=');
                        if (pos == 0) {
                            paramMap.put("unknown." + (unknownKey + 1), line.substring(pos + 1).trim());
                            unknownKey++;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    // Remove comments
                    final String replacedLine = line.replaceAll("#.*$", StringUtil.EMPTY).trim();
    
                    // Skip empty lines or comment lines
                    if (replacedLine.length() == 0) {
                        if (updater != null) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AnyOrderOutputMatcher.groovy

                } else {
                    Assert.fail("Line missing from output.${NL}${expectedLine}${NL}---${NL}Actual output:${NL}$actual${NL}---")
                }
            }
    
            if (!(ignoreExtraLines || unmatchedLines.empty)) {
                def unmatched = unmatchedLines.join(NL)
                Assert.fail("Extra lines in output.${NL}${unmatched}${NL}---${NL}Actual output:${NL}$actual${NL}---")
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top