Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 177 for Reed (0.03 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

        private SmbTransport.ServerData serverData;
        private SmbComNegotiateResponse response;
    
        @BeforeEach
        void setUp() throws UnknownHostException {
            // To instantiate the non-static inner class ServerData, we need an instance of the outer class SmbTransport.
            UniAddress uniAddress = new UniAddress(InetAddress.getByName("127.0.0.1"));
            SmbTransport transport = new SmbTransport(uniAddress, 445, null, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/AuthenticationRateLimiter.java

         * Check global rate limit
         */
        private boolean checkGlobalRateLimit() {
            long now = System.currentTimeMillis();
            long windowStart = currentWindowStart.get();
    
            // Check if we need to reset the window (1 minute window)
            if (now - windowStart > 60000) {
                currentWindowStart.compareAndSet(windowStart, now);
                globalAttemptsInCurrentWindow.set(0);
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            }
    
            @Test
            public void testGetTypeForShare() throws Exception {
                SmbFile share = new SmbFile("smb1://server/share/");
                // To test this properly, we would need to mock connect0() and the tree object.
                // This is a limitation of unit testing such a coupled class.
                // We expect an SmbException because it will try to connect.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                            response.wait(timeout);
    
                            /*
                             * JetDirect printer can respond to regular broadcast query
                             * with node status so we need to check to make sure that
                             * the record type matches the question type and if not,
                             * loop around and try again.
                             */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

                    fos = new FileOutputStream(newFile);
                    writer = new BufferedWriter(new OutputStreamWriter(fos, Constants.UTF_8));
                    fos = null; // Successfully wrapped, no need to close explicitly
                } catch (final Exception e) {
                    if (fos != null) {
                        try {
                            fos.close();
                        } catch (final IOException ioe) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/Kerb5Authenticator.java

         */
        protected void setSubject(Subject subject) {
            this.subject = subject;
        }
    
        @Override
        public void refresh() throws CIFSException {
            // custom Kerb5Authenticators need to override this method for support
            throw new SmbUnsupportedOperationException("Refreshing credentials is not supported by this authenticator");
        }
    
        @Override
        public Kerb5Authenticator clone() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/PathValidatorTest.java

            normalizedPath = noUncValidator.validatePath("////server//share");
            assertEquals("\\server\\share", normalizedPath);
    
            // To properly test UNC rejection, we would need to fix the normalization logic
            // to preserve the leading double backslash for UNC paths
        }
    
        @Test
        public void testInvalidUncPath() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/XmlUtilTest.java

            // Test valid character ranges
            String input = "Test" + String.valueOf((char) 0x0020) // space
                    + String.valueOf((char) 0x0009) // tab
                    + String.valueOf((char) 0x000A) // line feed
                    + String.valueOf((char) 0x000D) // carriage return
                    + String.valueOf((char) 0xD7FF) + String.valueOf((char) 0xE000) + String.valueOf((char) 0xFFFD);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                    fos = new FileOutputStream(newFile);
                    writer = new BufferedWriter(new OutputStreamWriter(fos, Constants.UTF_8));
                    fos = null; // Successfully wrapped, no need to close explicitly
                } catch (final Exception e) {
                    if (fos != null) {
                        try {
                            fos.close();
                        } catch (final IOException ioe) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/HMACT64Test.java

            // Mock Crypto.getMD5() to return our mockMd5 instance
            // This requires Mockito 3.4.0+ for MockedStatic
            // For simplicity, we'll assume Crypto.getMD5() is static and mock it.
            // If it's not static, we'd need to inject it or mock the class that provides it.
            try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) {
                mockedCrypto.when(Crypto::getMD5).thenReturn(mockMd5);
            }
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
Back to top