Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 69 for Sethostname (0.08 seconds)

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

            when(config.getSessionTimeout()).thenReturn(30_000);
            when(config.getResponseTimeout()).thenReturn(5_000);
            when(address.getHostAddress()).thenReturn("127.0.0.1");
            when(address.getHostName()).thenReturn("testhost");
    
            transport = new SmbTransportImpl(context, address, 445, null, 0, false);
        }
    
        /**
         * Test that pre-auth integrity hash is properly synchronized
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

                WitnessVersion witnessVersion = (request.getVersion() >= 0x00020000) ? WitnessVersion.VERSION_2 : WitnessVersion.VERSION_1;
                message.setVersion(witnessVersion);
                message.setNetName(serverAddress.getHostName());
                message.setShareName(request.getShareName());
                message.setIpAddress(request.getServerAddress());
                message.setClientComputerName(context.getConfig().getNetbiosHostname());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

            lenient().when(mockContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
            lenient().when(mockNameServiceClient.getLocalHost()).thenReturn(mockLocalHost);
            lenient().when(mockLocalHost.getHostName()).thenReturn("localhost");
            lenient().when(mockConfig.getDefaultDomain()).thenReturn("WORKGROUP");
            lenient().when(mockConfig.isUseUnicode()).thenReturn(true);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  4. mockwebserver-deprecated/api/mockwebserver.api

    	public final fun getBodyLimit ()J
    	public final fun getDelegate ()Lmockwebserver3/MockWebServer;
    	public final fun getDispatcher ()Lokhttp3/mockwebserver/Dispatcher;
    	public final fun getHostName ()Ljava/lang/String;
    	public final fun getPort ()I
    	public final fun getProtocolNegotiationEnabled ()Z
    	public final fun getRequestCount ()I
    	public final fun getServerSocketFactory ()Ljavax/net/ServerSocketFactory;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 10.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                } catch (final IOException ex) {}
            }
            final int domainLength = domain.length;
            byte[] server = {};
            try {
                final String host = NbtAddress.getLocalHost().getHostName();
                if (host != null) {
                    try {
                        server = host.getBytes(UNI_ENCODING);
                    } catch (final IOException ex) {}
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 13K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

            final long now = System.currentTimeMillis();
            final long ttl = ComponentUtil.getFessConfig().getCoordinatorHeartbeatTtlAsInteger().longValue();
            final String hostname = ComponentUtil.getSystemHelper().getHostname();
            final String targetName = ComponentUtil.getFessConfig().getSchedulerTargetName();
    
            final String body = toJson(Map.of( //
                    "type", TYPE_HEARTBEAT, //
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/SmbTransport.java

        }
    
        boolean matches(final UniAddress address, final int port, final InetAddress localAddr, final int localPort, String hostName) {
            if (hostName == null) {
                hostName = address.getHostName();
            }
            return (this.tconHostName == null || hostName.equalsIgnoreCase(this.tconHostName)) && address.equals(this.address)
                    && (port == 0 || port == this.port ||
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/ntlmssp/Type2Message.java

                }
            }
            final int domainLength = domain.length;
            byte[] server = {};
            final String host = tc.getNameServiceClient().getLocalHost().getHostName();
            if (host != null) {
                try {
                    server = host.getBytes(UNI_ENCODING);
                } catch (final IOException ex) {
                    log.debug("Failed to get host bytes", ex);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbSessionImpl.java

            String host = getTargetHost();
            if (host == null) {
                host = trans.getRemoteAddress().getHostAddress();
                try {
                    host = trans.getRemoteAddress().getHostName();
                } catch (Exception e) {
                    log.debug("Failed to resolve host name", e);
                }
            }
    
            if (log.isDebugEnabled()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/http/NtlmSspTest.java

            lenient().when(mockCifsContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
            lenient().when(mockNameServiceClient.getLocalHost()).thenReturn(mockAddress);
            lenient().when(mockAddress.getHostName()).thenReturn("WORKSTATION");
        }
    
        /**
         * Test case for when the 'Authorization' header is missing.
         * Expects the server to respond with a 'WWW-Authenticate: NTLM' header and a 401 status.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 11.4K bytes
    - Click Count (1)
Back to Top