Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 200 for pkgs (0.02 seconds)

  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 {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  2. 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);
            }
        }
    
        /**
         *
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  3. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  5. 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"
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  7. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (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");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  9. 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
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  10. api/except.txt

    pkg os, const ModeDir FileMode
    pkg os, const ModeExclusive FileMode
    pkg os, const ModeIrregular FileMode
    pkg os, const ModeNamedPipe FileMode
    pkg os, const ModePerm FileMode
    pkg os, const ModeSetgid FileMode
    pkg os, const ModeSetuid FileMode
    pkg os, const ModeSocket FileMode
    pkg os, const ModeSticky FileMode
    pkg os, const ModeSymlink FileMode
    pkg os, const ModeTemporary FileMode
    pkg os, const ModeType = 2399141888
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 22 21:16:03 GMT 2026
    - 34.8K bytes
    - Click Count (0)
Back to Top