Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 68 for Peeker (0.04 sec)

  1. android/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).
    @NullUnmarked
    public class CharSourceTester extends SourceSinkTester<CharSource, String, CharSourceFactory> {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/IoTestCase.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Base test case class for I/O tests.
     *
     * @author Chris Nokleberg
     * @author Colin Decker
     */
    @NullUnmarked
    public abstract class IoTestCase extends TestCase {
    
      private static final Logger logger = Logger.getLogger(IoTestCase.class.getName());
    
      static final String I18N =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link Subscriber}.
     *
     * @author Cliff Biffle
     * @author Colin Decker
     */
    @NullUnmarked
    public class SubscriberTest extends TestCase {
    
      private static final Object FIXTURE_ARGUMENT = new Object();
    
      private EventBus bus;
      private boolean methodCalled;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/eventbus/Subscriber.java

     *
     * <p>Two subscribers are equivalent when they refer to the same method on the same object (not
     * class). This property is used to ensure that no subscriber method is registered more than once.
     *
     * @author Colin Decker
     */
    class Subscriber {
    
      /** Creates a {@code Subscriber} for {@code method} on {@code listener}. */
      static Subscriber create(EventBus bus, Object listener, Method method) {
        return isDeclaredThreadSafe(method)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

    import com.google.common.collect.Iterators;
    import java.util.Iterator;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link SubscriberRegistry}.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class SubscriberRegistryTest extends TestCase {
    
      private final SubscriberRegistry registry = new SubscriberRegistry(new EventBus());
    
      public void testRegister() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/SourceSinkTester.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @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).
    @NullUnmarked
    public class SourceSinkTester<S, T, F extends SourceSinkFactory<S, T>> extends TestCase {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/CharStreams.java

    import java.util.List;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Provides utility methods for working with character streams.
     *
     * @author Chris Nokleberg
     * @author Bin Zhu
     * @author Colin Decker
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class CharStreams {
    
      // 2K chars (4K bytes)
      private static final int DEFAULT_BUF_SIZE = 0x800;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

    import java.io.IOException;
    import java.nio.CharBuffer;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link CharSequenceReader}.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CharSequenceReaderTest extends TestCase {
    
      public void testReadEmptyString() throws IOException {
        assertReadsCorrectly("");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CharSourceTest.java

    import java.util.stream.Stream;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for the default implementations of {@code CharSource} methods.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CharSourceTest extends IoTestCase {
    
      @AndroidIncompatible // Android doesn't understand suites whose tests lack default constructors.
      public static TestSuite suite() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. 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
     */
    abstract class Dispatcher {
    
      /**
       * Returns a dispatcher that queues events that are posted reentrantly on a thread that is already
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top