Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 78 for getShort (0.04 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                            }
                        }
    
                        Proxy p = new Proxy();
                        p.setHost(proxy.getHost());
                        p.setProtocol(proxy.getProtocol());
                        p.setPort(proxy.getPort());
                        p.setNonProxyHosts(proxy.getNonProxyHosts());
                        p.setUserName(proxy.getUsername());
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/PathValidator.java

            }
    
            try {
                URL url = new URL(null, smbUrl, new jcifs.smb.Handler());
    
                // Validate host
                String host = url.getHost();
                if (host == null || host.isEmpty()) {
                    throw new SmbException("SMB URL missing host");
                }
    
                // Validate host format
                if (!isValidHost(host)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/exentity/FileConfig.java

                    smbAuth.setDomain(domain == null ? StringUtil.EMPTY : domain);
                    smbAuth.setServer(fileAuth.getHostname());
                    smbAuth.setPort(fileAuth.getPort() == null ? -1 : fileAuth.getPort());
                    smbAuth.setUsername(fileAuth.getUsername());
                    smbAuth.setPassword(fileAuth.getPassword());
                    smbAuthList.add(smbAuth);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Apr 03 09:24:53 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

            lastModified = 0L;
            isExists = false;
    
            try {
                if (url.getHost().length() == 0) {} else if (share == null) {
                    if (getType() == TYPE_WORKGROUP) {
                        UniAddress.getByName(url.getHost(), true);
                    } else {
                        UniAddress.getByName(url.getHost()).getHostName();
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NbtSocket.java

        }
    
        @Override
        public OutputStream getOutputStream() throws IOException {
            return new SocketOutputStream(super.getOutputStream());
        }
    
        @Override
        public int getPort() {
            return super.getPort();
        }
    
        @Override
        public InetAddress getLocalAddress() {
            return super.getLocalAddress();
        }
    
        @Override
        public int getLocalPort() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NetServerEnumIterator.java

            this.workgroup = locator.getType() == SmbConstants.TYPE_WORKGROUP;
            if (locator.getURL().getHost().isEmpty()) {
                this.request = new NetServerEnum2(th.getConfig(), th.getOEMDomainName(), NetServerEnum2.SV_TYPE_DOMAIN_ENUM);
            } else if (this.workgroup) {
                this.request = new NetServerEnum2(th.getConfig(), locator.getURL().getHost(), NetServerEnum2.SV_TYPE_ALL);
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

                mockService.close();
            }
        }
    
        @Test
        void testMockServiceLifecycle() throws Exception {
            assertNotNull(mockService.getAddress());
            assertTrue(mockService.getPort() > 0);
            assertEquals(0, mockService.getRegistrationCount());
    
            // Test registration
            String regId = mockService.registerWitness("\\\\server\\share", "192.168.1.100", 1);
            assertNotNull(regId);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFile.java

                        getContext().getNameServiceClient().getByName(this.url.getHost(), true);
                    } else {
                        // Cache server name resolution
                        getContext().getNameServiceClient().getByName(this.url.getHost()).getHostName();
                    }
                } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/witness/MockWitnessService.java

        }
    
        /**
         * Get the port the service is listening on
         *
         * @return the service port
         * @throws IOException if port cannot be determined
         */
        public int getPort() throws IOException {
            if (serverSocket == null) {
                throw new IOException("Service not started");
            }
            return serverSocket.getLocalPort();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

         */
        static boolean isExternalRepo(ArtifactRepository originalRepository) {
            try {
                URL url = new URL(originalRepository.getUrl());
                return !(isLocal(url.getHost()) || url.getProtocol().equals("file"));
            } catch (MalformedURLException e) {
                // bad url just skip it here. It should have been validated already, but the wagon lookup will deal with it
                return false;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top