Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 288 for pkgs (0.02 sec)

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

            // Register the SMB URL handler to avoid MalformedURLException
            String pkgs = System.getProperty("java.protocol.handler.pkgs");
            if (pkgs == null) {
                System.setProperty("java.protocol.handler.pkgs", "jcifs");
            } else if (!pkgs.contains("jcifs")) {
                System.setProperty("java.protocol.handler.pkgs", pkgs + "|jcifs");
            }
        }
    
        @BeforeEach
        void setUp() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/HandlerTest.java

            // Register the SMB protocol handler
            String pkgs = System.getProperty("java.protocol.handler.pkgs");
            if (pkgs == null) {
                System.setProperty("java.protocol.handler.pkgs", "jcifs.smb1");
            } else if (!pkgs.contains("jcifs.smb1")) {
                System.setProperty("java.protocol.handler.pkgs", pkgs + "|jcifs.smb1");
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/context/SingletonContext.java

            SingletonContext.getInstance();
            String pkgs = System.getProperty("java.protocol.handler.pkgs");
            if (pkgs == null) {
                System.setProperty("java.protocol.handler.pkgs", "jcifs");
            } else if (pkgs.indexOf("jcifs") == -1) {
                pkgs += "|jcifs";
                System.setProperty("java.protocol.handler.pkgs", pkgs);
            }
        }
    
        /**
         *
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/context/SingletonContextTest.java

            System.clearProperty("java.protocol.handler.pkgs");
            SingletonContext.registerSmbURLHandler();
            assertEquals("jcifs", System.getProperty("java.protocol.handler.pkgs"));
        }
    
        @Test
        void testRegisterSmbURLHandlerWhenPkgsDoesNotContainJcifs() {
            // Test registerSmbURLHandler when java.protocol.handler.pkgs does not contain "jcifs"
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/Config.java

            } else if (pkgs.indexOf("jcifs.smb1") == -1) {
                pkgs += "|jcifs.smb1";
                System.setProperty("java.protocol.handler.pkgs", pkgs);
            }
        }
    
        // supress javadoc constructor summary by removing 'protected'
        Config() {
        }
    
        /**
         * Set the default properties of the static Properties used by <code>Config</code>. This permits
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/Handler.java

        private static final Map<String, URLStreamHandler> PROTOCOL_HANDLERS = new HashMap<>();
    
        private static final String HANDLER_PKGS_PROPERTY = "java.protocol.handler.pkgs";
    
        /**
         * Vendor-specific default packages. If no packages are specified in
         * "java.protocol.handler.pkgs", the VM uses one or more default
         * packages, which are vendor specific. Sun's is included below
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/CrawlerContainer.java

            if (StringUtil.isEmpty(value)) {
                buf.append("org.codelibs.fess.net.protocol");
            } else if (!value.contains("org.codelibs.fess.net.protocol")) {
                buf.append("|org.codelibs.fess.net.protocol");
            }
            if (buf.length() > 0) {
                System.setProperty("java.protocol.handler.pkgs", buf.toString());
            }
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/HandlerTest.java

            // package when it is listed in the 'java.protocol.handler.pkgs' system property.
            // We use mock handlers since actual system handlers might not be available in test environment.
            System.setProperty("java.protocol.handler.pkgs", "jcifs");
            setupMockProtocolHandlers();
            URL url = new URL("http://example.com/resource");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/Handler.java

        }
    
        private static final Map PROTOCOL_HANDLERS = new HashMap();
    
        private static final String HANDLER_PKGS_PROPERTY = "java.protocol.handler.pkgs";
    
        /**
         * Vendor-specific default packages.  If no packages are specified in
         * "java.protocol.handler.pkgs", the VM uses one or more default
         * packages, which are vendor specific.  Sun's is included below
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. cmd/encryption-v1_test.go

    			UserDefined: udMap(false),
    		}
    	}
    
    	testSP := []struct {
    		decSz int64
    		oi    ObjectInfo
    	}{
    		{0, mkSPObj(0)},
    		{1, mkSPObj(1)},
    		{pkgSz - 1, mkSPObj(pkgSz - 1)},
    		{pkgSz, mkSPObj(pkgSz)},
    		{2*pkgSz - 1, mkSPObj(2*pkgSz - 1)},
    		{minPartSz, mkSPObj(minPartSz)},
    		{maxPartSz, mkSPObj(maxPartSz)},
    	}
    
    	for i, test := range testSP {
    		{
    			// nil range
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 19.9K bytes
    - Viewed (0)
Back to top