- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 1,268 for three (0.03 sec)
-
tests/test_tutorial/test_additional_responses/test_tutorial003.py
client = TestClient(app) def test_path_operation(): response = client.get("/items/foo") assert response.status_code == 200, response.text assert response.json() == {"id": "foo", "value": "there goes my hero"} def test_path_operation_not_found(): response = client.get("/items/bar") assert response.status_code == 404, response.text assert response.json() == {"message": "Item not found"}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 4.5K bytes - Viewed (0) -
build-logic-commons/settings.gradle.kts
the<JavaPluginExtension>().toolchain { // if you change this java version please also consider changing .idea/misc.xml#project/component(@project-jdk-name} // Also, there are a lot of other places this should be changed. languageVersion = JavaLanguageVersion.of(17) vendor = JvmVendorSpec.ADOPTIUM } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Nov 06 06:19:29 UTC 2024 - 1.8K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Case.kt
*/ package okhttp3.internal.http2.hpackjson import okhttp3.internal.http2.Header import okio.ByteString /** * Representation of an individual case (set of headers and wire format). There are many cases for a * single story. This class is used reflectively with Moshi to parse stories. */ data class Case( val seqno: Int = 0, val wire: ByteString? = null, val headers: List<Map<String, String>>,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Dec 23 10:26:25 UTC 2023 - 1.3K bytes - Viewed (0) -
docs/en/docs/deployment/index.md
This is in contrast to the **development** stages, where you are constantly changing the code, breaking it and fixing it, stopping and restarting the development server, etc. ## Deployment Strategies There are several ways to do it depending on your specific use case and the tools that you use.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Jan 11 16:31:18 UTC 2024 - 1.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/JdkBackedImmutableSet.java
import javax.annotation.CheckForNull; /** * ImmutableSet implementation backed by a JDK HashSet, used to defend against apparent hash * flooding. This implementation is never used on the GWT client side, but it must be present there * for serialization to work. * * @author Louis Wasserman */ @GwtCompatible(serializable = true) @ElementTypesAreNonnullByDefault final class JdkBackedImmutableSet<E> extends IndexedImmutableSet<E> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 2K bytes - Viewed (0) -
istioctl/cmd/options.go
// (Currently the only global options we show are help options) rootCmd.PersistentFlags().VisitAll(func(flag *pflag.Flag) { if _, ok := helpFlags[flag.Name]; ok { // Currently every flag.Shorthand is "", so there is no point in showing shorthands shorthand := " " if flag.Shorthand != "" { shorthand = "-" + flag.Shorthand + "," } c.Printf(" %s --%s: %s\n", shorthand, flag.Name, flag.Usage) } })
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 1.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
for (int i = 1; i < 900; i += 2) { if (!falsePositives.contains(i)) { assertFalse("BF should not contain " + i, bf.mightContain(Integer.toString(i))); } } // Check that there are exactly 29824 false positives for this BF. int knownNumberOfFalsePositives = 29824; int numFpp = 0; for (int i = 1; i < numInsertions * 2; i += 2) { if (bf.mightContain(Integer.toString(i))) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 21.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/Queues.java
*/ long deadline = System.nanoTime() + unit.toNanos(timeout); int added = 0; while (added < numElements) { // we could rely solely on #poll, but #drainTo might be more efficient when there are multiple // elements already available (e.g. LinkedBlockingQueue#drainTo locks only once) added += q.drainTo(buffer, numElements - added);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 26 14:11:14 UTC 2024 - 18.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/DosFileFilter.java
protected String wildcard; protected int attributes; /* This filter can be considerably more efficient than other file filters * as the specifed wildcard and attributes are passed to the server for * filtering there (although attributes are largely ignored by servers * they are filtered locally by the default accept method). */ public DosFileFilter( String wildcard, int attributes ) { this.wildcard = wildcard;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 1.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolutionExceptionTest.java
+ "-Dclassifier=aClassifier -Dpackaging=jar -Dfile=/path/to/file" + LS + LS + " Alternatively, if you host your own repository you can deploy the file there: " + LS + " mvn deploy:deploy-file -DgroupId=aGroupId -DartifactId=anArtifactId" + " -Dversion=aVersion -Dclassifier=aClassifier -Dpackaging=jar -Dfile=/path/to/file"
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0)