- Sort Score
- Result 10 results
- Languages All
Results 2721 - 2730 of 2,993 for gets (0.25 sec)
-
src/test/java/jcifs/internal/SmbNegotiationTest.java
assertEquals(2048, negotiationWithLargeBuffers.getResponseRaw().length); } @Test @DisplayName("Fields should be immutable after construction") void testImmutability() { // Get references to the objects SmbNegotiationRequest originalRequest = negotiation.getRequest(); SmbNegotiationResponse originalResponse = negotiation.getResponse();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
void testEncodeImmutability() { long originalValue = 1000L; FileEndOfFileInformation info = new FileEndOfFileInformation(originalValue); // Get original toString String originalString = info.toString(); // Encode byte[] buffer = new byte[8]; info.encode(buffer, 0); // Verify object unchanged
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
docs/features/connections.md
2. It attempts to retrieve a connection with that address from the **connection pool**. 3. If it doesn't find a connection in the pool, it selects a **route** to attempt. This usually means making a DNS request to get the server's IP addresses. It then selects a TLS version and proxy server if necessary.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Feb 21 03:33:59 UTC 2022 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/JAASAuthenticator.java
import org.slf4j.LoggerFactory; import jcifs.CIFSException; /** * JAAS kerberos authenticator * * Either configure JAAS for credential caching or reuse a single instance of this authenticator -otherwise you won't * get proper ticket caching. * * Be advised that short/NetBIOS name usage is not supported with this authenticator. Always specify full FQDNs/Realm.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.3K bytes - Viewed (1) -
docs/ko/docs/advanced/async-tests.md
/// 그 다음에 `AsyncClient` 로 앱을 만들고 비동기 요청을 `await` 키워드로 보낼 수 있습니다: {* ../../docs_src/async_tests/test_main.py hl[9:12] *} 위의 코드는: ```Python response = client.get('/') ``` `TestClient` 에 요청을 보내던 것과 동일합니다. /// tip | 팁 새로운 `AsyncClient`를 사용할 때 async/await를 사용하고 있다는 점에 주목하세요. 이 요청은 비동기적으로 처리됩니다. /// /// warning | 경고Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 10 11:03:16 UTC 2024 - 4.7K bytes - Viewed (0) -
docs/en/docs/tutorial/testing.md
``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` Let's say that now the file `main.py` with your **FastAPI** app has some other **path operations**. It has a `GET` operation that could return an error. It has a `POST` operation that could return several errors. Both *path operations* require an `X-Token` header. {* ../../docs_src/app_testing/app_b_an_py310/main.py *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.1K bytes - Viewed (0) -
docs/uk/docs/tutorial/testing.md
├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` Припустимо, що тепер файл `main.py` із Вашим **FastAPI**-застосунком містить додаткові операції шляху (**path operations**). Він має `GET`-операцію, яка може повертати помилку. Він має `POST`-операцію, яка може повертати кілька помилок. Обидві операції шляху вимагають заголовок `X-Token`. //// tab | Python 3.10+ ```Python
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 9.5K bytes - Viewed (0) -
docs/zh/docs/tutorial/cors.md
* `allow_origins` - 一个允许跨域请求的源列表。例如 `['https://example.org', 'https://www.example.org']`。你可以使用 `['*']` 允许任何源。 * `allow_origin_regex` - 一个正则表达式字符串,匹配的源允许跨域请求。例如 `'https://.*\.example\.org'`。 * `allow_methods` - 一个允许跨域请求的 HTTP 方法列表。默认为 `['GET']`。你可以使用 `['*']` 来允许所有标准方法。 * `allow_headers` - 一个允许跨域请求的 HTTP 请求头列表。默认为 `[]`。你可以使用 `['*']` 允许所有的请求头。`Accept`、`Accept-Language`、`Content-Language` 以及 `Content-Type` 请求头总是允许 CORS 请求。
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
try { Field outputBufferField = TransTransactNamedPipeResponse.class.getDeclaredField("outputBuffer"); outputBufferField.setAccessible(true); byte[] actualBuffer = (byte[]) outputBufferField.get(response); assertSame(outputBuffer, actualBuffer); } catch (Exception e) { fail("Failed to access outputBuffer field: " + e.getMessage()); } } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
assertNotNull(authorizations, "The authorizations list should not be null."); assertEquals(1, authorizations.size(), "The authorizations list should contain one element."); assertEquals(mockAuthData, authorizations.get(0), "The authorization element should be the mocked object."); } /** * Test constructor with a malformed ASN.1 token. */ @Test void testConstructor_MalformedToken() { // 1. GIVEN
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9K bytes - Viewed (0)