- Sort Score
- Result 10 results
- Languages All
Results 2381 - 2390 of 8,014 for KClass (0.04 sec)
-
docs/ko/docs/tutorial/testing.md
# 테스팅 <a href="https://www.starlette.dev/testclient/" class="external-link" target="_blank">Starlette</a> 덕분에 **FastAPI** 를 테스트하는 일은 쉽고 즐거운 일이 되었습니다. Starlette는 <a href="https://www.python-httpx.org\" class="external-link" target="_blank">HTTPX</a>를 기반으로 하며, 이는 Requests를 기반으로 설계되었기 때문에 매우 친숙하고 직관적입니다. 이를 사용하면 FastAPI에서 <a href="https://docs.pytest.org/" class="external-link" target="_blank">pytest</a>를 직접 사용할 수 있습니다. ## `TestClient` 사용하기 /// info | 정보
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 7.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactLinkedHashMap.java
* load on the garbage collector by only using a constant number of internal objects. * * <p>This class should not be assumed to be universally superior to {@code * java.util.LinkedHashMap}. Generally speaking, this class reduces object allocation and memory * consumption at the price of moderately increased constant factors of CPU. Only use this class * when there is a specific reason to prioritize memory over CPU. * * @author Louis Wasserman */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/InternalMavenSession.java
static InternalMavenSession from(Session session) { return cast(InternalMavenSession.class, session, "session should be an " + InternalMavenSession.class); } static InternalMavenSession from(org.eclipse.aether.RepositorySystemSession session) { return cast(InternalMavenSession.class, session.getData().get(InternalSession.class), "session"); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Mar 24 14:09:05 UTC 2025 - 2.2K bytes - Viewed (0) -
guava/src/com/google/common/graph/MultiEdgesConnecting.java
/** * A class to represent the set of edges connecting an (implicit) origin node to a target node. * * <p>The {@link #outEdgeToNode} map allows this class to work on networks with parallel edges. See * {@link EdgesConnecting} for a class that is more efficient but forbids parallel edges. * * @author James Sexton * @param <E> Edge parameter type */ abstract class MultiEdgesConnecting<E> extends AbstractSet<E> {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/SerializeUtilTest.java
assertEquals("first", result.get(0)); assertNull(result.get(1)); assertEquals("third", result.get(2)); } /** * Test helper class for serialization tests */ public static class TestSerializableClass implements Serializable { private static final long serialVersionUID = 1L; public String name; public int value;
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
import org.bouncycastle.asn1.DERSequence; import org.bouncycastle.asn1.DERTaggedObject; import org.junit.jupiter.api.Test; import jcifs.pac.PACDecodingException; /** * Tests for KerberosEncData. */ class KerberosEncDataTest { /** * Test constructor with a valid token. * * @throws IOException if an I/O error occurs * @throws PACDecodingException if a PAC decoding error occursRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/context/SingletonContextTest.java
import jcifs.CIFSContext; import jcifs.CIFSException; class SingletonContextTest { private static final Logger log = LoggerFactory.getLogger(SingletonContextTest.class); // Use reflection to reset the singleton instance between tests @BeforeEach @AfterEach void resetSingleton() { try { Field instance = SingletonContext.class.getDeclaredField("INSTANCE");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
docs_src/response_model/tutorial003_py310.py
from typing import Any from fastapi import FastAPI from pydantic import BaseModel, EmailStr app = FastAPI() class UserIn(BaseModel): username: str password: str email: EmailStr full_name: str | None = None class UserOut(BaseModel): username: str email: EmailStr full_name: str | None = None @app.post("/user/", response_model=UserOut) async def create_user(user: UserIn) -> Any:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Jan 07 13:45:48 UTC 2023 - 431 bytes - Viewed (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
import jcifs.CIFSException; import jcifs.Configuration; /** * Tests for SpnegoContext focusing on delegation, error handling, and edge cases. */ @ExtendWith(MockitoExtension.class) class SpnegoContextTest { @Mock Configuration config; @Mock SSPContext mechContext; private ASN1ObjectIdentifier[] mechs; @BeforeEach void setup() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaProvider.java
* and RoCE (RDMA over Converged Ethernet) networks. */ public class DisniRdmaProvider implements RdmaProvider { /** * Creates a new DiSNI RDMA provider instance */ public DisniRdmaProvider() { // Default constructor } private static final Logger log = LoggerFactory.getLogger(DisniRdmaProvider.class);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 5.2K bytes - Viewed (0)