Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,017 for line1 (0.09 sec)

  1. 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)
  2. guava/src/com/google/common/io/CharSink.java

        writeLines(lines, System.getProperty("line.separator"));
      }
    
      /**
       * Writes the given lines of text to this sink with each line (including the last) terminated with
       * the given line separator.
       *
       * @throws IOException if an I/O error occurs while writing to this sink
       */
      public void writeLines(Iterable<? extends CharSequence> lines, String lineSeparator)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/lex/lex_test.go

    	{
    		"argumented macro invoked without arguments",
    		lines(
    			"#define X() foo ",
    			"X()",
    			"X",
    		),
    		"foo.\n.X.\n",
    	},
    	{
    		"multiline macro without arguments",
    		lines(
    			"#define A 1\\",
    			"\t2\\",
    			"\t3",
    			"before",
    			"A",
    			"after",
    		),
    		"before.\n.1.\n.2.\n.3.\n.after.\n",
    	},
    	{
    		"multiline macro with arguments",
    		lines(
    			"#define A(a, b, c) a\\",
    			"\tb\\",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        assertEquals(TEXT, CharStreams.toString(new StringReader(TEXT)));
      }
    
      public void testReadLines() throws IOException {
        List<String> lines = CharStreams.readLines(new StringReader("a\nb\nc"));
        assertEquals(ImmutableList.of("a", "b", "c"), lines);
      }
    
      public void testReadLines_withLineProcessor() throws IOException {
        String text = "a\nb\nc";
    
        // Test a LineProcessor that always returns false.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/CharStreamsTest.java

        assertEquals(TEXT, CharStreams.toString(new StringReader(TEXT)));
      }
    
      public void testReadLines() throws IOException {
        List<String> lines = CharStreams.readLines(new StringReader("a\nb\nc"));
        assertEquals(ImmutableList.of("a", "b", "c"), lines);
      }
    
      public void testReadLines_withLineProcessor() throws IOException {
        String text = "a\nb\nc";
    
        // Test a LineProcessor that always returns false.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/base/timings.go

    }
    
    func (lines lines) write(w io.Writer) {
    	// determine column widths and contents
    	var widths []int
    	var number []bool
    	for _, line := range lines {
    		for i, col := range line {
    			if i < len(widths) {
    				if len(col) > widths[i] {
    					widths[i] = len(col)
    				}
    			} else {
    				widths = append(widths, len(col))
    				number = append(number, isnumber(col)) // first line determines column contents
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. pkg/util/iptables/iptables.go

    	}
    	line, errMsg := strconv.Atoi(matches[1])
    	if errMsg != nil {
    		return nil, false
    	}
    	return parseError{cmd: cmd, line: line}, true
    }
    
    // ExtractLines extracts the -count and +count data from the lineNum row of lines and return
    // NOTE: lines start from line 1
    func ExtractLines(lines []byte, line, count int) []LineData {
    	// first line is line 1, so line can't be smaller than 1
    	if line < 1 {
    		return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 28.6K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractLoggingHooksFunctionalTest.groovy

            lines = file("output.txt").text.readLines()
    
            then:
            lines.containsAll([
                    'error',
                    'System.out',
                    'System.err'
            ])
    
            and:
            !lines.contains('debug')
            !lines.contains('info')
            !lines.contains('lifecycle')
            !lines.contains('warn')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/SpringBootWebAppTestOutputNormalizer.groovy

            List<String> lines = output.readLines()
            int buildSuccessfulLineIndex = lines.indexOf("BUILD SUCCESSFUL in 0s")
            assert buildSuccessfulLineIndex != -1
    
            List<String> normalized = lines.subList(0, buildSuccessfulLineIndex).grep { !it.isEmpty() } + "" + lines.subList(buildSuccessfulLineIndex, lines.size())
            return normalized.join("\n")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

                    List<String> lines = new ArrayList<>();
                    String line;
                    while ((line = reader.readLine()) != null) {
                        if (matcher.matches(line)) {
                            lines.add(line);
                        }
                    }
                    return lines;
                }
            } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top