- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 1,085 for bytesB (0.19 sec)
-
docs/ru/docs/advanced/async-tests.md
{* ../../docs_src/async_tests/test_main.py *} ## Запуск тестов Вы можете запустить свои тесты как обычно: <div class="termy"> ```console $ pytest ---> 100% ``` </div> ## Подробнее Маркер `@pytest.mark.anyio` говорит pytest, что тестовая функция должна быть вызвана асинхронно: {* ../../docs_src/async_tests/test_main.py hl[7] *} /// tip | ПодсказкаRegistered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Jan 27 15:36:13 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java
byte[] dst = new byte[15]; // Increased buffer size to accommodate offset + 8 bytes int offset = 3; // start in the middle to ensure no tail is overwritten int bytesWritten = cmd.writeParametersWireFormat(dst, offset); assertEquals(8, bytesWritten, "writeParametersWireFormat should write 8 bytes"); byte[] expected = expectedParameters(fid, securityInformation);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
docs/en/docs/advanced/custom-response.md
{* ../../docs_src/response_directly/tutorial002.py hl[1,18] *} ### `HTMLResponse` { #htmlresponse } Takes some text or bytes and returns an HTML response, as you read above. ### `PlainTextResponse` { #plaintextresponse } Takes some text or bytes and returns a plain text response. {* ../../docs_src/custom_response/tutorial005.py hl[2,7,9] *} ### `JSONResponse` { #jsonresponse }Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
} // Check for null bytes if (str.indexOf('\0') != -1) { failedValidations.incrementAndGet(); log.warn("{} contains null bytes", fieldName); throw new SmbException(fieldName + " contains null bytes"); } // Check for control characters for (int i = 0; i < str.length(); i++) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
// Format: TOK_ID(2 bytes) | OID_LEN(2 bytes) | OID_DER | NAME_LEN(4 bytes) | NAME(bytes) private static byte[] buildExportName(Oid mech, String name) throws GSSException { byte[] der = mech.getDER(); byte[] nb = name.getBytes(); int len = 2 + 2 + der.length + 4 + nb.length; byte[] out = new byte[len]; int i = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt
} } companion object { /** Arbitrary code point that's 2 bytes in UTF-8 and valid in IdnaMappingTable.txt. */ private const val UNICODE_2 = 0x1a5 /** Arbitrary code point that's 3 bytes in UTF-8 and valid in IdnaMappingTable.txt. */ private const val UNICODE_3 = 0x2202 /** Arbitrary code point that's 4 bytes in UTF-8 and valid in IdnaMappingTable.txt. */ private const val UNICODE_4 = 0x1d11eRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
// Verify file ID byte[] actualFileId = new byte[16]; System.arraycopy(buffer, 80, actualFileId, 0, 16); assertArrayEquals(newFileId, actualFileId); assertEquals(96, bytesWritten); // 32 bytes header + 64 bytes info } // Helper interface for testingRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
securityDescriptorBytes[22] = 8; // ACL size (low byte) securityDescriptorBytes[23] = 0; // ACL size (high byte) securityDescriptorBytes[24] = 0; // ACE count (low byte) - 0 ACEs securityDescriptorBytes[25] = 0; // ACE count (high byte) securityDescriptorBytes[26] = 0; // sbz2 (low byte) securityDescriptorBytes[27] = 0; // sbz2 (high byte)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
docs/ja/docs/tutorial/testing.md
/// ## 実行 後は、`pytest` をインストールするだけです: <div class="termy"> ```console $ pip install pytest ---> 100% ``` </div> ファイルを検知し、自動テストを実行し、結果のレポートを返します。 以下でテストを実行します: <div class="termy"> ```console $ pytest ================ test session starts ================ platform linux -- Python 3.6.9, pytest-5.3.5, py-1.8.1, pluggy-0.13.1
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java
@Test void testWriteBytesWireFormat() { byte[] dst = new byte[1024]; int result = response.writeBytesWireFormat(dst, 0); // The method should write bytes assertEquals(0, result, "writeBytesWireFormat should return 0 for response"); } @Test void testReadBytesWireFormat() { byte[] buffer = new byte[1024]; int result = response.readBytesWireFormat(buffer, 0);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0)