Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 95 for Tholin (0.19 sec)

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

     * expected to contain as well as sub-suites for testing the {@code CharSource} view and {@code
     * slice()} views in the same way.
     *
     * @author Colin Decker
     */
    @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it).
    public class ByteSourceTester extends SourceSinkTester<ByteSource, byte[], ByteSourceFactory> {
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  2. android/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)
  3. android/guava/src/com/google/common/io/CharSink.java

     * character encoding} using {@link ByteSink#asCharSink(Charset)}. Characters written to the
     * resulting {@code CharSink} will written to the {@code ByteSink} as encoded bytes.
     *
     * @since 14.0
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class CharSink {
    
      /** Constructor for use by subclasses. */
      protected CharSink() {}
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  4. android/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)
  5. android/guava-tests/test/com/google/common/io/CharSinkTester.java

    /**
     * A generator of {@code TestSuite} instances for testing {@code CharSink} implementations.
     * Generates tests of all methods on a {@code CharSink} given various inputs written to it.
     *
     * @author Colin Decker
     */
    @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it).
    public class CharSinkTester extends SourceSinkTester<CharSink, String, CharSinkFactory> {
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/AbstractByteHasher.java

    import java.nio.ByteOrder;
    
    /**
     * 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
     */
    @ElementTypesAreNonnullByDefault
    abstract class AbstractByteHasher extends AbstractHasher {
      private final ByteBuffer scratch = ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/ByteSinkTester.java

     * Generates tests of all methods on a {@code ByteSink} given various inputs written to it as well
     * as sub-suites for testing the {@code CharSink} view in the same way.
     *
     * @author Colin Decker
     */
    @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it).
    public class ByteSinkTester extends SourceSinkTester<ByteSink, byte[], ByteSinkFactory> {
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/SourceSinkFactory.java

     * SourceSinkFactory} for common.io are found in {@link SourceSinkFactories}.
     *
     * @param <S> the source or sink type
     * @param <T> the data type (byte[] or String)
     * @author Colin Decker
     */
    public interface SourceSinkFactory<S, T> {
    
      /**
       * Returns the data to expect the source or sink to contain given the data that was used to create
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/CloserTest.java

    import java.util.List;
    import java.util.logging.LogRecord;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link Closer}.
     *
     * @author Colin Decker
     */
    public class CloserTest extends TestCase {
    
      private TestSuppressor suppressor;
    
      @Override
      protected void setUp() throws Exception {
        suppressor = new TestSuppressor();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/UnsignedLong.java

     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/PrimitivesExplained#unsigned-support">unsigned
     * primitive utilities</a>.
     *
     * @author Louis Wasserman
     * @author Colin Evans
     * @since 11.0
     */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    public final class UnsignedLong extends Number implements Comparable<UnsignedLong>, Serializable {
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Apr 22 13:09:25 GMT 2021
    - 8.9K bytes
    - Viewed (0)
Back to top