- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 818 for rock (0.03 sec)
-
docs/smb3-features/04-directory-leasing-design.md
lock.readLock().lock(); try { lastAccessTime = System.currentTimeMillis(); return children.get(name); } finally { lock.readLock().unlock(); } } public boolean hasChild(String name) { lock.readLock().lock(); try { lastAccessTime = System.currentTimeMillis(); return children.containsKey(name);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java
} }; NotificationHelper notificationHelper = new NotificationHelper() { // Mock send method public void send(final Object postcard) { // Mock implementation } }; // Mock Postbox - no need to mock, the framework will handle it // Register componentsRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
import jcifs.internal.smb2.ioctl.SrvPipePeekResponse; @ExtendWith(MockitoExtension.class) class SmbPipeInputStreamTest { @Mock SmbPipeHandleImpl handle; @Mock SmbNamedPipe pipe; @Mock SmbTreeHandleImpl tree; @Mock SmbFileHandleImpl fd; @Mock Configuration config; private SmbPipeInputStream newStreamWithInit(boolean smb2) throws CIFSException {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/jcifs/internal/dfs/DfsReferralDataInternalTest.java
import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.DfsReferralData; /** * Test class for DfsReferralDataInternal interface * Tests the interface contract using mock implementations and concrete class */ @DisplayName("DfsReferralDataInternal Interface Tests") class DfsReferralDataInternalTest { @Mock private DfsReferralDataInternal mockReferralData;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
// Mock implementation }; generator.searchEngineClient = mockClient; assertEquals(mockClient, generator.searchEngineClient); } // Helper methods for setting up mock components private void setupMockComponents() { try { // Register mock system propertiesRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileTest.java
@ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) public class SmbFileTest { @Mock private CIFSContext mockCifsContext; @Mock private SmbResourceLocator mockLocator; @Mock private Configuration mockConfig; @Mock private Credentials mockCredentials; private URL url; private SmbFile smbFile; @BeforeEachRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
import org.junit.jupiter.params.provider.MethodSource; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSException; import jcifs.ResourceFilter; import jcifs.SmbResource; import jcifs.SmbResourceLocator; @ExtendWith(MockitoExtension.class) class SmbEnumerationUtilTest { @Mock SmbFilenameFilter fnf; @Mock SmbFileFilter ff;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* * Lock lockA = factory1.newReentrantLock(MyLockOrder.FIRST); * Lock lockB = factory1.newReentrantLock(MyLockOrder.FIRST); * Lock lockC = factory2.newReentrantLock(MyLockOrder.FIRST); * * lockA.lock(); * * lockB.lock(); // will throw an IllegalStateException * lockC.lock(); // will throw an IllegalStateException * * lockA.lock(); // reentrant acquisition is okay * }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 35.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
// Arrange: mock and stub each getter with distinct values SmbBasicFileInfo mock = Mockito.mock(SmbBasicFileInfo.class); Mockito.when(mock.getAttributes()).thenReturn(7); Mockito.when(mock.getCreateTime()).thenReturn(11L); Mockito.when(mock.getLastWriteTime()).thenReturn(13L); Mockito.when(mock.getLastAccessTime()).thenReturn(17L);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
import jcifs.internal.smb2.nego.Smb2NegotiateResponse; import jcifs.internal.smb2.tree.Smb2TreeConnectResponse; class SmbTreeImplTest { @Mock private SmbSessionImpl session; @Mock private Configuration config; @Mock private CIFSContext context; @Mock private SmbTransportImpl transport; @BeforeEach void setUp() throws Exception { MockitoAnnotations.openMocks(this);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0)