- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 984 for Model1 (0.06 seconds)
-
compat/maven-model/src/test/java/org/apache/maven/model/SerializationTest.java
@Test void testModelSerialization() throws Exception { Model model; try (InputStream is = getClass().getResourceAsStream("/xml/pom.xml")) { model = new MavenXpp3Reader().read(is); } // Serialize an inner child here so that the BaseObject.childrenTracking is non null Build build = model.getBuild(); ByteArrayOutputStream baos = new ByteArrayOutputStream();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.5K bytes - Click Count (0) -
api/maven-api-model/src/main/java/org/apache/maven/api/model/ModelObjectProcessor.java
* be registered in {@code META-INF/services/org.apache.maven.api.model.ModelObjectProcessor}.</p> * * <p>The service is called during model building for all model objects, allowing * implementations to decide which objects to process and how to optimize them.</p> * * @since 4.0.0 */ public interface ModelObjectProcessor { /** * Process a model object, potentially returning a pooled or optimized version. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 4.3K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
} public MaxCodePoint(String userFriendly) { value = decode(userFriendly); } } /** * The default values of maxCodePoint below provide pretty good performance models of different * kinds of common human text. * * @see MaxCodePoint#decode */ @Param({"0x80", "0x90", "0x100", "0x800", "0x10000", "0x10ffff"}) MaxCodePoint maxCodePoint; @Param({"16384"})Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java
/** * Provides access to the contents of a source independently of the * backing store (e.g. file system, database, memory). * <p> * This is mainly used to parse files into objects such as Maven projects, * models, settings, or toolchains. The source implementation handles * all the details of accessing the underlying content while providing * a uniform API to consumers. * <p> * Sources can represent: * <ul>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 29 09:46:53 GMT 2025 - 4K bytes - Click Count (0) -
docs/tr/docs/tutorial/stream-json-lines.md
{* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[1:24] hl[24] *} Göndermek istediğiniz her JSON öğesi `Item` tipindeyse (bir Pydantic modeli) ve fonksiyon async ise, dönüş tipini `AsyncIterable[Item]` olarak belirtebilirsiniz: {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[1:24] hl[9:11,22] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:51:35 GMT 2026 - 4.6K bytes - Click Count (0) -
tests/test_request_params/test_body/test_optional_list.py
class BodyModelOptionalListStr(BaseModel): p: list[str] | None = None @app.post("/model-optional-list-str", operation_id="model_optional_list_str") async def read_model_optional_list_str(p: BodyModelOptionalListStr): return {"p": p.p} @pytest.mark.parametrize( "path", ["/optional-list-str", "/model-optional-list-str"], ) def test_optional_list_str_schema(path: str): openapi = app.openapi()
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 12.6K bytes - Click Count (0) -
tests/benchmarks/test_general_performance.py
@app.get("/sync/dict-no-response-model") def sync_dict_no_response_model(): return {"name": "foo", "value": 123} @app.get("/sync/dict-with-response-model", response_model=ItemOut) def sync_dict_with_response_model( dep: Annotated[int, Depends(dep_b)], ): return {"name": "foo", "value": 123, "dep": dep} @app.get("/sync/model-no-response-model")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Dec 26 20:40:26 GMT 2025 - 11.1K bytes - Click Count (0) -
fastapi/responses.py
directly to JSON bytes via Pydantic when a return type or response model is set, which is faster and doesn't need a custom response class. Read more in the [FastAPI docs for Custom Response](https://fastapi.tiangolo.com/advanced/custom-response/#orjson-or-response-model) and the [FastAPI docs for Response Model](https://fastapi.tiangolo.com/tutorial/response-model/).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 09:21:52 GMT 2026 - 3.6K bytes - Click Count (0) -
.teamcity/src/test/kotlin/CIConfigIntegrationTests.kt
import jetbrains.buildServer.configs.kotlin.failureConditions.BuildFailureOnText import model.ALL_CROSS_VERSION_BUCKETS import model.CIBuildModel import model.DefaultFunctionalTestBucketProvider import model.JsonBasedGradleSubprojectProvider import model.QUICK_CROSS_VERSION_BUCKETS import model.StageName import model.TestCoverage import model.TestType import model.ignoredSubprojects import org.junit.jupiter.api.Assertions.assertEquals
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Oct 16 01:27:05 GMT 2025 - 14.6K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java
* @param model The model to serialize, must not be {@code null}. * @throws IOException If the model could not be serialized. */ void write(Writer output, Map<String, Object> options, Model model) throws IOException; /** * Writes the supplied model to the specified byte stream. The stream will be automatically closed before the method * returns. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.9K bytes - Click Count (0)