Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for Kata (0.2 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

    import org.apache.maven.api.annotations.ThreadSafe;
    
    /**
     * A container for data that is specific to a session.
     * All components may use this storage to associate arbitrary data with a session.
     * <p>
     * Unlike a cache, this session data is not subject to purging. For this same reason, session data should also not be
     * abused as a cache (i.e. for storing values that can be re-calculated) to avoid memory exhaustion.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuildingEvent.java

    import org.apache.maven.api.services.ModelBuilderRequest;
    import org.apache.maven.api.services.ModelProblemCollector;
    import org.apache.maven.api.services.model.ModelBuildingEvent;
    
    /**
     * Holds data relevant for a model building event.
     */
    record DefaultModelBuildingEvent(
            Model model, Consumer<Model> update, ModelBuilderRequest request, ModelProblemCollector problems)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                mojos.remove(Thread.currentThread());
            }
    
            private OwnerReentrantLock getProjectLock(MavenSession session) {
                SessionData data = session.getSession().getData();
                Map<MavenProject, OwnerReentrantLock> locks = data.computeIfAbsent(PROJECT_LOCKS, ConcurrentHashMap::new);
                return locks.computeIfAbsent(session.getCurrentProject(), p -> new OwnerReentrantLock());
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        // The expressions help a lot, but we need a clean to pick up a directory of POMs, automatically load
        // them into a resolver, create the expression to extract the data to validate the Model, and the URI
        // to validate the properties. We also need a way to navigate from the Tex specification documents to
        // the test in question and vice versa. A little Eclipse plugin would do the trick.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  5. maven-core/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) {
                throw new UncheckedIOException(e); // really unexpected
            }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 21 08:05:10 GMT 2023
    - 7K bytes
    - Viewed (0)
  6. 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) {
                throw new UncheckedIOException(e); // really unexpected
            }
    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)
  7. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelCache.java

     * identity of a model. The tag allows for further classification of the associated data on the sole discretion of the
     * model builder.
     *
     */
    public interface ModelCache {
    
        <T> T computeIfAbsent(String groupId, String artifactId, String version, String tag, Supplier<T> data);
    
        <T> T computeIfAbsent(Source path, String tag, Supplier<T> data);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            return session;
        }
    
        private static final char[] hexCode = "0123456789ABCDEF".toCharArray();
    
        private static String printHexBinary(byte[] data) {
            StringBuilder r = new StringBuilder(data.length * 2);
            for (byte b : data) {
                r.append(hexCode[(b >> 4) & 0xF]);
                r.append(hexCode[(b & 0xF)]);
            }
            return r.toString();
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelCache.java

            return (T) computeIfAbsent(new GavCacheKey(groupId, artifactId, version, tag), data);
        }
    
        @Override
        @SuppressWarnings({"unchecked"})
        public <T> T computeIfAbsent(Source path, String tag, Supplier<T> data) {
            return (T) computeIfAbsent(new SourceCacheKey(path, tag), data);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  10. 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}.
    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)
Back to top