- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for Algorithms (0.46 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java
* @param algorithms The checksum algorithms to use, must not be {@code null}. * @return The calculated checksums, indexed by algorithms, never {@code null}. * @throws NullPointerException if passed in any parameter is {@code null}. */ @Nonnull Map<ChecksumAlgorithm, String> calculate(@Nonnull byte[] data, @Nonnull Collection<ChecksumAlgorithm> algorithms); /**
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Dec 21 08:05:10 GMT 2023 - 6.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmService.java
throw new ChecksumAlgorithmServiceException("unsupported algorithm", e); } } @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) {
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Thu Dec 21 08:05:10 GMT 2023 - 7K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmService.java
throw new ChecksumAlgorithmServiceException("unsupported algorithm", e); } } @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) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 7.4K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
// TODO configure on repository int i = 0; md5ChecksumObserver = addChecksumObserver(wagon, CHECKSUM_ALGORITHMS[i++]); sha1ChecksumObserver = addChecksumObserver(wagon, CHECKSUM_ALGORITHMS[i++]); // reset the retry flag. retry = false;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Sep 14 11:48:15 GMT 2023 - 29.9K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/MavenModelMerger.java
import org.apache.maven.api.model.Site; import org.apache.maven.model.v4.MavenMerger; /** * The domain-specific model merger for the Maven POM, overriding generic code from parent class when necessary with * more adapted algorithms. * */ public class MavenModelMerger extends MavenMerger { /** * The hint key for the child path adjustment used during inheritance for URL calculations. */
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 22.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java
* be null instead of the actual module name. This option can avoid the cost of reading module * descriptors when only the modules existence needs to be verified.</p> * * <p><b>Algorithm:</b> * If the given path is a directory, then there is a choice: * </p> * <ul> * <li><b>Package hierarchy:</b> if a {@code module-info.class} file is found at the root,
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 11.2K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java
// More than one filtered value, and we don't know how to handle at least one of them. // TODO: add a plugin mechanism for allowing plugin to specify their selection algorithm. return Optional.empty(); } } } if (classes & modules) { selected = getPathType(path); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 5.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java
// More than one filtered value, and we don't know how to handle at least one of them. // TODO: add a plugin mechanism for allowing plugin to specify their selection algorithm. return Optional.empty(); } } } if (classes & modules) { selected = getPathType(path); }
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 5.2K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java
} return model; } /** * Interpolates all expressions in the src parameter. * <p> * The algorithm used for each expression is: * <ul> * <li>If it starts with either "pom." or "project.", the expression is evaluated against the model.</li> * <li>If the value is null, get the value from the context.</li>
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 13.5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularization.java
* be null instead of the actual module name. This option can avoid the cost of reading module * descriptors when only the modules existence needs to be verified.</p> * * <p><b>Algorithm:</b> * If the given path is a directory, then there is a choice: * </p> * <ul> * <li><b>Package hierarchy:</b> if a {@code module-info.class} file is found at the root,
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 11.2K bytes - Viewed (0)