Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 168 for read (0.12 sec)

  1. android/guava/src/com/google/common/collect/RangeMap.java

       */
      void remove(Range<K> range);
    
      /**
       * Returns a view of this range map as an unmodifiable {@code Map<Range<K>, V>}. Modifications to
       * this range map are guaranteed to read through to the returned {@code Map}.
       *
       * <p>The returned {@code Map} iterates over entries in ascending order of the bounds of the
       * {@code Range} entries.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  2. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

    
            Did you *actually* encounter the need for this feature in a real-world scenario, or is it
            just a feature that seems like a sensible addition to Guava?
    
    
            Before new features get added to Guava, we really want to be sure that it's for a use case
            that actually comes up in the real world. We want to hear the real-world use case so the
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharSinkTest.java

     */
    
    package com.google.common.io;
    
    import static com.google.common.io.TestOption.CLOSE_THROWS;
    import static com.google.common.io.TestOption.OPEN_THROWS;
    import static com.google.common.io.TestOption.READ_THROWS;
    import static com.google.common.io.TestOption.WRITE_THROWS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableList;
    import java.io.IOException;
    import java.io.StringReader;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/ByteProcessor.java

    import java.io.IOException;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A callback interface to process bytes from a stream.
     *
     * <p>{@link #processBytes} will be called for each chunk of data that is read, and should return
     * {@code false} when you want to stop processing.
     *
     * @author Chris Nokleberg
     * @since 1.0
     */
    @DoNotMock("Implement it normally")
    @J2ktIncompatible
    @GwtIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/RandomAmountInputStream.java

      public RandomAmountInputStream(InputStream in, Random random) {
        super(checkNotNull(in));
        this.random = checkNotNull(random);
      }
    
      @Override
      public int read(byte[] b, int off, int len) throws IOException {
        return super.read(b, off, random.nextInt(len) + 1);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/HashMultimap.java

     * views are modifiable.
     *
     * <p>This class is not threadsafe when any concurrent operations update the multimap. Concurrent
     * read operations will work correctly if the last write <i>happens-before</i> any reads. To allow
     * concurrent update operations, wrap your multimap with a call to {@link
     * Multimaps#synchronizedSetMultimap}.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/LineProcessor.java

     * false} when you want to stop processing.
     *
     * @author Miles Barr
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public interface LineProcessor<T extends @Nullable Object> {
    
      /**
       * This method will be called once for each line.
       *
       * @param line the line read from the input, without delimiter
    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)
  8. guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

     * limitations under the License.
     */
    
    package com.google.common.base;
    
    import com.google.caliper.Benchmark;
    import java.util.concurrent.TimeUnit;
    
    /**
     * Simple benchmark: create, start, read. This does not currently report the most useful result
     * because it's ambiguous to what extent the stopwatch benchmark is being affected by GC.
     *
     * @author Kevin Bourrillion
     */
    public class StopwatchBenchmark {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.5K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

     * limitations under the License.
     */
    
    package com.google.common.base;
    
    import com.google.caliper.Benchmark;
    import java.util.concurrent.TimeUnit;
    
    /**
     * Simple benchmark: create, start, read. This does not currently report the most useful result
     * because it's ambiguous to what extent the stopwatch benchmark is being affected by GC.
     *
     * @author Kevin Bourrillion
     */
    public class StopwatchBenchmark {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/CompactHashing.java

       */
      static int tableGet(Object table, int index) {
        if (table instanceof byte[]) {
          return ((byte[]) table)[index] & BYTE_MASK; // unsigned read
        } else if (table instanceof short[]) {
          return ((short[]) table)[index] & SHORT_MASK; // unsigned read
        } else {
          return ((int[]) table)[index];
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 02 21:41:22 GMT 2021
    - 7.1K bytes
    - Viewed (0)
Back to top