- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for test_string (0.23 sec)
-
android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
: ("[" + String.valueOf(cp) + "]").toCharArray(); } }; public void testNopEscaper() { UnicodeEscaper e = NOP_ESCAPER; assertThat(escapeAsString(e, TEST_STRING)).isEqualTo(TEST_STRING); } public void testSimpleEscaper() { UnicodeEscaper e = SIMPLE_ESCAPER; String expected = "[0]abyz[128][256][2048][4096]ABYZ[65535]" + "["
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
: ("[" + String.valueOf(cp) + "]").toCharArray(); } }; public void testNopEscaper() { UnicodeEscaper e = NOP_ESCAPER; assertThat(escapeAsString(e, TEST_STRING)).isEqualTo(TEST_STRING); } public void testSimpleEscaper() { UnicodeEscaper e = SIMPLE_ESCAPER; String expected = "[0]abyz[128][256][2048][4096]ABYZ[65535]" + "["
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java
map.remove("data1"); assertFalse(docBoostMatcher.match(map)); map.put("data2", 5); assertFalse(docBoostMatcher.match(map)); } public void test_string() { final DocBoostMatcher docBoostMatcher = new DocBoostMatcher(); docBoostMatcher.setBoostExpression("10"); docBoostMatcher.setMatchExpression("data1 != null && data1.matches(\"test\")");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 4.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java
String string = noWorkToDo ? charSequenceToUpperCase(testString) : testString; int dummy = 0; for (int i = 0; i < reps; i++) { dummy += charSequenceToUpperCase(string).length(); } return dummy; } @Benchmark int stringToUpperCase(int reps) { String string = noWorkToDo ? testString.toUpperCase(Locale.US) : testString; int dummy = 0; for (int i = 0; i < reps; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiReaderTest.java
assertFalse(joinedReader.ready()); } public void testSimple() throws Exception { String testString = "abcdefgh"; CharSource source = newCharSource(testString); Reader joinedReader = CharSource.concat(source, source).openStream(); String expectedString = testString + testString; assertEquals(expectedString, CharStreams.toString(joinedReader)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java
matcher = useNew ? CharMatcher.whitespace() : OLD_WHITESPACE; teststring = newTestString(new Random(1), bitSet, percentMatching); } @Benchmark public int countIn(int reps) { int result = 0; CharMatcher matcher = this.matcher; String teststring = this.teststring; for (int i = 0; i < reps; i++) { result += matcher.countIn(teststring); } return result; } @Benchmark
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.9K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java
String string = noWorkToDo ? charSequenceToUpperCase(testString) : testString; int dummy = 0; for (int i = 0; i < reps; i++) { dummy += charSequenceToUpperCase(string).length(); } return dummy; } @Benchmark int stringToUpperCase(int reps) { String string = noWorkToDo ? testString.toUpperCase(Locale.US) : testString; int dummy = 0; for (int i = 0; i < reps; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
testExceptionPropagation(interfaceType, method, wrapperFunction); } if (testsEquals) { testEquals(interfaceType, wrapperFunction); } testToString(interfaceType, wrapperFunction); } /** Returns the most concrete public methods from {@code type}. */ private static Method[] getMostConcreteMethods(Class<?> type) { Method[] methods = type.getMethods();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/xml/DomUtilTest.java
assertNotNull("1", DomUtil.getContentsAsStream(contents, "UTF-8")); } /** * @throws Exception */ public void testToString() throws Exception { final DocumentBuilder builder = DocumentBuilderFactoryUtil.newDocumentBuilder();
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0)