- Sort Score
- Num 10 results
- Language All
Results 501 - 510 of 4,636 for should (0.18 seconds)
-
architecture/standards/0002-avoid-using-java-serialization.md
For internal purposes, we use binary formats for their brevity. We use the `Serializer` abstraction to separate the actual implementation of serialization from its uses. When sharing data with external tools, we use JSON. ## Consequences * The configuration cache serialization infrastructure should be used for all serialization.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 14:05:45 GMT 2026 - 2.3K bytes - Click Count (0) -
src/main/java/jcifs/SmbWatchHandle.java
* opened if it is not and should be closed with {@link #close()} when no longer * needed. * * Closing the context should cancel a pending notify request, but that does not seem to work reliable in all * implementations. * * Changes in between these calls (as long as the file is open) are buffered by the server, so iteratively callingCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
// Act + Assert assertTrue(it.hasNext()); assertEquals("a", it.next().getName(), "First element should be initial from open()"); assertTrue(it.hasNext()); assertEquals("b", it.next().getName(), "Next element should skip '.' and '..'"); assertFalse(it.hasNext(), "Iterator exhausted after valid entries"); verify(tree, times(1)).release(); // closed after exhaustion }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java
byte[] dst = new byte[1024]; int result = setupAndX.writeParameterWordsWireFormat(dst, 0); // Verify that data was written (should write 22 bytes based on implementation) assertEquals(22, result, "writeParameterWordsWireFormat should write 22 bytes"); } @Test void testWriteBytesWireFormat() { byte[] dst = new byte[1024];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
// Cache should be invalidated assertFalse(cacheEntry.isComplete()); // Step 10: Test lease release directoryLeaseManager.releaseDirectoryLease(directoryPath); // Cache entry should be removed assertNull(directoryLeaseManager.getCacheEntry(directoryPath));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 14.2K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java
urlQueueService.insert(urlQueue); // Poll should return the item final OpenSearchUrlQueue polled = urlQueueService.poll(sessionId); assertNotNull(polled); assertEquals("http://www.example.com/page1", polled.getUrl()); assertEquals(sessionId, polled.getSessionId()); // Second poll should return null (queue is empty)Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Wed Jan 14 23:48:16 GMT 2026 - 14.5K bytes - Click Count (0) -
internal/dsync/locker.go
// GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package dsync import "context" // NetLocker is dsync compatible locker interface. type NetLocker interface { // Do read lock for given LockArgs. It should return // * a boolean to indicate success/failure of the operation
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jan 18 20:44:38 GMT 2022 - 2.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
// Check if fields were added (they should be added by the store method) assertNotNull(dataMap.get("id"), "ID should be set"); assertNotNull(dataMap.get("doc_id"), "Doc ID should be set"); assertNotNull(dataMap.get("click_count"), "Click count should be set"); assertNotNull(dataMap.get("favorite_count"), "Favorite count should be set"); assertEquals(1, indexUpdateCallback.docList.size());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.7K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcEnumerateAliasesInDomainTest.java
// Then assertNotNull(request, "The request object should not be null."); assertEquals(mockDomainHandle, request.domain_handle, "The domain handle should be set correctly."); assertEquals(acctFlags, request.acct_flags, "The account flags should be set correctly."); assertEquals(mockSamArray, request.sam, "The sam array should be set correctly.");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
InputStream in = new ByteArrayInputStream(concat(messageHeader(5), data)); SocketInputStream sis = new SocketInputStream(in); // Skip should return 0 for negative or zero values assertEquals(0, sis.skip(skipBytes)); // All data should still be available assertEquals(10, sis.read()); } @Test @DisplayName("Skip correctly advances position in stream")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (0)