Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 292 for Converter (0.04 sec)

  1. ci/official/utilities/convert_msys_paths_to_win_paths.py

        # with forward slashes, e.g. 'C:/Program Files', instead of
        # '/c/Program Files', thus becoming converted simply by virtue of having
        # been read.
        converted_vars[var] = value
    
      var_str = '\n'.join(f'{k}="{v}"'
                          for k, v in converted_vars.items())
      # The string can then be piped into `source`, to re-set the
      # 'converted' variables.
      print(var_str)
    
    
    if __name__ == '__main__':
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Aug 07 23:01:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/BooleanConversionUtil.java

         */
        protected BooleanConversionUtil() {
        }
    
        /**
         * Converts to {@link Boolean}.
         *
         * @param o
         *            The object to convert
         * @return The converted {@link Boolean}
         */
        public static Boolean toBoolean(final Object o) {
            return switch (o) {
            case null -> null;
            case Boolean b -> b;
            case Number n -> n.intValue() != 0;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java

        public WildcardQueryCommand() {
            super();
        }
    
        private static final Logger logger = LogManager.getLogger(WildcardQueryCommand.class);
    
        /**
         * Flag indicating whether wildcard terms should be converted to lowercase.
         */
        protected boolean lowercaseWildcard = true;
    
        @Override
        protected String getQueryClassName() {
            return WildcardQuery.class.getSimpleName();
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/encoder.md

    # JSON Compatible Encoder
    
    Hay algunos casos en los que podrías necesitar convertir un tipo de dato (como un modelo de Pydantic) a algo compatible con JSON (como un `dict`, `list`, etc).
    
    Por ejemplo, si necesitas almacenarlo en una base de datos.
    
    Para eso, **FastAPI** proporciona una función `jsonable_encoder()`.
    
    ## Usando el `jsonable_encoder`
    
    Imaginemos que tienes una base de datos `fake_db` que solo recibe datos compatibles con JSON.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. 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: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  8. docs/es/docs/advanced/dataclasses.md

    Así que, incluso con el código anterior que no usa Pydantic explícitamente, FastAPI está usando Pydantic para convertir esos dataclasses estándar en su propia versión de dataclasses de Pydantic.
    
    Y por supuesto, soporta lo mismo:
    
    * validación de datos
    * serialización de datos
    * documentación de datos, etc.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. docs/es/docs/how-to/general.md

    ## Convertir cualquier Dato a Compatible con JSON
    
    Para convertir cualquier dato a compatible con JSON, lee la documentación para [Tutorial - Codificador Compatible con JSON](../tutorial/encoder.md){.internal-link target=_blank}.
    
    ## Metadatos OpenAPI - Documentación
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 51.7K bytes
    - Viewed (0)
Back to top