Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Raines (0.19 sec)

  1. android/guava/src/com/google/common/io/CharStreams.java

        if (r instanceof Reader) {
          copyReaderToBuilder((Reader) r, sb);
        } else {
          copy(r, sb);
        }
        return sb;
      }
    
      /**
       * Reads all of the lines from a {@link Readable} object. The lines do not include
       * line-termination characters, but do include other leading and trailing whitespace.
       *
       * <p>Does not close the {@code Readable}. If reading files or resources you should use the {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Files.java

      }
    
      /**
       * Streams lines from a {@link File}, stopping when our callback returns false, or we have read
       * all of the lines.
       *
       * @param file the file to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
       * @param callback the {@link LineProcessor} to use to handle the lines
       * @return the output of processing the lines
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Splitter.java

      }
    
      /**
       * Returns a splitter that considers any subsequence matching {@code pattern} to be a separator.
       * For example, {@code Splitter.on(Pattern.compile("\r?\n")).split(entireFile)} splits a string
       * into lines whether it uses DOS-style or UNIX-style line terminators.
       *
       * @param separatorPattern the pattern that determines whether a subsequence is a separator. This
       *     pattern may not match the empty string.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CharSourceTester.java

        }
        reader.close();
        writer.close();
    
        assertExpectedString(writer.toString());
      }
    
      public void testLines() throws IOException {
        try (Stream<String> lines = source.lines()) {
          assertExpectedLines(lines.collect(toImmutableList()));
        }
      }
    
      public void testCopyTo_appendable() throws IOException {
        StringBuilder builder = new StringBuilder();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 7.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/LineProcessor.java

       */
      @CanIgnoreReturnValue // some uses know that their processor never returns false
      boolean processLine(String line) throws IOException;
    
      /** Return the result of processing all the lines. */
      @ParametricNullness
      T getResult();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Splitter.java

      }
    
      /**
       * Returns a splitter that considers any subsequence matching {@code pattern} to be a separator.
       * For example, {@code Splitter.on(Pattern.compile("\r?\n")).split(entireFile)} splits a string
       * into lines whether it uses DOS-style or UNIX-style line terminators.
       *
       * @param separatorPattern the pattern that determines whether a subsequence is a separator. This
       *     pattern may not match the empty string.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Striped64.java

       * scattered in memory and thus don't interfere much with each
       * other. But Atomic objects residing in arrays will tend to be
       * placed adjacent to each other, and so will most often share
       * cache lines (with a huge negative performance impact) without
       * this precaution.
       *
       * In part because Cells are relatively large, we avoid creating
       * them until they are needed.  When there is no contention, all
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

    depyt,naecolatigidno,poon,r&cne,emarf,?sserpirots,t&i&belet,l&maerts,per:.di,,??xenw,?wolfrettulf,yfilten,??ra&a?hs??u&ekam?llag?org!.esruocsid,cts?kouk?nayalo???vsr?xece4ibgm--nx??q&a!3a9y--nx??g?i!.&gro?lim?moc?ten?ude?vog???m?se??r&a!.&a&cisum?sanes??bog?gro?l&autum?im??moc!.topsgolb,?pooc?rut?t&e&b?n??ni??ude?vog??4d5a4prebgm--nx?b?c?eydoog?los?t&at?s!uen???ugaj??b!.&21g?a&b&a&coros?iuc??itiruc??cnogoas?dicerapa?gniram?i&naiog?ramatnas??n&erom?irdnol??op?p&acam?irolf?ma&j?s???rief?tsivaob??b...
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 21 21:04:43 GMT 2024
    - 72.4K bytes
    - Viewed (1)
  9. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        TestCharSource lines = new TestCharSource(LINES);
        assertEquals("foo", lines.readFirstLine());
        assertTrue(lines.wasStreamOpened() && lines.wasStreamClosed());
      }
    
      public void testReadLines_toList() throws IOException {
        TestCharSource lines = new TestCharSource(LINES);
        assertEquals(ImmutableList.of("foo", "bar", "baz", "something"), lines.readLines());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/CharSinkTester.java

        }
        return stringSuite;
      }
    
      private final ImmutableList<String> lines;
      private final ImmutableList<String> expectedLines;
    
      private CharSink sink;
    
      public CharSinkTester(
          CharSinkFactory factory, String string, String suiteName, String caseDesc, Method method) {
        super(factory, string, suiteName, caseDesc, method);
        this.lines = getLines(string);
        this.expectedLines = getLines(expected);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 4.4K bytes
    - Viewed (0)
Back to top