- Sort Score
- Result 10 results
- Languages All
Results 1691 - 1700 of 7,612 for class (0.04 sec)
-
docs_src/security/tutorial002_an_py310.py
from fastapi import Depends, FastAPI from fastapi.security import OAuth2PasswordBearer from pydantic import BaseModel app = FastAPI() oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") class User(BaseModel): username: str email: str | None = None full_name: str | None = None disabled: bool | None = None def fake_decode_token(token): return User(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 761 bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt
import okio.Buffer import okio.BufferedSource import okio.ForwardingSource import okio.buffer /** Rewrites the response body returned from the server to be all uppercase. */ class UppercaseResponseInterceptor : Interceptor { @Throws(IOException::class) override fun intercept(chain: Chain): Response { return uppercaseResponse(chain.proceed(chain.request())) } private fun uppercaseResponse(response: Response): Response {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/outside/AbstractNotAnnotatedInSuperclassTest.java
import java.util.List; public class AbstractNotAnnotatedInSuperclassTest extends AbstractEventBusTest<SubClass> { abstract static class SuperClass { public abstract void overriddenInSubclassNowhereAnnotated(Object o); public abstract void overriddenAndAnnotatedInSubclass(Object o); } static class SubClass extends SuperClass {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 08 21:35:40 UTC 2022 - 2K bytes - Viewed (0) -
guava/src/com/google/common/graph/AbstractGraph.java
import javax.annotation.CheckForNull; /** * This class provides a skeletal implementation of {@link Graph}. It is recommended to extend this * class rather than implement {@link Graph} directly. * * @author James Sexton * @param <N> Node parameter type * @since 20.0 */ @Beta @ElementTypesAreNonnullByDefault public abstract class AbstractGraph<N> extends AbstractBaseGraph<N> implements Graph<N> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 1.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocSuperTypeBuilder.java
import java.util.List; public class ClassDocSuperTypeBuilder { private final DslDocModel model; private final GenerationListener listener; public ClassDocSuperTypeBuilder(DslDocModel model, GenerationListener listener) { this.model = model; this.listener = listener; } /** * Builds and attaches the supertypes of the given class */ void build(ClassDoc classDoc) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2K bytes - Viewed (0) -
build-logic-commons/basics/build.gradle.kts
api(platform(projects.buildPlatform)) implementation("com.google.guava:guava") { because("Used by class analysis") } implementation("org.ow2.asm:asm") { because("Used by class analysis") } implementation("org.ow2.asm:asm-commons") { because("Used by class analysis") } implementation(kotlin("compiler-embeddable") as String) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Sep 17 10:11:26 UTC 2024 - 893 bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java
public class EnumsBenchmark { @Param({"Small", "Medium", "Large"}) String enumSize; @Param({"0.2", "0.8"}) float hitRate; // We could avoid the raw type here by initializing this with a ternary (? SmallEnum.class : ...). // However, we end up needing a raw type in getIfPresent, as discussed there. @SuppressWarnings("rawtypes") private Class<? extends Enum> enumType;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 29.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* </pre> */ private static class ExampleStackTrace extends IllegalStateException { static final StackTraceElement[] EMPTY_STACK_TRACE = new StackTraceElement[0]; static final ImmutableSet<String> EXCLUDED_CLASS_NAMES = ImmutableSet.of( CycleDetectingLockFactory.class.getName(), ExampleStackTrace.class.getName(), LockGraphNode.class.getName());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Dec 15 19:31:54 UTC 2023 - 35.9K bytes - Viewed (0) -
samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt
mr.groupValues[1].replace('/', '.') + "Kt" } }.sorted() } } @Disabled("Don't run by default") @Tag("Slow") class AllMainsTest { @ParameterizedTest @ArgumentsSource(MainTestProvider::class) fun runMain(className: String) { val mainMethod = Class.forName(className) .methods.find { it.name == "main" } try { if (mainMethod != null) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
import com.google.common.testing.EqualsTester; import java.util.Set; import org.junit.After; import org.junit.Test; /** * Abstract base class for testing undirected {@link Graph} implementations defined in this package. */ public abstract class AbstractStandardUndirectedGraphTest extends AbstractGraphTest { @After public void validateUndirectedEdges() { for (Integer node : graph.nodes()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 12.7K bytes - Viewed (0)