Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for IP (0.18 sec)

  1. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

          ImmutableSet.of("foo.bar.google.com", "a.b.co.uk", "x.y.ca.us", "a.b.blogspot.com");
    
      private static final ImmutableSet<String> VALID_IP_ADDRS =
          ImmutableSet.of("1.2.3.4", "127.0.0.1", "::1", "2001:db8::1");
    
      private static final ImmutableSet<String> INVALID_IP_ADDRS =
          ImmutableSet.of(
              "", "1", "1.2.3", "...", "1.2.3.4.5", "400.500.600.700", ":", ":::1", "2001:db8:");
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  2. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/package-info.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    /**
     * Utility methods and classes for networking (such as IP addresses and domain names).
     *
     * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a>
     * library.
     *
     * @author Craig Berry
     */
    @CheckReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 23 19:57:03 GMT 2023
    - 1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

                valueMap.put(e.getKey(), e.getValue().replace('\t', '_'));
            });
            log(valueMap);
        }
    
        protected void log(final Map<String, String> valueMap) {
            valueMap.put("ip", getClientIp());
            valueMap.put("time", DateTimeFormatter.ISO_INSTANT.format(ZonedDateTime.now()));
            if (useEcsFormat) {
                printByEcs(valueMap);
            } else {
                printByLtsv(valueMap);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/Config.java

                    log.error("Not a number", nfe);
                }
            }
            return def;
        }
    
    
        /**
         * Retrieve an <code>InetAddress</code>. If the address is not
         * an IP address and cannot be resolved <code>null</code> will
         * be returned.
         */
        public static InetAddress getInetAddress ( Properties props, String key, InetAddress def ) {
            String addr = props.getProperty(key);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

                    valueMap.remove("time");
                    valueMap.remove("ip");
                    super.printByLtsv(valueMap);
                }
    
                @Override
                protected void printByEcs(final Map<String, String> valueMap) {
                    valueMap.put("time", "2022-01-01T00:00:00.000Z");
                    valueMap.remove("ip");
                    super.printByEcs(valueMap);
                }
    
                @Override
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/UniAddress.java

                char[] data;
    
                i = dots = 0;                    /* quick IP address validation */
                len = hostname.length();
                data = hostname.toCharArray();
                while( i < len && Character.isDigit( data[i++] )) {
                    if( i == len && dots == 3 ) {
                        // probably an IP address
                        return true;
                    }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 16.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/Address.java

    
        /**
         * 
         * @return the resolved host name, or the host address if it could not be resolved
         */
        String getHostName ();
    
    
        /**
         * Return the IP address as text such as "192.168.1.15".
         * 
         * @return the ip address
         */
        String getHostAddress ();
    
    
        /**
         * 
         * @return this address as an InetAddress
         * @throws UnknownHostException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 03 13:22:30 GMT 2018
    - 2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/NetbiosAddress.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs;
    
    
    import java.net.UnknownHostException;
    
    
    /**
     * This class represents a NetBIOS over TCP/IP address. Under normal
     * conditions, users of jCIFS need not be concerned with this class as
     * name resolution and session services are handled internally by the smb package.
     * 
     * <p>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                    buf.append(hostname);
                }
                final String ip = ia.getHostAddress();
                if (StringUtil.isNotBlank(ip)) {
                    if (buf.length() > 0) {
                        buf.append(" : ");
                    }
                    buf.append(ip);
                }
            } catch (final Exception e) {
                // ignore
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 14K bytes
    - Viewed (0)
Back to top