- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 864 for Calculate (0.18 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java
@Nonnull Map<ChecksumAlgorithm, String> calculate(@Nonnull byte[] data, @Nonnull Collection<ChecksumAlgorithm> algorithms); /** * Calculates checksums for specified data. * * @param data The content for which to calculate checksums, must not be {@code null}. * @param algorithms The checksum algorithms to use, must not be {@code null}. * @return The calculated checksums, indexed by algorithms, never {@code null}.
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Dec 21 08:05:10 UTC 2023 - 6.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/cache/internal/DefaultFileContentCacheFactoryTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/model/CalculatedValue.java
* Returns the value, failing if it has not been calculated. * Does not calculate the value on demand and does not block if the value is currently being calculated. * * <p>Rethrows any exception that happened while calculating the value</p> */ T get() throws IllegalStateException; /** * Returns the result of calculating the value, failing if it has not been calculated.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 08:26:24 UTC 2024 - 2.2K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/provider/HasConfigurableValue.java
* without actually calculating the final value until it is required. This can be a useful alternative to {@link #finalizeValue()} for values that are expensive to calculate. * </p> * * <p>If the value of this object is already final, this method does nothing.</p> * * @since 6.1 */ void finalizeValueOnRead();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 05 16:10:02 UTC 2021 - 4.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/calibration_parameters_test.cc
EXPECT_FLOAT_EQ(bin_width, 0.125); int32_t actual_num_bins = CalculateActualNumBins(/*min_value=*/0.0, /*max_value=*/25.0, bin_width); EXPECT_EQ(actual_num_bins, 200); // Calculate the bin width with the actual num bins. float raw_bin_width = 25.0 / actual_num_bins; EXPECT_FLOAT_EQ(bin_width, raw_bin_width); } TEST(CalibrationParametersTest, CalculateBinWidthLargerThanOne) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 05 09:09:34 UTC 2024 - 3.8K bytes - Viewed (0) -
subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildOperationsIntegrationTest.groovy
taskGraphOps[0].displayName == "Calculate task graph (:buildB)" taskGraphOps[0].details.buildPath == ":buildB" taskGraphOps[0].parentId == treeTaskGraphOps[0].id taskGraphOps[1].displayName == "Calculate task graph (:buildC)" taskGraphOps[1].details.buildPath == ":buildC" taskGraphOps[1].parentId == treeTaskGraphOps[0].id taskGraphOps[2].displayName == "Calculate task graph"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 09 13:43:40 UTC 2024 - 20.6K bytes - Viewed (0) -
internal/bucket/bandwidth/measurement.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package bandwidth import ( "sync" "sync/atomic" "time" ) const ( // betaBucket is the weight used to calculate exponential moving average betaBucket = 0.1 // Number of averages considered = 1/(1-betaObject) ) // bucketMeasurement captures the bandwidth details for one bucket type bucketMeasurement struct {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Jun 03 20:41:51 UTC 2023 - 2.9K bytes - Viewed (0) -
subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildBuildSrcBuildOperationsIntegrationTest.groovy
taskGraphOps[0].displayName == "Calculate task graph (:buildB:buildSrc)" taskGraphOps[0].details.buildPath == ":buildB:buildSrc" taskGraphOps[0].parentId == treeTaskGraphOps[0].id taskGraphOps[1].displayName == "Calculate task graph" taskGraphOps[1].details.buildPath == ":" taskGraphOps[1].parentId == treeTaskGraphOps[1].id taskGraphOps[2].displayName == "Calculate task graph (:buildB)"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 09 13:43:40 UTC 2024 - 12.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmService.java
} } @Override public Map<ChecksumAlgorithm, String> calculate(byte[] data, Collection<ChecksumAlgorithm> algorithms) { nonNull(data, "data"); nonNull(algorithms, "algorithms"); try { return calculate(new ByteArrayInputStream(data), algorithms); } catch (IOException e) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Mar 25 10:50:01 UTC 2024 - 7.4K bytes - Viewed (0) -
src/crypto/internal/edwards25519/scalar_alias_test.go
package edwards25519 import ( "testing" "testing/quick" ) func TestScalarAliasing(t *testing.T) { checkAliasingOneArg := func(f func(v, x *Scalar) *Scalar, v, x Scalar) bool { x1, v1 := x, x // Calculate a reference f(x) without aliasing. if out := f(&v, &x); out != &v || !isReduced(out.Bytes()) { return false } // Test aliasing the argument and the receiver.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 17:26:17 UTC 2023 - 3K bytes - Viewed (0)