Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 600 for Convert (0.07 seconds)

  1. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserEdgeCaseTest.java

                    defaultReadingConverter, defaultReadingConverter, defaultNormalizer, analyzer);
    
            // Should convert to string and process
            // May or may not produce items depending on analyzer
            assertNotNull(items);
        }
    
        @Test
        public void test_parseDocument_multipleFields() throws Exception {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 20.3K bytes
    - Click Count (0)
  2. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

    import org.jspecify.annotations.NullUnmarked;
    
    /** Benchmarks for the hashing of UTF-8 strings. */
    @NullUnmarked
    public class HashStringBenchmark {
      static class MaxCodePoint {
        final int value;
    
        /**
         * Convert the input string to a code point. Accepts regular decimal numerals, hex strings, and
         * some symbolic names meaningful to humans.
         */
        private static int decode(String userFriendly) {
          try {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/entity/ParamMap.java

        /**
         * Gets the parent map.
         *
         * @return the parent map
         */
        public Map<K, V> getParent() {
            return parent;
        }
    
        /**
         * Converts a key to camelCase.
         *
         * @param key the key to convert
         * @return the converted key
         */
        protected Object toCamelCase(final Object key) {
            if (key == null) {
                return key;
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java

        }
    
        /**
         * Creates an EditBody from a User entity.
         *
         * @param entity the user entity to convert
         * @return the converted EditBody
         */
        protected EditBody createEditBody(final User entity) {
            final EditBody body = new EditBody();
            copyBeanToBean(entity, body, copyOp -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  5. tests/sql_builder_test.go

    	if actually != expected {
    		t.Fatalf("\nexpected: %s\nactually: %s", expected, actually)
    	}
    }
    
    func replaceQuoteInSQL(sql string) string {
    	// convert single quote into double quote
    	sql = strings.ReplaceAll(sql, `'`, `"`)
    
    	// convert dialect special quote into double quote
    	switch DB.Dialector.Name() {
    	case "postgres", "gaussdb":
    		sql = strings.ReplaceAll(sql, `"`, `"`)
    	case "mysql", "sqlite":
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5HttpClient.java

            }
        }
    
        /**
         * Converts POJO authentication configs to HC5 Hc5Authentication objects.
         * This method supports:
         * - Direct Hc5Authentication[] (returns as-is)
         * - WebAuthenticationConfig[] (converts to Hc5Authentication[])
         * - Hc4Authentication[] (converts for backward compatibility)
         *
         * @return the authentication array
         */
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sat Jan 31 12:23:29 GMT 2026
    - 62.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/escape/Escaper.java

    import com.google.errorprone.annotations.DoNotMock;
    
    /**
     * An object that converts literal text into a format safe for inclusion in a particular context
     * (such as an XML document). Typically (but not always), the inverse process of "unescaping" the
     * text is performed automatically by the relevant parser.
     *
     * <p>For example, an XML escaper would convert the literal string {@code "Foo<Bar>"} into {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 15:45:16 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/reqheader/ApiAdminReqheaderAction.java

            });
            return asJson(new ApiResponse().status(Status.OK).result());
        }
    
        /**
         * Creates an EditBody from a RequestHeader entity.
         *
         * @param entity the request header entity to convert
         * @return the converted EditBody
         */
        protected EditBody createEditBody(final RequestHeader entity) {
            final EditBody body = new EditBody();
            copyBeanToBean(entity, body, copyOp -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/webauth/ApiAdminWebauthAction.java

            return asJson(new ApiResponse().status(Status.OK).result());
        }
    
        /**
         * Creates an EditBody from a WebAuthentication entity.
         *
         * @param entity the web authentication entity to convert
         * @return the converted EditBody
         */
        protected EditBody createEditBody(final WebAuthentication entity) {
            final EditBody body = new EditBody();
            copyBeanToBean(entity, body, copyOp -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/MoreCollectors.java

     */
    @GwtCompatible
    @IgnoreJRERequirement // Users will use this only if they're already using streams.
    public final class MoreCollectors {
    
      /*
       * TODO(lowasser): figure out if we can convert this to a concurrent AtomicReference-based
       * collector without breaking j2cl?
       */
      private static final Collector<Object, ?, Optional<Object>> TO_OPTIONAL =
          Collector.of(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 18 16:22:33 GMT 2026
    - 6.3K bytes
    - Click Count (0)
Back to Top