Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2851 - 2860 of 6,965 for _class (0.03 sec)

  1. regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java

    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertTrue;
    
    /**
     * Simple test adaptable to show a failure in older versions of OkHttp
     * or Android SDKs.
     */
    @RunWith(AndroidJUnit4.class)
    public class IssueReproductionTest {
      @Test public void getFailsWithoutAdditionalCert() throws IOException {
        OkHttpClient client = new OkHttpClient();
    
        sendRequest(client, "https://google.com/robots.txt");
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 26 06:37:08 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Platform.java

    import org.jspecify.annotations.Nullable;
    
    /** Methods factored out so that they can be emulated differently in GWT. */
    @GwtCompatible
    final class Platform {
      static boolean isInstanceOfThrowableClass(
          @Nullable Throwable t, Class<? extends Throwable> expectedClass) {
        return expectedClass.isInstance(t);
      }
    
      static void restoreInterruptIfIsInterruptedException(Throwable t) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbTransport.java

        /**
         * Unwraps the transport to the specified type.
         *
         * @param <T> the type to unwrap to
         * @param type the class of the transport type to unwrap
         * @return transport instance with the given type
         */
        <T extends SmbTransport> T unwrap(Class<T> type);
    
        /**
         *
         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/msrpc/MsrpcEnumerateAliasesInDomain.java

     */
    
    package jcifs.dcerpc.msrpc;
    
    /**
     * MSRPC implementation for enumerating aliases within a domain.
     * This class provides functionality to enumerate security aliases (local groups)
     * within a SAM domain using the SAMR RPC interface.
     */
    public class MsrpcEnumerateAliasesInDomain extends samr.SamrEnumerateAliasesInDomain {
    
        /**
         * Creates a new request to enumerate aliases in a domain.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcEnumerateAliasesInDomain.java

     */
    
    package jcifs.smb1.dcerpc.msrpc;
    
    /**
     * MSRPC implementation for enumerating aliases within a domain.
     * This class provides functionality to enumerate security aliases (local groups)
     * within a SAM domain using the SAMR RPC interface.
     */
    public class MsrpcEnumerateAliasesInDomain extends samr.SamrEnumerateAliasesInDomain {
    
        /**
         * Creates a new request to enumerate aliases in a domain.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java

    import org.mockito.MockitoAnnotations;
    
    import jcifs.dcerpc.DcerpcConstants;
    import jcifs.dcerpc.msrpc.MsrpcEnumerateAliasesInDomain;
    import jcifs.dcerpc.msrpc.SamrDomainHandle;
    import jcifs.dcerpc.msrpc.samr;
    
    class MsrpcEnumerateAliasesInDomainTest {
    
        @Mock
        private SamrDomainHandle mockDomainHandle;
        @Mock
        private samr.SamrSamArray mockSamArray;
    
        @BeforeEach
        void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ldap/LdapManager.java

         *
         * @param type the class type to validate for
         * @param attributes the map of attribute names to values
         * @param consumer the consumer to handle validation errors
         */
        public void validateUserAttributes(final Class<?> type, final Map<String, String> attributes, final Consumer<String> consumer) {
            if (type == Long.class) {
                // Long type attributes
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Tables.java

     * "https://github.com/google/guava/wiki/CollectionUtilitiesExplained#tables">{@code Tables}</a>.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     * @since 7.0
     */
    @GwtCompatible
    public final class Tables {
      private Tables() {}
    
      /**
       * Returns a {@link Collector} that accumulates elements into a {@code Table} created using the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/bigger-applications.md

    You import it and create an "instance" the same way you would with the class `FastAPI`:
    
    ```Python hl_lines="1  3" title="app/routers/users.py"
    {!../../docs_src/bigger_applications/app/routers/users.py!}
    ```
    
    ### *Path operations* with `APIRouter` { #path-operations-with-apirouter }
    
    And then you use it to declare your *path operations*.
    
    Use it the same way you would use the `FastAPI` class:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  10. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/PlatformInitializer.kt

     * Androidx Startup initializer to ensure that the AndroidPlatform has access to the application context.
     */
    class PlatformInitializer : Initializer<Platform> {
      override fun create(context: Context): Platform {
        PlatformRegistry.applicationContext = context
    
        return Platform.get()
      }
    
      override fun dependencies(): List<Class<Initializer<*>>> = listOf()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Dec 31 14:50:53 UTC 2024
    - 1K bytes
    - Viewed (1)
Back to top