Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 26 for isSuitable (0.05 seconds)

  1. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

            for (final MethodDesc methodDesc : methodDescs) {
                if (isSuitable(methodDesc.getParameterTypes(), args, true)) {
                    return methodDesc;
                }
            }
            return null;
        }
    
        /**
         * Checks whether the arguments are suitable for the parameter types.
         *
         * @param paramTypes
         *            array of parameter types
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 25.8K bytes
    - Click Count (1)
  2. src/test/java/org/codelibs/fess/entity/FessUserTest.java

            assertFalse(user.isEditable());
    
            // Test with different user configurations
            user = new TestFessUser("admin", new String[] { "admin" }, new String[] { "admins" }, new String[] { "*" });
            assertFalse(user.isEditable());
    
            user = new TestFessUser("", new String[] {}, new String[] {}, new String[] {});
            assertFalse(user.isEditable());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

        public void test_isEditable() {
            // Test with non-editable user (default)
            testUser.setEditable(false);
            assertFalse(fessUserBean.isEditable());
    
            // Test with editable user
            testUser.setEditable(true);
            assertTrue(fessUserBean.isEditable());
        }
    
        @Test
        public void test_hasRole() {
            // Test with no roles
            testUser.setRoleNames(new String[] {});
    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)
  4. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

                public boolean isLdapAdminEnabled(String name) {
                    assertEquals("testuser", name);
                    return true;
                }
            });
    
            assertTrue(ldapUser.isEditable());
        }
    
        @Test
        public void test_isEditable_disabled() {
            // Test when admin is disabled for the user
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            }
        }
    
        /**
         * Processes and normalizes a document title.
         * Applies text normalization using configured space characters and returns
         * a clean title suitable for indexing.
         *
         * @param responseData the response data from crawling (not currently used)
         * @param title the raw title text to process
         * @param dataMap additional data map (not currently used)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:27:04 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/net/InternetDomainName.java

       * registry suffixes, since domain name registries collectively control all internet domain names.
       *
       * <p>For considerations on whether the public suffix or registry suffix designation is more
       * suitable for your application, see <a
       * href="https://github.com/google/guava/wiki/InternetDomainNameExplained">this article</a>.
       *
       * @return {@code true} if this domain name appears exactly on the public suffix list
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 26.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/hash/Hashing.java

       *
       * <ul>
       *   <li>{@code n - 1}, with approximate probability {@code 1/n}
       *   <li>{@code consistentHash(h, n - 1)}, otherwise (probability {@code 1 - 1/n})
       * </ul>
       *
       * <p>This method is suitable for the common use case of dividing work among buckets that meet the
       * following conditions:
       *
       * <ul>
       *   <li>You want to assign the same fraction of inputs to each bucket.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 29.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/cache/Striped64.java

          BUSY_OFFSET = UNSAFE.objectFieldOffset(sk.getDeclaredField("busy"));
        } catch (Exception e) {
          throw new Error(e);
        }
      }
    
      /**
       * Returns a sun.misc.Unsafe. Suitable for use in a 3rd party package. Replace with a simple call
       * to Unsafe.getUnsafe when integrating into a jdk.
       *
       * @return a sun.misc.Unsafe
       */
      private static Unsafe getUnsafe() {
        try {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 15 22:17:15 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       * escaping algorithm to perform more efficiently.
       *
       * <p>If the implementation of this method cannot correctly handle a particular code point then it
       * should either throw an appropriate runtime exception or return a suitable replacement
       * character. It must never silently discard invalid input as this may constitute a security risk.
       *
       * @param cp the Unicode code point to escape if necessary
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 24 04:06:11 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

                    continue;
                }
                final PropertyDesc destPropertyDesc = destBeanDesc.getPropertyDesc(destPropertyName);
                if (!destPropertyDesc.isWritable()) {
                    continue;
                }
                final Object value = srcPropertyDesc.getValue(src);
                if (!options.isTargetValue(value)) {
                    continue;
                }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 23.5K bytes
    - Click Count (0)
Back to Top