Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 75 for 3600 (4.16 sec)

  1. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            serverData.securityMode = 0x0F;
            serverData.security = 1;
            serverData.maxNumberVcs = 1;
            serverData.maxRawSize = 65536;
            serverData.serverTimeZone = -300;
            serverData.encryptionKeyLength = 8;
    
            // Then
            assertEquals(0x12345678, serverData.sflags2);
            assertEquals(50, serverData.smaxMpxCount);
            assertEquals(65536, serverData.maxBufferSize);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            int headerStart = 50;
    
            // Set structure size to 9
            SMBUtil.writeInt2(9, buffer, bufferIndex);
            // Set buffer offset (relative to header start)
            SMBUtil.writeInt2(300, buffer, bufferIndex + 2);
            // Set buffer length
            SMBUtil.writeInt4(0, buffer, bufferIndex + 4);
    
            response = spy(response);
            when(response.getHeaderStart()).thenReturn(headerStart);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

         * Whether the cookie value is encrypted.
         */
        protected boolean encryptedCookieValue = true;
    
        /**
         * The maximum age of the role information in seconds.
         */
        protected long maxAge = 30 * 60; // sec
    
        /**
         * A map of cookie names to role names.
         */
        protected Map<String, String> cookieNameMap;
    
        /**
         * A list of default roles.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            // Should pass without exception
        }
    
        @Test
        public void testStringTooLong() throws Exception {
            String longString = "a".repeat(300);
            assertThrows(SmbException.class, () -> {
                validator.validateString(longString, 255, "test");
            });
        }
    
        @Test
        public void testStringWithNullBytes() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

                    } catch (InterruptedException e) {}
                    return "medium";
                });
    
                cbWithMetrics.executeWithCircuitBreaker(() -> {
                    try {
                        Thread.sleep(300);
                    } catch (InterruptedException e) {}
                    return "slow";
                });
    
                // Check metrics
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/NtlmServlet.java

            /*
             * Set jcifs properties we know we want; soTimeout and cachePolicy to 10min.
             */
            p.setProperty("jcifs.smb.client.soTimeout", "300000");
            p.setProperty("jcifs.netbios.cachePolicy", "600");
    
            final Enumeration<String> e = config.getInitParameterNames();
            String name;
            while (e.hasMoreElements()) {
                name = e.nextElement();
                if (name.startsWith("jcifs.")) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
  7. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

        static final int DEFAULT_SND_BUF_SIZE = 576;
        static final int NAME_SERVICE_UDP_PORT = 137;
        static final int DEFAULT_RETRY_COUNT = 2;
        static final int DEFAULT_RETRY_TIMEOUT = 3000;
    
        static final int RESOLVER_LMHOSTS = 1;
        static final int RESOLVER_BCAST = 2;
        static final int RESOLVER_WINS = 3;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            int headerStart = 50;
    
            // Set structure size to 9
            SMBUtil.writeInt2(9, buffer, bufferIndex);
            // Set buffer offset (relative to header start)
            SMBUtil.writeInt2(300, buffer, bufferIndex + 2);
            // Set buffer length
            SMBUtil.writeInt4(8, buffer, bufferIndex + 4);
    
            response = spy(response);
            when(response.getHeaderStart()).thenReturn(headerStart);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Dfs.java

        static LogStream log = LogStream.getInstance();
        static final boolean strictView = Config.getBoolean("jcifs.smb1.smb.client.dfs.strictView", false);
        static final long TTL = Config.getLong("jcifs.smb1.smb.client.dfs.ttl", 300);
        static final boolean DISABLED = Config.getBoolean("jcifs.smb1.smb.client.dfs.disabled", false);
    
        /**
         * Sentinel cache entry indicating a negative cache result
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/PathValidatorTest.java

            });
        }
    
        @Test
        public void testComponentTooLong() throws Exception {
            StringBuilder longComponent = new StringBuilder("\\share\\");
            for (int i = 0; i < 300; i++) {
                longComponent.append('a');
            }
            assertThrows(SmbException.class, () -> {
                validator.validatePath(longComponent.toString());
            });
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
Back to top