Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 122 for colin (0.15 sec)

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

    import static com.google.common.base.Charsets.UTF_8;
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import java.io.FilterWriter;
    import java.io.IOException;
    import java.io.OutputStreamWriter;
    
    /** @author Colin Decker */
    public class TestWriter extends FilterWriter {
    
      private final TestOutputStream out;
    
      public TestWriter(TestOption... options) throws IOException {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/TestCharSink.java

    import java.io.FilterWriter;
    import java.io.IOException;
    import java.io.OutputStreamWriter;
    import java.io.Writer;
    
    /**
     * A char sink for testing that has configurable behavior.
     *
     * @author Colin Decker
     */
    public class TestCharSink extends CharSink implements TestStreamSupplier {
    
      private final TestByteSink byteSink;
    
      public TestCharSink(TestOption... options) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java

    import static com.google.common.hash.Hashing.ChecksumType.CRC_32;
    
    import java.util.zip.Checksum;
    import junit.framework.TestCase;
    
    /**
     * Tests for ChecksumHashFunction.
     *
     * @author Colin Decker
     */
    public class ChecksumHashFunctionTest extends TestCase {
    
      public void testCrc32_equalsChecksumValue() throws Exception {
        assertChecksum(CRC_32, "");
        assertChecksum(CRC_32, "Z");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 14:33:12 GMT 2018
    - 3.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/ByteSinkTest.java

    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.util.EnumSet;
    
    /**
     * Tests for the default implementations of {@code ByteSink} methods.
     *
     * @author Colin Decker
     */
    public class ByteSinkTest extends IoTestCase {
    
      private final byte[] bytes = newPreFilledByteArray(10000);
    
      private TestByteSink sink;
    
      @Override
      protected void setUp() throws Exception {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/TestReader.java

    import static com.google.common.base.Preconditions.checkNotNull;
    
    import java.io.ByteArrayInputStream;
    import java.io.FilterReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    
    /** @author Colin Decker */
    public class TestReader extends FilterReader {
    
      private final TestInputStream in;
    
      public TestReader(TestOption... options) throws IOException {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/TestOption.java

     * limitations under the License.
     */
    
    package com.google.common.io;
    
    /**
     * Options controlling the behavior of sources/sinks/streams for testing.
     *
     * @author Colin Decker
     */
    public enum TestOption {
      OPEN_THROWS,
      SKIP_THROWS,
      READ_THROWS,
      WRITE_THROWS,
      CLOSE_THROWS,
      AVAILABLE_ALWAYS_ZERO
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 08 16:34:30 GMT 2013
    - 870 bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/TestByteSource.java

    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Random;
    
    /**
     * A byte source for testing that has configurable behavior.
     *
     * @author Colin Decker
     */
    public final class TestByteSource extends ByteSource implements TestStreamSupplier {
    
      private final byte[] bytes;
      private final ImmutableSet<TestOption> options;
    
      private boolean inputStreamOpened;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 1.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/TestReader.java

    import static com.google.common.base.Preconditions.checkNotNull;
    
    import java.io.ByteArrayInputStream;
    import java.io.FilterReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    
    /** @author Colin Decker */
    public class TestReader extends FilterReader {
    
      private final TestInputStream in;
    
      public TestReader(TestOption... options) throws IOException {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/TestOutputStream.java

    import com.google.common.collect.ImmutableSet;
    import java.io.FilterOutputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.util.Arrays;
    
    /** @author Colin Decker */
    public class TestOutputStream extends FilterOutputStream {
    
      private final ImmutableSet<TestOption> options;
      private boolean closed;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/TestInputStream.java

    import com.google.common.collect.ImmutableSet;
    import java.io.FilterInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Arrays;
    
    /** @author Colin Decker */
    public class TestInputStream extends FilterInputStream {
    
      private final ImmutableSet<TestOption> options;
      private boolean closed;
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.5K bytes
    - Viewed (0)
Back to top