Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for reduce (0.19 sec)

  1. .cm/plugins/filters/summaryTable/index.js

            .sort(s => -(s.additions + s.deletions));
    
        let totalAdditions = Object.values(preppedStatistics).reduce((acc, summary) => acc + summary.additions, 0);
        let totalDeletions = Object.values(preppedStatistics).reduce((acc, summary) => acc + summary.deletions, 0);
        let newRatio = totalAdditions / (totalAdditions + totalDeletions) * 100;
    
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. doc/next/6-stdlib/2-unique.md

    `Make[T]` function, which produces a reference to a canonical copy of
    the value in the form of a `Handle[T]`.
    Two `Handle[T]` are equal if and only if the values used to produce the
    handles are equal, allowing programs to deduplicate values and reduce
    their memory footprint.
    Comparing two `Handle[T]` values is efficient, reducing down to a simple
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 13:37:36 GMT 2024
    - 579 bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Function.java

     *
     * <p>This interface is now a legacy type. Use {@code java.util.function.Function} (or the
     * appropriate primitive specialization such as {@code ToIntFunction}) instead whenever possible.
     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Supplier.java

     *
     * <p>This interface is now a legacy type. Use {@code java.util.function.Supplier} (or the
     * appropriate primitive specialization such as {@code IntSupplier}) instead whenever possible.
     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/ReactorModelPool.java

            return modelsByGa.getOrDefault(new GAKey(groupId, artifactId), Collections.emptySet()).stream()
                    .filter(m -> version == null || version.equals(getVersion(m)))
                    .reduce((a, b) -> {
                        throw new IllegalStateException(
                                "Multiple modules with key " + a.getGroupId() + ':' + a.getArtifactId());
                    })
                    .orElse(null);
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContextBuilder.java

            Set<ModelSource> sources = mappedSources.get(groupId + ":" + artifactId);
            if (sources == null) {
                return null;
            }
            return sources.stream()
                    .reduce((a, b) -> {
                        throw new IllegalStateException(String.format(
                                "No unique Source for %s:%s: %s and %s",
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  7. .cm/plugins/filters/byCodeowner/ignore/index.js

    const regexCache = Object.create(null)
    
    // @param {pattern}
    const makeRegex = (pattern, ignoreCase) => {
        let source = regexCache[pattern]
    
        if (!source) {
            source = REPLACERS.reduce(
                (prev, current) => prev.replace(current[0], current[1].bind(pattern)),
                pattern
            )
            regexCache[pattern] = source
        }
    
        return ignoreCase
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/extra-models.md

        hashed_password = hashed_password,
    )
    ```
    
    !!! warning
        The supporting additional functions are just to demo a possible flow of the data, but they of course are not providing any real security.
    
    ## Reduce duplication
    
    Reducing code duplication is one of the core ideas in **FastAPI**.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (1)
  9. RELEASE.md

    `tf.expand_dims`: `dim` becomes `axis` * `tf.reduce_all`: `reduction_indices`
    becomes `axis` * `tf.reduce_any`: `reduction_indices` becomes `axis` *
    `tf.reduce_join`: `reduction_indices` becomes `axis` * `tf.reduce_logsumexp`:
    `reduction_indices` becomes `axis` * `tf.reduce_max`: `reduction_indices`
    becomes `axis` * `tf.reduce_mean`: `reduction_indices` becomes `axis` *
    `tf.reduce_min`: `reduction_indices` becomes `axis` * `tf.reduce_prod`:
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  10. doc/godebug.md

    connecting to servers with buggy HTTP/2 implementations.
    These kinds of changes are unavoidable and
    [permitted by the Go 1 compatibility rules](/doc/go1compat).
    Even so, Go provides a mechanism called GODEBUG to
    reduce the impact such changes have on Go developers
    using newer toolchains to compile old code.
    
    A GODEBUG setting is a `key=value` pair
    that controls the execution of certain parts of a Go program.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
Back to top