- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 743 for char (0.02 sec)
-
guava/src/com/google/common/primitives/Chars.java
*/ public static char checkedCast(long value) { char result = (char) value; checkArgument(result == value, "Out of range: %s", value); return result; } /** * Returns the {@code char} nearest in value to {@code value}. * * @param value any {@code long} value * @return the same value cast to {@code char} if it is in the range of the {@code char} type,
Registered: 2024-11-01 12:43 - Last Modified: 2024-08-27 16:47 - 23.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Chars.java
*/ public static char checkedCast(long value) { char result = (char) value; checkArgument(result == value, "Out of range: %s", value); return result; } /** * Returns the {@code char} nearest in value to {@code value}. * * @param value any {@code long} value * @return the same value cast to {@code char} if it is in the range of the {@code char} type,
Registered: 2024-11-01 12:43 - Last Modified: 2024-08-27 16:47 - 23.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
new char[] {(char) 2, (char) 3, (char) 4})) .isEqualTo(2); assertThat( Chars.indexOf( new char[] {(char) 2, (char) 2, (char) 3, (char) 4, (char) 2, (char) 3, (char) 4}, new char[] {(char) 2, (char) 3, (char) 4})) .isEqualTo(1); assertThat( Chars.indexOf(
Registered: 2024-11-01 12:43 - Last Modified: 2024-10-19 02:56 - 25.6K bytes - Viewed (0) -
guava/src/com/google/common/base/CharMatcher.java
private static final class AnyOf extends CharMatcher { private final char[] chars; public AnyOf(CharSequence chars) { this.chars = chars.toString().toCharArray(); Arrays.sort(this.chars); } @Override public boolean matches(char c) { return Arrays.binarySearch(chars, c) >= 0; } @Override
Registered: 2024-11-01 12:43 - Last Modified: 2024-10-17 13:00 - 53.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/normalizer/FullWidthToHalfWidthAlphabetNormalizer.java
Registered: 2024-11-08 09:08 - Last Modified: 2024-02-22 01:36 - 1.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java
return insertionOrder; } } public static class SampleChars extends SampleElements<Character> { public SampleChars() { super((char) 0, (char) 1, (char) 2, (char) 3, (char) 4); } }
Registered: 2024-11-01 12:43 - Last Modified: 2023-06-01 09:32 - 5.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Ascii.java
if (chars instanceof String) { return toLowerCase((String) chars); } char[] newChars = new char[chars.length()]; for (int i = 0; i < newChars.length; i++) { newChars[i] = toLowerCase(chars.charAt(i)); } return String.valueOf(newChars); } /** * If the argument is an {@linkplain #isUpperCase(char) uppercase ASCII character}, returns the
Registered: 2024-11-01 12:43 - Last Modified: 2024-08-02 13:50 - 21.7K bytes - Viewed (0) -
guava/src/com/google/common/io/BaseEncoding.java
} } return chars.subSequence(0, l + 1); } @Override public boolean canDecode(CharSequence chars) { checkNotNull(chars); chars = trimTrailingPadding(chars); if (!alphabet.isValidPaddingStartPosition(chars.length())) { return false; } for (int i = 0; i < chars.length(); i++) { if (!alphabet.canDecode(chars.charAt(i))) { return false;
Registered: 2024-11-01 12:43 - Last Modified: 2024-10-19 00:26 - 41.8K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.cc
TFE_MonitoringStringGauge2* gauge, const char* label1, const char* label2) { return static_cast<TFE_MonitoringStringGaugeCell*>( static_cast<void*>(gauge->gauge->GetCell(label1, label2))); } TFE_MonitoringStringGauge3* TFE_MonitoringNewStringGauge3( const char* name, TF_Status* status, const char* description, const char* label1, const char* label2, const char* label3) {
Registered: 2024-11-05 12:39 - Last Modified: 2024-10-12 05:11 - 35.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java
final String allMatchingChars = allMatchingChars(bitSet); final char[] result = new char[STRING_LENGTH]; // Fill with matching chars. for (int i = 0; i < result.length; i++) { result[i] = allMatchingChars.charAt(random.nextInt(allMatchingChars.length())); } // Replace some of chars by non-matching. int remaining = (int) ((100 - percentMatching) * result.length / 100.0 + 0.5);
Registered: 2024-11-01 12:43 - Last Modified: 2018-05-16 22:49 - 3.9K bytes - Viewed (0)