- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 228 for Chars (0.02 seconds)
-
src/test/java/org/codelibs/fess/job/LogNotificationJobTest.java
} String details = testableJob.testFormatDetails(events); assertNotNull(details); // Max 50 events displayed, message truncated to 200 chars assertTrue(details.contains("Total: 100 event(s) (showing 50)")); assertTrue(details.contains("... and 50 more")); // Long messages should be truncated with "..."Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 10.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java
HashTestUtils.randomLowSurrogate(new Random()) }); } private static void assertPutString(char[] chars) { Hasher h1 = new NonStreamingVersion().newHasher(); Hasher h2 = new NonStreamingVersion().newHasher(); String s = new String(chars); // this is the correct implementation of the spec for (int i = 0; i < s.length(); i++) { h1.putChar(s.charAt(i)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java
public static final String MIN_ELEMENT = "a"; public static final String AFTER_LAST = "z"; public static final String AFTER_LAST_2 = "zz"; } public static class Chars extends SampleElements<Character> { public Chars() { // elements aren't sorted, to better test SortedSet iteration ordering super('b', 'a', 'c', 'd', 'e'); } } public static class Enums extends SampleElements<AnEnum> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ReaderInputStream.java
* the given character set. Malformed input and unmappable characters will be replaced. * * @param reader input source * @param charset character set used for encoding chars to bytes * @param bufferSize size of internal input and output buffers * @throws IllegalArgumentException if bufferSize is non-positive */ ReaderInputStream(Reader reader, Charset charset, int bufferSize) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:36:11 GMT 2025 - 9.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestCharacterListGenerator.java
* limitations under the License. */ package com.google.common.collect.testing; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.testing.SampleElements.Chars; import java.util.List; import org.jspecify.annotations.NullMarked; /** * Generates {@code List<Character>} instances for test suites. * * @author Kevin Bourrillion * @author Louis Wasserman */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.8K bytes - Click Count (0) -
android/guava/src/com/google/common/base/SmallCharMatcher.java
} static CharMatcher from(BitSet chars, String description) { // Compute the filter. long filter = 0; int size = chars.cardinality(); boolean containsZero = chars.get(0); // Compute the hash table. char[] table = new char[chooseTableSize(size)]; int mask = table.length - 1; for (int c = chars.nextSetBit(0); c != -1; c = chars.nextSetBit(c + 1)) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 03:49:18 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
when(cifsContext.getConfig()).thenReturn(configuration); when(configuration.getOemEncoding()).thenReturn("Cp850"); String password14 = "ABCDEFGHIJKLMN"; // 14 chars String password15 = "ABCDEFGHIJKLMNO"; // 15 chars, same first 14 byte[] challenge = hex("0102030405060708"); // Act byte[] r14 = NtlmUtil.getPreNTLMResponse(cifsContext, password14, challenge);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/suggest/index/contents/querylog/QueryLogTest.java
assertEquals("カテゴリ:技術", queryLog.getFilterQueryString()); } @Test public void test_specialCharacters() throws Exception { String query = "test-query_with.special@chars!"; QueryLog queryLog = new QueryLog(query, null); assertEquals(query, queryLog.getQueryString()); } @Test public void test_longQuery() throws Exception {
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Nov 13 00:40:54 GMT 2025 - 3.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java
repeat(sb, '*', DEFAULT_MAX_SIZE); return sb.toString(); } public static List<String> format(String... lines) { int size = DEFAULT_MAX_SIZE; int remainder = size - 4; // 4 chars = 2 box_char + 2 spaces List<String> result = new ArrayList<>(); StringBuilder sb = new StringBuilder(size); // first line sb.setLength(0); repeat(sb, BOX_CHAR, size);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 2.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java
@Test public void test_getSAXHandlerMethods() throws SAXException { GsaConfigParser parser = new GsaConfigParser(); parser.startDocument(); char[] chars = "test".toCharArray(); parser.characters(chars, 0, chars.length); parser.endDocument(); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.7K bytes - Click Count (0)