Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for coerced (0.21 sec)

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

       *
       * <p>NOTE: an IPv6 address coerced to an IPv4 address can only be used for such purposes as
       * rudimentary identification or indexing into a collection of real {@link InetAddress}es. They
       * cannot be used as real addresses for the purposes of network communication.
       *
       * @param ip {@link InetAddress} to convert
       * @return {@code int}, "coerced" if ip is not an IPv4 address
       * @since 7.0
       */
    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

        ipv4 = InetAddresses.forString("192.0.2.45");
        assertEquals(ipv4, InetAddresses.getEmbeddedIPv4ClientAddress(testIp));
      }
    
      public void testGetCoercedIPv4Address() {
        // Check that a coerced IPv4 address is unaltered.
        assertThat(InetAddresses.getCoercedIPv4Address(InetAddresses.forString("127.0.0.1")))
            .isEqualTo(InetAddresses.forString("127.0.0.1"));
    
        // ::1 special case
    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. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

        ipv4 = InetAddresses.forString("192.0.2.45");
        assertEquals(ipv4, InetAddresses.getEmbeddedIPv4ClientAddress(testIp));
      }
    
      public void testGetCoercedIPv4Address() {
        // Check that a coerced IPv4 address is unaltered.
        assertThat(InetAddresses.getCoercedIPv4Address(InetAddresses.forString("127.0.0.1")))
            .isEqualTo(InetAddresses.forString("127.0.0.1"));
    
        // ::1 special case
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java

    import java.lang.reflect.Method;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import java.util.Set;
    import org.junit.Ignore;
    
    /**
     * Tests for {@code Multiset.elementSet()} not covered by the derived {@code SetTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

        testers.add(SetRemoveTester.class);
        // SetRemoveAllTester doesn't exist because, Sets not permitting
        // duplicate elements, there are no tests for Set.removeAll() that aren't
        // covered by CollectionRemoveAllTester.
        return testers;
      }
    
      @Override
      protected List<TestSuite> createDerivedSuites(
          FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

            // sure interpolation of the directories below uses translated paths.
            // Afterward, we'll double back and translate any paths that weren't covered during interpolation via the
            // code below...
            translatedPrefixes.add("build.directory");
            translatedPrefixes.add("build.outputDirectory");
            translatedPrefixes.add("build.testOutputDirectory");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactHashSet.java

       */
      @CheckForNull private transient Object table;
    
      /**
       * Contains the logical entries, in the range of [0, size()). The high bits of each int are the
       * part of the smeared hash of the element not covered by the hashtable mask, whereas the low bits
       * are the "next" pointer (pointing to the next entry in the bucket chain), which will always be
       * less than or equal to the hashtable mask.
       *
       * <pre>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java

        public boolean isActive(Profile profile) throws ProfileActivationException {
            Activation activation = profile.getActivation();
    
            String jdk = activation.getJdk();
    
            // null case is covered by canDetermineActivation(), so we can do a straight startsWith() here.
            if (jdk.startsWith("[") || jdk.startsWith("(")) {
                try {
                    return matchJdkVersionRange(jdk);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

        testers.add(SetRemoveTester.class);
        // SetRemoveAllTester doesn't exist because, Sets not permitting
        // duplicate elements, there are no tests for Set.removeAll() that aren't
        // covered by CollectionRemoveAllTester.
        return testers;
      }
    
      @Override
      protected List<TestSuite> createDerivedSuites(
          FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * Tests for {@code Multiset#remove}, {@code Multiset.removeAll}, and {@code Multiset.retainAll} not
     * already covered by the corresponding Collection testers.
     *
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
Back to top