Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 153 for host (0.2 sec)

  1. 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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 11:19:47 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. android/guava/src/com/google/common/util/concurrent/Monitor.java

     * condition becomes true (no "signaling storms" due to use of {@link
     * java.util.concurrent.locks.Condition#signalAll Condition.signalAll}) and that no signals are lost
     * (no "hangs" due to incorrect use of {@link java.util.concurrent.locks.Condition#signal
     * Condition.signal}).
     *
     * <p>A thread is said to <i>occupy</i> a monitor if it has <i>entered</i> the monitor but not yet
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

     *       add overloads that accept start and end indexes.
     *   <li>Access to all collection-based utilities via {@link #asList} (though at the cost of
     *       allocating garbage).
     * </ul>
     *
     * <p>Disadvantages compared to {@code int[]}:
     *
     * <ul>
     *   <li>Memory footprint has a fixed overhead (about 24 bytes per instance).
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

     *       add overloads that accept start and end indexes.
     *   <li>Access to all collection-based utilities via {@link #asList} (though at the cost of
     *       allocating garbage).
     * </ul>
     *
     * <p>Disadvantages compared to {@code double[]}:
     *
     * <ul>
     *   <li>Memory footprint has a fixed overhead (about 24 bytes per instance).
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/Quantiles.java

        /**
         * Computes the quantile value of the given dataset.
         *
         * @param dataset the dataset to do the calculation on, which must be non-empty, which will be
         *     cast to doubles (with any associated lost of precision), and which will not be mutated by
         *     this call (it is copied instead)
         * @return the quantile value
         */
        public double compute(Collection<? extends Number> dataset) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Suppliers.java

       * href="http://en.wikipedia.org/wiki/Memoization">memoization</a>
       *
       * <p>The returned supplier is thread-safe. The delegate's {@code get()} method will be invoked at
       * most once unless the underlying {@code get()} throws an exception. The supplier's serialized
       * form does not contain the cached value, which will be recalculated when {@code get()} is called
       * on the deserialized instance.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A generator that relies on a preexisting generator for most of its work. For example, a derived
     * iterator generator may delegate the work of creating the underlying collection to an inner
     * collection generator.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 1.3K bytes
    - Viewed (0)
Back to top