- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 324 for Char (0.02 sec)
-
guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java
import com.google.caliper.Benchmark; import com.google.caliper.Param; import com.google.common.collect.Iterables; import org.jspecify.annotations.NullUnmarked; /** * Microbenchmark for {@link Splitter#on} with char vs String with length == 1. * * @author Paul Lindner */ @NullUnmarked public class SplitterBenchmark { // overall size of string @Param({"1", "10", "100", "1000"}) int length;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 1.8K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt
} } private fun boundOf(wildcard: Char) = when (wildcard) { '+' -> Variance.COVARIANT '-' -> Variance.CONTRAVARIANT else -> Variance.INVARIANT } } private fun binaryNameOfBaseType(descriptor: Char) = Type.getType(descriptor.toString()).className privateRegistered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Mar 12 15:56:18 UTC 2025 - 20.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestCharSource.java
import static java.nio.charset.StandardCharsets.UTF_8; import java.io.IOException; import java.io.InputStreamReader; import java.io.Reader; import org.jspecify.annotations.NullUnmarked; /** * A char source for testing that has configurable options. * * @author Colin Decker */ @NullUnmarked public class TestCharSource extends CharSource implements TestStreamSupplier { private final TestByteSource byteSource;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
* Returns a reader wrapping the given reader that only reads half of the maximum number of * characters that it could read in read(char[], int, int). */ private static Reader newNonBufferFillingReader(Reader reader) { return new FilterReader(reader) { @Override public int read(char[] cbuf, int off, int len) throws IOException {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 11.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharStreamsTest.java
* Returns a reader wrapping the given reader that only reads half of the maximum number of * characters that it could read in read(char[], int, int). */ private static Reader newNonBufferFillingReader(Reader reader) { return new FilterReader(reader) { @Override public int read(char[] cbuf, int off, int len) throws IOException {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 11.3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketModel.kt
) : this(listOf(subproject), parallelizationMethod) val name = truncateName(subprojects.joinToString(",")) private fun truncateName(str: String) = // Can't exceed Linux file name limit 255 char on TeamCity if (str.length > 200) { str.substring(0, 200) + "..." } else { str } override fun createFunctionalTestsFor( model: CIBuildModel,
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Apr 10 15:09:32 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
// Should be: 4 (nextOffset) + 4 (action) + 4 (nameLength) + fileName bytes int expectedBytes = 12 + (fileName.length() * 2); // Unicode is 2 bytes per char assertEquals(expectedBytes, bytesRead); } @Test @DisplayName("Test getAction returns correct value") void testGetAction() throws SMBProtocolDecodingException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java
public static String stripInvalidXMLCharacters(final String in) { if (StringUtil.isEmpty(in)) { return in; } final StringBuilder buf = new StringBuilder(in.length()); char c; for (int i = 0; i < in.length(); i++) { c = in.charAt(i); if (c == 0x9 || c == 0xA || c == 0xD || (c >= 0x20 && c <= 0xD7FF) || (c >= 0xE000 && c <= 0xFFFD)
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/text/JsonUtil.java
* * @param value input * @return escaped string. */ public static String escape(final String value) { if (value == null) { return null; } char c; final int len = value.length(); final StringBuilder buf = new StringBuilder(len * 2); for (int i = 0; i < len; i++) { c = value.charAt(i); String escaped = switch (c) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 1.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/DefaultsTest.java
@GwtIncompatible @NullUnmarked public class DefaultsTest extends TestCase { public void testGetDefaultValue() { assertEquals(false, Defaults.defaultValue(boolean.class).booleanValue()); assertEquals('\0', Defaults.defaultValue(char.class).charValue()); assertEquals(0, Defaults.defaultValue(byte.class).byteValue()); assertEquals(0, Defaults.defaultValue(short.class).shortValue()); assertEquals(0, Defaults.defaultValue(int.class).intValue());Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 1.7K bytes - Viewed (0)