Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 166 for convertKey (0.33 seconds)

  1. src/main/java/org/codelibs/core/collection/CaseInsensitiveMap.java

                put(convertKey(entry.getKey()), entry.getValue());
            }
        }
    
        @Override
        public final V remove(final Object key) {
            return super.remove(convertKey(key));
        }
    
        @Override
        public boolean containsKey(final Object key) {
            return super.containsKey(convertKey(key));
        }
    
        private static String convertKey(final Object key) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/beans/Converter.java

         * @return the value as an object
         */
        Object getAsObject(String value);
    
        /**
         * Returns {@literal true} if this converter can handle the specified type.
         *
         * @param clazz
         *            the type. Must not be {@literal null}
         * @return {@literal true} if this converter can handle the specified type
         */
        boolean isTarget(Class<?> clazz);
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  3. .github/ISSUE_TEMPLATE/tflite-converter-issue.md

    ---
    name: TensorFlow Lite Converter Issue
    about: Use this template for reporting issues during model conversion to TFLite
    labels: 'TFLiteConverter'
    
    ---
    
    ### 1. System information
    
    - OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
    - TensorFlow installation (pip package or built from source):
    - TensorFlow library (version, if pip package or github SHA, if built from source):
    
    ### 2. Code
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jun 15 03:35:58 GMT 2022
    - 2.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverterTest.java

     */
    package org.codelibs.fess.suggest.converter;
    
    import java.util.List;
    
    import junit.framework.TestCase;
    
    public class KatakanaToAlphabetConverterTest extends TestCase {
    
        private KatakanaToAlphabetConverter converter;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            converter = new KatakanaToAlphabetConverter();
            converter.init();
        }
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:28:21 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  5. 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.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:28:21 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  6. docs/pt/docs/advanced/response-directly.md

    Por exemplo, você não pode colocar um modelo do Pydantic em uma `JSONResponse` sem antes convertê-lo em um `dict` com todos os tipos de dados (como `datetime`, `UUID`, etc) convertidos para tipos compatíveis com JSON.
    
    Para esses casos, você pode usar o `jsonable_encoder` para converter seus dados antes de repassá-los para a resposta:
    
    {* ../../docs_src/response_directly/tutorial001_py310.py hl[5:6,20:21] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  7. docs/pt/docs/tutorial/body-updates.md

    * Converter o modelo copiado em algo que possa ser armazenado no seu BD (por exemplo, usando o `jsonable_encoder`).
        * Isso é comparável a usar o método `.model_dump()` do modelo novamente, mas garante (e converte) os valores para tipos de dados que possam ser convertidos em JSON, por exemplo, `datetime` para `str`.
    * Salvar os dados no seu BD.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  8. docs/pt/docs/tutorial/body-nested-models.md

    Você também pode usar modelos Pydantic como subtipos de `list`, `set`, etc:
    
    {* ../../docs_src/body_nested_models/tutorial006_py310.py hl[18] *}
    
    Isso vai esperar (converter, validar, documentar, etc) um corpo JSON tal qual:
    
    ```JSON hl_lines="11"
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2,
        "tags": [
            "rock",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/base/ConverterTest.java

        assertThat(stringIdentityConverter.toString()).isEqualTo("Converter.identity()");
    
        assertThat(Converter.identity()).isSameInstanceAs(Converter.identity());
      }
    
      public void testFrom() {
        Function<String, Integer> forward = Integer::parseInt;
        Function<Object, String> backward = toStringFunction();
    
        Converter<String, Number> converter = Converter.<String, Number>from(forward, backward);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java

                return resultList.subList(0, maxReadingNum);
            }
            return resultList;
        }
    
        /**
         * Adds a converter to the chain.
         * @param converter The converter to add.
         */
        public void addConverter(final ReadingConverter converter) {
            converters.add(converter);
        }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Wed Dec 31 05:38:07 GMT 2025
    - 3.8K bytes
    - Click Count (1)
Back to Top