- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 170 for single1 (0.11 seconds)
-
src/test/java/org/codelibs/fess/job/PythonJobTest.java
pythonJob.arg("single1").args("multi1", "multi2").arg("single2").args("multi3"); assertEquals(5, pythonJob.argList.size()); assertEquals("single1", pythonJob.argList.get(0)); assertEquals("multi1", pythonJob.argList.get(1)); assertEquals("multi2", pythonJob.argList.get(2)); assertEquals("single2", pythonJob.argList.get(3));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 22.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java
testUser.setRoleNames(new String[] {}); assertFalse(fessUserBean.hasRole("admin")); // Test with single role - matching testUser.setRoleNames(new String[] { "admin" }); assertTrue(fessUserBean.hasRole("admin")); // Test with single role - not matching assertFalse(fessUserBean.hasRole("user")); // Test with multiple roles
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.8K bytes - Click Count (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt
) } /** * If [mapping] qualifies to be encoded as [MappedRange.InlineDelta] return new instance, otherwise null. * An [MappedRange.InlineDelta] must be a mapping from a single code-point to a single code-point with a difference * that can be represented in 2^18-1. */ internal fun inlineDeltaOrNull(mapping: Mapping): MappedRange.InlineDelta? { if (mapping.hasSingleSourceCodePoint) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 8.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessTransformerTest.java
@Test public void test_putResultDataBody_withObjectArray() { TestFessTransformer transformer = new TestFessTransformer(); Map<String, Object> dataMap = new HashMap<>(); // First add a single value transformer.putResultDataBody(dataMap, "key1", "value1"); assertEquals("value1", dataMap.get("key1")); // Add an array - should merge with existing valueCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 10.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java
public void test_insert_noChains() { User user = createTestUser("testuser"); authenticationManager.insert(user); // Should not throw exception even with no chains } // Test insert with single chain @Test public void test_insert_singleChain() { User user = createTestUser("testuser"); TestAuthenticationChain chain = new TestAuthenticationChain(); authenticationManager.addChain(chain);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14.3K bytes - Click Count (0) -
architecture/standards/0009-use-american-english.md
* **Harder for non-native speakers**: Contributors and users for whom English is a second language benefit from a single, consistent convention While both American and British English are valid, establishing a single standard improves consistency, readability, and maintainability of the codebase. ## Decision
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 3.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
// In XML, a single backslash is passed directly (no Java string escaping) // So we use a literal backslash here to simulate XML-loaded value String xmlLoadedPattern = "image/svg" + "\\" + "+xml"; // Simulates XML value: image/svg\+xml generator.addCondition("mimetype", xmlLoadedPattern); // The condition map should store the pattern with a single backslash
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 17.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java
String value; String[] result; // Single unquoted value value = "single"; result = KuromojiCSVUtil.parse(value); assertEquals(1, result.length); assertEquals("single", result[0]); // Single quoted value - quotes preserved value = "\"single quoted\""; result = KuromojiCSVUtil.parse(value);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 18.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/annotation/SecuredTest.java
assertNotNull(valueMethod); assertEquals(String[].class, valueMethod.getReturnType()); assertEquals(0, valueMethod.getParameterCount()); } // Test class with single role @Secured({ "ROLE_USER" }) static class SingleRoleClass { public void testMethod() { } } // Test class with multiple roles @Secured({ "ROLE_USER", "ROLE_ADMIN" })
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/Iterables.java
* generally guaranteed. */ public static String toString(Iterable<?> iterable) { return Iterators.toString(iterable.iterator()); } /** * Returns the single element contained in {@code iterable}. * * <p><b>Java 8+ users:</b> the {@code Stream} equivalent to this method is {@code * stream.collect(MoreCollectors.onlyElement())}. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 43.6K bytes - Click Count (0)