Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 1,198 for Functions (0.05 seconds)

  1. guava/src/com/google/common/collect/Interners.java

          }
        }
      }
    
      /**
       * Returns a function that delegates to the {@link Interner#intern} method of the given interner.
       *
       * @since 8.0
       */
      public static <E> Function<E, E> asFunction(Interner<E> interner) {
        return new InternerFunction<>(checkNotNull(interner));
      }
    
      private static final class InternerFunction<E> implements Function<E, E> {
    
        private final Interner<E> interner;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 6K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/query-params.md

    ```
    
    The parameter values in your function will be:
    
    * `skip=20`: because you set it in the URL
    * `limit=10`: because that was the default value
    
    ## Optional parameters { #optional-parameters }
    
    The same way, you can declare optional query parameters, by setting their default to `None`:
    
    {* ../../docs_src/query_params/tutorial002_py310.py hl[7] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  3. docs/tr/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    Bazı durumlarda bir dependency'nin döndürdüğü değere *path operation function* içinde gerçekten ihtiyacınız olmaz.
    
    Ya da dependency zaten bir değer döndürmüyordur.
    
    Ancak yine de çalıştırılmasını/çözülmesini istersiniz.
    
    Bu gibi durumlarda, `Depends` ile bir *path operation function* parametresi tanımlamak yerine, *path operation decorator*'üne `dependencies` adında bir `list` ekleyebilirsiniz.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    {* ../../docs_src/dependencies/tutorial008e_an_py310.py hl[12,16] *}
    
    `Depends()` recibe un parámetro `scope` que puede ser:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

          return delegate;
        }
      }
    
      private static String encode(String str) {
        return BaseEncoding.base64().encode(str.getBytes(UTF_8));
      }
    
      private static final Function<String, String> DECODE_FUNCTION =
          new Function<String, String>() {
            @Override
            public String apply(String input) {
              return new String(BaseEncoding.base64().decode(input), UTF_8);
            }
          };
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 32.4K bytes
    - Click Count (0)
  6. buildscripts/resolve-right-versions.sh

    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	"${WORK_DIR}/mc" stat minio/bucket/testobj
    
    	pkill minio
    	sleep 3
    }
    
    function main() {
    	start_port=$(shuf -i 10000-65000 -n 1)
    
    	start_minio_5drive ${start_port}
    }
    
    function purge() {
    	rm -rf "$1"
    }
    
    (main "$@")
    rv=$?
    purge "$WORK_DIR"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Aug 16 14:51:33 GMT 2023
    - 1.5K bytes
    - Click Count (0)
  7. docs/tr/docs/advanced/advanced-dependencies.md

    ### `yield` ve `scope` ile dependency'ler { #dependencies-with-yield-and-scope }
    
    0.121.0 sürümünde FastAPI, `Depends(scope="function")` desteğini ekledi.
    
    `Depends(scope="function")` kullanıldığında, `yield` sonrasındaki çıkış kodu, *path operation function* biter bitmez, response client'a geri gönderilmeden önce çalıştırılır.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 10K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/generate-clients.md

    ### Custom Generate Unique ID Function { #custom-generate-unique-id-function }
    
    FastAPI uses a **unique ID** for each *path operation*, which is used for the **operation ID** and also for the names of any needed custom models, for requests or responses.
    
    You can customize that function. It takes an `APIRoute` and outputs a string.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.7K bytes
    - Click Count (1)
  9. docs/tr/docs/tutorial/dependencies/classes-as-dependencies.md

    Ama sonra *path operation function* içindeki `commons` parametresinde bir `dict` alıyoruz.
    
    Ve biliyoruz ki editor'ler `dict`'ler için çok fazla destek (ör. completion) veremez; çünkü key'lerini ve value type'larını bilemezler.
    
    Daha iyisini yapabiliriz...
    
    ## Bir Şeyi Dependency Yapan Nedir { #what-makes-a-dependency }
    
    Şimdiye kadar dependency'leri function olarak tanımlanmış şekilde gördünüz.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:41:38 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/CoreUtils.java

     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import java.util.Collection;
    import java.util.List;
    import java.util.Objects;
    import java.util.function.Function;
    import java.util.stream.Collectors;
    
    class CoreUtils {
    
        public static <T> T cast(Class<T> clazz, Object o, String name) {
            if (!clazz.isInstance(o)) {
                if (o == null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 24 22:23:23 GMT 2025
    - 1.5K bytes
    - Click Count (0)
Back to Top