- Sort Score
- Num 10 results
- Language All
Results 531 - 540 of 1,149 for lock (0.06 seconds)
-
src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java
import static org.junit.jupiter.api.Assertions.assertSame; import static org.mockito.Mockito.mock; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.dcerpc.DcerpcConstants;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DosErrorTest.java
final int expectedNt = 0xc0000002; interface NtStatusConsumer { void consume(int ntStatus); } NtStatusConsumer mock = mock(NtStatusConsumer.class); findNtStatus(dosErr).ifPresent(mock::consume); verify(mock).consume(expectedNt); } @Test @DisplayName("DOS_ERROR_MESSAGES length matches expectations") void testMessageArrayLength() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrCloseHandleTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.dcerpc.rpc.policy_handle; class MsrpcSamrCloseHandleTest { @Mock private policy_handle mockPolicyHandle; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.4K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
*/ @Test void testGetAuthorizations() throws IOException, PACDecodingException { // 1. GIVEN KerberosAuthData mockAuthData1 = mock(KerberosAuthData.class); KerberosAuthData mockAuthData2 = mock(KerberosAuthData.class); // Mock the parse method to return two different objects based on input // Must use matchers for all arguments when using any matcherCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
} } @Nested @DisplayName("Mock Interaction Tests") class MockInteractionTests { @Test @DisplayName("Should interact with mock Info interface") void testMockInfoInteraction() { // Create a mock of the Info interface Info mockInfo = mock(Info.class); // Set up mock behavior when(mockInfo.getAttributes()).thenReturn(0x20);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
scripts/doc_parsing_utils.py
def replace_multiline_code_block( block_a: MultilineCodeBlockInfo, block_b: MultilineCodeBlockInfo ) -> list[str]: """ Replace multiline code block `a` with block `b` leaving comments intact. Syntax of comments depends on the language of the code block. Raises ValueError if the blocks are not compatible (different languages or different number of lines). """ start_line = block_a["start_line_no"]
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:37:41 GMT 2026 - 23.5K bytes - Click Count (0) -
docs/en/docs/css/custom.css
a[data-external-link]:not(:has(img)):not(.no-link-icon):not(.announce-link) { /* For right to left languages */ direction: ltr; display: inline-block; } a[data-external-link]:not(:has(img)):not(.no-link-icon):not(.announce-link)::after { content: ""; display: inline-block; width: 0.75em; height: 0.75em; margin-left: 0.25em; vertical-align: middle; opacity: 0.55; background: currentColor;Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 23 13:56:46 GMT 2026 - 6.6K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceTest.java
@Mock private CIFSContext mockContext; @Mock private SmbWatchHandle mockWatchHandle; @Mock private SmbRandomAccess mockRandomAccess; @Mock private InputStream mockInputStream; @Mock private OutputStream mockOutputStream; @Mock private CloseableIterator<SmbResource> mockIterator; @MockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/util/MapValueExtractor.java
private MapValueExtractor() { // Utility class } /** * Gets a String value from the map. * * @param map The source map * @param key The key to look up * @return The string value, or null if the key doesn't exist or value is null */ public static String getString(final Map<String, Object> map, final String key) { return getString(map, key, null);Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 9.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/DES.java
} /// Encrypt a block of bytes. /** * Encrypts an 8-byte block using DES * @param clearText the 8-byte plaintext block * @param cipherText the output 8-byte ciphertext block */ public void encrypt(final byte[] clearText, final byte[] cipherText) { encrypt(clearText, 0, cipherText, 0); } /// Decrypt a block of bytes. /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 22.7K bytes - Click Count (0)