- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 392 for uchar (0.05 seconds)
-
android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java
// Exhaustively check all mappings (an int index avoids wrapping). for (int n = 0; n < replacementArray.length; n++) { char c = (char) n; String expected = map.get(c); if (expected == null) { assertThat(replacementArray[n]).isNull(); } else { assertThat(new String(replacementArray[n])).isEqualTo(expected); } } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
*/ private static char[] growBuffer(char[] dest, int index, int size) { if (size < 0) { // overflow - should be OutOfMemoryError but GWT/j2cl don't support it throw new AssertionError("Cannot increase internal buffer any further"); } char[] copy = new char[size]; if (index > 0) { System.arraycopy(dest, 0, copy, 0, index); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 24 04:06:11 GMT 2026 - 13.2K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java
chars.add(randomNonAlpha()); } Collections.shuffle(chars, random); char[] array = Chars.toArray(chars); this.testString = new String(array); } private char randomAlpha() { return ALPHA.charAt(random.nextInt(ALPHA.length())); } private char randomNonAlpha() { return NONALPHA.charAt(random.nextInt(NONALPHA.length())); } @Benchmark
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java
@Override MessageBuilder append(char c); /** * Append content to the message buffer. * * @param value the content to append * @param offset the index of the first {@code char} to append * @param len the number of {@code char}s to append * @return the current builder */ @Nonnull default MessageBuilder a(char[] value, int offset, int len) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Nov 02 09:29:52 GMT 2024 - 7.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/TestCharSink.java
import java.io.FilterWriter; import java.io.IOException; import java.io.OutputStreamWriter; import java.io.Writer; import org.jspecify.annotations.NullUnmarked; /** * A char sink for testing that has configurable behavior. * * @author Colin Decker */ @NullUnmarked public class TestCharSink extends CharSink implements TestStreamSupplier { private final TestByteSink byteSink;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/TestCharSink.java
import java.io.FilterWriter; import java.io.IOException; import java.io.OutputStreamWriter; import java.io.Writer; import org.jspecify.annotations.NullUnmarked; /** * A char sink for testing that has configurable behavior. * * @author Colin Decker */ @NullUnmarked public class TestCharSink extends CharSink implements TestStreamSupplier { private final TestByteSink byteSink;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/SourceSinkFactory.java
void tearDown() throws IOException; /** Factory for byte or char sources. */ interface SourceFactory<S, T> extends SourceSinkFactory<S, T> { /** Creates a new source containing some or all of the given data. */ S createSource(T data) throws IOException; } /** Factory for byte or char sinks. */ interface SinkFactory<S, T> extends SourceSinkFactory<S, T> {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
* @param hi the high surrogate pair character * @param lo the low surrogate pair character */ public static void assertUnicodeEscaping( UnicodeEscaper escaper, String expected, char hi, char lo) { int cp = Character.toCodePoint(hi, lo); String escaped = computeReplacement(escaper, cp); Assert.assertNotNull(escaped); Assert.assertEquals(expected, escaped); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jan 18 20:55:09 GMT 2022 - 3.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
* @param hi the high surrogate pair character * @param lo the low surrogate pair character */ public static void assertUnicodeEscaping( UnicodeEscaper escaper, String expected, char hi, char lo) { int cp = Character.toCodePoint(hi, lo); String escaped = computeReplacement(escaper, cp); Assert.assertNotNull(escaped); Assert.assertEquals(expected, escaped); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jan 18 20:55:09 GMT 2022 - 3.8K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Preconditions.java
* * @since 20.0 (varargs overload since 2.0) */ public static void checkArgument( boolean expression, String errorMessageTemplate, char p1, char p2) { if (!expression) { throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, p1, p2)); } } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 53.5K bytes - Click Count (0)