Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for Freddy (0.16 sec)

  1. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    
    /**
     * A convenience base class for implementors of {@code Hasher}; handles accumulating data until an
     * entire "chunk" (of implementation-dependent length) is ready to be hashed.
     *
     * @author Kevin Bourrillion
     * @author Dimitris Andreou
     */
    // TODO(kevinb): this class still needs some design-and-document-for-inheritance love
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java

    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /**
     * Tests for {@link ImmutableGraph} and {@link ImmutableGraph.Builder} that are not ready covered by
     * {@link StandardImmutableDirectedGraphTest}.
     */
    @RunWith(JUnit4.class)
    public class StandardImmutableGraphAdditionalTest {
    
      @Test
      public void immutableGraph() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Jan 09 20:24:43 GMT 2020
    - 4.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/AbstractCompositeHashFunction.java

        }
        this.functions = functions;
      }
    
      /**
       * Constructs a {@code HashCode} from the {@code Hasher} objects of the functions. Each of them
       * has consumed the entire input and they are ready to output a {@code HashCode}. The order of the
       * hashers are the same order as the functions given to the constructor.
       */
      // this could be cleaner if it passed HashCode[], but that would create yet another array...
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/CharSequenceReader.java

        checkOpen();
        int charsToSkip = (int) Math.min(remaining(), n); // safe because remaining is an int
        pos += charsToSkip;
        return charsToSkip;
      }
    
      @Override
      public synchronized boolean ready() throws IOException {
        checkOpen();
        return true;
      }
    
      @Override
      public boolean markSupported() {
        return true;
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertThrows(IOException.class, () -> reader.read(CharBuffer.allocate(10)));
    
        assertThrows(IOException.class, () -> reader.skip(10));
    
        assertThrows(IOException.class, () -> reader.ready());
    
        assertThrows(IOException.class, () -> reader.mark(10));
    
        assertThrows(IOException.class, () -> reader.reset());
      }
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/Cache.java

       * have been newly added to {@link ConcurrentMap}! These are marked with "Since: 1.8" in the
       * {@code ConcurrentMap} documentation. They will not function correctly and it is impossible for
       * Guava to fix them until Guava is ready to <i>require</i> Java 8 for all users.
       */
      ConcurrentMap<K, V> asMap();
    
      /**
       * Performs any pending maintenance operations needed by the cache. Exactly which activities are
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/HashFunction.java

     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    public interface HashFunction {
      /**
       * Begins a new hash code computation by returning an initialized, stateful {@code Hasher}
       * instance that is ready to receive data. Example:
       *
       * <pre>{@code
       * HashFunction hf = Hashing.md5();
       * HashCode hc = hf.newHasher()
       *     .putLong(id)
       *     .putBoolean(isActive)
       *     .hash();
       * }</pre>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 25 18:22:59 GMT 2021
    - 10.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * translates to "almost empty buffers", which can be filled immediately.
       *
       * On the other hand, past underutilization could mean that "the server responsible for handling
       * the request has become less ready for future requests", i.e. its caches become stale, and
       * requests become more likely to trigger expensive operations (a more extreme case of this
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/AbstractIterator.java

     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class AbstractIterator<T extends @Nullable Object> implements Iterator<T> {
      private State state = State.NOT_READY;
    
      protected AbstractIterator() {}
    
      private enum State {
        READY,
        NOT_READY,
        DONE,
        FAILED,
      }
    
      @CheckForNull private T next;
    
      @CheckForNull
      protected abstract T computeNext();
    
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/MultiReaderTest.java

        Reader joinedReader = CharSource.concat(list).openStream();
    
        assertTrue(joinedReader.ready());
        assertEquals('a', joinedReader.read());
        assertEquals('a', joinedReader.read());
        assertEquals(-1, joinedReader.read());
        assertFalse(joinedReader.ready());
      }
    
      public void testSimple() throws Exception {
        String testString = "abcdefgh";
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.7K bytes
    - Viewed (0)
Back to top