Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 93 for getConfigs (0.17 sec)

  1. src/test/java/jcifs/tests/TimeoutTest.java

                            "Timeout %d outside expected range (%f)",
                            timeout,
                            1.5 * ( ctx.getConfig().getConnTimeout() + ctx.getConfig().getResponseTimeout() )),
                        timeout < 1.5 * ( ctx.getConfig().getConnTimeout() + ctx.getConfig().getResponseTimeout() ));
    
                    Set<Thread> threadsAfter = new HashSet<>(Thread.getAllStackTraces().keySet());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/FileAttributesTest.java

            super(name, properties);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
            return getConfigs("smb1", "noUnicode", "forceUnicode", "noNTStatus", "noNTSmbs", "smb2", "smb30", "smb31");
        }
    
    
        @Test
        public void testBaseFile () throws MalformedURLException, CIFSException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/ReadWriteTest.java

        }
    
    
        static Random getRandom () {
            return new Random(SEED);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
            return getConfigs("smb1", "noLargeReadWrite", "noNTSmbs", "forceSigning", "smb2", "smb30", "smb31");
        }
    
    
        @Test
        public void test () throws IOException {
            runReadWriteTest(4096, 4 * 4096);
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/SessionTest.java

        public SessionTest ( String name, Map<String, String> properties ) {
            super(name, properties);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
            return getConfigs(
                "smb1",
                "smb1-noSigning",
                "smb1-forceSigning",
                "noSigning",
                "forceSigning",
                "legacyAuth",
                "forceSpnegoIntegrity",
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/FileOperationsTest.java

            super(name, properties);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
            return getConfigs("smb1", "noUnicode", "forceUnicode", "noNTStatus", "noNTSmbs", "smb2", "smb30", "smb31");
        }
    
    
        @Test
        public void testRenameFile () throws CIFSException, MalformedURLException, UnknownHostException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:17:59 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/AllTests.java

            return cached;
        }
    
    
        /**
         * @param applyMutations
         * @return configurations available for running
         * 
         */
        public synchronized static Map<String, Map<String, String>> getConfigs ( String[] applyMutations ) {
            Map<String, Map<String, String>> configs = new HashMap<>();
    
            if ( System.getProperties().containsKey(TestProperties.TEST_SERVER) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 14.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/EnumTest.java

            CIFSContext ctx = getContext();
            int origBufferSize = ctx.getConfig().getMaximumBufferSize();
            // odd buffer size that does match the alignment
            int tryBufferSize = 1023;
            final int bufSize[] = new int[] {
                origBufferSize
            };
            ctx = withConfig(ctx, new DelegatingConfiguration(ctx.getConfig()) {
    
                @Override
                public int getMaximumBufferSize () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            this.rcv_buf = new byte[tc.getConfig().getNetbiosRcvBufSize()];
            this.out = new DatagramPacket(this.snd_buf, tc.getConfig().getNetbiosSndBufSize(), this.baddr, NAME_SERVICE_UDP_PORT);
            this.in = new DatagramPacket(this.rcv_buf, tc.getConfig().getNetbiosRcvBufSize());
            this.resolveOrder = tc.getConfig().getResolveOrder();
    
            initCache(tc);
        }
    
        static final class CacheEntry {
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            super(ctx.getConfig());
            this.server = new ServerData();
            this.capabilities = ctx.getConfig().getCapabilities();
            this.negotiatedFlags2 = ctx.getConfig().getFlags2();
            this.maxMpxCount = ctx.getConfig().getMaxMpxCount();
            this.snd_buf_size = ctx.getConfig().getSendBufferSize();
            this.recv_buf_size = ctx.getConfig().getReceiveBufferSize();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 15.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/crawler/util/FieldConfigsTest.java

            assertTrue(fieldConfigs.getConfig("test").isEmpty());
        }
    
        public void test_values() {
            final Map<String, String> params = Maps.of("foo", "bar");
            FieldConfigs fieldConfigs = new FieldConfigs(params);
            assertTrue(fieldConfigs.getConfig("test").isEmpty());
            assertFalse(fieldConfigs.getConfig("foo").isEmpty());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top