Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 270 for Converted (0.05 sec)

  1. src/main/java/org/codelibs/core/convert/NumberConversionUtil.java

        }
    
        /**
         * Converts to the appropriate {@link Number}.
         *
         * @param type
         *            Target type
         * @param o
         *            Source object
         * @return {@link Number} converted to {@literal type}
         */
        public static Object convertNumber(final Class<?> type, final Object o) {
            if (type == Integer.class) {
                return IntegerConversionUtil.toInteger(o);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/RenderDataUtil.java

        }
    
        /**
         * Registers a value in the render data with the specified key.
         * If the value is an Entity object, it will be converted to a Map using BeanUtil.
         * If the value is a Collection containing Entity objects, each Entity will be converted to a Map.
         * For other types of values, they are registered directly.
         *
         * @param data the RenderData object to register the value in
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

                        final String converted = URLEncoder.encode(target, Constants.UTF_8);
                        if (target.equals(converted)) {
                            encodedBuf.append(Base64.getUrlEncoder().encodeToString(target.getBytes(Constants.CHARSET_UTF_8)));
                        } else {
                            encodedBuf.append(converted);
                        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/Stats.java

        this.min = min;
        this.max = max;
      }
    
      /**
       * Returns statistics over a dataset containing the given values.
       *
       * @param values a series of values, which will be converted to {@code double} values (this may
       *     cause loss of precision)
       */
      public static Stats of(Iterable<? extends Number> values) {
        StatsAccumulator accumulator = new StatsAccumulator();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/DocumentUtil.java

         * @param clazz the class type to convert the value to
         * @param defaultValue the default value to return if the key is not found or conversion fails
         * @return the converted value or the default value if not found
         */
        public static <T> T getValue(final Map<String, Object> doc, final String key, final Class<T> clazz, final T defaultValue) {
            final T value = getValue(doc, key, clazz);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

          }
    
        /**
         * Sets the default timeout for complete calls. A value of 0 means no timeout, otherwise values
         * must be between 1 and [Integer.MAX_VALUE] when converted to milliseconds.
         *
         * The call timeout spans the entire call: resolving DNS, connecting, writing the request body,
         * server processing, and reading the response body. If the call requires redirects or retries
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 51.4K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/response-directly.md

    For example, you cannot put a Pydantic model in a `JSONResponse` without first converting it to a `dict` with all the data types (like `datetime`, `UUID`, etc) converted to JSON-compatible types.
    
    For those cases, you can use the `jsonable_encoder` to convert your data before passing it to a response:
    
    {* ../../docs_src/response_directly/tutorial001_py310.py hl[5:6,20:21] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverter.java

            return 10;
        }
    
        /**
         * Initializes the converter.
         *
         * @throws IOException if an I/O error occurs during initialization.
         */
        void init() throws IOException;
    
        /**
         * Converts the given text into a list of readings based on the specified field and languages.
         *
         * @param text the text to be converted.
         * @param field the field to be used for conversion.
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:28:21 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/body-nested-models.md

    You couldn't get this kind of editor support if you were working directly with `dict` instead of Pydantic models.
    
    But you don't have to worry about them either, incoming dicts are converted automatically and your output is converted automatically to JSON too.
    
    ## Bodies of arbitrary `dict`s { #bodies-of-arbitrary-dicts }
    
    You can also declare a body as a `dict` with keys of some type and values of some other type.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/dict/ApiAdminDictAction.java

                    .result());
        }
    
        /**
         * Creates a ListBody from a DictionaryFile for API responses.
         *
         * @param dictionaryFile the dictionary file to convert
         * @return the converted ListBody object
         */
        protected ListBody createListBody(final DictionaryFile<? extends DictionaryItem> dictionaryFile) {
            final ListBody body = new ListBody();
            body.id = dictionaryFile.getId();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top