- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 277 for samme (0.82 sec)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
SMBUtil.writeInt2(0, buffer, 2); // When - simulate multiple concurrent reads on same response object int read1 = response.readBytesWireFormat(buffer, 0); int read2 = response.readBytesWireFormat(buffer, 0); int read3 = response.readBytesWireFormat(buffer, 0); // Then - all reads should return same result assertEquals(4, read1); assertEquals(4, read2);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
* server address, the canonical representation of the URL, and does not * compare authentication information. In essance, two * <code>SmbFile</code> objects that refer to * the same file should generate the same hashcode provided it is possible * to make such a determination. * * @return A hashcode for this abstract file */ @Override public int hashCode() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
} @Test @DisplayName("Test concurrent access") void testConcurrentAccess() throws InterruptedException { // Test thread safety - multiple threads accessing the same response final int THREAD_COUNT = 10; Thread[] threads = new Thread[THREAD_COUNT]; final boolean[] success = new boolean[THREAD_COUNT]; for (int i = 0; i < THREAD_COUNT; i++) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtStatusTest.java
// When String[] messages = NtStatus.NT_STATUS_MESSAGES; // Then assertNotNull(messages); assertTrue(messages.length > 0); // Should have same length as codes array assertEquals(NtStatus.NT_STATUS_CODES.length, messages.length); // First message should be for success assertNotNull(messages[0]);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
assertNotNull(id); assertTrue(id.length() <= 445); } @Test public void testCreateSuggestTextIdConsistency() { // Test that same input always produces same output String text = "consistency test"; String id1 = SuggestUtil.createSuggestTextId(text); String id2 = SuggestUtil.createSuggestTextId(text); assertEquals(id1, id2); }
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 26.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
void testMultipleRequests() { Smb2EchoRequest request1 = new Smb2EchoRequest(mockConfig); Smb2EchoRequest request2 = new Smb2EchoRequest(mockConfig); // Both should have same properties assertEquals(request1.getCommand(), request2.getCommand()); assertEquals(request1.size(), request2.size()); // But be different objects
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsWebConfigBhv.java
return facadeSelectList(createCB(cbLambda)); } public PagingResultBean<WebConfig> selectPage(CBCall<WebConfigCB> cbLambda) { // #pending same? return (PagingResultBean<WebConfig>) facadeSelectList(createCB(cbLambda)); } public void selectCursor(CBCall<WebConfigCB> cbLambda, EntityRowHandler<WebConfig> entityLambda) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
assertTrue(cos.isInMemory()); cos.close(); } @Test public void testMultipleGetFile() throws IOException { // Calling getFile() multiple times should return the same file ContentOutputStream cos = new ContentOutputStream(5, Curl.tmpDir); cos.write(new byte[] { 0, 1, 2, 3, 4, 5 }); File file1 = cos.getFile(); File file2 = cos.getFile();
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Wed Nov 12 14:01:04 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
SmbTreeHandleInternal t2 = handle.ensureTreeConnected(); // Assert assertSame(tree, t1, "First acquire returns provided tree"); assertSame(tree, t2, "Subsequent acquire returns same tree instance"); verify(pipe, times(1)).ensureTreeConnected(); verify(tree, times(2)).acquire(); } @Test @DisplayName("getInput/getOutput return cached streams when open; throw when closed")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0)