- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 357 for primed (0.16 sec)
-
android/guava-tests/test/com/google/common/io/ByteStreamsTest.java
ByteStreams.copy(inChannel, outChannel); assertThat(out.toByteArray()).isEqualTo(expected); } public void testCopyFileChannel() throws IOException { final int chunkSize = 14407; // Random prime, unlikely to match any internal chunk size ByteArrayOutputStream out = new ByteArrayOutputStream(); WritableByteChannel outChannel = Channels.newChannel(out); File testFile = createTempFile();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.9K bytes - Viewed (0) -
docs/es/docs/advanced/response-directly.md
Como **FastAPI** no realiza ningún cambio en la `Response` que devuelves, debes asegurarte de que el contenido está listo. Por ejemplo, no puedes poner un modelo Pydantic en una `JSONResponse` sin primero convertirlo a un `dict` con todos los tipos de datos (como `datetime`, `UUID`, etc) convertidos a tipos compatibles con JSON. Para esos casos, puedes usar el `jsonable_encoder` para convertir tus datos antes de pasarlos a la respuesta:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jan 13 11:57:27 GMT 2024 - 3.2K bytes - Viewed (0) -
cmd/update-notifier.go
// not able to calculate terminal width via OS syscalls termWidth := 25 if width, err := pb.GetTerminalWidth(); err == nil { termWidth = width } // Box cannot be printed if terminal width is small than maxContentWidth if maxContentWidth > termWidth { return "\n" + line1InColor + "\n" + line2InColor + "\n\n" } topLeftChar := "┏" topRightChar := "┓" bottomLeftChar := "┗"
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Mar 09 03:07:08 GMT 2024 - 3.6K bytes - Viewed (0) -
docs/zh/docs/tutorial/response-model.md
```Python hl_lines="3 5" { "name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2 } ``` 这些值将包含在响应中。 #### 具有与默认值相同值的数据 如果数据具有与默认值相同的值,例如 ID 为 `baz` 的项: ```Python hl_lines="3 5-6" { "name": "Baz", "description": None, "price": 50.2, "tax": 10.5, "tags": [] } ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 7.9K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py
from docs_src.path_operation_configuration.tutorial006 import app client = TestClient(app) @pytest.mark.parametrize( "path,expected_status,expected_response", [ ("/items/", 200, [{"name": "Foo", "price": 42}]), ("/users/", 200, [{"username": "johndoe"}]), ("/elements/", 200, [{"item_id": "Foo"}]), ], ) def test_query_params_str_validations(path, expected_status, expected_response):
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.3K bytes - Viewed (0) -
ci/official/utilities/extract_resultstore_links.py
# ============================================================================== """Extracts ResultStore links from a log containing Bazel invocations. The links and the invocations' status can then be printed out, or output in the form of JUnit-based XML. """ import argparse import datetime import os import re from typing import Dict, Union import xml.etree.ElementTree as ElemTree
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Nov 08 17:50:27 GMT 2023 - 10.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java
* plugins that require dependency resolution although they usually run in phases of the build where project * artifacts haven't been assembled yet. The prime example of this is "mvn release:prepare". */ if (aggregating && areAllDependenciesInReactor(session.getProjects(), result.getUnresolvedDependencies())) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:31:49 GMT 2024 - 15.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt
assertThat(associatedStreamId).isEqualTo(-1) assertThat(headerBlock).isEqualTo(sentHeaders) } }, ) } /** Headers are compressed, then framed. */ @Test fun headersFrameThenContinuation() { val sentHeaders = largeHeaders() val headerBlock = literalHeaders(sentHeaders) // Write the first headers frame.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 28.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/FarmHashFingerprint64.java
*/ @ElementTypesAreNonnullByDefault final class FarmHashFingerprint64 extends AbstractNonStreamingHashFunction { static final HashFunction FARMHASH_FINGERPRINT_64 = new FarmHashFingerprint64(); // Some primes between 2^63 and 2^64 for various uses. private static final long K0 = 0xc3a5c85c97cb3127L; private static final long K1 = 0xb492b66fbe98f273L; private static final long K2 = 0x9ae16a3b2f90404fL; @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Apr 01 22:39:48 GMT 2022 - 7.6K bytes - Viewed (0) -
android/guava/src/com/google/common/math/PairedStats.java
import java.io.Serializable; import java.nio.ByteBuffer; import java.nio.ByteOrder; import javax.annotation.CheckForNull; /** * An immutable value object capturing some basic statistics about a collection of paired double * values (e.g. points on a plane). Build instances with {@link PairedStatsAccumulator#snapshot}. * * @author Pete Gillin * @since 20.0 */ @J2ktIncompatible @GwtIncompatible
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 17:02:53 GMT 2023 - 12.6K bytes - Viewed (0)