Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Callable (0.07 sec)

  1. fastapi/applications.py

                ),
            ] = State()
            self.dependency_overrides: Annotated[
                Dict[Callable[..., Any], Callable[..., Any]],
                Doc(
                    """
                    A dictionary with overrides for the dependencies.
    
                    Each key is the original dependency callable, and the value is the
                    actual dependency that should be called.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  2. fastapi/routing.py

            if response_fields:
                self.response_fields: Dict[Union[int, str], ModelField] = response_fields
            else:
                self.response_fields = {}
    
            assert callable(endpoint), "An endpoint must be a callable"
            self.dependant = get_dependant(path=self.path_format, call=self.endpoint)
            for depends in self.dependencies[::-1]:
                self.dependant.dependencies.insert(
                    0,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         * @param <U> the type returned by the function
         */
        public interface ClosingFunction5<
            V1 extends @Nullable Object,
            V2 extends @Nullable Object,
            V3 extends @Nullable Object,
            V4 extends @Nullable Object,
            V5 extends @Nullable Object,
            U extends @Nullable Object> {
          /**
           * Applies this function to five inputs, or throws an exception if unable to do so.
           *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LocalCache.java

          } finally {
            statsCounter.recordMisses(1);
          }
        }
    
        @CheckForNull
        V compute(
            K key,
            int hash,
            BiFunction<? super K, ? super @Nullable V, ? extends @Nullable V> function) {
          ReferenceEntry<K, V> e;
          ValueReference<K, V> valueReference = null;
          ComputingValueReference<K, V> computingValueReference = null;
          boolean createNewEntry = true;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  5. doc/go1.17_spec.html

    </pre>
    
    
    <h3 id="Method_expressions">Method expressions</h3>
    
    <p>
    If <code>M</code> is in the <a href="#Method_sets">method set</a> of type <code>T</code>,
    <code>T.M</code> is a function that is callable as a regular function
    with the same arguments as <code>M</code> prefixed by an additional
    argument that is the receiver of the method.
    </p>
    
    <pre class="ebnf">
    MethodExpr    = ReceiverType "." MethodName .
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Maps.java

      @SuppressWarnings("unchecked")
      static <K extends @Nullable Object> Function<Entry<K, ?>, K> keyFunction() {
        return (Function) EntryFunction.KEY;
      }
    
      @SuppressWarnings("unchecked")
      static <V extends @Nullable Object> Function<Entry<?, V>, V> valueFunction() {
        return (Function) EntryFunction.VALUE;
      }
    
      static <K extends @Nullable Object, V extends @Nullable Object> Iterator<K> keyIterator(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Maps.java

      @SuppressWarnings("unchecked")
      static <K extends @Nullable Object> Function<Entry<K, ?>, K> keyFunction() {
        return (Function) EntryFunction.KEY;
      }
    
      @SuppressWarnings("unchecked")
      static <V extends @Nullable Object> Function<Entry<?, V>, V> valueFunction() {
        return (Function) EntryFunction.VALUE;
      }
    
      static <K extends @Nullable Object, V extends @Nullable Object> Iterator<K> keyIterator(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          K key, int hash, V value, @Nullable ReferenceEntry<K, V> next) {
        DummyEntry<K, V> entry = DummyEntry.create(key, hash, next);
        DummyValueReference<K, V> valueRef = DummyValueReference.create(value);
        entry.setValueReference(valueRef);
        return entry;
      }
    
      static class DummyEntry<K, V> implements ReferenceEntry<K, V> {
        private @Nullable K key;
        private final int hash;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          K key, int hash, V value, @Nullable ReferenceEntry<K, V> next) {
        DummyEntry<K, V> entry = DummyEntry.create(key, hash, next);
        DummyValueReference<K, V> valueRef = DummyValueReference.create(value);
        entry.setValueReference(valueRef);
        return entry;
      }
    
      static class DummyEntry<K, V> implements ReferenceEntry<K, V> {
        private @Nullable K key;
        private final int hash;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.5.md

    * ContainerVm/GCI image: try to use ifdown/ifup if available ([#33595](https://github.com/kubernetes/kubernetes/pull/33595), [@freehan](https://github.com/freehan))
    * Use manifest digest (as `docker-pullable://`) as ImageID when available (exposes a canonical, pullable image ID for containers). ([#33014](https://github.com/kubernetes/kubernetes/pull/33014), [@DirectXMan12](https://github.com/DirectXMan12))
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 136.4K bytes
    - Viewed (0)
Back to top