- Sort Score
- Result 10 results
- Languages All
Results 4121 - 4130 of 7,602 for Class (0.04 sec)
-
docs_src/body/tutorial002_py310.py
from fastapi import FastAPI from pydantic import BaseModel class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None app = FastAPI() @app.post("/items/") async def create_item(item: Item): item_dict = item.dict() if item.tax: price_with_tax = item.price + item.tax item_dict.update({"price_with_tax": price_with_tax})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 429 bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java
import org.codelibs.fess.unit.UnitFessTestCase; import org.codelibs.fess.util.ComponentUtil; public class CrawlerStatsHelperTest extends UnitFessTestCase { private static final Logger logger = LogManager.getLogger(CrawlerStatsHelperTest.class); private CrawlerStatsHelper crawlerStatsHelper; private ThreadLocal<String> localLogMsg = new ThreadLocal<>(); @Override
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-ResponseCommon.kt
import okhttp3.internal.http.HTTP_PERM_REDIRECT import okhttp3.internal.http.HTTP_TEMP_REDIRECT import okio.Buffer import okio.IOException import okio.Source import okio.Timeout import okio.buffer internal class UnreadableResponseBody( private val mediaType: MediaType?, private val contentLength: Long, ) : ResponseBody(), Source { override fun contentType() = mediaType override fun contentLength() = contentLength
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:24:48 UTC 2024 - 5.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapGetTester.java
* * @author Louis Wasserman */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultimapAsMapGetTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> { @CollectionSize.Require(SEVERAL) @MapFeature.Require(SUPPORTS_REMOVE) public void testPropagatesRemoveToMultimap() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java
import okhttp3.Request; import okhttp3.Response; /** * This prints events for a single in-flight call. It won't work for multiple concurrent calls * because we don't know what callStartNanos refers to. */ public final class PrintEventsNonConcurrent { private final OkHttpClient client = new OkHttpClient.Builder() .eventListener(new PrintingEventListener()) .build(); public void run() throws Exception {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 16 23:20:49 UTC 2020 - 5.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PopularWordHelper.java
import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; import jakarta.annotation.PostConstruct; public class PopularWordHelper { private static final Logger logger = LogManager.getLogger(PopularWordHelper.class); protected static final char CACHE_KEY_SPLITTER = '\n'; protected Cache<String, List<String>> cache; protected FessConfig fessConfig;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java
import org.junit.runners.Parameterized.Parameters; @AndroidIncompatible // TODO(cpovirk): Figure out Android JUnit 4 support. Does it work with Gingerbread? @RunWith? @RunWith(Parameterized.class) public final class GraphEquivalenceTest { private static final Integer N1 = 1; private static final Integer N2 = 2; private static final Integer N3 = 3; private final EdgeType edgeType;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 4.6K bytes - Viewed (0) -
android/guava/src/com/google/common/xml/ParametricNullness.java
import java.lang.annotation.Retention; import java.lang.annotation.Target; /** * Annotates a "top-level" type-variable usage that takes its nullness from the type argument * supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns * {@code @ParametricNullness E}, which means: * * <ul> * <li>{@code getElement} on a {@code Multiset.Entry<@NonNull String>} returns {@code @NonNull
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 10 21:27:51 UTC 2022 - 4.1K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
import java.util.Arrays; import java.util.Iterator; /** * Benchmarks {@link Joiner} against some common implementations of delimiter-based string joining. * * @author Adomas Paltanavicius */ public class JoinerBenchmark { private static final String DELIMITER_STRING = ","; private static final char DELIMITER_CHARACTER = ','; private static final Joiner JOINER_ON_STRING = Joiner.on(DELIMITER_STRING);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java
import org.junit.runners.Parameterized.Parameters; @AndroidIncompatible // TODO(cpovirk): Figure out Android JUnit 4 support. Does it work with Gingerbread? @RunWith? @RunWith(Parameterized.class) public final class GraphEquivalenceTest { private static final Integer N1 = 1; private static final Integer N2 = 2; private static final Integer N3 = 3; private final EdgeType edgeType;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 4.6K bytes - Viewed (0)