Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 63 for Peeker (0.02 sec)

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

     */
    
    package com.google.common.io;
    
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Options controlling the behavior of sources/sinks/streams for testing.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public enum TestOption {
      OPEN_THROWS,
      SKIP_THROWS,
      READ_THROWS,
      WRITE_THROWS,
      CLOSE_THROWS,
      AVAILABLE_ALWAYS_ZERO
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 931 bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/TestOption.java

     */
    
    package com.google.common.io;
    
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Options controlling the behavior of sources/sinks/streams for testing.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public enum TestOption {
      OPEN_THROWS,
      SKIP_THROWS,
      READ_THROWS,
      WRITE_THROWS,
      CLOSE_THROWS,
      AVAILABLE_ALWAYS_ZERO
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 931 bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/TestByteSink.java

    import java.io.IOException;
    import java.io.OutputStream;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * A byte sink for testing that has configurable behavior.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class TestByteSink extends ByteSink implements TestStreamSupplier {
    
      private final ByteArrayOutputStream bytes = new ByteArrayOutputStream();
      private final ImmutableSet<TestOption> options;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/TestCharSink.java

    import java.io.IOException;
    import java.io.OutputStreamWriter;
    import java.io.Writer;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * A char sink for testing that has configurable behavior.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class TestCharSink extends CharSink implements TestStreamSupplier {
    
      private final TestByteSink byteSink;
    
      public TestCharSink(TestOption... options) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/TestReader.java

    import java.io.ByteArrayInputStream;
    import java.io.FilterReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author Colin Decker
     */
    @NullUnmarked
    public class TestReader extends FilterReader {
    
      private final TestInputStream in;
    
      public TestReader(TestOption... options) throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/TestReader.java

    import java.io.ByteArrayInputStream;
    import java.io.FilterReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author Colin Decker
     */
    @NullUnmarked
    public class TestReader extends FilterReader {
    
      private final TestInputStream in;
    
      public TestReader(TestOption... options) throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/TestByteSource.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * A byte source for testing that has configurable behavior.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public final class TestByteSource extends ByteSource implements TestStreamSupplier {
    
      private final byte[] bytes;
      private final ImmutableSet<TestOption> options;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/TestByteSource.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * A byte source for testing that has configurable behavior.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public final class TestByteSource extends ByteSource implements TestStreamSupplier {
    
      private final byte[] bytes;
      private final ImmutableSet<TestOption> options;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CharSinkTest.java

    import java.io.StringReader;
    import java.io.Writer;
    import java.util.EnumSet;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for the default implementations of {@code CharSink} methods.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CharSinkTest extends IoTestCase {
    
      private static final String STRING = ASCII + I18N;
    
      private TestCharSink sink;
    
      @Override
      public void setUp() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/AbstractByteHasher.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Abstract {@link Hasher} that handles converting primitives to bytes using a scratch {@code
     * ByteBuffer} and streams all bytes to a sink to compute the hash.
     *
     * @author Colin Decker
     */
    abstract class AbstractByteHasher extends AbstractHasher {
      private @Nullable ByteBuffer scratch;
    
      /** Updates this hasher with the given byte. */
      protected abstract void update(byte b);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 12:40:17 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top