Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 177 for single1 (0.04 sec)

  1. 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));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/SingleValueIterator.java

         * @param <E> the element type
         * @param value the single value returned by the iterator
         * @return an {@link Iterable} wrapping a {@link SingleValueIterator}
         */
        public static <E> Iterable<E> iterable(final E value) {
            return () -> new SingleValueIterator<>(value);
        }
    
        /**
         * Constructs an instance.
         *
         * @param value the single value returned by the iterator
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. 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
        public void test_insert_singleChain() {
            User user = createTestUser("testuser");
            TestAuthenticationChain chain = new TestAuthenticationChain();
            authenticationManager.addChain(chain);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            assertEquals("a\nb\nc", inputsValue);
        }
    
        public void test_getInputsValue_withSingleInput() {
            // Test with single input
            String[] inputs = { "single" };
            CharMappingItem item = new CharMappingItem(1L, inputs, "output");
    
            assertEquals("single", item.getInputsValue());
        }
    
        public void test_getInputsValue_withNullInputs() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  5. 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
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  6. 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);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt

        val response = client.newCall(request).execute()
    
        response.use {
          assertEquals(200, response.code)
          assertEquals(
            "CN=localhost",
            (response.handshake!!.peerCertificates.single() as X509Certificate).subjectDN.name,
          )
        }
      }
    
      private fun enableTls() {
        client =
          client
            .newBuilder()
            .sslSocketFactory(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  8. 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" })
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

    /**
     * Represents a single character mapping rule that defines how input characters are mapped to output characters
     * for text analysis and search processing. This class is used in character mapping dictionaries to transform
     * text during indexing and search operations.
     *
     * <p>Each mapping item consists of one or more input character sequences that are mapped to a single output
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  10. 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())}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
Back to top