- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for 1239 (4.32 sec)
-
src/test/java/jcifs/smb/SmbSessionImplTest.java
void testGetExpiration() { SmbSessionImpl session = newSession(); assertNull(session.getExpiration()); setField(session, "expiration", 123L); assertEquals(123L, session.getExpiration()); setField(session, "expiration", 0L); assertNull(session.getExpiration()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
stubValidTree(5L, true, true); byte[] fileId = new byte[] { 0x0A, 0x0B }; SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, fileId, tree, "//server/share/path", 0x1, 0x2, 0x3, 0x4, 123L); h.close(777L); // Verify SMB2 close path verify(tree, times(1)).send(isA(Smb2CloseRequest.class), eq(RequestParam.NO_RETRY)); // Tree is always released in finally
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
// Arrange CommonServerMessageBlockRequest req = mock(CommonServerMessageBlockRequest.class); when(req.getOverrideTimeout()).thenReturn(1234); // Act int timeout = transport.getResponseTimeout(req); // Assert assertEquals(1234, timeout); } @Test @DisplayName("getResponseTimeout falls back to config for non-SMB requests")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
docs/en/data/topic_repos.yml
stars: 1241 owner_login: koxudaxi owner_html_url: https://github.com/koxudaxi - name: fastcrud html_url: https://github.com/benavlabs/fastcrud stars: 1236 owner_login: benavlabs owner_html_url: https://github.com/benavlabs - name: prometheus-fastapi-instrumentator html_url: https://github.com/trallnag/prometheus-fastapi-instrumentator stars: 1217
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Sep 05 08:57:41 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/NbtExceptionTest.java
assertTrue(message.contains(description)); } @Test @DisplayName("getErrorString for unknown error class") void testUnknownErrorClass() { int unknownClass = 1234; String expected = "unknown error class: 1234"; assertEquals(expected, NbtException.getErrorString(unknownClass, 0)); } @Test @DisplayName("Constructor sets fields and message correctly") void testConstructor() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
when(fd.getTree()).thenReturn(tree); when(tree.isSMB2()).thenReturn(false); when(tree.getConfig()).thenReturn(config); when(config.getPid()).thenReturn(1234); // Stub send to populate the provided response instance via reflection Mockito.doAnswer(inv -> { Object resp = inv.getArgument(1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java
assertEquals(0L, dictionaryItem.getId()); } public void test_getId_afterSetting() { // Test getting ID after setting it dictionaryItem.id = 123L; assertEquals(123L, dictionaryItem.getId()); } public void test_getId_negativeValue() { // Test with negative ID value dictionaryItem.id = -456L; assertEquals(-456L, dictionaryItem.getId());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.1K bytes - Viewed (0) -
docs/en/docs/release-notes.md
* ➕ Add docs dependency: markdown-include-variants. PR [#12399](https://github.com/fastapi/fastapi/pull/12399) by [@tiangolo](https://github.com/tiangolo). * 📝 Fix extra mdx-base-path paths. PR [#12397](https://github.com/fastapi/fastapi/pull/12397) by [@tiangolo](https://github.com/tiangolo). * 👷 Tweak labeler to not override custom labels. PR [#12398](https://github.com/fastapi/fastapi/pull/12398) by [@tiangolo](https://github.com/tiangolo).
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Sep 05 12:48:45 UTC 2025 - 544.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
void testUrlCreationWithHandler() throws Exception { // Act - Create various SMB URLs using the handler URL url1 = new URL(null, "smb://host/share", handler); URL url2 = new URL(null, "smb://host:1234/share/file.txt", handler); URL url3 = new URL(null, "smb://user:pass@host/share", handler); // Assert - Verify URL components assertEquals("smb", url1.getProtocol());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/UniAddressTest.java
} @Test void shouldReturnInetAddressHostAddressWhenWrappedIsInetAddress() { when(mockInetAddress.getHostAddress()).thenReturn("1.2.3.4"); UniAddress uniAddress = new UniAddress(mockInetAddress); assertEquals("1.2.3.4", uniAddress.getHostAddress()); } @Test void shouldReturnNbtAddressHostAddressWhenWrappedIsNbtAddress() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.4K bytes - Viewed (0)