- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 49 for Bolin (0.26 sec)
-
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 26 12:43:10 GMT 2024 - Last Modified: Wed Jun 15 20:59:00 GMT 2022 - 3.5K bytes - Viewed (0) -
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 May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.8K bytes - Viewed (0) -
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 May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 4K bytes - Viewed (0) -
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 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 6.1K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/Dispatcher.java
* controls the order in which events are dispatched, while the executor controls how (i.e. on which * thread) the subscriber is actually called when an event is dispatched to it. * * @author Colin Decker */ @ElementTypesAreNonnullByDefault abstract class Dispatcher { /** * Returns a dispatcher that queues events that are posted reentrantly on a thread that is already
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 7.3K bytes - Viewed (0) -
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 Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 5.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTester.java
/** * A generator of {@code TestSuite} instances for testing {@code CharSource} implementations. * Generates tests of all methods on a {@code CharSource} given various inputs the source is * expected to contain. * * @author Colin Decker */ @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it). public class CharSourceTester extends SourceSinkTester<CharSource, String, CharSourceFactory> {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 7.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSequenceReader.java
import javax.annotation.CheckForNull; /** * A {@link Reader} that reads the characters in a {@link CharSequence}. Like {@code StringReader}, * but works with any {@link CharSequence}. * * @author Colin Decker */ // TODO(cgdecker): make this public? as a type, or a method in CharStreams? @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault final class CharSequenceReader extends Reader {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 4.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTest.java
import java.util.EnumSet; import java.util.List; import java.util.stream.Stream; import junit.framework.TestSuite; /** * Tests for the default implementations of {@code CharSource} methods. * * @author Colin Decker */ public class CharSourceTest extends IoTestCase { @AndroidIncompatible // Android doesn't understand suites whose tests lack default constructors. public static TestSuite suite() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 13K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/SourceSinkFactories.java
import java.nio.CharBuffer; import java.util.Arrays; import java.util.logging.Logger; import org.checkerframework.checker.nullness.qual.Nullable; /** * {@link SourceSinkFactory} implementations. * * @author Colin Decker */ public class SourceSinkFactories { private SourceSinkFactories() {} public static CharSourceFactory stringCharSourceFactory() { return new StringSourceFactory(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 06 12:56:11 GMT 2023 - 12.7K bytes - Viewed (0)