Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Kata (0.14 sec)

  1. 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)
  2. 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)
  3. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

        @Inject
        private ArtifactRepositoryFactory artifactRepositoryFactory;
    
        @Test
        void testUnnecessaryRepositoryLookup() throws Exception {
            Artifact artifact = createTestPomArtifact("target/test-data/get-missing-pom");
    
            List<ArtifactRepository> repos = new ArrayList<>();
            repos.add(artifactRepositoryFactory.createArtifactRepository(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

        }
    
        @Nonnull
        @Override
        public SessionData getData() {
            org.eclipse.aether.SessionData data = session.getData();
            return new SessionData() {
                @Override
                public <T> void set(@Nonnull Key<T> key, @Nullable T value) {
                    data.set(key, value);
                }
    
                @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/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 May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

            }
        }
    
        @Override
        public Optional<String> getString(URI relativeSource, Charset charset) {
            requireNonNull(charset, "charset is null");
            Optional<byte[]> data = getBytes(relativeSource);
            return data.map(bytes -> new String(bytes, charset));
        }
    
        @Override
        public void put(Path source, URI relativeTarget) {
            requireNonNull(source, "source is null");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

        @Nonnull
        public Type require(String id) {
            nonNull(id, "id");
            return usedTypes.computeIfAbsent(id, i -> {
                Type type = types.get(id);
                if (type == null) {
                    // Copy data as the ArtifactHandler is not immutable, but Type should be.
                    ArtifactHandler handler = manager.getArtifactHandler(id);
                    type = new DefaultType(
                            id,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top