Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 533 for addTest (0.2 sec)

  1. src/test/java/jcifs/NameServiceClientTest.java

            // Arrange
            String hostname = "testHostname";
            boolean possibleNTDomainOrWorkgroup = true;
            Address[] expectedAddresses = { mock(Address.class) };
            when(nameServiceClient.getAllByName(hostname, possibleNTDomainOrWorkgroup)).thenReturn(expectedAddresses);
    
            // Act
            Address[] actualAddresses = nameServiceClient.getAllByName(hostname, possibleNTDomainOrWorkgroup);
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. cmd/net.go

    func isHostIP(ipAddress string) bool {
    	host, _, err := net.SplitHostPort(ipAddress)
    	if err != nil {
    		host = ipAddress
    	}
    	// Strip off IPv6 zone information.
    	if i := strings.Index(host, "%"); i > -1 {
    		host = host[:i]
    	}
    	return net.ParseIP(host) != nil
    }
    
    // extractHostPort - extracts host/port from many address formats
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (1)
  3. src/test/java/jcifs/smb/SmbTransportImplTest.java

        @Mock
        private Address address;
    
        private SmbTransportImpl transport;
    
        @BeforeEach
        void setUp() throws Exception {
            when(ctx.getConfig()).thenReturn(cfg);
            when(cfg.isSigningEnforced()).thenReturn(false);
            when(cfg.getSessionTimeout()).thenReturn(30_000);
            when(cfg.getResponseTimeout()).thenReturn(5_000);
            when(address.getHostAddress()).thenReturn("127.0.0.1");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                        }
                        final String address = queryLookup(query, "address");
                        if (address != null && address.length() > 0) {
                            final byte[] ip = java.net.InetAddress.getByName(address).getAddress();
                            this.addresses = new UniAddress[1];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbAuthentication.java

            }
            return buf.toString();
        }
    
        /**
         * Returns the SMB server address.
         * @return the server address
         */
        public String getServer() {
            return server;
        }
    
        /**
         * Sets the SMB server address.
         * @param server the server address to set
         */
        public void setServer(final String server) {
            this.server = server;
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. docs/smb3-features/06-witness-protocol-design.md

        
        public static class WitnessIPAddress {
            private final InetAddress address;
            private final int flags;
            
            public static final int IPV4 = 0x01;
            public static final int IPV6 = 0x02;
            
            public WitnessIPAddress(InetAddress address) {
                this.address = address;
                this.flags = address.getAddress().length == 4 ? IPV4 : IPV6;
            }
            
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

      fun tearDown() {
        factory.close()
      }
    
      @Test
      fun address() {
        val address: Address = factory.newAddress()
        val url: HttpUrl = address.url
        val dns: Dns = address.dns
        val socketFactory: SocketFactory = address.socketFactory
        val proxyAuthenticator: Authenticator = address.proxyAuthenticator
        val protocols: List<Protocol> = address.protocols
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
  8. buildscripts/verify-build.sh

    	export MINIO_ENDPOINTS="http://127.0.0.1:9000${WORK_DIR}/pool-disk-sets{1...4} http://127.0.0.1:9001${WORK_DIR}/pool-disk-sets{5...8}"
    	"${MINIO[@]}" server --address ":9000" >"$WORK_DIR/pool-minio-9000.log" 2>&1 &
    	"${MINIO[@]}" server --address ":9001" >"$WORK_DIR/pool-minio-9001.log" 2>&1 &
    
    	"${WORK_DIR}/mc" ready verify
    }
    
    function start_minio_pool_erasure_sets_ipv6() {
    	export MINIO_ROOT_USER=$ACCESS_KEY
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 24 19:28:51 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

        NbtAddress[] addressArray;
    
        /* It is a little awkward but prudent to pass the quering address
         * so that it may be included in the list of results. IOW we do
         * not want to create a new NbtAddress object for this particular
         * address from which the query is constructed, we want to populate
         * the data of the existing address that should be one of several
         * returned by the node status.
         */
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/witness/WitnessRegistration.java

         * Gets the share name.
         *
         * @return the share name
         */
        public String getShareName() {
            return shareName;
        }
    
        /**
         * Gets the server address.
         *
         * @return the server address
         */
        public InetAddress getServerAddress() {
            return serverAddress;
        }
    
        /**
         * Gets the service type.
         *
         * @return the service type
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top