Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Algorithm (0.16 sec)

  1. 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)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmService.java

            private final org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithm algorithm;
    
            DefaultChecksumCalculator(org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithm algorithm) {
                this.algorithm = algorithm;
            }
    
            @Override
            public void update(ByteBuffer input) {
                algorithm.update(input);
            }
    
            @Override
            public String checksum() {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 21 08:05:10 GMT 2023
    - 7K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmService.java

            private final org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithm algorithm;
    
            DefaultChecksumCalculator(org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithm algorithm) {
                this.algorithm = algorithm;
            }
    
            @Override
            public void update(ByteBuffer input) {
                algorithm.update(input);
            }
    
            @Override
            public String checksum() {
    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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                    file.deleteOnExit();
                }
            }
        }
    
        private ChecksumObserver addChecksumObserver(Wagon wagon, String algorithm) throws TransferFailedException {
            try {
                ChecksumObserver checksumObserver = new ChecksumObserver(algorithm);
                wagon.addTransferListener(checksumObserver);
                return checksumObserver;
            } catch (NoSuchAlgorithmException e) {
    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)
  9. 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)
  10. api/maven-api-metadata/src/main/mdo/metadata.mdo

          <version>1.0.0+</version>
          <description>Mapping information for a single plugin within this group.</description>
          <comment>NOTE: plugin version is _NOT_ included here, since it is resolved using a separate algorithm in plugins' artifact.</comment>
          <fields>
            <field>
              <name>name</name>
              <type>String</type>
              <required>true</required>
              <version>1.0.0+</version>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 11 14:06:34 GMT 2024
    - 15.8K bytes
    - Viewed (0)
Back to top