Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for forEachLine (0.07 seconds)

  1. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt

        }
    
        override fun execute() {
            val byCategory = mutableMapOf<String, ProjectNameToProblems>()
            parameters.reports.files.sorted().forEach { file ->
                file.forEachLine(Charsets.UTF_8) {
                    val (version, _, problem, relativePath, lineNumber) = it.split(';')
                    byCategory.getOrPut(toCategory(version, file.nameWithoutExtension)) {
                        mutableMapOf()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/CharSourceTest.java

      }
    
      public void testForEachLine() throws IOException {
        source = new TestCharSource(LINES);
    
        ImmutableList.Builder<String> builder = ImmutableList.builder();
        source.forEachLine(builder::add);
    
        assertEquals(SPLIT_LINES, builder.build());
        assertTrue(source.wasStreamOpened());
        assertTrue(source.wasStreamClosed());
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  3. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

        }
    
        private
        fun versionsDates(): Map<Version, String> {
            val versions = mutableMapOf<Version, String>()
            var version: String? = null
            parameters.releasedVersionsFile.get().asFile.forEachLine(Charsets.UTF_8) {
                val line = it.trim()
                if (line.startsWith("\"version\"")) {
                    version = line.substring(line.indexOf("\"", 11) + 1, line.lastIndexOf("\""))
                }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/io/CharSourceTest.java

      }
    
      public void testForEachLine() throws IOException {
        source = new TestCharSource(LINES);
    
        ImmutableList.Builder<String> builder = ImmutableList.builder();
        source.forEachLine(builder::add);
    
        assertEquals(SPLIT_LINES, builder.build());
        assertTrue(source.wasStreamOpened());
        assertTrue(source.wasStreamClosed());
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/io/CharSource.java

       */
      /*
       * We have to rely on users not to call this without library desugaring, as NewApi won't flag
       * Consumer creation.
       */
      @IgnoreJRERequirement
      public void forEachLine(Consumer<? super String> action) throws IOException {
        try (Stream<String> lines = lines()) {
          // The lines should be ordered regardless in most cases, but use forEachOrdered to be sure
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  6. guava/src/com/google/common/io/CharSource.java

       *     throws an {@code UncheckedIOException}
       * @since 22.0 (but only since 33.4.0 in the Android flavor)
       */
      public void forEachLine(Consumer<? super String> action) throws IOException {
        try (Stream<String> lines = lines()) {
          // The lines should be ordered regardless in most cases, but use forEachOrdered to be sure
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.3K bytes
    - Click Count (0)
Back to Top