Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 96 for Reaber (0.2 sec)

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

        CharSequenceReader reader = new CharSequenceReader(string);
        assertTrue(reader.markSupported());
    
        assertEquals(string, readFully(reader));
        assertFullyRead(reader);
    
        // reset and read again
        reader.reset();
        assertEquals(string, readFully(reader));
        assertFullyRead(reader);
    
        // reset, skip, mark, then read the rest
        reader.reset();
        assertEquals(5, reader.skip(5));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Closeables.java

       * flush all bytes to the underlying resource.
       *
       * @param reader the reader to be closed, or {@code null} in which case this method does nothing
       * @since 17.0
       */
      public static void closeQuietly(@CheckForNull Reader reader) {
        try {
          close(reader, true);
        } catch (IOException impossible) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeMultiset.java

        Serialization.getFieldSetter(TreeMultiset.class, "rootReference")
            .set(this, new Reference<AvlNode<E>>());
        AvlNode<E> header = new AvlNode<>();
        Serialization.getFieldSetter(TreeMultiset.class, "header").set(this, header);
        successor(header, header);
        Serialization.populateMultiset(this, stream);
      }
    
      @GwtIncompatible // not needed in emulated source
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/LineBufferTest.java

      }
    
      // Returns a Readable that is *not* a Reader.
      private static Readable getChunkedReadable(String input, int chunk) {
        final Reader reader = getChunkedReader(input, chunk);
        return new Readable() {
          @Override
          public int read(CharBuffer cbuf) throws IOException {
            return reader.read(cbuf);
          }
        };
      }
    
      private static Reader getChunkedReader(String input, final int chunk) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/BaseEncodingTest.java

            // of
            // InputStream.read(byte[], int, int)
            // See https://github.com/google/guava/issues/3542
            Reader reader = new StringReader(cannotDecode);
            InputStream decodingStream = encoding.decodingStream(reader);
            try {
              ByteStreams.exhaust(decodingStream);
              fail("Expected DecodingException");
            } catch (DecodingException expected) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Aug 25 16:34:08 GMT 2022
    - 24.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/HashMultisetTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // Only used by @GwtIncompatible code
      private static class MultisetHolder implements Serializable {
        public Multiset<?> member;
    
        MultisetHolder(Multiset<?> multiset) {
          this.member = multiset;
        }
    
        private static final long serialVersionUID = 1L;
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/SourceSinkTester.java

    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.Lists;
    import java.io.IOException;
    import java.io.Reader;
    import java.io.StringReader;
    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.util.List;
    import junit.framework.TestCase;
    
    /**
     * @param <S> the source or sink type
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 27 18:57:08 GMT 2022
    - 4.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       *
       * @param collection the presumed-immutable collection
       * @param sampleElement an element of the same type as that contained by {@code collection}.
       *     {@code collection} may or may not have {@code sampleElement} as a member.
       */
      public static <E extends @Nullable Object> void assertCollectionIsUnmodifiable(
          Collection<E> collection, E sampleElement) {
        Collection<E> siblingCollection = new ArrayList<>();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/SmallCharMatcher.java

      /*
       * This method was rewritten in Java from an intermediate step of the Murmur hash function in
       * http://code.google.com/p/smhasher/source/browse/trunk/MurmurHash3.cpp, which contained the
       * following header:
       *
       * MurmurHash3 was written by Austin Appleby, and is placed in the public domain. The author
       * hereby disclaims copyright to this source code.
       */
      static int smear(int hashCode) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.PrintStream;
    import java.io.PrintWriter;
    import java.io.Reader;
    import java.io.StringReader;
    import java.io.StringWriter;
    import java.io.Writer;
    import java.lang.reflect.AnnotatedElement;
    import java.lang.reflect.GenericDeclaration;
    import java.lang.reflect.Type;
    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)
Back to top