- Sort Score
- Num 10 results
- Language All
Results 461 - 470 of 955 for Lock (0.04 seconds)
-
src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java
import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockedConstruction; import org.mockito.Mockito; import org.mockito.MockitoAnnotations; /** * Test class for KerberosCredentials. */ class KerberosCredentialsTest { @Mock private LoginContext loginContext; @Mock private Subject subject; @Mock private KerberosKey key1; @MockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
api/go1.txt
pkg sync, method (*Cond) Broadcast() pkg sync, method (*Cond) Signal() pkg sync, method (*Cond) Wait() pkg sync, method (*Mutex) Lock() pkg sync, method (*Mutex) Unlock() pkg sync, method (*Once) Do(func()) pkg sync, method (*RWMutex) Lock() pkg sync, method (*RWMutex) RLock() pkg sync, method (*RWMutex) RLocker() Locker pkg sync, method (*RWMutex) RUnlock() pkg sync, method (*RWMutex) Unlock()
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FlushablesTest.java
// 'swallowException' when the mock does not throw an exception. setupFlushable(false); doFlush(mockFlushable, false, false); setupFlushable(false); doFlush(mockFlushable, true, false); } public void testFlush_flushableWithEatenException() throws IOException { // make sure that no exception is thrown if 'swallowException' is true // when the mock does throw an exception on flush.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 3.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/WitnessClientTest.java
@Test void testSuccessfulRegistration() throws Exception { // Setup mock RPC response WitnessRegisterResponse mockResponse = mock(WitnessRegisterResponse.class); lenient().when(mockResponse.isSuccess()).thenReturn(true); lenient().when(mockResponse.getRegistrationId()).thenReturn("test-reg-123"); WitnessRpcClient mockRpc = mock(WitnessRpcClient.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 9.8K bytes - Click Count (0) -
src/test/java/jcifs/CIFSContextTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.net.URLStreamHandler; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.mockito.Mock; /** * Test class for CIFSContext interface functionality */ @DisplayName("CIFSContext Tests")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
private CIFSContext mockDelegate; private Configuration mockConfiguration; private CIFSContextWrapper cifsContextWrapper; @BeforeEach void setUp() { mockDelegate = mock(CIFSContext.class); mockConfiguration = mock(Configuration.class); when(mockDelegate.getConfig()).thenReturn(mockConfiguration);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
import org.mockito.Mock; import org.mockito.MockedStatic; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSException; import jcifs.spnego.NegTokenInit; @ExtendWith(MockitoExtension.class) class Kerb5ContextTest { @Mock private GSSManager gssManager; @Mock private GSSContext gssContext; @Mock private GSSName serviceName; @MockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.2K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
final SearchResponse mockScrollResponse = mock(SearchResponse.class); final SearchHits mockScrollHits = mock(SearchHits.class); final ActionFuture<SearchResponse> mockScrollFuture = mock(ActionFuture.class); final BulkRequestBuilder mockBulkBuilder = mock(BulkRequestBuilder.class); final BulkResponse mockBulkResponse = mock(BulkResponse.class);Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Jan 12 06:25:38 GMT 2026 - 16.9K bytes - Click Count (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 componentsCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
// Mock the transport layer smbTransport = mock(SmbTransport.class); smbTransport.rcv_buf_size = 4096; smbTransport.snd_buf_size = 4096; // Mock the session layer smbSession = mock(SmbSession.class); smbSession.transport = smbTransport; // Mock the tree layer smbTree = mock(SmbTree.class); smbTree.session = smbSession;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0)