Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 1,083 for Function (0.18 sec)

  1. guava-tests/test/com/google/common/base/PredicatesTest.java

      }
    
      // enum singleton pattern
      private enum TrimStringFunction implements Function<String, String> {
        INSTANCE;
    
        @Override
        public String apply(String string) {
          return whitespace().trimFrom(string);
        }
      }
    
      public void testCompose() {
        Function<String, String> trim = TrimStringFunction.INSTANCE;
        Predicate<String> equalsFoo = Predicates.equalTo("Foo");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  2. util/deploy_snapshot.sh

    #!/bin/bash
    
    # see https://coderwall.com/p/9b_lfq
    
    set -e -u
    
    function mvn_deploy() {
      ./mvnw clean deploy -DskipTests=true "$@"
    }
    
    echo "Publishing Maven snapshot..."
    
    mvn_deploy
    mvn_deploy -f android/pom.xml
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Oct 16 20:48:20 UTC 2023
    - 245 bytes
    - Viewed (0)
  3. docs_src/path_operation_advanced_configuration/tutorial002_py39.py

    @app.get("/items/")
    async def read_items():
        return [{"item_id": "Foo"}]
    
    
    def use_route_names_as_operation_ids(app: FastAPI) -> None:
        """
        Simplify operation IDs so that generated API clients have simpler function
        names.
    
        Should be called only after all routes have been added.
        """
        for route in app.routes:
            if isinstance(route, APIRoute):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 572 bytes
    - Viewed (0)
  4. docs_src/dependencies/tutorial008e_py39.py

    
    def get_username():
        try:
            yield "Rick"
        finally:
            print("Cleanup up before response is sent")
    
    
    @app.get("/users/me")
    def get_user_me(username: str = Depends(get_username, scope="function")):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 289 bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/path-params.md

    You can declare the type of a path parameter in the function, using standard Python type annotations:
    
    {* ../../docs_src/path_params/tutorial002_py39.py hl[7] *}
    
    In this case, `item_id` is declared to be an `int`.
    
    /// check
    
    This will give you editor support inside of your function, with error checks, completion, etc.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/ViewHelper.java

    import java.util.Map;
    import java.util.Set;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import java.util.function.Consumer;
    import java.util.function.Function;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    
    import org.apache.catalina.connector.ClientAbortException;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 52.6K bytes
    - Viewed (0)
  7. docs/es/docs/advanced/templates.md

    También puedes usar `url_for()` dentro de la plantilla, toma como argumentos los mismos que usaría tu *path operation function*.
    
    Entonces, la sección con:
    
    {% raw %}
    
    ```jinja
    <a href="{{ url_for('read_item', id=id) }}">
    ```
    
    {% endraw %}
    
    ...generará un enlace hacia la misma URL que manejaría la *path operation function* `read_item(id=id)`.
    
    Por ejemplo, con un ID de `42`, esto se renderizaría como:
    
    ```html
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/resources/org/gradle/test/Java8Interface.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.test;
    
    import java.io.IOException;
    import java.util.function.Supplier;
    
    /**
     * An interface that uses Java 8 source features.
     */
    public interface Java8Interface extends CombinedInterface, JavaInterface {
        default String getName() {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ForwardingSetTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static java.util.Arrays.asList;
    
    import com.google.common.base.Function;
    import com.google.common.collect.testing.MinimalSet;
    import com.google.common.collect.testing.SetTestSuiteBuilder;
    import com.google.common.collect.testing.TestStringSetGenerator;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. docs/en/docs/_llm-test.md

    * the path operation decorator
    * the path operation function
    
    * the body
    * the request body
    * the response body
    * the JSON body
    * the form body
    * the file body
    * the function body
    
    * the parameter
    * the body parameter
    * the path parameter
    * the query parameter
    * the cookie parameter
    * the header parameter
    * the form parameter
    * the function parameter
    
    * the event
    * the startup event
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 14:48:47 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top