Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 551 - 560 of 6,976 for klass (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_response_model_data_filter.py

    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class UserBase(BaseModel):
        email: str
    
    
    class UserCreate(UserBase):
        password: str
    
    
    class UserDB(UserBase):
        hashed_password: str
    
    
    class PetDB(BaseModel):
        name: str
        owner: UserDB
    
    
    class PetOut(BaseModel):
        name: str
        owner: UserBase
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/InfoTest.java

     * Unit tests for the {@link Info} implementations used by the SMB1
     * protocol handling code.
     */
    class InfoTest {
    
        // A tiny mock to illustrate Mockito interaction patterns.
        @Mock
        private SmbComTransactionResponse transactionMock;
    
        @BeforeEach
        void setUp() {
            transactionMock = mock(SmbComTransactionResponse.class);
        }
    
        @Test
        void testSmbComQueryInformationResponseGetters() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

        assertThrows(IllegalArgumentException.class, () -> DoubleMath.mean(ImmutableList.<Double>of()));
        assertThrows(
            IllegalArgumentException.class, () -> DoubleMath.mean(ImmutableList.of(Double.NaN)));
        assertThrows(
            IllegalArgumentException.class,
            () -> DoubleMath.mean(ImmutableList.of(Double.POSITIVE_INFINITY)));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 03 16:20:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        for (Class<?> paramType : method.getParameterTypes()) {
          passedArgs.add(paramValues.generateFresh(paramType));
        }
        return passedArgs.toArray();
      }
    
      /** Tests a single interaction against a method. */
      private static final class InteractionTester<T> extends AbstractInvocationHandler {
    
        private final Class<T> interfaceType;
        private final Method method;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

        assertEquals(
            ImmutableSet.of(
                Object.class,
                HierarchyFixtureInterface.class,
                HierarchyFixtureSubinterface.class,
                HierarchyFixtureParent.class,
                HierarchyFixture.class),
            SubscriberRegistry.flattenHierarchy(HierarchyFixture.class));
      }
    
      private interface HierarchyFixtureInterface {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/AdminAction.java

                final Class<? extends FessAdminAction> actionClass = getAdminActionClass(user);
                if (actionClass != null) {
                    return actionClass;
                }
                return AdminDashboardAction.class;
            }).orElse(AdminDashboardAction.class));
        }
    
        /**
         * Get the admin action class.
         * @param user The user.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19K bytes
    - Click Count (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

    import jcifs.pac.PACDecodingException;
    
    /**
     * Test class for {@link KerberosToken}.
     */
    class KerberosTokenTest {
    
        /**
         * Test constructor with an empty token.
         */
        @Test
        void testConstructorWithEmptyToken() {
            byte[] emptyToken = new byte[0];
            assertThrows(PACDecodingException.class, () -> new KerberosToken(emptyToken));
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

      @VisibleForTesting
      List<Class<?>> findClassesToTest(
          Iterable<? extends Class<?>> classes, Iterable<String> explicitTestNames) {
        // "a.b.Foo" -> a.b.Foo.class
        TreeMap<String, Class<?>> classMap = Maps.newTreeMap();
        for (Class<?> cls : classes) {
          classMap.put(cls.getName(), cls);
        }
        // Foo.class -> [FooTest.class, FooTests.class, FooTestSuite.class, ...]
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the DfsReferral class.
     * This class tests the functionality of the DfsReferral class,
     * ensuring that objects are constructed correctly, appended properly,
     * and that the toString method returns the expected format.
     */
    class DfsReferralTest {
    
        /**
         * Tests the default constructor of the DfsReferral class.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  10. okhttp-logging-interceptor/api/logging-interceptor.api

    	public final fun setLevel (Lokhttp3/logging/HttpLoggingInterceptor$Level;)Lokhttp3/logging/HttpLoggingInterceptor;
    }
    
    public final class okhttp3/logging/HttpLoggingInterceptor$Companion {
    }
    
    public final class okhttp3/logging/HttpLoggingInterceptor$Level : java/lang/Enum {
    	public static final field BASIC Lokhttp3/logging/HttpLoggingInterceptor$Level;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 15:15:46 GMT 2025
    - 4.6K bytes
    - Click Count (0)
Back to Top