Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 58 for readFile (6.76 sec)

  1. guava-tests/test/com/google/common/io/CharStreamsTest.java

            a.append(c);
            return this;
          }
        };
      }
    
      /** Wrap a readable in a readable to defeat any type specific optimizations. */
      private static Readable wrapAsGenericReadable(final Readable a) {
        return new Readable() {
          @Override
          public int read(CharBuffer cb) throws IOException {
            return a.read(cb);
          }
        };
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

            a.append(c);
            return this;
          }
        };
      }
    
      /** Wrap a readable in a readable to defeat any type specific optimizations. */
      private static Readable wrapAsGenericReadable(final Readable a) {
        return new Readable() {
          @Override
          public int read(CharBuffer cb) throws IOException {
            return a.read(cb);
          }
        };
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/MoreObjects.java

         * readable name.
         */
        @CanIgnoreReturnValue
        public ToStringHelper addValue(@CheckForNull Object value) {
          return addHolder(value);
        }
    
        /**
         * Adds an unnamed value to the formatted output.
         *
         * <p>It is strongly encouraged to use {@link #add(String, boolean)} instead and give value a
         * readable name.
         *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/ByteSourceTester.java

            "expected IllegalArgumentException for call to slice with length -1: " + source,
            IllegalArgumentException.class,
            () -> source.slice(0, -1));
      }
    
      // Test that you can not expand the readable data in a previously sliced ByteSource.
      public void testSlice_constrainedRange() throws IOException {
        long size = source.read().length;
        if (size >= 2) {
          ByteSource sliced = source.slice(1, size - 2);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  5. LICENSE

              the Derivative Works; and
    
          (d) If the Work includes a "NOTICE" text file as part of its
              distribution, then any Derivative Works that You distribute must
              include a readable copy of the attribution notices contained
              within such NOTICE file, excluding those notices that do not
              pertain to any part of the Derivative Works, in at least one
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 22 18:59:39 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RangeSet.java

       */
      @Override
      boolean equals(@CheckForNull Object obj);
    
      /** Returns {@code asRanges().hashCode()}. */
      @Override
      int hashCode();
    
      /**
       * Returns a readable string representation of this range set. For example, if this {@code
       * RangeSet} consisted of {@code Range.closed(1, 3)} and {@code Range.greaterThan(4)}, this might
       * return {@code " [1..3](4..+∞)}"}.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FilesTest.java

        assertThrows(NullPointerException.class, () -> Files.newReader(null, Charsets.UTF_8));
    
        BufferedReader r = Files.newReader(asciiFile, Charsets.US_ASCII);
        try {
          assertEquals(ASCII, r.readLine());
        } finally {
          r.close();
        }
      }
    
      public void testNewWriter() throws IOException {
        File temp = createTempFile();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/BaseEncoding.java

     * <td>{@link #base16()}
     * <td>0-9 A-F
     * <td>2.00
     * <td>N/A
     * <td>Traditional hexadecimal. Defaults to upper case.
     * <tr>
     * <td>{@link #base32()}
     * <td>A-Z 2-7
     * <td>1.60
     * <td>=
     * <td>Human-readable; no possibility of mixing up 0/O or 1/I. Defaults to upper case.
     * <tr>
     * <td>{@link #base32Hex()}
     * <td>0-9 A-V
     * <td>1.60
     * <td>=
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        } else {
          addPendingString(builder); // delegates to addDoneString if future completes midway
        }
        return builder.append("]").toString();
      }
    
      /**
       * Provide a human-readable explanation of why this future has not yet completed.
       *
       * @return null if an explanation cannot be provided (e.g. because the future is done).
       * @since 23.0
       */
      @CheckForNull
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/CharSource.java

          return reader.readLine();
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
       * Reads all the lines of this source as a list of strings. The returned list will be empty if
       * this source is empty.
       *
       * <p>Like {@link BufferedReader#readLine()}, this method considers a line to be a sequence of
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
Back to top