Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 391 - 400 of 868 for lock (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/DfsResolverTest.java

    @ExtendWith(MockitoExtension.class)
    class DfsResolverTest {
    
        private DfsResolver dfsResolver;
    
        @Mock
        private CIFSContext mockContext;
    
        @Mock
        private Configuration mockConfig;
    
        @Mock
        private Credentials mockCredentials;
    
        @Mock
        private SmbTransportPool mockTransportPool;
    
        @Mock
        private SmbTransportInternal mockTransport;
    
        @BeforeEach
        void setUp() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java

                bufferIndex += this.unlocks[i].decode(buffer, bufferIndex, buffer.length);
            }
    
            for (int i = 0; i < this.locks.length; i++) {
                this.locks[i] = createLockRange();
                bufferIndex += this.locks[i].decode(buffer, bufferIndex, buffer.length);
            }
    
            return start - bufferIndex;
        }
    
        /**
         * @return
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  3. scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_lines_number_gt.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
    
    ```toml
    # Extra line
    # This is a sample TOML code block
    title = "TOML Example"  # Title of the document
    ```
    
    And more text
    
    ```console
    // Use the command "live" and pass the language code as a CLI argument
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 896 bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                assertEquals(32, mock.size());
            }
    
            @Test
            @DisplayName("Should handle null string name")
            void testMockWithNullStringName() {
                MockCreateContextRequest mock = new MockCreateContextRequest(null);
                assertNull(mock.getName());
            }
    
            @Test
            @DisplayName("Should return configured size from encode")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class NetServerEnumIteratorTest {
    
        @Mock
        private SmbResourceLocator locator;
        @Mock
        private SmbTreeHandleImpl treeHandle;
        @Mock
        private Configuration config;
        @Mock
        private ResourceNameFilter nameFilter;
    
        private SmbFile parent;
    
        @BeforeAll
        static void setupURLHandler() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Comprehensive test suite for NdrShort class
     * Tests construction, encoding, decoding, and edge cases
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("NdrShort Test Suite")
    class NdrShortTest {
    
        @Mock
        private NdrBuffer mockBuffer;
    
        @Nested
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

                protected int getRunningJobCount() {
                    return 0;
                }
    
                @Override
                protected void executeCrawler() {
                    // Mock execution
                }
            };
    
            // Mock ComponentUtil
            ComponentUtil.setFessConfig(new TestFessConfig() {
                @Override
                public Integer getJobMaxCrawlerProcessesAsInteger() {
                    return 5;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 25K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/hash/FunnelsTest.java

        PrimitiveSink primitiveSink = mock(PrimitiveSink.class);
        byteArrayFunnel().funnel(new byte[] {4, 3, 2, 1}, primitiveSink);
        verify(primitiveSink).putBytes(new byte[] {4, 3, 2, 1});
      }
    
      public void testForBytes_null() {
        assertNullsThrowException(byteArrayFunnel());
      }
    
      public void testForStrings() {
        PrimitiveSink primitiveSink = mock(PrimitiveSink.class);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

                UniAddress dc = mock(UniAddress.class);
    
                NtlmChallenge nc = new NtlmChallenge(challenge, dc);
    
                assertSame(challenge, nc.challenge);
                assertSame(dc, nc.dc);
            }
    
            @Test
            @DisplayName("Constructor accepts null challenge")
            void testConstructorAcceptsNullChallenge() {
                UniAddress dc = mock(UniAddress.class);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            updateLabelJob = new UpdateLabelJob();
    
            // Setup mock components
            setupMockComponents();
        }
    
        private void setupMockComponents() {
            // Mock SearchEngineClient
            SearchEngineClient mockSearchEngineClient = new SearchEngineClient() {
                @Override
                public long updateByQuery(String index,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.6K bytes
    - Click Count (0)
Back to Top