Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 6,957 for Class (0.02 sec)

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

            AtomicReferenceFieldUpdater.<Waiter, @Nullable Waiter>newUpdater(
                Waiter.class, Waiter.class, "next");
        private static final AtomicReferenceFieldUpdater<
                ? super AbstractFutureState<?>, @Nullable Waiter>
            waitersUpdater = newUpdater(AbstractFutureState.class, Waiter.class, "waitersField");
        private static final AtomicReferenceFieldUpdater<
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

    // check the order if so.
    // TODO: Refactor to share code with SetTestBuilder etc.
    @GwtCompatible
    @NullMarked
    public abstract class MapInterfaceTest<K extends @Nullable Object, V extends @Nullable Object>
        extends TestCase {
    
      /** A key type that is not assignable to any classes but Object. */
      private static final class IncompatibleKeyType {
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

      private static final class OneSizeTestSuiteBuilder<T, E>
          extends FeatureSpecificTestSuiteBuilder<
              OneSizeTestSuiteBuilder<T, E>, OneSizeGenerator<T, E>> {
        @SuppressWarnings("rawtypes") // class literals
        private final List<Class<? extends AbstractTester>> testers;
    
        @SuppressWarnings("rawtypes") // class literals
        OneSizeTestSuiteBuilder(List<Class<? extends AbstractTester>> testers) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java

            }
        }
    
        @Test
        void testNullHandling() {
            assertThrows(NullPointerException.class, () -> Sources.fromPath(null));
            assertThrows(NullPointerException.class, () -> Sources.buildSource(null));
            assertThrows(NullPointerException.class, () -> Sources.resolvedSource(null, "location"));
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

          return arbitrary;
        }
        if (type.getRawType() == Class.class) {
          // If parameter is Class<? extends Foo>, we return Foo.class
          @SuppressWarnings("unchecked")
          T defaultClass = (T) getFirstTypeParameter(type.getType()).getRawType();
          return defaultClass;
        }
        if (type.getRawType() == TypeToken.class) {
          // If parameter is TypeToken<? extends Foo>, we return TypeToken<Foo>.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

        Subscriber subscriber = Subscriber.create(bus, this, method);
    
        assertThrows(JudgmentError.class, () -> subscriber.invokeSubscriberMethod(FIXTURE_ARGUMENT));
      }
    
      public void testEquals() throws Exception {
        Method charAt = String.class.getMethod("charAt", int.class);
        Method concat = String.class.getMethod("concat", String.class);
        new EqualsTester()
            .addEqualityGroup(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

        assertThrows(IllegalStateException.class, () -> emptyAccumulator.sampleCovariance());
        assertThrows(
            IllegalStateException.class,
            () -> emptyAccumulatorByAddAllEmptyPairedStats.sampleCovariance());
        assertThrows(IllegalStateException.class, () -> oneValueAccumulator.sampleCovariance());
        assertThrows(
            IllegalStateException.class,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java

    /**
     * @author koichik
     */
    public class ClassLoaderUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetClassLoader() throws Exception {
            assertThat(ClassLoaderUtil.getClassLoader(Object.class), is(sameInstance(ClassLoaderUtil.class.getClassLoader())));
    
            assertThat(ClassLoaderUtil.getClassLoader(TestCase.class), is(sameInstance(TestCase.class.getClassLoader())));
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java

        class HappyPath {
            @Test
            void acceptWithMockedFile() throws Exception {
                SmbFile mockFile = mock(SmbFile.class);
                when(mockFile.getPath()).thenReturn("/share/file.txt");
                assertTrue(ALWAYSACTIVE.accept(mockFile));
            }
        }
    
        @Nested
        @DisplayName("Invalid input – null file handling")
        class InvalidPath {
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

          ByteString::class to OCTET_STRING,
          Unit::class to NULL,
          Nothing::class to OBJECT_IDENTIFIER,
          Nothing::class to UTF8_STRING,
          String::class to PRINTABLE_STRING,
          Nothing::class to IA5_STRING,
          Nothing::class to UTC_TIME,
          Long::class to GENERALIZED_TIME,
          AnyValue::class to ANY_VALUE,
        )
    
      fun any(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top