Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for processing (3.56 sec)

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

       *
       * @param line the line read from the input, without delimiter
       * @return true to continue processing, false to stop
       */
      @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)
  2. android/guava/src/com/google/common/io/ByteProcessor.java

       * @param len the length of data to be processed
       * @return true to continue processing, false to stop
       */
      @CanIgnoreReturnValue // some uses know that their processor never returns false
      boolean processBytes(byte[] buf, int off, int len) throws IOException;
    
      /** Return the result of processing all the bytes. */
      @ParametricNullness
      T getResult();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/EndpointPairIterator.java

       * visited twice if there is an edge connecting them. To avoid returning duplicate {@link
       * EndpointPair}s, we keep track of the nodes that we have visited. When processing endpoint
       * pairs, we skip if the "other node" is in the visited set, as shown below:
       *
       * <pre>
       * Nodes = {N1, N2, N3, N4}
       *    N2           __
       *   /  \         |  |
       * N1----N3      N4__|
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Hasher.java

      @CanIgnoreReturnValue
      @Override
      Hasher putBoolean(boolean b);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putChar(char c);
    
      /**
       * Equivalent to processing each {@code char} value in the {@code CharSequence}, in order. In
       * other words, no character encoding is performed; the low byte and high byte of each {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

        }
      }
    
      /*
       * This is overridden to improve performance. Rough benchmarking shows that this almost doubles
       * the speed when processing strings that do not require any escaping.
       */
      @Override
      public final String escape(String s) {
        checkNotNull(s); // GWT specific check (do not optimize)
        for (int i = 0; i < s.length(); i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/Resources.java

       * @param charset the charset used to decode the input stream; see {@link Charsets} for helpful
       *     predefined constants
       * @param callback the LineProcessor to use to handle the lines
       * @return the output of processing the lines
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue // some processors won't return a useful result
      @ParametricNullness
      public static <T extends @Nullable Object> T readLines(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

        }
        this.safeMin = safeMin;
        this.safeMax = safeMax;
      }
    
      /*
       * This is overridden to improve performance. Rough benchmarking shows that this almost doubles
       * the speed when processing strings that do not require any escaping.
       */
      @Override
      public final String escape(String s) {
        checkNotNull(s); // GWT specific check (do not optimize).
        for (int i = 0; i < s.length(); i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 6.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/LineBuffer.java

    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class LineBuffer {
      /** Holds partial line contents. */
      private StringBuilder line = new StringBuilder();
      /** Whether a line ending with a CR is pending processing. */
      private boolean sawReturn;
    
      /**
       * Process additional characters from the stream. When a line separator is found the contents of
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/PrimitiveSink.java

      PrimitiveSink putUnencodedChars(CharSequence charSequence);
    
      /**
       * Puts a string into this sink using the given charset.
       *
       * <p><b>Warning:</b> This method, which reencodes the input before processing it, is useful only
       * for cross-language compatibility. For other use cases, prefer {@link #putUnencodedChars}, which
       * is faster, produces the same output across Java releases, and processes every {@code char} in
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CharSourceTester.java

        List<String> list =
            source.readLines(
                new LineProcessor<List<String>>() {
                  List<String> list = Lists.newArrayList();
    
                  @Override
                  public boolean processLine(String line) throws IOException {
                    list.add(line);
                    return true;
                  }
    
                  @Override
                  public List<String> getResult() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 6.8K bytes
    - Viewed (0)
Back to top