Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 280 for generics (0.03 sec)

  1. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

        @Test
        @DisplayName("Should pass null for SmbAuthException when error is not SmbAuthException")
        void testRenewCredentials_WithErrorNotSmbAuthException() {
            Throwable genericError = new RuntimeException("Generic Error");
            try (MockedStatic<NtlmAuthenticator> mockedNtlmAuthenticator = mockStatic(NtlmAuthenticator.class)) {
                mockedNtlmAuthenticator.when(NtlmAuthenticator::getDefault).thenReturn(mockNtlmAuthenticator);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/UrlQueueImplTest.java

            UrlQueueImpl<Long> queue = new UrlQueueImpl<>();
            assertTrue(queue instanceof UrlQueue);
        }
    
        public void test_genericTypeFlexibility() {
            // Test with different generic types
            UrlQueueImpl<Integer> intQueue = new UrlQueueImpl<>();
            intQueue.setId(42);
            assertEquals(Integer.valueOf(42), intQueue.getId());
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

    import java.lang.reflect.Method;
    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code put} operations on a map. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Chris Povirk
     * @author Kevin Bourrillion
     */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

          Class<X> exceptionType, ClosingFunction<? super X, ? extends V> fallback, Executor executor) {
        return catchingMoreGeneric(exceptionType, fallback, executor);
      }
    
      // Avoids generic type capture inconsistency problems where |? extends V| is incompatible with V.
      private <X extends Throwable, W extends V> ClosingFuture<V> catchingMoreGeneric(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 13:51:27 UTC 2025
    - 96.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code retainAll} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.List;
    import java.util.NavigableSet;
    import java.util.TreeSet;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests operations on a NavigableSet. Can't be invoked directly; please
     * see {@code NavigableSetTestSuiteBuilder}.
     *
     * @author Jesse Wilson
     * @author Louis Wasserman
     */
    @GwtIncompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbOperationException.java

                    true), SERVICE_UNAVAILABLE("Service temporarily unavailable", ErrorCategory.TRANSIENT, true),
    
            // Generic errors
            UNKNOWN_ERROR("Unknown error", ErrorCategory.UNKNOWN, false), INTERNAL_ERROR("Internal error", ErrorCategory.UNKNOWN, false);
    
            private final String description;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/AccessResultImplTest.java

            AccessResultImpl<Long> result = new AccessResultImpl<>();
            assertTrue(result instanceof AccessResult);
        }
    
        public void test_genericTypeFlexibility() {
            // Test with different generic types
            AccessResultImpl<Integer> intResult = new AccessResultImpl<>();
            intResult.setId(42);
            assertEquals(Integer.valueOf(42), intResult.getId());
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  9. docs/es/docs/advanced/generate-clients.md

    {* ../../docs_src/generate_clients/tutorial002_py39.py hl[21,26,34] *}
    
    ### Genera un Cliente TypeScript con tags { #generate-a-typescript-client-with-tags }
    
    Si generas un cliente para una app de FastAPI usando tags, normalmente también separará el código del cliente basándose en los tags.
    
    De esta manera podrás tener las cosas ordenadas y agrupadas correctamente para el código del cliente:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbSessionTest.java

                    assertEquals(1, unwrapMethod.getParameterCount());
                    assertEquals(Class.class, unwrapMethod.getParameterTypes()[0]);
                    // The return type for generic method <T extends SmbSession> T unwrap(Class<T>) is SmbSession at runtime
                    assertTrue(SmbSession.class.isAssignableFrom((Class<?>) unwrapMethod.getReturnType()),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top