- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 2,116 for Set (0.02 seconds)
-
docs_src/path_operation_configuration/tutorial002_py310.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: set[str] = set() @app.post("/items/", response_model=Item, tags=["items"]) async def create_item(item: Item): return item @app.get("/items/", tags=["items"]) async def read_items():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 537 bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashSet.java
@VisibleForTesting @Nullable Set<E> delegateOrNull() { if (table instanceof Set) { return (Set<E>) table; } return null; } private Set<E> createHashFloodingResistantDelegate(int tableSize) { return new LinkedHashSet<>(tableSize, 1.0f); } @CanIgnoreReturnValue Set<E> convertToHashFloodingResistantImplementation() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 24.7K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t07/ProjectInheritanceTest.java
System.out.println("Project " + project1.getId() + " " + project1); Set set = project1.getArtifacts(); assertNotNull(set, "No artifacts"); assertFalse(set.isEmpty(), "No Artifacts"); assertTrue(set.size() == 3, "Set size should be 3, is " + set.size()); for (Object aSet : set) { Artifact artifact = (Artifact) aSet;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SetMultimap.java
* common to all multimaps. * * <p>The {@link #get}, {@link #removeAll}, and {@link #replaceValues} methods each return a {@link * Set} of values, while {@link #entries} returns a {@code Set} of map entries. Though the method * signature doesn't say so explicitly, the map returned by {@link #asMap} has {@code Set} values. * * <p>If the values corresponding to a single key should be ordered according to a {@linkCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/SetMultimap.java
* common to all multimaps. * * <p>The {@link #get}, {@link #removeAll}, and {@link #replaceValues} methods each return a {@link * Set} of values, while {@link #entries} returns a {@code Set} of map entries. Though the method * signature doesn't say so explicitly, the map returned by {@link #asMap} has {@code Set} values. * * <p>If the values corresponding to a single key should be ordered according to a {@linkCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java
*/ int VALIDATION_LEVEL_STRICT = VALIDATION_LEVEL_MAVEN_3_0; /** * Gets the raw model to build. If not set, model source will be used to load raw model. * * @return The raw model to build or {@code null} if not set. */ Model getRawModel(); /** * Set raw model. * * @param rawModel */ ModelBuildingRequest setRawModel(Model rawModel); /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 12.8K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java
* under the License. */ package org.apache.maven.cling.invoker.mvnup.goals; import java.nio.file.Path; import java.nio.file.Paths; import java.util.HashMap; import java.util.Map; import java.util.Set; import java.util.stream.Stream; import eu.maveniverse.domtrip.Document; import eu.maveniverse.domtrip.maven.Coordinates; import org.apache.maven.cling.invoker.mvnup.UpgradeContext; import org.junit.jupiter.api.BeforeEach;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 17.3K bytes - Click Count (0) -
cmd/storage-rest-client.go
} return *resp, nil } values := make(url.Values) values.Set(storageRESTOrigVolume, origvolume) values.Set(storageRESTVolume, volume) values.Set(storageRESTFilePath, path) values.Set(storageRESTVersionID, versionID) values.Set(storageRESTInclFreeVersions, strconv.FormatBool(opts.InclFreeVersions)) values.Set(storageRESTHealing, strconv.FormatBool(opts.Healing))
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 08 02:38:41 GMT 2025 - 30.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/TesterRequirements.java
import java.util.Collections; import java.util.Set; import org.jspecify.annotations.Nullable; /** * Encapsulates the constraints that a class under test must satisfy in order for a tester method to * be run against that class. * * @author George van den Driessche */ @GwtCompatible public final class TesterRequirements { private final Set<Feature<?>> presentFeatures; private final Set<Feature<?>> absentFeatures;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 2.6K bytes - Click Count (0) -
docs_src/body_nested_models/tutorial007_py39.py
class Image(BaseModel): url: HttpUrl name: str class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None tags: set[str] = set() images: Union[list[Image], None] = None class Offer(BaseModel): name: str description: Union[str, None] = None price: float items: list[Item] @app.post("/offers/")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 570 bytes - Click Count (0)