Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getPort (0.05 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            assertEquals(value, ftpInfo.toUrl());
            assertEquals("123.123.123.123:9999", ftpInfo.getCacheKey());
            assertEquals("123.123.123.123", ftpInfo.getHost());
            assertEquals(9999, ftpInfo.getPort());
            assertEquals("/", ftpInfo.getParent());
            assertNull(ftpInfo.getName());
    
            value = "ftp://123.123.123.123/test.txt";
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 18K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java

        }
    
        /**
         * Returns the port number.
         * @return The port number.
         */
        public int getPort() {
            return port;
        }
    
        /**
         * Sets the port number.
         * @param port The port number.
         */
        public void setPort(final int port) {
            this.port = port;
        }
    
        /**
         * Returns the username.
         * @return The username.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeConnection.java

                        }
                        this.exclusiveTransport = this.ctx.getTransportPool()
                                .getSmbTransport(this.ctx, host, loc.getPort(), true, loc.shouldForceSigning())
                                .unwrap(SmbTransportInternal.class);
                        final SmbTransportInternal trans = this.exclusiveTransport;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  4. src/main/java/jcifs/util/PathValidator.java

                    normalized.append(userInfo).append("@");
                }
    
                normalized.append(host.toLowerCase());
    
                // Add port if non-standard
                int port = url.getPort();
                if (port > 0 && port != 445 && port != 139) {
                    normalized.append(":").append(port);
                }
    
                // Add normalized path
                if (path != null && !path.isEmpty()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

            String server = this.fileLocator.getServerWithDfs();
            int ai;
    
            if (resolveSids) {
                if (this.fileLocator.getDfsPath() == null && this.fileLocator.getPort() != -1) {
                    server = server + ":" + this.fileLocator.getPort();
                }
                final SID[] sids = new SID[aces.length];
                for (ai = 0; ai < aces.length; ai++) {
                    sids[ai] = aces[ai].getSID();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  6. 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)
  7. cmd/peer-s3-client.go

    	DeleteBucket(ctx context.Context, bucket string, opts DeleteBucketOptions) error
    
    	GetHost() string
    	SetPools([]int)
    	GetPools() []int
    }
    
    type localPeerS3Client struct {
    	node  Node
    	pools []int
    }
    
    func (l *localPeerS3Client) GetHost() string {
    	return l.node.Host
    }
    
    func (l *localPeerS3Client) SetPools(p []int) {
    	l.pools = make([]int, len(p))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  8. cmd/utils.go

    	logger.AuditLog(ctx, nil, nil, nil)
    }
    
    func newTLSConfig(getCert certs.GetCertificateFunc) *tls.Config {
    	if getCert == nil {
    		return nil
    	}
    
    	tlsConfig := &tls.Config{
    		PreferServerCipherSuites: true,
    		MinVersion:               tls.VersionTLS12,
    		NextProtos:               []string{"http/1.1", "h2"},
    		GetCertificate:           getCert,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33K bytes
    - Viewed (0)
  9. README.md

    // Add OpenSearch dependency and configure
    container.singleton("opensearchDataService", OpenSearchDataService.class, service -> {
        service.setIndexName("crawler-data");
        service.setHostname("localhost");
        service.setPort(9200);
    });
    ```
    
    ## Performance Tuning
    
    ### Thread Configuration
    
    ```java
    // Optimize thread pool settings
    crawler.crawlerContext.setNumOfThread(20);           // Number of crawler threads
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            tempDir = Files.createTempDirectory("smbtest");
            setupTestDirectoryStructure();
    
            // Configure SMB context and connection URL
            String host = sambaContainer.getHost();
            Integer port = sambaContainer.getMappedPort(SMB_PORT);
            baseUrl = "smb://" + host + ":" + port + "/";
    
            log.info("Samba container started - Base URL: {}", baseUrl);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
Back to top