Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 262 for function (0.19 sec)

  1. android/guava/src/com/google/common/collect/ImmutableBiMap.java

              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends V> valueFunction) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Not supported. This method does not make sense for {@code BiMap}. This method exists only to
       * hide {@link ImmutableMap#toImmutableMap(Function, Function, BinaryOperator)} from consumers of
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ListsTest.java

      private static final List<String> SOME_STRING_LIST = asList("1", "2", "3", "4");
    
      private static final Function<Number, String> SOME_FUNCTION = new SomeFunction();
    
      private static class SomeFunction implements Function<Number, String>, Serializable {
        @Override
        public String apply(Number n) {
          return String.valueOf(n);
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/generate-clients.md

    ### Custom Generate Unique ID Function
    
    FastAPI uses a **unique ID** for each *path operation*, it 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.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  4. common/scripts/kind_provisioner.sh

    DEFAULT_KIND_IMAGE="gcr.io/istio-testing/kind-node:v1.28.4"
    
    # COMMON_SCRIPTS contains the directory this file is in.
    COMMON_SCRIPTS=$(dirname "${BASH_SOURCE:-$0}")
    
    function log() {
      echo -e "$(date -u '+%Y-%m-%dT%H:%M:%S.%NZ')\t$*"
    }
    
    function retry() {
      local n=1
      local max=5
      local delay=5
      while true; do
        "$@" && break
        if [[ $n -lt $max ]]; then
          ((n++))
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  5. cmd/metrics-v3-types.go

    	Descriptors []MetricDescriptor
    	// (Optional) Extra (constant) label KV pairs to be added to each metric in
    	// the group.
    	ExtraLabels map[string]string
    
    	// Loader functions to load metrics. Only one of these will be set. Metrics
    	// returned by these functions must be present in the `Descriptors` list.
    	loader       MetricsLoaderFn
    	bucketLoader BucketMetricsLoaderFn
    
    	// Cache for all metrics groups. Set via `.SetCache` method.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/custom-response.md

    {!../../../docs_src/custom_response/tutorial008.py!}
    ```
    
    1. This is the generator function. It's a "generator function" because it contains `yield` statements inside.
    2. By using a `with` block, we make sure that the file-like object is closed after the generator function is done. So, after it finishes sending the response.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultPluginConfigurationExpander.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.function.Function;
    
    import org.apache.maven.api.di.Named;
    import org.apache.maven.api.di.Singleton;
    import org.apache.maven.api.model.Build;
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.model.Plugin;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
  8. cmd/object-api-interface.go

    	r.Targets = replicationStatusesMap(rstatus)
    	return
    }
    
    // SetEvalMetadataFn sets the metadata evaluation function
    func (o *ObjectOptions) SetEvalMetadataFn(f EvalMetadataFn) {
    	o.EvalMetadataFn = f
    }
    
    // SetEvalRetentionBypassFn sets the retention bypass function
    func (o *ObjectOptions) SetEvalRetentionBypassFn(f EvalRetentionBypassFn) {
    	o.EvalRetentionBypassFn = f
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 17K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelPathTranslator.java

     * under the License.
     */
    package org.apache.maven.internal.impl.model;
    
    import java.nio.file.Path;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Objects;
    import java.util.function.Function;
    
    import org.apache.maven.api.di.Inject;
    import org.apache.maven.api.di.Named;
    import org.apache.maven.api.di.Singleton;
    import org.apache.maven.api.model.Build;
    import org.apache.maven.api.model.Model;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/async-sql-encode-databases.md

    {!../../../docs_src/async_sql_databases/tutorial001.py!}
    ```
    
    ## Read notes
    
    Create the *path operation function* to read notes:
    
    ```Python hl_lines="55-58"
    {!../../../docs_src/async_sql_databases/tutorial001.py!}
    ```
    
    !!! note
        Notice that as we communicate with the database using `await`, the *path operation function* is declared with `async`.
    
    ### Notice the `response_model=List[Note]`
    
    It uses `typing.List`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.3K bytes
    - Viewed (0)
Back to top