- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 88 for Colin (0.2 sec)
-
guava-tests/test/com/google/common/io/TestCharSource.java
import java.io.IOException; import java.io.InputStreamReader; import java.io.Reader; /** * A char source for testing that has configurable options. * * @author Colin Decker */ public class TestCharSource extends CharSource implements TestStreamSupplier { private final TestByteSource byteSource; public TestCharSource(String content, TestOption... options) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Fri Nov 09 21:39:24 GMT 2012 - 1.4K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/ChecksumHashFunction.java
import com.google.errorprone.annotations.Immutable; import java.io.Serializable; import java.util.zip.Checksum; /** * {@link HashFunction} adapter for {@link Checksum} instances. * * @author Colin Decker */ @Immutable @ElementTypesAreNonnullByDefault final class ChecksumHashFunction extends AbstractHashFunction implements Serializable { private final ImmutableSupplier<? extends Checksum> checksumSupplier;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 20 18:43:59 GMT 2021 - 2.7K bytes - Viewed (0) -
android/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 May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.7K bytes - Viewed (0) -
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 12 12:43:09 GMT 2024 - Last Modified: Thu Sep 15 13:47:32 GMT 2016 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkTester.java
import java.util.List; import junit.framework.TestCase; /** * @param <S> the source or sink type * @param <T> the data type (byte[] or String) * @param <F> the factory type * @author Colin Decker */ @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it). public class SourceSinkTester<S, T, F extends SourceSinkFactory<S, T>> extends TestCase {
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) -
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 12 12:43:09 GMT 2024 - Last Modified: Fri Nov 09 21:39:24 GMT 2012 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
import static org.junit.Assert.assertThrows; import java.io.IOException; import java.nio.CharBuffer; import junit.framework.TestCase; /** * Tests for {@link CharSequenceReader}. * * @author Colin Decker */ public class CharSequenceReaderTest extends TestCase { public void testReadEmptyString() throws IOException { assertReadsCorrectly(""); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/TestStreamSupplier.java
* Interface for a supplier of streams that can report whether a stream was opened and whether that * stream was closed. Intended for use in a test where only a single stream should be opened and * possibly closed. * * @author Colin Decker */ public interface TestStreamSupplier { /** Returns whether or not a new stream was opened. */ boolean wasStreamOpened(); /** Returns whether or not an open stream was closed. */
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/GoogleHelpers.java
import com.google.common.annotations.GwtCompatible; import com.google.common.collect.Multimap; /** * Helper methods/assertions for use with {@code com.google.common.collect} types. * * @author Colin Decker */ @GwtCompatible final class GoogleHelpers { private GoogleHelpers() {} static void assertEmpty(Multimap<?, ?> multimap) { if (!multimap.isEmpty()) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Apr 21 02:27:51 GMT 2017 - 1.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java
import com.google.common.collect.ImmutableSet; import com.google.common.collect.Iterators; import java.util.Iterator; import junit.framework.TestCase; /** * Tests for {@link SubscriberRegistry}. * * @author Colin Decker */ public class SubscriberRegistryTest extends TestCase { private final SubscriberRegistry registry = new SubscriberRegistry(new EventBus()); public void testRegister() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 5.7K bytes - Viewed (0)