- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 237 for mapped (0.54 sec)
-
guava-tests/test/com/google/common/net/InetAddressesTest.java
// check upper case mappedStr = "::FFFF:192.168.0.1"; assertTrue(InetAddresses.isMappedIPv4Address(mappedStr)); mapped = InetAddresses.forString(mappedStr); assertThat(mapped).isNotInstanceOf(Inet6Address.class); assertEquals(InetAddress.getByName("192.168.0.1"), mapped); mappedStr = "0:00:000:0000:0:ffff:1.2.3.4"; assertTrue(InetAddresses.isMappedIPv4Address(mappedStr));
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) -
android/guava-tests/test/com/google/common/net/InetAddressesTest.java
// check upper case mappedStr = "::FFFF:192.168.0.1"; assertTrue(InetAddresses.isMappedIPv4Address(mappedStr)); mapped = InetAddresses.forString(mappedStr); assertThat(mapped).isNotInstanceOf(Inet6Address.class); assertEquals(InetAddress.getByName("192.168.0.1"), mapped); mappedStr = "0:00:000:0000:0:ffff:1.2.3.4"; assertTrue(InetAddresses.isMappedIPv4Address(mappedStr));
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) -
android/guava/src/com/google/common/net/InetAddresses.java
* <dd>{@code 00 00 00 00 00 00 00 00 00 00 00 00 c0 a8 00 01} * <dt>An IPv6 "IPv4 mapped" address, {@code "::ffff:192.168.0.1"}. * <dd>{@code 00 00 00 00 00 00 00 00 00 00 ff ff c0 a8 00 01} * </dl> * * <p>A few notes about IPv6 "IPv4 mapped" addresses and their observed use in Java. * * <p>"IPv4 mapped" addresses were originally a representation of IPv4 addresses for use on an IPv6
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 44K bytes - Viewed (1) -
android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java
/** * Creates a new ArrayBasedUnicodeEscaper instance with the given replacement map and specified * safe range. If {@code safeMax < safeMin} then no code points are considered safe. * * <p>If a code point has no mapped replacement then it is checked against the safe range. If it * lies outside that, then {@link #escapeUnsafe} is called, otherwise no escaping is performed. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeToInstanceMap.java
@ElementTypesAreNonnullByDefault public interface TypeToInstanceMap<B extends @Nullable Object> extends Map<TypeToken<? extends @NonNull B>, B> { /** * Returns the value the specified class is mapped to, or {@code null} if no entry for this class * is present. This will only return a value that was bound to this specific class, not a value * that may have been bound to a subtype. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Sat Apr 22 01:15:23 GMT 2023 - 3.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java
getKeyForNullValue(), v3(), (oldV, newV) -> { throw new AssertionFailedError( "Should not call merge function if key was mapped to null"); })); expectReplacement(entry(getKeyForNullValue(), v3())); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS}) public void testMergeAbsentNullKey() { assertEquals(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 6.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RangeMap.java
* with the range (if any) that contains a specified key. * * <p>In contrast to {@link RangeSet}, no "coalescing" is done of {@linkplain * Range#isConnected(Range) connected} ranges, even if they are mapped to the same value. * * @author Louis Wasserman * @since 14.0 */ @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989 @DoNotMock("Use ImmutableRangeMap or TreeRangeMap") @GwtIncompatible
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 6.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
for (Entry<K, V> entry : entries) { assertFalse("Should not contain entry " + entry, actualContents().contains(entry)); assertFalse( "Should not contain key " + entry.getKey() + " mapped to value " + entry.getValue(), equal(getMap().get(entry.getKey()), entry.getValue())); } } private static boolean equal(@Nullable Object a, @Nullable Object b) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
* the result of applying {@code countFunction} to the inputs. * * <p>If the mapped elements contain duplicates (according to {@link Object#equals}), the first * occurrence in encounter order appears in the resulting multiset, with count equal to the sum of * the outputs of {@code countFunction.applyAsInt(t)} for each {@code t} mapped to that element. * * @since 22.0 */ public static <T extends @Nullable Object, E>
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 20.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
} /** * Returns a {@code Collector} that accumulates elements into an {@code ImmutableTable}. Each * input element is mapped to one cell in the returned table, with the rows, columns, and values * generated by applying the specified functions. If multiple inputs are mapped to the same row * and column pair, they will be combined with the specified merging function in encounter order. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 17.6K bytes - Viewed (0)