Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for Ip (0.18 sec)

  1. android/guava/src/com/google/common/net/InetAddresses.java

       * such as "::c000:201". The output does not include a Scope ID.
       *
       * @param ip {@link InetAddress} to be converted to an address string
       * @return {@code String} containing the text-formatted IP address
       * @since 10.0
       */
      public static String toAddrString(InetAddress ip) {
        checkNotNull(ip);
        if (ip instanceof Inet4Address) {
          // For IPv4, Java's formatting is good enough.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  2. guava-tests/test/com/google/common/net/InetAddressesTest.java

          InetAddress ip = InetAddresses.forString(validIsatapAddress);
          assertTrue(InetAddresses.isIsatapAddress((Inet6Address) ip));
          assertEquals(
              "checking '" + validIsatapAddress + "'",
              ipv4,
              InetAddresses.getIsatapIPv4Address((Inet6Address) ip));
        }
        for (String nonIsatapAddress : nonIsatapAddresses) {
          InetAddress ip = InetAddresses.forString(nonIsatapAddress);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NbtAddress.java

         * 
         * 1) IP Address - If a dot-quad IP string is used with getByName (or used
         * to create an NbtAddress internal to this netbios package), no query is
         * sent on the wire and the only state this object has is it's IP address
         * (but that's enough to connect to a host using *SMBSERVER for CallingName).
         * 
         * 2) IP Address, NetBIOS name, nodeType, groupName - If however a
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 15.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

          InetAddress ip = InetAddresses.forString(validIsatapAddress);
          assertTrue(InetAddresses.isIsatapAddress((Inet6Address) ip));
          assertEquals(
              "checking '" + validIsatapAddress + "'",
              ipv4,
              InetAddresses.getIsatapIPv4Address((Inet6Address) ip));
        }
        for (String nonIsatapAddress : nonIsatapAddresses) {
          InetAddress ip = InetAddresses.forString(nonIsatapAddress);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/Lmhosts.java

                }
                else if ( Character.isDigit(line.charAt(0)) ) {
                    char[] data = line.toCharArray();
                    int ip, i, j;
                    Name name;
                    NbtAddress addr;
                    char c;
    
                    c = '.';
                    ip = i = 0;
                    for ( ; i < data.length && c == '.'; i++ ) {
                        int b = 0x00;
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/Lmhosts.java

                    }
                } else if( Character.isDigit( line.charAt( 0 ))) {
                    char[] data = line.toCharArray();
                    int ip, i, j;
                    Name name;
                    NbtAddress addr;
                    char c;
    
                    c = '.';
                    ip = i = 0;
                    for( ; i < data.length && c == '.'; i++ ) {
                        int b = 0x00;
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/HostSpecifier.java

    import java.net.InetAddress;
    import java.text.ParseException;
    import javax.annotation.CheckForNull;
    
    /**
     * A syntactically valid host specifier, suitable for use in a URI. This may be either a numeric IP
     * address in IPv4 or IPv6 notation, or a domain name.
     *
     * <p>Because this class is intended to represent host specifiers which can reasonably be used in a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 05 09:18:40 GMT 2023
    - 6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NbtAddress.java

     * 
     * 1) IP Address - If a dot-quad IP string is used with getByName (or used
     * to create an NbtAddress internal to this netbios package), no query is
     * sent on the wire and the only state this object has is it's IP address
     * (but that's enough to connect to a host using *SMBSERVER for CallingName).
     * 
     * 2) IP Address, NetBIOS name, nodeType, groupName - If however a
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/NameServiceClient.java

    
        /**
         * Retrieve all addresses of a host by it's address. NetBIOS hosts can
         * have many names for a given IP address. The name and IP address make the
         * NetBIOS address. This provides a way to retrieve the other names for a
         * host with the same IP address.
         *
         * @param addr
         *            the address to query
         * @return resolved addresses
         * @throws UnknownHostException
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/UniAddress.java

        /**
         * Check whether a hostname is actually an ip address
         * 
         * @param hostname
         * @return whether this is an IP address
         */
        public static boolean isDotQuadIP ( String hostname ) {
            if ( Character.isDigit(hostname.charAt(0)) ) {
                int i, len, dots;
                char[] data;
    
                i = dots = 0; /* quick IP address validation */
                len = hostname.length();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.3K bytes
    - Viewed (0)
Back to top