Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for domains (0.23 sec)

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

          ImmutableList.of("1.2.3", "2001:db8::1::::::0", "[2001:db8::1", "[::]:80");
    
      private static final ImmutableList<String> GOOD_DOMAINS =
          ImmutableList.of("com", "google.com", "foo.co.uk");
    
      private static final ImmutableList<String> BAD_DOMAINS =
          ImmutableList.of("foo.blah", "", "[google.com]");
    
      public void testGoodIpAddresses() throws ParseException {
        for (String spec : GOOD_IPS) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 18 15:33:20 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/net/HostSpecifierTest.java

          ImmutableList.of("1.2.3", "2001:db8::1::::::0", "[2001:db8::1", "[::]:80");
    
      private static final ImmutableList<String> GOOD_DOMAINS =
          ImmutableList.of("com", "google.com", "foo.co.uk");
    
      private static final ImmutableList<String> BAD_DOMAINS =
          ImmutableList.of("foo.blah", "", "[google.com]");
    
      public void testGoodIpAddresses() throws ParseException {
        for (String spec : GOOD_IPS) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Fri Feb 18 15:33:20 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/DiscreteDomain.java

    /**
     * A descriptor for a <i>discrete</i> {@code Comparable} domain such as all {@link Integer}
     * instances. A discrete domain is one that supports the three basic operations: {@link #next},
     * {@link #previous} and {@link #distance}, according to their specifications. The methods {@link
     * #minValue} and {@link #maxValue} should also be overridden for bounded types.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/DiscreteDomain.java

    /**
     * A descriptor for a <i>discrete</i> {@code Comparable} domain such as all {@link Integer}
     * instances. A discrete domain is one that supports the three basic operations: {@link #next},
     * {@link #previous} and {@link #distance}, according to their specifications. The methods {@link
     * #minValue} and {@link #maxValue} should also be overridden for bounded types.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/InternetDomainName.java

       * </ul>
       *
       * @param domain A domain name (not IP address)
       * @throws IllegalArgumentException if {@code domain} is not syntactically valid according to
       *     {@link #isValid}
       * @since 10.0 (previously named {@code fromLenient})
       */
      @CanIgnoreReturnValue // TODO(b/219820829): consider removing
      public static InternetDomainName from(String domain) {
        return new InternetDomainName(checkNotNull(domain));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

          assertFalse(name, domain.isPublicSuffix());
          assertFalse(name, domain.hasPublicSuffix());
          assertFalse(name, domain.isUnderPublicSuffix());
          assertFalse(name, domain.isTopPrivateDomain());
          assertNull(domain.publicSuffix());
        }
    
        for (String name : NON_PS) {
          final InternetDomainName domain = InternetDomainName.from(name);
    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)
  7. guava/src/com/google/common/collect/Cut.java

          return domain.minValue();
        }
    
        @Override
        Comparable<?> greatestValueBelow(DiscreteDomain<Comparable<?>> domain) {
          throw new AssertionError();
        }
    
        @Override
        Cut<Comparable<?>> canonical(DiscreteDomain<Comparable<?>> domain) {
          try {
            return Cut.<Comparable<?>>belowValue(domain.minValue());
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/RangeTest.java

        assertEquals(Range.lessThan(1), Range.atMost(0).canonical(UNBOUNDED_DOMAIN));
        assertEquals(Range.atLeast(0), Range.atLeast(0).canonical(UNBOUNDED_DOMAIN));
        assertEquals(Range.atLeast(1), Range.greaterThan(0).canonical(UNBOUNDED_DOMAIN));
    
        assertEquals(Range.all(), Range.<Integer>all().canonical(UNBOUNDED_DOMAIN));
      }
    
      public void testEncloseAll() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 24.1K bytes
    - Viewed (0)
  9. 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
    @ParametersAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 23 19:57:03 GMT 2023
    - 1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/SmallCharMatcher.java

       * http://code.google.com/p/smhasher/source/browse/trunk/MurmurHash3.cpp, which contained the
       * following header:
       *
       * MurmurHash3 was written by Austin Appleby, and is placed in the public domain. The author
       * hereby disclaims copyright to this source code.
       */
      static int smear(int hashCode) {
        return C2 * Integer.rotateLeft(hashCode * C1, 15);
      }
    
      private boolean checkFilter(int c) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
Back to top