Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for tuple (0.03 sec)

  1. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

            return defaultSettings;
        }
    
        private List<Tuple<String, Object>> defaultArraySettings() {
            final List<Tuple<String, Object>> tuples = new ArrayList<>();
            tuples.add(new Tuple<>(DefaultKeys.SUPPORTED_FIELDS, "content"));
            return tuples;
        }
    
        /**
         * Loads the index settings from a resource file.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  2. docs/en/docs/python-types.md

    Notice that the variable `item` is one of the elements in the list `items`.
    
    And still, the editor knows it is a `str`, and provides support for that.
    
    #### Tuple and Set { #tuple-and-set }
    
    You would do the same to declare `tuple`s and `set`s:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial007_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/query-params-str-validations.md

    Did you notice? a string using `value.startswith()` can take a tuple, and it will check each value in the tuple:
    
    {* ../../docs_src/query_params_str_validations/tutorial015_an_py310.py ln[16:19] hl[17] *}
    
    #### A Random Item { #a-random-item }
    
    With `data.items()` we get an <abbr title="Something we can iterate on with a for loop, like a list, set, etc.">iterable object</abbr> with tuples containing the key and value for each dictionary item.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

         *
         * @param path the file path or URL of the document
         * @param docMap the document metadata map containing field values
         * @return a tuple containing the generator name, thumbnail ID, and path
         */
        @Override
        public Tuple3<String, String, String> createTask(final String path, final Map<String, Object> docMap) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

                }
    
                Object mimeType = docMap.get("mimetype");
                if (mimeType == null) {
                    return null;
                }
    
                // Create a task tuple
                return new Tuple3<>("task-id", path, mimeType.toString());
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Lists.java

       *
       * {@snippet :
       * for (B b0 : lists.get(0)) {
       *   for (B b1 : lists.get(1)) {
       *     ...
       *     ImmutableList<B> tuple = ImmutableList.of(b0, b1, ...);
       *     // operate on tuple
       *   }
       * }
       * }
       *
       * <p>Note that if any input list is empty, the Cartesian product will also be empty. If no lists
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/body-nested-models.md

    {* ../../docs_src/body_nested_models/tutorial002.py hl[1] *}
    
    ### Declare a `list` with a type parameter { #declare-a-list-with-a-type-parameter }
    
    To declare types that have type parameters (internal types), like `list`, `dict`, `tuple`:
    
    * If you are in a Python version lower than 3.9, import their equivalent version from the `typing` module
    * Pass the internal type(s) as "type parameters" using square brackets: `[` and `]`
    
    In Python 3.9 it would be:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

       *
       * {@snippet :
       * for (B b0 : sets.get(0)) {
       *   for (B b1 : sets.get(1)) {
       *     ...
       *     ImmutableList<B> tuple = ImmutableList.of(b0, b1, ...);
       *     // operate on tuple
       *   }
       * }
       * }
       *
       * <p>Note that if any input set is empty, the Cartesian product will also be empty. If no sets at
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/response-model.md

    It is equivalent to `set(["name", "description"])`.
    
    ///
    
    #### Using `list`s instead of `set`s { #using-lists-instead-of-sets }
    
    If you forget to use a `set` and use a `list` or `tuple` instead, FastAPI will still convert it to a `set` and it will work correctly:
    
    {* ../../docs_src/response_model/tutorial006_py310.py hl[29,35] *}
    
    ## Recap { #recap }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
  10. RELEASE.md

            and `audio_dataset_from_directory`, to be used with the
            `validation_split` argument, for returning both dataset splits at once,
            as a tuple.
        *   Added `tf.keras.utils.split_dataset` utility to split a `Dataset` object
            or a list/tuple of arrays into two `Dataset` objects (e.g. train/test).
        *   Added step granularity to `BackupAndRestore` callback for handling
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (2)
Back to top