Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for readFile (0.16 sec)

  1. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertEquals(-1, ArbitraryInstances.get(InputStream.class).read());
        assertEquals(-1, ArbitraryInstances.get(ByteArrayInputStream.class).read());
        assertEquals(-1, ArbitraryInstances.get(Readable.class).read(CharBuffer.allocate(1)));
        assertEquals(-1, ArbitraryInstances.get(Reader.class).read());
        assertEquals(-1, ArbitraryInstances.get(StringReader.class).read());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/Types.java

      @VisibleForTesting
      static WildcardType supertypeOf(Type lowerBound) {
        return new WildcardTypeImpl(new Type[] {lowerBound}, new Type[] {Object.class});
      }
    
      /**
       * Returns a human-readable string representation of {@code type}.
       *
       * <p>The format is subject to change.
       */
      static String toString(Type type) {
        return (type instanceof Class) ? ((Class<?>) type).getName() : type.toString();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

       *
       * <p><b>Performance note:</b> When feasible, {@code initialCapacity} should be the exact number
       * of values that will be added, if that knowledge is readily available. It is better to guess a
       * value slightly too high than slightly too low. If the value is not exact, the {@link
       * ImmutableIntArray} that is built will very likely occupy more memory than strictly necessary;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

       *
       * <p><b>Performance note:</b> When feasible, {@code initialCapacity} should be the exact number
       * of values that will be added, if that knowledge is readily available. It is better to guess a
       * value slightly too high than slightly too low. If the value is not exact, the {@link
       * ImmutableDoubleArray} that is built will very likely occupy more memory than strictly
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      StringReader generateStringReader() {
        return new StringReader(generateString());
      }
    
      @Generates
      Reader generateReader() {
        return generateStringReader();
      }
    
      @Generates
      Readable generateReadable() {
        return generateReader();
      }
    
      @Generates
      Buffer generateBuffer() {
        return generateCharBuffer();
      }
    
      @Generates
      CharBuffer generateCharBuffer() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Monitor.java

    /**
     * A synchronization abstraction supporting waiting on arbitrary boolean conditions.
     *
     * <p>This class is intended as a replacement for {@link ReentrantLock}. Code using {@code Monitor}
     * is less error-prone and more readable than code using {@code ReentrantLock}, without significant
     * performance loss. {@code Monitor} even has the potential for performance gain by optimizing the
     * evaluation and signaling of conditions. Signaling is entirely <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top