- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 667 for Calculate (0.44 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) -
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) -
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) -
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) -
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) -
subprojects/core/src/integTest/groovy/org/gradle/initialization/buildsrc/BuildSrcBuildOperationsIntegrationTest.groovy
treeTaskGraphOps[0].displayName == "Calculate build tree task graph" treeTaskGraphOps[0].parentId == buildSrcOps[0].id treeTaskGraphOps[1].displayName == "Calculate build tree task graph" treeTaskGraphOps[1].parentId == root.id def taskGraphOps = ops.all(CalculateTaskGraphBuildOperationType) taskGraphOps.size() == 2 taskGraphOps[0].displayName == "Calculate task graph (:buildSrc)"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 6K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmServiceTest.java
} @Test void calculateByte() throws IOException { Map<ChecksumAlgorithmService.ChecksumAlgorithm, String> checksums = service.calculate( "test".getBytes(StandardCharsets.UTF_8), service.select(Arrays.asList("SHA-1", "MD5"))); assertNotNull(checksums); assertEquals(2, checksums.size());
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Dec 21 08:05:10 UTC 2023 - 4.2K bytes - Viewed (0)