Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1411 - 1420 of 8,498 for Export (0.04 seconds)

  1. guava-tests/test/com/google/common/reflect/ParameterTest.java

     * limitations under the License.
     */
    
    package com.google.common.reflect;
    
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import java.lang.reflect.Method;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link Parameter}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/io/CloseableUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.io;
    
    import static org.hamcrest.CoreMatchers.is;
    import static org.junit.Assert.assertThat;
    
    import java.io.IOException;
    import java.io.OutputStream;
    
    import org.junit.Test;
    
    /**
     * @author shot
     */
    public class CloseableUtilTest {
    
        /**
         * @throws Exception
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilterTest.java

     * under the License.
     */
    package org.apache.maven.artifact.resolver.filter;
    
    import java.util.Arrays;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@link AndArtifactFilter}.
     *
     */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. tests/test_security_http_basic_realm_description.py

    from base64 import b64encode
    
    from fastapi import FastAPI, Security
    from fastapi.security import HTTPBasic, HTTPBasicCredentials
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    app = FastAPI()
    
    security = HTTPBasic(realm="simple", description="HTTPBasic scheme")
    
    
    @app.get("/users/me")
    def read_current_user(credentials: HTTPBasicCredentials = Security(security)):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java

    import org.gradle.api.Project;
    import org.gradle.api.file.ProjectLayout;
    import org.gradle.api.provider.MapProperty;
    import org.gradle.api.provider.Provider;
    import org.gradle.api.tasks.TaskContainer;
    import org.gradle.api.tasks.TaskProvider;
    import org.gradle.util.GradleVersion;
    
    import java.nio.charset.Charset;
    import java.time.ZonedDateTime;
    import java.time.format.DateTimeFormatter;
    
    /**
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:49:33 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultProjectArtifactFactory.java

     */
    package org.apache.maven.lifecycle.internal;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    
    import java.io.File;
    import java.util.Arrays;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.factory.ArtifactFactory;
    import org.apache.maven.artifact.resolver.filter.AndArtifactFilter;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. docs/en/docs/reference/middleware.md

    ```python
    from fastapi.middleware.cors import CORSMiddleware
    ```
    
    ::: fastapi.middleware.gzip.GZipMiddleware
    
    It can be imported from `fastapi`:
    
    ```python
    from fastapi.middleware.gzip import GZipMiddleware
    ```
    
    ::: fastapi.middleware.httpsredirect.HTTPSRedirectMiddleware
    
    It can be imported from `fastapi`:
    
    ```python
    from fastapi.middleware.httpsredirect import HTTPSRedirectMiddleware
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 11:54:23 GMT 2026
    - 845 bytes
    - Click Count (0)
  8. docs_src/handling_errors/tutorial004_py310.py

    from fastapi import FastAPI, HTTPException
    from fastapi.exceptions import RequestValidationError
    from fastapi.responses import PlainTextResponse
    from starlette.exceptions import HTTPException as StarletteHTTPException
    
    app = FastAPI()
    
    
    @app.exception_handler(StarletteHTTPException)
    async def http_exception_handler(request, exc):
        return PlainTextResponse(str(exc.detail), status_code=exc.status_code)
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 920 bytes
    - Click Count (0)
  9. docs_src/handling_errors/tutorial006_py310.py

    from fastapi import FastAPI, HTTPException
    from fastapi.exception_handlers import (
        http_exception_handler,
        request_validation_exception_handler,
    )
    from fastapi.exceptions import RequestValidationError
    from starlette.exceptions import HTTPException as StarletteHTTPException
    
    app = FastAPI()
    
    
    @app.exception_handler(StarletteHTTPException)
    async def custom_http_exception_handler(request, exc):
        print(f"OMG! An HTTP error!: {repr(exc)}")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 928 bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

     */
    package okhttp3
    
    import java.net.Proxy
    import java.net.ProxySelector
    import java.net.Socket
    import java.time.Duration
    import java.util.Random
    import java.util.concurrent.ExecutorService
    import java.util.concurrent.TimeUnit
    import java.util.concurrent.TimeUnit.MILLISECONDS
    import javax.net.SocketFactory
    import javax.net.ssl.HostnameVerifier
    import javax.net.ssl.SSLSocketFactory
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 51.5K bytes
    - Click Count (0)
Back to Top