- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 155 for calculated (0.07 seconds)
-
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}.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 10 20:52:34 GMT 2024 - 6.4K bytes - Click Count (0) -
internal/hash/errors.go
return "Bad sha256: Expected " + e.ExpectedSHA256 + " does not match calculated " + e.CalculatedSHA256 } // BadDigest - Content-MD5 you specified did not match what we received. type BadDigest struct { ExpectedMD5 string CalculatedMD5 string } func (e BadDigest) Error() string { return "Bad digest: Expected " + e.ExpectedMD5 + " does not match calculated " + e.CalculatedMD5 } // SizeTooSmall reader size too small
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon May 15 21:08:54 GMT 2023 - 2.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java
*/ public static Duration elapsed() { return get().elapsedTime(); } /** * Returns a monotonically increasing instant. * <p> * The returned instant is calculated by adding the elapsed nanoseconds * since clock creation to the initial wall clock time. This ensures that * the time never goes backwards and maintains a consistent relationship * with the wall clock time.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 15 06:28:29 GMT 2025 - 5.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparator.java
return comparator; } /** * Gets the calculated weight for a project, representing its dependency chain length. * * @param project the project * @return the project's weight (higher means longer dependency chain) */ public long getProjectWeight(MavenProject project) { // First check if weight is already calculated Long existingWeight = projectWeights.get(project);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Aug 06 12:03:40 GMT 2025 - 4.6K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java
testInheritance("no-append-urls3"); } /** * Tricky case: flat directory structure, but child directory != artifactId. * Model interpolation does not give same result when calculated from build or from repo... * This is why MNG-5000 fix in code is marked as bad practice (uses file names) * @throws IOException Model read problem */ @Test
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 8.2K bytes - Click Count (0) -
docs/debugging/xl-meta/main.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 40.4K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
Duration elapsed = clock.elapsedTime(); Duration calculated = Duration.between(clock.startInstant(), now); // Allow for small timing differences (1ms) due to execution time between measurements assertTrue( Math.abs(elapsed.toMillis() - calculated.toMillis()) <= 1, "Elapsed time should match calculated duration between start and now"); } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 15 06:28:29 GMT 2025 - 5.8K bytes - Click Count (0) -
architecture/standards/0006-use-of-provider-apis-in-gradle.md
## Decision ### Types of properties that should not use lazy types The guidelines below do not apply to all properties. There are cases where the lazy types should not be used: #### Non-calculated values These are inappropriate uses of lazy types: ```groovy class Example { Property<String> getSomeProperty() Example() { getSomeProperty().set("value")Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Oct 15 20:00:57 GMT 2024 - 10K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileActivationContext.java
* * @return The base directory of the current project or {@code null} if none. */ File getProjectDirectory(); /** * Gets current calculated project properties * * @return The project properties, never {@code null}. */ Map<String, String> getProjectProperties();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.9K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ModelInterpolator.java
import org.apache.maven.model.building.ModelProblemCollector; /** * Replaces expressions of the form <code>${token}</code> with their effective values. Effective values are basically * calculated from the elements of the model itself and the execution properties from the building request. * * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0")
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.3K bytes - Click Count (0)