Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 385 for getValue5 (0.05 sec)

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

            ArgumentCaptor<CommonServerMessageBlockRequest> reqCap = ArgumentCaptor.forClass(CommonServerMessageBlockRequest.class);
            verify(tree).send(reqCap.capture(), any(), any(), any());
            assertTrue(reqCap.getValue() instanceof Smb2ChangeNotifyRequest, "SMB2 request must be used");
            verify(tree, times(1)).close(); // try-with-resources must close
            verify(handle, never()).markClosed();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                ArgumentCaptor<Smb2ReadRequest> cap = ArgumentCaptor.forClass(Smb2ReadRequest.class);
                verify(mockTree).send(cap.capture(), any(RequestParam.class));
                Smb2ReadRequest req = cap.getValue();
    
                // Reflectively inspect the private 'offset' field to assert it used the advanced fp
                Field offField = Smb2ReadRequest.class.getDeclaredField("offset");
                offField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/AuthenticationRateLimiter.java

            accountAttempts.entrySet().removeIf(entry -> {
                AccountAttempts account = entry.getValue();
                return !account.isLockedOut() && account.getLastAttempt().plus(cleanupInterval).isBefore(now);
            });
    
            // Clean up IP attempts
            ipAttempts.entrySet().removeIf(entry -> {
                IpAttempts ip = entry.getValue();
                return !ip.isBlocked() && ip.getLastAttempt().plus(cleanupInterval).isBefore(now);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/audit/SecurityAuditLogger.java

                    if (e.getValue() != null) {
                        if (!first) {
                            json.append(",");
                        }
                        json.append("\"").append(escapeJson(e.getKey())).append("\":\"");
                        json.append(escapeJson(String.valueOf(e.getValue()))).append("\"");
                        first = false;
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/timer/HotThreadMonitorTarget.java

                    final StringBuilder tempBuf = new StringBuilder();
                    append(tempBuf, StringEscapeUtils.escapeJson(e.getKey()), () -> StringEscapeUtils.escapeJson(e.getValue().getHotThreads()));
                    return tempBuf.toString();
                }).collect(Collectors.joining(","));
                buf.append(hotThreads).append(',');
            } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

            ArgumentCaptor<String> pathCap = ArgumentCaptor.forClass(String.class);
            verify(locator).handleDFSReferral(drCap.capture(), pathCap.capture());
    
            assertSame(referral, drCap.getValue());
            assertEquals(req, pathCap.getValue());
            verifyNoMoreInteractions(locator);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

                ArgumentCaptor<MsrpcSamrConnect4> captor = ArgumentCaptor.forClass(MsrpcSamrConnect4.class);
                verify(mockHandle).sendrecv(captor.capture());
                assertEquals("\\\\", captor.getValue().system_name); // Verify server name in RPC call
            }
        }
    
        @Test
        void testConstructor_FallbackToConnect2() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        for (RemovalNotification<String, String> notification : listener) {
          removalNotifications.put(notification.getKey(), notification.getValue());
          assertEquals(
              "Unexpected key/value pair passed to removalListener",
              notification.getKey(),
              notification.getValue());
        }
    
        // All of the seed values should have been visible, so we should have gotten removal
        // notifications for all of them.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        for (RemovalNotification<String, String> notification : listener) {
          removalNotifications.put(notification.getKey(), notification.getValue());
          assertEquals(
              "Unexpected key/value pair passed to removalListener",
              notification.getKey(),
              notification.getValue());
        }
    
        // All of the seed values should have been visible, so we should have gotten removal
        // notifications for all of them.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/SecureKeyManager.java

            for (Map.Entry<String, byte[]> entry : rawKeys.entrySet()) {
                Arrays.fill(entry.getValue(), (byte) 0);
            }
            rawKeys.clear();
    
            // Destroy all secret keys
            for (Map.Entry<String, SecretKey> entry : sessionKeys.entrySet()) {
                SecretKey key = entry.getValue();
                if (key instanceof Destroyable) {
                    try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
Back to top