Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,244 for convert (0.04 sec)

  1. docs/en/docs/tutorial/encoder.md

    # JSON Compatible Encoder { #json-compatible-encoder }
    
    There are some cases where you might need to convert a data type (like a Pydantic model) to something compatible with JSON (like a `dict`, `list`, etc).
    
    For example, if you need to store it in a database.
    
    For that, **FastAPI** provides a `jsonable_encoder()` function.
    
    ## Using the `jsonable_encoder` { #using-the-jsonable-encoder }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/BinaryConversionUtil.java

     */
    package org.codelibs.core.convert;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgument;
    
    /**
     * Utility class for conversions related to byte arrays.
     *
     * @author higa
     */
    public abstract class BinaryConversionUtil {
    
        /**
         * Do not instantiate.
         */
        protected BinaryConversionUtil() {
        }
    
        /**
         * Converts to a {@literal byte} array.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilder.java

        /**
         * Convert a model profile to a settings profile.
         */
        @Nonnull
        org.apache.maven.api.settings.Profile convert(@Nonnull org.apache.maven.api.model.Profile profile);
    
        /**
         * Convert a settings profile to a model profile.
         */
        @Nonnull
        org.apache.maven.api.model.Profile convert(@Nonnull org.apache.maven.api.settings.Profile profile);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/FuzzyQueryCommand.java

            return FuzzyQuery.class.getSimpleName();
        }
    
        /**
         * Executes the fuzzy query command to convert a Lucene FuzzyQuery into an OpenSearch QueryBuilder.
         *
         * @param context the query context containing search configuration
         * @param query the Lucene query to convert (must be a FuzzyQuery)
         * @param boost the boost factor to apply to the query
         * @return OpenSearch QueryBuilder for fuzzy matching
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/HexdumpTest.java

    import jcifs.BaseTest;
    
    /**
     * Test class for Hexdump utility functionality
     */
    @DisplayName("Hexdump Utility Tests")
    class HexdumpTest extends BaseTest {
    
        @Test
        @DisplayName("Should convert byte array to hex string")
        void testToHexString() {
            // Given
            byte[] data = { 0x00, 0x0F, (byte) 0xFF, 0x7F, (byte) 0x80 };
    
            // When
            String result = Hexdump.toHexString(data);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java

         * @param boost The boost factor to apply to the query
         * @return The converted OpenSearch QueryBuilder
         */
        protected QueryBuilder convertWildcardQuery(final QueryContext context, final WildcardQuery wildcardQuery, final float boost) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String field = getSearchField(context.getDefaultField(), wildcardQuery.getField());
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java

                // Use the outputs of this converter as inputs for the next converter
                currentInputs = nextInputs;
            }
    
            return new ArrayList<>(resultSet);
        }
    
        /**
         * Adds a converter to the chain.
         * @param converter The converter to add.
         */
        public void addConverter(final ReadingConverter converter) {
            converters.add(converter);
        }
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:28:21 UTC 2025
    - 3.3K bytes
    - Viewed (1)
  8. src/main/java/jcifs/smb1/dcerpc/UUID.java

     */
    public class UUID extends rpc.uuid_t {
    
        /**
         * Convert hexadecimal characters to binary integer
         *
         * @param arr the character array containing hex digits
         * @param offset the starting position in the array
         * @param length the number of hex digits to convert
         * @return the integer value of the hex digits
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.convert;
    
    import static org.codelibs.core.convert.TimeConversionUtil.toCalendar;
    import static org.codelibs.core.convert.TimeConversionUtil.toDate;
    import static org.codelibs.core.convert.TimeConversionUtil.toPlainPattern;
    import static org.codelibs.core.convert.TimeConversionUtil.toSqlTime;
    import static org.hamcrest.CoreMatchers.is;
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/general.md

    ## Convert any Data to JSON-compatible { #convert-any-data-to-json-compatible }
    
    To convert any data to JSON-compatible, read the docs for [Tutorial - JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank}.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top