- Sort Score
- Result 10 results
- Languages All
Results 3471 - 3480 of 7,238 for importOf (0.07 sec)
-
guava-tests/test/com/google/common/util/concurrent/UncaughtExceptionHandlersTest.java
* limitations under the License. */ package com.google.common.util.concurrent; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import com.google.common.util.concurrent.UncaughtExceptionHandlers.Exiter; import junit.framework.TestCase; /** @author Gregory Kick */ public class UncaughtExceptionHandlersTest extends TestCase {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 09 22:57:07 UTC 2022 - 1.2K bytes - Viewed (0) -
guava/src/com/google/common/hash/IgnoreJRERequirement.java
* the License. */ package com.google.common.hash; import static java.lang.annotation.ElementType.CONSTRUCTOR; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import java.lang.annotation.Target; /** * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 13 16:19:15 UTC 2023 - 1.1K bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/LifecycleProvider.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.spi; import org.apache.maven.api.Lifecycle; import org.apache.maven.api.annotations.Consumer; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.di.Named; @Experimental @Consumer @Named
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Sep 10 17:18:47 UTC 2024 - 1.1K bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PackagingProvider.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.spi; import org.apache.maven.api.Packaging; import org.apache.maven.api.annotations.Consumer; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.di.Named; @Experimental @Consumer @Named
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Sep 10 17:18:47 UTC 2024 - 1.1K bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PathScopeProvider.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.spi; import org.apache.maven.api.PathScope; import org.apache.maven.api.annotations.Consumer; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.di.Named; /** * @since 4.0.0 */ @Experimental @Consumer @Named
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Sep 10 17:18:47 UTC 2024 - 1.1K bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/TypeProvider.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.spi; import org.apache.maven.api.Type; import org.apache.maven.api.annotations.Consumer; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.di.Named; /** * @since 4.0.0 */ @Experimental @Consumer @Named
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Sep 10 17:18:47 UTC 2024 - 1.1K bytes - Viewed (0) -
tests/test_security_api_key_query_description.py
from fastapi import Depends, FastAPI, Security from fastapi.security import APIKeyQuery from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() api_key = APIKeyQuery(name="key", description="API Key Query") class User(BaseModel): username: str def get_current_user(oauth_header: str = Security(api_key)): user = User(username=oauth_header) return user @app.get("/users/me")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2K bytes - Viewed (0) -
tests/test_security_http_base_optional.py
from typing import Optional from fastapi import FastAPI, Security from fastapi.security.http import HTTPAuthorizationCredentials, HTTPBase from fastapi.testclient import TestClient app = FastAPI() security = HTTPBase(scheme="Other", auto_error=False) @app.get("/users/me") def read_current_user( credentials: Optional[HTTPAuthorizationCredentials] = Security(security), ): if credentials is None:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 1.9K bytes - Viewed (0) -
tests/test_security_oauth2_authorization_code_bearer.py
from typing import Optional from fastapi import FastAPI, Security from fastapi.security import OAuth2AuthorizationCodeBearer from fastapi.testclient import TestClient app = FastAPI() oauth2_scheme = OAuth2AuthorizationCodeBearer( authorizationUrl="authorize", tokenUrl="token", auto_error=True ) @app.get("/items/") async def read_items(token: Optional[str] = Security(oauth2_scheme)): return {"token": token}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.Iterator; import java.util.List; import java.util.Random; import java.util.RandomAccess; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * Unit tests for {@code Ordering}. * * @author Jesse Wilson */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 42.6K bytes - Viewed (0)