Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 1,149 for lock (0.04 seconds)

  1. src/test/java/jcifs/smb/SmbTreeInternalTest.java

     */
    @ExtendWith(MockitoExtension.class)
    class SmbTreeInternalTest {
    
        @Mock
        private SmbTreeInternal tree;
    
        @Mock
        private CIFSContext context;
    
        @Mock
        private Request<CommonServerMessageBlockResponse> request;
    
        @Mock
        private CommonServerMessageBlockResponse response;
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

        @BeforeEach
        public void setUp() {
            mockContext = Mockito.mock(CIFSContext.class);
            mockTransport = Mockito.mock(SmbTransportImpl.class);
            mockConfig = Mockito.mock(Configuration.class);
            mockCredentials = Mockito.mock(Credentials.class);
            mockCredentialsInternal = Mockito.mock(CredentialsInternal.class);
    
            Mockito.when(mockContext.getConfig()).thenReturn(mockConfig);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/util/Util.java

            } else {
                throw new GradleException("Sysprop [" + property + "] must be [true] or [false] but was [" + propertyValue + "]");
            }
        }
    
        /**
         * @param project The project to look for resources.
         * @param filter  Optional filter function to filter the returned resources
         * @return Returns the {@link FileTree} for main resources from Java projects. Returns null if no files exist.
         */
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jul 27 15:18:50 GMT 2021
    - 5.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/pac/PacGroupTest.java

    import static org.mockito.Mockito.mock;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.smb.SID;
    
    /**
     * Tests for the {@link PacGroup} class.
     */
    class PacGroupTest {
    
        private SID mockSid;
        private PacGroup pacGroup;
        private final int attributes = 42;
    
        @BeforeEach
        void setUp() {
            // Mock the SID object
            mockSid = mock(SID.class);
    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)
  5. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

    /**
     * Unit tests for DirectoryLeaseManager
     */
    public class DirectoryLeaseManagerTest {
    
        @Mock
        private CIFSContext context;
    
        @Mock
        private Configuration config;
    
        @Mock
        private LeaseManager baseLeaseManager;
    
        @Mock
        private SmbFile mockFile1;
    
        @Mock
        private SmbFile mockFile2;
    
        private DirectoryLeaseManager directoryLeaseManager;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java

        private SamrAliasHandle aliasHandle;
        private LsarSidArray sids;
    
        @BeforeEach
        void setUp() {
            // Create mock objects for the constructor parameters
            aliasHandle = mock(SamrAliasHandle.class);
            sids = mock(LsarSidArray.class);
        }
    
        /**
         * Test method for {@link jcifs.dcerpc.msrpc.MsrpcGetMembersInAlias#MsrpcGetMembersInAlias(SamrAliasHandle, LsarSidArray)}.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

    class NameServiceClientImplTest {
    
        @Mock
        private CIFSContext mockContext;
    
        @Mock
        private Configuration mockConfig;
    
        @Mock
        private NetbiosAddress mockNetbiosAddress;
    
        @Mock
        private Address mockAddress;
    
        private NameServiceClientImpl nameServiceClient;
    
        @BeforeEach
        void setUp() throws UnknownHostException {
            // Configure mock context with fast timeouts
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11K bytes
    - Click Count (0)
  8. scripts/tests/test_translation_fixer/test_complex_doc/data/translated_doc_expected.md

    Инструмент исправления не будет сохранять комментарии в этих блоках.
    
    ```json
    {
        # This is a sample JSON code block
        "greeting": "Hello, world!" # Print greeting
    }
    ```
    
    ```console
    # This is a sample console code block
    $ echo "Hello, world!"  # Print greeting
    ```
    
    ```toml
    // This is a sample TOML code block
    title = "TOML Example"  // Title of the document
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 08:08:04 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  9. KEYS.md

    To do this, run the following command:
    
    ```bash
    gpg --sign-key 1BD97A6A154E7810EE0BC832E2F38302C8075E3D
    ```
    
    ## Public Key Block in ascii-armored format
    
    ```
    -----BEGIN PGP PUBLIC KEY BLOCK-----
    
    mQINBGOtCzoBEAC7hGOPLFnfvQKzCZpJb3QYq8X9OiUL4tVa5mG0lDTeBBiuQCDy
    Iyhpo8IypllGG6Wxj6ZJbhuHXcnXSu/atmtrnnjARMvDnQ20jX77B+g39ZYuqxgw
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Dec 04 14:29:13 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  10. scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_wrong_lang_code_2.md

    # Code blocks { #code-blocks }
    
    Some text
    
    ```python
    # This is a sample Python code block
    def hello_world():
        # Comment with indentation
        print("Hello, world!")  # Print greeting
    ```
    
    Some more text
    
    The following block has wrong language code (should be TOML):
    
    ```
    # This is a sample TOML code block
    title = "TOML Example"  # Title of the document
    ```
    
    And more text
    
    ```console
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 942 bytes
    - Click Count (0)
Back to Top