Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for hosts (0.15 sec)

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

     * but given that any public suffix may become a host without warning, it is better to err on the
     * side of permissiveness and thus avoid spurious rejection of valid sites. Of course, to actually
     * determine addressability of any host, clients of this class will need to perform their own DNS
     * lookups.
     *
     * <p>During construction, names are normalized in two ways:
     *
     * <ol>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

      }
    
      public void testSerialization() {
        SerializableTester.reserializeAndAssert(HostAndPort.fromParts("host", 80));
        SerializableTester.reserializeAndAssert(HostAndPort.fromString("host"));
        SerializableTester.reserializeAndAssert(HostAndPort.fromString("host:80"));
        SerializableTester.reserializeAndAssert(HostAndPort.fromString("[::1]:104"));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 11:19:47 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * could in principle cause problems for some users. Still, we expect that the benefits of the
     * nullness annotations in particular will outweigh the costs. (And it's worth noting that we have
     * released multiple ListenableFuture.class files that are not byte-for-byte compatible even from
     * the beginning, thanks to using different `-source -target` values for compiling our `-jre` and
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/HostSpecifier.java

      }
    
      /**
       * Returns a string representation of the host specifier suitable for inclusion in a URI. If the
       * host specifier is a domain name, the string will be normalized to all lower case. If the
       * specifier was an IPv6 address without brackets, brackets are added so that the result will be
       * usable in the host part of a URI.
       */
      @Override
      public String toString() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 05 09:18:40 GMT 2023
    - 6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/net/HostAndPortTest.java

      }
    
      public void testSerialization() {
        SerializableTester.reserializeAndAssert(HostAndPort.fromParts("host", 80));
        SerializableTester.reserializeAndAssert(HostAndPort.fromString("host"));
        SerializableTester.reserializeAndAssert(HostAndPort.fromString("host:80"));
        SerializableTester.reserializeAndAssert(HostAndPort.fromString("[::1]:104"));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 11:19:47 GMT 2023
    - 10K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Converter.java

     * `Function<@Nullable A, @Nullable B>` already had to find a workaround. Still, there is a *ton* of
     * fallout from trying to switch. I would be shocked if the switch would offer benefits to anywhere
     * near enough users to justify the costs.
     *
     * Fortunately, if anyone does want to use a Converter as a `Function<@Nullable A, @Nullable B>`,
     * it's easy to get one: `converter::convert`.
     *
     * [*] In annotating this class, we're ignoring LegacyConverter.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/InetAddresses.java

       * want to accept ASCII digits only, you can use something like {@code
       * CharMatcher.ascii().matchesAllOf(ipString)}.
       *
       * @param ipString {@code String} to evaluated as an IP URI host string literal
       * @return {@code true} if the argument is a valid IP URI host
       */
      public static boolean isUriInetAddress(String ipString) {
        return forUriStringNoThrow(ipString) != null;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  8. android/guava/src/com/google/common/net/HostAndPort.java

       *     of range.
       */
      public static HostAndPort fromParts(String host, int port) {
        checkArgument(isValidPort(port), "Port out of range: %s", port);
        HostAndPort parsedHost = fromString(host);
        checkArgument(!parsedHost.hasPort(), "Host has a port: %s", host);
        return new HostAndPort(parsedHost.host, port, parsedHost.hasBracketlessColons);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 22 20:55:57 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  9. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * could in principle cause problems for some users. Still, we expect that the benefits of the
     * nullness annotations in particular will outweigh the costs. (And it's worth noting that we have
     * released multiple ListenableFuture.class files that are not byte-for-byte compatible even from
     * the beginning, thanks to using different `-source -target` values for compiling our `-jre` and
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * collection-based APIs. Further, this method allows precise control over the runtime type of the
       * output array, and may, under certain circumstances, be used to save allocation costs.
       *
       * <p>Suppose {@code x} is a queue known to contain only strings. The following code can be used
       * to dump the queue into a newly allocated array of {@code String}:
       *
       * <pre>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
Back to top