- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 524 for strs (1.54 sec)
-
src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java
// Or, more simply, check the format of the string. @Test void testToStringFormat() { String str = response.toString(); assert (str.startsWith("TransTransactNamedPipeResponse[")); assert (str.endsWith("]")); } } // We need to add a helper method to TransTransactNamedPipeResponse to make the test more precise
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
PacDataInputStream pdis = createInputStream(data); PacUnicodeString str = pdis.readUnicodeString(); assertEquals(4, str.getLength()); assertEquals(4, str.getMaxLength()); assertEquals(0x1234, str.getPointer()); } @Test public void testReadUnicodeStringMalformed() throws IOException { // length > maxLength
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
docs/uk/docs/tutorial/encoder.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.5K bytes - Viewed (0) -
docs/es/docs/tutorial/dependencies/sub-dependencies.md
```Python hl_lines="1" async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]): return {"fresh_value": fresh_value} ``` //// //// tab | Python 3.8+ sin Anotaciones /// tip | Consejo Prefiere usar la versión `Annotated` si es posible. /// ```Python hl_lines="1" async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 3.7K bytes - Viewed (0) -
docs/nl/docs/python-types.md
```Python hl_lines="1 4" {!../../docs_src/python_types/tutorial009.py!} ``` Door `Optional[str]` te gebruiken in plaats van alleen `str`, kan de editor je helpen fouten te detecteren waarbij je ervan uit zou kunnen gaan dat een waarde altijd een `str` is, terwijl het in werkelijkheid ook `None` zou kunnen zijn. `Optional[EenType]` is eigenlijk een snelkoppeling voor `Union[EenType, None]`, ze zijn equivalent.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 18.1K bytes - Viewed (0) -
docs/pt/docs/tutorial/body-nested-models.md
* Conversão de dados * Validação de dados * Documentação automatica ## Tipos especiais e validação Além dos tipos singulares normais como `str`, `int`, `float`, etc. Você também pode usar tipos singulares mais complexos que herdam de `str`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 7.2K bytes - Viewed (0) -
docs/es/docs/python-types.md
{!../../docs_src/python_types/tutorial009.py!} ``` Usar `Optional[str]` en lugar de solo `str` te permitirá al editor ayudarte a detectar errores donde podrías estar asumiendo que un valor siempre es un `str`, cuando en realidad también podría ser `None`. `Optional[Something]` es realmente un atajo para `Union[Something, None]`, son equivalentes. Esto también significa que en Python 3.10, puedes usar `Something | None`:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 17:46:44 UTC 2024 - 17.6K bytes - Viewed (1) -
docs/fa/docs/python-types.md
{!../../docs_src/python_types/tutorial009.py!} ``` استفاده از `Optional[str]` به جای فقط `str` به ویرایشگر کمک میکنه خطاهایی که ممکنه فکر کنی یه مقدار همیشه `str` هست رو پیدا کنه، در حالی که میتونه `None` هم باشه. `Optional[Something]` در واقع میانبر برای `Union[Something, None]` هست، این دو تا معادلن. یعنی توی پایتون 3.10، میتونی از `Something | None` استفاده کنی: //// tab | Python 3.10+ ```Python hl_lines="1"
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Jul 21 12:20:57 UTC 2025 - 23.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
@DisplayName("Test toString contains proper class name") void testToStringFormat() { String str = response.toString(); // Should start with the class name assertTrue(str.startsWith("Trans2SetFileInformationResponse[")); // Should end with closing bracket assertTrue(str.endsWith("]")); // Should contain parent toString content
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
docs/em/docs/tutorial/path-params.md
## 🔁 💲 🚥 👆 ✔️ *➡ 🛠️* 👈 📨 *➡ 🔢*, ✋️ 👆 💚 💪 ☑ *➡ 🔢* 💲 🔁, 👆 💪 ⚙️ 🐩 🐍 <abbr title="Enumeration">`Enum`</abbr>. ### ✍ `Enum` 🎓 🗄 `Enum` & ✍ 🎧-🎓 👈 😖 ⚪️➡️ `str` & ⚪️➡️ `Enum`. 😖 ⚪️➡️ `str` 🛠️ 🩺 🔜 💪 💭 👈 💲 🔜 🆎 `string` & 🔜 💪 ✍ ☑. ⤴️ ✍ 🎓 🔢 ⏮️ 🔧 💲, ❔ 🔜 💪 ☑ 💲: {* ../../docs_src/path_params/tutorial005.py hl[1,6:9] *} /// info
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 7.5K bytes - Viewed (0)