- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 98 for Optimize (0.09 sec)
-
guava/src/com/google/common/escape/ArrayBasedCharEscaper.java
* @param safeMax the highest character value in the safe range */ protected ArrayBasedCharEscaper(ArrayBasedEscaperMap escaperMap, char safeMin, char safeMax) { checkNotNull(escaperMap); // GWT specific check (do not optimize) this.replacements = escaperMap.getReplacementArray(); this.replacementsLength = replacements.length; if (safeMax < safeMin) { // If the safe range is empty, set the range limits to opposite extremes
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 6.3K bytes - Viewed (0) -
guava/src/com/google/common/escape/ArrayBasedEscaperMap.java
// original character value. @VisibleForTesting static char[][] createReplacementArray(Map<Character, String> map) { checkNotNull(map); // GWT specific check (do not optimize) if (map.isEmpty()) { return EMPTY_REPLACEMENT_ARRAY; } char max = Collections.max(map.keySet()); char[][] replacements = new char[max + 1][]; for (Character c : map.keySet()) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java
protected ArrayBasedUnicodeEscaper( ArrayBasedEscaperMap escaperMap, int safeMin, int safeMax, @Nullable String unsafeReplacement) { checkNotNull(escaperMap); // GWT specific check (do not optimize) this.replacements = escaperMap.getReplacementArray(); this.replacementsLength = replacements.length; if (safeMax < safeMin) { // If the safe range is empty, set the range limits to opposite extremes
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 8.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ByteArrayAsListTest.java
private static List<Byte> asList(Byte[] values) { byte[] temp = new byte[values.length]; for (int i = 0; i < values.length; i++) { temp[i] = checkNotNull(values[i]); // checkNotNull for GWT (do not optimize). } return Bytes.asList(temp); } @J2ktIncompatible @GwtIncompatible // suite public static Test suite() { List<ListTestSuiteBuilder<Byte>> builders = ImmutableList.of(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java
private static List<Character> asList(Character[] values) { char[] temp = new char[values.length]; for (int i = 0; i < values.length; i++) { temp[i] = checkNotNull(values[i]); // checkNotNull for GWT (do not optimize). } return Chars.asList(temp); } @J2ktIncompatible @GwtIncompatible // suite public static Test suite() { List<ListTestSuiteBuilder<Character>> builders = ImmutableList.of(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoubleArrayAsListTest.java
private static List<Double> asList(Double[] values) { double[] temp = new double[values.length]; for (int i = 0; i < values.length; i++) { temp[i] = checkNotNull(values[i]); // checkNotNull for GWT (do not optimize). } return Doubles.asList(temp); } @J2ktIncompatible @GwtIncompatible // suite public static Test suite() { List<ListTestSuiteBuilder<Double>> builders = ImmutableList.of(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java
private static List<Long> asList(Long[] values) { long[] temp = new long[values.length]; for (int i = 0; i < values.length; i++) { temp[i] = checkNotNull(values[i]); // checkNotNull for GWT (do not optimize). } return Longs.asList(temp); } @J2ktIncompatible @GwtIncompatible // suite public static Test suite() { List<ListTestSuiteBuilder<Long>> builders = ImmutableList.of(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java
private static List<Short> asList(Short[] values) { short[] temp = new short[values.length]; for (short i = 0; i < values.length; i++) { temp[i] = checkNotNull(values[i]); // checkNotNull for GWT (do not optimize). } return Shorts.asList(temp); } @J2ktIncompatible @GwtIncompatible // suite public static Test suite() { List<ListTestSuiteBuilder<Short>> builders = ImmutableList.of(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Bytes.java
} Object[] boxedArray = collection.toArray(); int len = boxedArray.length; byte[] array = new byte[len]; for (int i = 0; i < len; i++) { // checkNotNull for GWT (do not optimize) array[i] = ((Number) checkNotNull(boxedArray[i])).byteValue(); } return array; } /** * Returns a fixed-size list backed by the specified array, similar to {@link
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 14.9K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/CharEscaper.java
* @return the escaped form of {@code string} * @throws NullPointerException if {@code string} is null */ @Override public String escape(String string) { checkNotNull(string); // GWT specific check (do not optimize) // Inlineable fast-path loop which hands off to escapeSlow() only if needed int length = string.length(); for (int index = 0; index < length; index++) { if (escape(string.charAt(index)) != null) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 6.7K bytes - Viewed (0)