Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2991 - 3000 of 3,920 for extenders (0.06 sec)

  1. android/guava-tests/test/com/google/common/base/StopwatchTest.java

    import com.google.common.testing.FakeTicker;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link Stopwatch}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class StopwatchTest extends TestCase {
    
      private final FakeTicker ticker = new FakeTicker();
      private final Stopwatch stopwatch = new Stopwatch(ticker);
    
      public void testCreateStarted() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/HashingTest.java

    import com.google.common.annotations.GwtCompatible;
    import junit.framework.TestCase;
    
    /** Tests for {@code Hashing}. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class HashingTest extends TestCase {
      public void testSmear() {
        assertEquals(1459320713, smear(754102528));
        assertEquals(-160560296, smear(1234567890));
        assertEquals(-1017931171, smear(1));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java

    import java.util.concurrent.CyclicBarrier;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link Dispatcher} implementations.
     *
     * @author Colin Decker
     */
    public class DispatcherTest extends TestCase {
    
      private final EventBus bus = new EventBus();
    
      private final IntegerSubscriber i1 = new IntegerSubscriber("i1");
      private final IntegerSubscriber i2 = new IntegerSubscriber("i2");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java

    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @ElementTypesAreNonnullByDefault
    public class ConcurrentMapReplaceEntryTester<K, V> extends AbstractMapTester<K, V> {
      @Override
      protected ConcurrentMap<K, V> getMap() {
        return (ConcurrentMap<K, V>) super.getMap();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ForwardingBlockingDeque.java

     * @since 21.0 (since 14.0 as {@link com.google.common.collect.ForwardingBlockingDeque})
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingBlockingDeque<E> extends ForwardingDeque<E>
        implements BlockingDeque<E> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingBlockingDeque() {}
    
      @Override
      protected abstract BlockingDeque<E> delegate();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/FunnelsTest.java

    import java.util.Arrays;
    import junit.framework.TestCase;
    import org.mockito.InOrder;
    
    /**
     * Tests for HashExtractors.
     *
     * @author Dimitris Andreou
     */
    public class FunnelsTest extends TestCase {
      public void testForBytes() {
        PrimitiveSink primitiveSink = mock(PrimitiveSink.class);
        Funnels.byteArrayFunnel().funnel(new byte[] {4, 3, 2, 1}, primitiveSink);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapGetTester.java

     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultimapAsMapGetTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
    
      @CollectionSize.Require(SEVERAL)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testPropagatesRemoveToMultimap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionRemoveTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemove_present() {
        int initialSize = collection.size();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

    import jcifs.internal.smb1.trans.SmbComTransaction;
    import jcifs.internal.smb1.trans.SmbComTransactionResponse;
    import jcifs.internal.util.SMBUtil;
    
    
    /**
     * 
     */
    public class Trans2FindFirst2Response extends SmbComTransactionResponse {
    
        // information levels
    
        static final int SMB_INFO_STANDARD = 1;
        static final int SMB_INFO_QUERY_EA_SIZE = 2;
        static final int SMB_INFO_QUERY_EAS_FROM_LIST = 3;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/DcerpcMessage.java

     */
    
    package jcifs.dcerpc;
    
    
    import jcifs.dcerpc.ndr.NdrBuffer;
    import jcifs.dcerpc.ndr.NdrException;
    import jcifs.dcerpc.ndr.NdrObject;
    
    
    /**
     * 
     */
    public abstract class DcerpcMessage extends NdrObject implements DcerpcConstants {
    
        protected int ptype = -1;
        protected int flags = 0;
        protected int length = 0;
        protected int call_id = 0;
        protected int alloc_hint = 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5K bytes
    - Viewed (0)
Back to top