Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 765 for Lock (0.08 sec)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

     */
    public class Smb2NegotiateResponseInputValidationTest {
    
        private Configuration mockConfig;
        private Smb2NegotiateResponse response;
    
        @BeforeEach
        public void setUp() {
            mockConfig = Mockito.mock(Configuration.class);
            response = new Smb2NegotiateResponse(mockConfig);
        }
    
        /**
         * Test that malformed structure size is properly rejected.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  3. docs/SMB3_IMPLEMENTATION_PLAN.md

        C --> D[Multi-Channel]
        D --> E[RDMA Support]
        C --> F[Witness Protocol]
        D --> F
    ```
    
    ## Testing Strategy
    
    ### Unit Tests
    - Individual component testing for each feature
    - Mock-based testing for protocol interactions
    - State machine validation
    
    ### Integration Tests
    - Feature interaction testing
    - Network failure simulation
    - Performance benchmarking
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            QueryBuilder result = matchAllQueryCommand.execute(context, query, boost);
    
            assertNotNull(result);
    
            // Note: Actual log output verification would require a log appender mock
            // but we can at least ensure the method executes without errors
            logger.info("Execute method called with query: {} and boost: {}", query, boost);
        }
    
        public void test_execute_withHighBoost() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            assertTrue(tag.toString().contains("css=new-class"));
            assertTrue(tag.toString().contains("attrName=role"));
            assertTrue(tag.toString().contains("attrValue=link"));
        }
    
        // Mock implementation of Node for testing without external dependencies
        private static class MockNode implements Node {
            private final String nodeName;
            private final Map<String, MockNode> attributes = new HashMap<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 21K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                    String path = "\\\\server";
                    int maxReferralLevel = 3;
                    buffer = new DfsReferralRequestBuffer(path, maxReferralLevel);
    
                    // Configure mock to do nothing when called
                    mockedSMBUtil.when(() -> SMBUtil.writeInt2(anyLong(), any(byte[].class), anyInt())).thenAnswer(invocation -> null);
    
                    byte[] dst = new byte[buffer.size()];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.26.md

    - Introduce `ComponentSLIs` alpha feature-gate for component SLIs metrics endpoint. ([#112884](https://github.com/kubernetes/kubernetes/pull/112884), [@logicalhan](https://github.com/logicalhan)) [SIG API Machinery]
    - Lock ServerSideApply feature gate to true with the feature already being GA. ([#112748](https://github.com/kubernetes/kubernetes/pull/112748), [@wojtek-t](https://github.com/wojtek-t)) [SIG API Machinery, Apps, Instrumentation and Testing]
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Mar 14 16:24:51 UTC 2024
    - 425.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

        }
    
        public void test_installArtifact_default() {
            PluginHelper testHelper = new PluginHelper() {
                @Override
                protected void install(Artifact artifact) {
                    // Mock install method
                }
            };
    
            Artifact artifact = new Artifact("fess-ds-test", "1.0.0", "http://test.com/test.jar");
    
            try {
                testHelper.installArtifact(artifact);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. 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()
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

                    }
                }
            };
            systemHelper.init();
            ComponentUtil.register(systemHelper, "systemHelper");
    
            // Initialize DictionaryManager mock
            org.codelibs.fess.dict.DictionaryManager dictionaryManager = new org.codelibs.fess.dict.DictionaryManager() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
Back to top