- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 91 for CharSequence (0.09 sec)
-
guava-tests/test/com/google/common/reflect/TypesTest.java
* built-in nullness feature? */ "ExtendsObject", }) <T extends Object> void withObjectBound(List<T> list) {} @SuppressWarnings("unused") <T extends Number & CharSequence> void withUpperBound(List<T> list) {} static TypeVariable<?> getTypeVariable(String methodName) throws Exception { ParameterizedType parameterType = (ParameterizedType)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:41:27 UTC 2024 - 15.2K bytes - Viewed (0) -
guava/src/com/google/common/io/CharStreams.java
checkPositionIndexes(off, off + len, str.length()); } @Override public Writer append(@CheckForNull CharSequence csq) { return this; } @Override public Writer append(@CheckForNull CharSequence csq, int start, int end) { checkPositionIndexes(start, end, csq == null ? "null".length() : csq.length()); return this; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 10.9K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java
flushAttributes(); builder.append(value); return this; } public Ansi a(CharSequence value, int start, int end) { flushAttributes(); builder.append(value, start, end); return this; } public Ansi a(CharSequence value) { flushAttributes(); builder.append(value); return this; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 23.1K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java
next(1); } public void next(int n) { pos += n; } public boolean lookingAt(char c) { return input.charAt(pos) == c; } public boolean lookingAt(CharSequence prefix) { int i = 0; int cpos = pos; while (i < prefix.length() && cpos < input.length()) { if (prefix.charAt(i) != input.charAt(cpos)) { return false; }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/StringsTest.java
public void testRepeat_null() { assertThrows(NullPointerException.class, () -> Strings.repeat(null, 5)); } @SuppressWarnings("UnnecessaryStringBuilder") // We want to test a non-String CharSequence public void testCommonPrefix() { assertEquals("", Strings.commonPrefix("", "")); assertEquals("", Strings.commonPrefix("abc", "")); assertEquals("", Strings.commonPrefix("", "abc"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 10.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/StringsTest.java
public void testRepeat_null() { assertThrows(NullPointerException.class, () -> Strings.repeat(null, 5)); } @SuppressWarnings("UnnecessaryStringBuilder") // We want to test a non-String CharSequence public void testCommonPrefix() { assertEquals("", Strings.commonPrefix("", "")); assertEquals("", Strings.commonPrefix("abc", "")); assertEquals("", Strings.commonPrefix("", "abc"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 10.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
static final int SAMPLES = 0x100; static final int SAMPLE_MASK = 0xFF; /** * Compute arrays of valid unicode text, and store it in 3 forms: byte arrays, Strings, and * StringBuilders (in a CharSequence[] to make it a little harder for the JVM). */ @BeforeExperiment void setUp() { final long seed = 99; final Random rnd = new Random(seed); strings = new String[SAMPLES];
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 5.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
static final int SAMPLES = 0x100; static final int SAMPLE_MASK = 0xFF; /** * Compute arrays of valid unicode text, and store it in 3 forms: byte arrays, Strings, and * StringBuilders (in a CharSequence[] to make it a little harder for the JVM). */ @BeforeExperiment void setUp() { final long seed = 99; final Random rnd = new Random(seed); strings = new String[SAMPLES];
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 5.2K bytes - Viewed (0) -
guava/src/com/google/common/base/JdkPattern.java
private final Pattern pattern; JdkPattern(Pattern pattern) { this.pattern = Preconditions.checkNotNull(pattern); } @Override public CommonMatcher matcher(CharSequence t) { return new JdkMatcher(pattern.matcher(t)); } @Override public String pattern() { return pattern.pattern(); } @Override public int flags() { return pattern.flags();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 2.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
} // Inefficient implementation that defines all letters as escapable. @Override protected int nextEscapeIndex(CharSequence csq, int index, int end) { while (index < end && !Character.isLetter(csq.charAt(index))) { index++; } return index; } };
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 5.9K bytes - Viewed (0)