- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 301 for charm (0.01 sec)
-
src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java
import java.util.regex.Matcher; import java.util.regex.Pattern; /** * Utility class for parsing CSV text */ public final class KuromojiCSVUtil { private static final char QUOTE = '"'; private static final char COMMA = ','; private static final Pattern QUOTE_REPLACE_PATTERN = Pattern.compile("^\"([^\"]+)\"$"); private static final String ESCAPED_QUOTE = "\"\""; private KuromojiCSVUtil() {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 3.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeTraverserTest.java
public class TreeTraverserTest extends TestCase { private static class Node { final char value; Node(char value) { this.value = value; } } private static final class Tree extends Node { final List<Tree> children; Tree(char value, Tree... children) { super(value); this.children = asList(children); } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 18:39:06 UTC 2025 - 3.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTester.java
this.source = factory.createSource(data); } public void testOpenStream() throws IOException { Reader reader = source.openStream(); StringWriter writer = new StringWriter(); char[] buf = new char[64]; int read; while ((read = reader.read(buf)) != -1) { writer.write(buf, 0, read); } reader.close(); writer.close(); assertExpectedString(writer.toString());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/jcifs/util/Encdec.java
*/ public static String dec_utf8(final byte[] src, int si, final int slim) throws IOException { final char[] uni = new char[slim - si]; int ui, ch; for (ui = 0; si < slim && (ch = src[si++] & 0xFF) != 0; ui++) { if (ch < 0x80) { uni[ui] = (char) ch; } else if ((ch & 0xE0) == 0xC0) { if (slim - si < 2) { break;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
// TODO(lukes): in a real implementation we would need to handle overflow conditions int maxChars = (int) (size.get().intValue() * cs.newDecoder().maxCharsPerByte()); char[] buffer = new char[maxChars]; int bufIndex = 0; int remaining = buffer.length; try (InputStreamReader reader = new InputStreamReader(byteSource.openStream(), cs)) { int nRead = 0;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
if (initialCapacity > 0 && initialCapacity <= MAX_BUF_SIZE) { bufferSize = initialCapacity; } else { bufferSize = DEFAULT_BUF_SIZE; } char[] buf = new char[bufferSize]; int size = 0; int len; try { while ((len = reader.read(buf, size, bufferSize - size)) != -1) { size += len;
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
} return Encdec.dec_uint16be(this.tmp, 0) & 0xFFFF; } @Override public final char readChar() throws SmbException { if (read(this.tmp, 0, 2) < 0) { throw new SmbEndOfFileException(); } return (char) Encdec.dec_uint16be(this.tmp, 0); } @Override public final int readInt() throws SmbException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
guava/src/com/google/common/base/Defaults.java
* false} for {@code boolean} and {@code '\0'} for {@code char}. For non-primitive types and * {@code void}, {@code null} is returned. */ @SuppressWarnings("unchecked") public static <T> @Nullable T defaultValue(Class<T> type) { checkNotNull(type); if (type.isPrimitive()) { if (type == boolean.class) { return (T) Boolean.FALSE; } else if (type == char.class) { return (T) Character.valueOf('\0');Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/xml/XmlEscapers.java
* * @author Alex Matevossian * @author David Beaumont * @since 15.0 */ @GwtCompatible public class XmlEscapers { private XmlEscapers() {} private static final char MIN_ASCII_CONTROL_CHAR = 0x00; private static final char MAX_ASCII_CONTROL_CHAR = 0x1F; // For each xxxEscaper() method, please add links to external reference pages // that are considered authoritative for the behavior of that escaper. /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 17:06:34 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java
} /** * @throws Exception */ public void testFindFractionDelimeter3() throws Exception { final String delim = NumberConversionUtil.findDecimalSeparator(null); final char c = new DecimalFormatSymbols(LocaleUtil.getDefault()).getDecimalSeparator(); assertEquals(Character.toString(c), delim); } /** * @throws Exception */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 3.2K bytes - Viewed (0)