- Sort Score
- Result 10 results
- Languages All
Results 1521 - 1530 of 7,612 for class (0.05 sec)
-
docs_src/generate_clients/tutorial002_py39.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float class ResponseMessage(BaseModel): message: str class User(BaseModel): username: str email: str @app.post("/items/", response_model=ResponseMessage, tags=["items"]) async def create_item(item: Item): return {"message": "Item received"}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Mar 04 22:02:18 UTC 2022 - 730 bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java
* implementation. */ @GwtIncompatible public class SortedSetTestSuiteBuilder<E> extends SetTestSuiteBuilder<E> { public static <E> SortedSetTestSuiteBuilder<E> using(TestSortedSetGenerator<E> generator) { SortedSetTestSuiteBuilder<E> builder = new SortedSetTestSuiteBuilder<>(); builder.usingGenerator(generator); return builder; } @SuppressWarnings("rawtypes") // class literals @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java
import java.io.DataInput; import java.io.DataOutputStream; import java.io.EOFException; import java.io.IOException; import junit.framework.TestCase; /** * Test class for {@link LittleEndianDataInputStream}. * * @author Chris Nokleberg */ public class LittleEndianDataInputStreamTest extends TestCase { private byte[] data; @Override protected void setUp() throws Exception { super.setUp();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 4.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java
} }.test(); } public void testListIterator_tooLow() { assertThrows(IndexOutOfBoundsException.class, () -> getList().listIterator(-1)); } public void testListIterator_tooHigh() { assertThrows( IndexOutOfBoundsException.class, () -> getList().listIterator(getNumElements() + 1)); } public void testListIterator_atSize() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java
* implementation. */ @GwtIncompatible public class SortedSetTestSuiteBuilder<E> extends SetTestSuiteBuilder<E> { public static <E> SortedSetTestSuiteBuilder<E> using(TestSortedSetGenerator<E> generator) { SortedSetTestSuiteBuilder<E> builder = new SortedSetTestSuiteBuilder<>(); builder.usingGenerator(generator); return builder; } @SuppressWarnings("rawtypes") // class literals @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java
import java.io.DataInput; import java.io.DataOutputStream; import java.io.EOFException; import java.io.IOException; import junit.framework.TestCase; /** * Test class for {@link LittleEndianDataInputStream}. * * @author Chris Nokleberg */ public class LittleEndianDataInputStreamTest extends TestCase { private byte[] data; @Override protected void setUp() throws Exception { super.setUp();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 4.8K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java
.session((Session) java.lang.reflect.Proxy.newProxyInstance( Session.class.getClassLoader(), new Class[] {Session.class}, (Object proxy, Method method, Object[] args) -> { if ("getSystemProperties".equals(method.getName())) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
String test = "abc" + Character.MIN_HIGH_SURROGATE; assertThrows(IllegalArgumentException.class, () -> escapeAsString(NOP_ESCAPER, test)); assertThrows(IllegalArgumentException.class, () -> escapeAsString(SIMPLE_ESCAPER, test)); } public void testNullInput() { UnicodeEscaper e = SIMPLE_ESCAPER; assertThrows(NullPointerException.class, () -> e.escape((String) null)); } public void testBadStrings() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 5.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java
.createTestSuite(); } @SuppressWarnings("rawtypes") // class literals @Override protected List<Class<? extends AbstractTester>> getTesters() { List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters()); testers.add(NavigableSetNavigationTester.class); return testers; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
String test = "abc" + Character.MIN_HIGH_SURROGATE; assertThrows(IllegalArgumentException.class, () -> escapeAsString(NOP_ESCAPER, test)); assertThrows(IllegalArgumentException.class, () -> escapeAsString(SIMPLE_ESCAPER, test)); } public void testNullInput() { UnicodeEscaper e = SIMPLE_ESCAPER; assertThrows(NullPointerException.class, () -> e.escape((String) null)); } public void testBadStrings() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 5.9K bytes - Viewed (0)