Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 237 for locks (0.66 sec)

  1. src/main/java/jcifs/util/AuthenticationRateLimiter.java

         * @param maxAttemptsPerIp max attempts from single IP
         * @param maxGlobalAttemptsPerMinute max global attempts per minute
         * @param lockoutDuration duration to lock out account/IP
         * @param cleanupInterval interval for cleaning up old entries
         */
        public AuthenticationRateLimiter(int maxAttemptsPerAccount, int maxAttemptsPerIp, int maxGlobalAttemptsPerMinute,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

                IOException ioException = exception;
                assertNotNull(ioException);
            }
    
            @Test
            @DisplayName("Should work in catch blocks for IOException")
            void testCatchAsIOException() {
                assertDoesNotThrow(() -> {
                    try {
                        throw new TransportException("Test exception");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          processCalled--; // don't count the tail invocation (makes tests a bit more understandable)
        }
    
        // ensures that the number of invocations looks sane
        void assertInvariants(int expectedBytes) {
          // we should have seen as many bytes as the next multiple of chunk after expectedBytes - 1
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

        // Store session key and preauth hash for key rotation
        private byte[] sessionKey;
        private byte[] preauthIntegrityHash;
        private int rotationCount = 0;
    
        // Key rotation tracking - use atomic for lock-free operations
        private final AtomicLong bytesEncrypted = new AtomicLong(0);
        private long encryptionStartTime = System.currentTimeMillis();
    
        // Configurable key rotation limits with defaults
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            corsFilter = new CorsFilter();
            corsHandlerFactory = new TestCorsHandlerFactory();
            // Initialize mocks
            mockRequest = new TestHttpServletRequest();
            mockResponse = new TestHttpServletResponse();
            mockFilterChain = new TestFilterChain();
            ComponentUtil.register(corsHandlerFactory, "corsHandlerFactory");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_1x.md

     * Fix: Eliminate rare race condition in SPDY streams that would prevent connection reuse.
     * Fix: Change HTTP date formats to UTC to conform to RFC2616 section 3.3.
     * Fix: Support SPDY header blocks with trailing bytes.
     * Fix: Allow `;` as separator for `Cache-Control` header.
     * Fix: Correct bug where HTTPS POST requests were always automatically buffered.
     * Fix: Honor read timeout when parsing SPDY headers.
    
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

        void available_smb2_happyPath() throws Exception {
            // Verify SMB2 path: IOCTL peek result is returned and resources are closed
            SmbPipeInputStream stream = newStreamWithMinimalStubs(true);
    
            // Arrange mocks for available()
            when(handle.ensureOpen()).thenReturn(fd);
            when(fd.getTree()).thenReturn(tree);
            when(tree.isSMB2()).thenReturn(true);
            when(tree.getConfig()).thenReturn(config);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java

    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.never;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    class DefaultToolchainManagerTest {
        // Mocks to inject into toolchainManager
        @Mock
        private Logger logger;
    
        private ToolchainManagerFactory.DefaultToolchainManagerV3 toolchainManager;
    
        @Mock
        private ToolchainFactory toolchainFactoryBasicType;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

         *
         * <ol>
         *   <li>Update the {@link #servicesByState()}
         *   <li>Update the {@link #startupTimers}
         *   <li>Based on the new state queue listeners to run
         *   <li>Run the listeners (outside of the lock)
         * </ol>
         */
        void transitionService(Service service, State from, State to) {
          checkNotNull(service);
          checkArgument(from != to);
          monitor.enter();
          try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  10. README.md

    ---
    
    "_Honestly, what you've built looks super solid and polished. In many ways, it's what I wanted **Hug** to be - it's really inspiring to see someone build that._"
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 15:19:49 UTC 2025
    - 24.3K bytes
    - Viewed (0)
Back to top