- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for parser (0.29 sec)
-
android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java
import com.google.common.base.Joiner; import com.google.common.collect.ImmutableMap; import java.util.Deque; /** Parser for a map of reversed domain names stored as a serialized radix tree. */ @GwtCompatible final class TrieParser { private static final Joiner DIRECT_JOINER = Joiner.on(""); /** * Parses a serialized trie representation of a map of reversed public suffixes into an immutable
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Oct 13 19:20:43 GMT 2022 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/net/HostAndPort.java
* Chain this call after {@link #fromString(String)} to increase the strictness of the parser, and * disallow IPv6 literals that don't contain these brackets. * * <p>Note that this parser identifies IPv6 literals solely based on the presence of a colon. To * perform actual validation of IP addresses, see the {@link InetAddresses#forString(String)}
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) -
guava/src/com/google/common/cache/CacheBuilderSpec.java
* @since 12.0 */ @SuppressWarnings("GoodTime") // lots of violations (nanosecond math) @GwtIncompatible @ElementTypesAreNonnullByDefault public final class CacheBuilderSpec { /** Parses a single value. */ private interface ValueParser { void parse(CacheBuilderSpec spec, String key, @CheckForNull String value); } /** Splits each key-value pair. */ private static final Splitter KEYS_SPLITTER = Splitter.on(',').trimResults();
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Aug 22 14:27:44 GMT 2022 - 18.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
} } public void testParseIntWithRadixLimits() { // loops through all legal radix values. for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) { // tests can successfully parse a number string with this radix. String maxAsString = Long.toString((1L << 32) - 1, radix); assertThat(UnsignedInts.parseUnsignedInt(maxAsString, radix)).isEqualTo(-1); try {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 16:10:08 GMT 2024 - 12.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
checkTryParse(Float.POSITIVE_INFINITY, "Infinity"); checkTryParse(Float.POSITIVE_INFINITY, "+Infinity"); checkTryParse(Float.NEGATIVE_INFINITY, "-Infinity"); } private static final String[] BAD_TRY_PARSE_INPUTS = { "", "+-", "+-0", " 5", "32 ", " 55 ", "infinity", "POSITIVE_INFINITY", "0x9A", "0x9A.bE-5", ".", ".e5", "NaNd",
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 29.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedBytes.java
public static byte parseUnsignedByte(String string, int radix) { int parse = Integer.parseInt(checkNotNull(string), radix); // We need to throw a NumberFormatException, so we have to duplicate checkedCast. =( if (parse >> Byte.SIZE == 0) { return (byte) parse; } else { throw new NumberFormatException("out of range: " + parse); } } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 18.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
.addEqualityGroup(parse(""), parse("")) .addEqualityGroup(parse("concurrencyLevel=7"), parse("concurrencyLevel=7")) .addEqualityGroup(parse("concurrencyLevel=15"), parse("concurrencyLevel=15")) .addEqualityGroup(parse("initialCapacity=7"), parse("initialCapacity=7")) .addEqualityGroup(parse("initialCapacity=15"), parse("initialCapacity=15")) .addEqualityGroup(parse("maximumSize=7"), parse("maximumSize=7"))
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 19.2K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Reflection.java
@ElementTypesAreNonnullByDefault public final class Reflection { /** * Returns the package name of {@code clazz} according to the Java Language Specification (section * 6.7). Unlike {@link Class#getPackage}, this method only parses the class name, without * attempting to define the {@link Package} and hence load files. */ public static String getPackageName(Class<?> clazz) { return getPackageName(clazz.getName()); } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInteger.java
value); return fromIntBits(value.intValue()); } /** * Returns an {@code UnsignedInteger} holding the value of the specified {@code String}, parsed as * an unsigned {@code int} value. * * @throws NumberFormatException if the string does not contain a parsable unsigned {@code int} * value */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 23 18:45:50 GMT 2023 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Floats.java
} float[] toFloatArray() { return Arrays.copyOfRange(array, start, end); } private static final long serialVersionUID = 0; } /** * Parses the specified string as a single-precision floating point value. The ASCII character * {@code '-'} (<code>'\u002D'</code>) is recognized as the minus sign. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 25.2K bytes - Viewed (0)