Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,017 for line1 (0.07 sec)

  1. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            psOutput.forEach(line -> {
                Matcher commandLineArgsMatcher = commandLineArgsPattern.matcher(line);
                Matcher pidMatcher = pidPattern.matcher(line);
                if (commandLineArgsMatcher.find() && pidMatcher.find()) {
                    String pid = pidMatcher.group(1);
                    if (!MY_PID.equals(pid)) {
                        action.accept(pid, line);
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/ExhaustiveLinesSearcher.java

                    return false;
                }
            }
            return true;
        }
    
        /**
         * Finds all the lines in the actual line that match any line in the expected list.
         *
         * @return a map of expected line index to a list of all actual line indices that match the expected line
         */
        private static Map<Integer, List<Integer>> findMatchingLines(List<String> expectedLines, List<String> actualLines) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/util/PropertiesUtils.java

            List<String> nonCommentLines;
            if (lastCommentLine != -1) {
                lines.remove(lastCommentLine);
                nonCommentLines = lines.subList(lastCommentLine, lines.size());
            } else {
                nonCommentLines = lines;
            }
    
            Collections.sort(nonCommentLines);
            StringBuilder builder = new StringBuilder();
            for (String line : lines) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 14:17:21 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/logging/comparison/ExhaustiveLinesSearcherTest.groovy

        // region: assertLinesContainedIn
        def "neither expected or actual lines can be empty"() {
            when:
            comparer.assertLinesContainedIn([], ["a"])
            then:
            thrown(AssertionError)
    
            when:
            comparer.assertLinesContainedIn(["a"], [])
            then:
            thrown(AssertionError)
        }
    
        def "successful lines contained in comparisons: #expectedLines vs #actualLines"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-death-test-internal.h

                               int a_write_fd)
          : file_(a_file), line_(a_line), index_(an_index),
            write_fd_(a_write_fd) {}
    
      ~InternalRunDeathTestFlag() {
        if (write_fd_ >= 0)
          posix::Close(write_fd_);
      }
    
      const std::string& file() const { return file_; }
      int line() const { return line_; }
      int index() const { return index_; }
      int write_fd() const { return write_fd_; }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/LineReader.java

      private final char[] buf = cbuf.array();
    
      private final Queue<String> lines = new ArrayDeque<>();
      private final LineBuffer lineBuf =
          new LineBuffer() {
            @Override
            protected void handleLine(String line, String end) {
              lines.add(line);
            }
          };
    
      /** Creates a new instance that will read lines from the given {@code Readable} object. */
      public LineReader(Readable readable) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. src/cmd/gofmt/internal.go

    	// package line and source fragments are ok, fall through to
    	// try as a source fragment. Stop and return on any other error.
    	if err == nil || !fragmentOk || !strings.Contains(err.Error(), "expected 'package'") {
    		return
    	}
    
    	// If this is a declaration list, make it a source file
    	// by inserting a package clause.
    	// Insert using a ';', not a newline, so that the line numbers
    	// in psrc match the ones in src.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 28 14:23:08 UTC 2020
    - 5K bytes
    - Viewed (0)
  8. src/go/format/internal.go

    	// package line and source fragments are ok, fall through to
    	// try as a source fragment. Stop and return on any other error.
    	if err == nil || !fragmentOk || !strings.Contains(err.Error(), "expected 'package'") {
    		return
    	}
    
    	// If this is a declaration list, make it a source file
    	// by inserting a package clause.
    	// Insert using a ';', not a newline, so that the line numbers
    	// in psrc match the ones in src.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 28 14:23:08 UTC 2020
    - 5K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/ConsoleLayoutCalculatorTest.groovy

        def consoleLayoutCalculator = new ConsoleLayoutCalculator(consoleMetaData);
    
        def "lines should be ideal value if console is large enough"() {
            given:
            1 * consoleMetaData.getRows() >> 100
    
            expect:
            consoleLayoutCalculator.calculateNumWorkersForConsoleDisplay(5) == 5
        }
    
        def "lines should be half the console size for small consoles"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    if (line.length() == 0 || line.charAt(0) == '#') {
                        if (updater != null) {
                            updater.write(line);
                        }
                        continue; // ignore empty lines and comments
                    }
    
                    String[] inputs;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top