Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 82 for superclasses (0.04 sec)

  1. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

      }
    
      private static final class DoNothingRunnable implements Runnable {
        @Override
        public void run() {}
      }
    
      // The thread executing the task publishes itself to the superclass' reference and the thread
      // interrupting sets DONE when it has finished interrupting.
      private static final Runnable DONE = new DoNothingRunnable();
      private static final Runnable PARKED = new DoNothingRunnable();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

    import java.lang.reflect.Method;
    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * Common superclass for {@link MultisetSetCountUnconditionallyTester} and {@link
     * MultisetSetCountConditionallyTester}. It is used by those testers to test calls to the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

    import java.lang.reflect.Method;
    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * Common superclass for {@link MultisetSetCountUnconditionallyTester} and {@link
     * MultisetSetCountConditionallyTester}. It is used by those testers to test calls to the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

        }
    
        @Override
        public Set<K> keySet() {
          /*
           * We can't use StandardKeySet, as NavigableMapTestSuiteBuilder assumes that our keySet is a
           * NavigableSet. We test StandardKeySet in the superclass, so it's still covered.
           */
          return navigableKeySet();
        }
    
        @Override
        public Collection<V> values() {
          return new StandardValues();
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            testSids = new jcifs.SID[] { mockSid1, mockSid2 };
    
            // Act
            lookupSids = new MsrpcLookupSids(mockPolicyHandle, testSids);
    
            // Assert using reflection to verify superclass fields
            Field handleField = lsarpc.LsarLookupSids.class.getDeclaredField("handle");
            handleField.setAccessible(true);
            assertSame(mockPolicyHandle, handleField.get(lookupSids));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

          field.isAccessible = true
          val value = field.get(instance)
          return if (!fieldType.isInstance(value)) null else fieldType.cast(value)
        } catch (_: NoSuchFieldException) {
        }
    
        c = c.superclass
      }
    
      // Didn't find the field we wanted. As a last gasp attempt,
      // try to find the value on a delegate.
      if (fieldName != "delegate") {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
  7. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

     */
    @GwtCompatible
    @NullMarked
    public class MapsTransformValuesUnmodifiableIteratorTest extends MapInterfaceTest<String, String> {
      // TODO(jlevy): Move shared code of this class and MapsTransformValuesTest
      // to a superclass.
    
      public MapsTransformValuesUnmodifiableIteratorTest() {
        super(true, true, false /*supportsPut*/, true, true, false);
      }
    
      private static class UnmodifiableIteratorMap<K, V> extends ForwardingMap<K, V> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

                + "The correctness of CycleDetectingReentrantReadWriteLock depends on "
                + "the fact that the shadowed ReadLock and WriteLock are never used or "
                + "exposed by the superclass implementation. If the implementation has "
                + "changed, the code must be re-inspected to ensure that the "
                + "assumption is still valid.",
            24,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

                + "The correctness of CycleDetectingReentrantReadWriteLock depends on "
                + "the fact that the shadowed ReadLock and WriteLock are never used or "
                + "exposed by the superclass implementation. If the implementation has "
                + "changed, the code must be re-inspected to ensure that the "
                + "assumption is still valid.",
            24,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            // When
            boolean result = request.chain(nextMessage);
    
            // Then
            verify(nextMessage).setSessionId(Smb2Constants.UNSPECIFIED_SESSIONID);
            assertTrue(result); // Assuming superclass chain returns true
        }
    
        @Test
        @DisplayName("Should calculate correct message size with token")
        void testSizeWithToken() {
            // Given
            byte[] token = new byte[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top