Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for function (0.18 sec)

  1. tests/test_generate_unique_id_function.py

        app = FastAPI(generate_unique_id_function=custom_generate_unique_id)
        router = APIRouter(generate_unique_id_function=custom_generate_unique_id2)
    
        @app.post(
            "/",
            response_model=List[Item],
            responses={404: {"model": List[Message]}},
            generate_unique_id_function=custom_generate_unique_id3,
        )
        def post_root(item1: Item, item2: Item):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jan 13 15:10:26 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multimaps.java

              V extends @Nullable Object,
              M extends Multimap<K, V>>
          Collector<T, ?, M> toMultimap(
              java.util.function.Function<? super T, ? extends K> keyFunction,
              java.util.function.Function<? super T, ? extends V> valueFunction,
              java.util.function.Supplier<M> multimapSupplier) {
        return CollectCollectors.<T, K, V, M>toMultimap(keyFunction, valueFunction, multimapSupplier);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 86.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

          ListenableFuture<O> transform(
              ListenableFuture<I> input, Function<? super I, ? extends O> function, Executor executor) {
        return AbstractTransformFuture.create(input, function, executor);
      }
    
      /**
       * Like {@link #transform(ListenableFuture, Function, Executor)} except that the transformation
       * {@code function} is invoked on each call to {@link Future#get() get()} on the returned future.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapsTest.java

            .addEqualityGroup(original, same)
            .addEqualityGroup(reverse)
            .addEqualityGroup(diff2)
            .testEquals();
      }
    
      private static final Function<String, Integer> LENGTH_FUNCTION =
          new Function<String, Integer>() {
            @Override
            public Integer apply(String input) {
              return input.length();
            }
          };
    
      public void testAsMap() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapsTest.java

            .addEqualityGroup(original, same)
            .addEqualityGroup(reverse)
            .addEqualityGroup(diff2)
            .testEquals();
      }
    
      private static final Function<String, Integer> LENGTH_FUNCTION =
          new Function<String, Integer>() {
            @Override
            public Integer apply(String input) {
              return input.length();
            }
          };
    
      public void testAsMap() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedMap.java

    import java.util.Map;
    import java.util.NavigableMap;
    import java.util.SortedMap;
    import java.util.Spliterator;
    import java.util.TreeMap;
    import java.util.function.BiConsumer;
    import java.util.function.BinaryOperator;
    import java.util.function.Consumer;
    import java.util.function.Function;
    import java.util.stream.Collector;
    import java.util.stream.Collectors;
    import javax.annotation.CheckForNull;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

    import java.util.Arrays;
    import java.util.Comparator;
    import java.util.Map;
    import java.util.NavigableMap;
    import java.util.SortedMap;
    import java.util.TreeMap;
    import java.util.function.BinaryOperator;
    import java.util.function.Function;
    import java.util.stream.Collector;
    import java.util.stream.Collectors;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 52.7K bytes
    - Viewed (0)
  8. fastapi/param_functions.py

            **extra,
        )
    
    
    def Depends(  # noqa: N802
        dependency: Annotated[
            Optional[Callable[..., Any]],
            Doc(
                """
                A "dependable" callable (like a function).
    
                Don't call it directly, FastAPI will call it for you, just pass the object
                directly.
                """
            ),
        ] = None,
        *,
        use_cache: Annotated[
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                          }
                        }),
                    executor);
        waiter.awaitStarted();
        cancelFinalStepAndWait(closingFuture);
        // not closed until the function returns
        assertStillOpen(closeable1, closeable2, closeable3);
        waiter.awaitReturned();
        assertClosed(closeable1, closeable2, closeable3);
      }
    
      public void testTransformAsync_throws() throws Exception {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

            resolveFragmentOfCall: Boolean
        ): List<KtCallCandidateInfo> {
            // If a function call is resolved to an implicit invoke call, the FirImplicitInvokeCall will have the `invoke()` function as the
            // callee and the variable as the explicit receiver. To correctly get all candidates, we need to get the original function
            // call's explicit receiver (if there is any) and callee (i.e., the variable).
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
Back to top