Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for Tholin (0.17 sec)

  1. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 23 04:28:13 GMT 2015
    - 1.1K bytes
    - Viewed (0)
  2. android/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 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/TestByteSink.java

    import com.google.common.collect.ImmutableSet;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    
    /**
     * A byte sink for testing that has configurable behavior.
     *
     * @author Colin Decker
     */
    public class TestByteSink extends ByteSink implements TestStreamSupplier {
    
      private final ByteArrayOutputStream bytes = new ByteArrayOutputStream();
      private final ImmutableSet<TestOption> options;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 1.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. guava-tests/test/com/google/common/io/TestByteSink.java

    import com.google.common.collect.ImmutableSet;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    
    /**
     * A byte sink for testing that has configurable behavior.
     *
     * @author Colin Decker
     */
    public class TestByteSink extends ByteSink implements TestStreamSupplier {
    
      private final ByteArrayOutputStream bytes = new ByteArrayOutputStream();
      private final ImmutableSet<TestOption> options;
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Sep 15 13:47:32 GMT 2016
    - 1.8K bytes
    - Viewed (0)
  7. 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)
  8. 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 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

    import java.util.List;
    import java.util.concurrent.Callable;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link AbstractListeningExecutorService}.
     *
     * @author Colin Decker
     */
    public class AbstractListeningExecutorServiceTest extends TestCase {
    
      public void testSubmit() throws Exception {
        /*
         * Mostly just tests that TrustedListenableFutureTask are created and run; tests for
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

    import static org.junit.Assert.assertThrows;
    
    import java.io.ByteArrayOutputStream;
    import java.util.Random;
    import junit.framework.TestCase;
    
    /**
     * Tests for AbstractByteHasher.
     *
     * @author Colin Decker
     */
    public class AbstractByteHasherTest extends TestCase {
    
      public void testBytes() {
        TestHasher hasher = new TestHasher(); // byte order insignificant here
        byte[] expected = {1, 2, 3, 4, 5, 6, 7, 8};
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.8K bytes
    - Viewed (0)
Back to top