Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 1,838 for _new (0.02 seconds)

  1. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

                }
            }
    
            private static final Lookup EMPTY_LOOKUP = new Lookup() {
                @Override
                public <T> T lookup(Class<T> type) {
                    throw new LookupException("empty lookup");
                }
    
                @Override
                public <T> T lookup(Class<T> type, String name) {
                    throw new LookupException("empty lookup");
                }
    
                @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

            } catch (SettingsBuildingException e) {
                throw new IOException(e.getMessage(), e);
            }
        }
    
        /** @since 2.1 */
        @Override
        public Settings buildSettings(MavenExecutionRequest request) throws IOException, XmlPullParserException {
            SettingsBuildingRequest settingsRequest = new DefaultSettingsBuildingRequest();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. src/bytes/iter.go

    // but without constructing a new slice containing the subslices.
    // It returns a single-use iterator.
    func SplitSeq(s, sep []byte) iter.Seq[[]byte] {
    	return splitSeq(s, sep, 0)
    }
    
    // SplitAfterSeq returns an iterator over subslices of s split after each instance of sep.
    // The iterator yields the same subslices that would be returned by [SplitAfter](s, sep),
    // but without constructing a new slice containing the subslices.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Sep 03 14:04:47 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

        /**
         * Creates a new source for the specified path.
         *
         * @param path the path to the file
         * @return a new Source instance
         * @throws NullPointerException if path is null
         */
        @Nonnull
        public static Source fromPath(@Nonnull Path path) {
            return new PathSource(requireNonNull(path, "path"));
        }
    
        /**
         * Creates a new build source for the specified path.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            ArtifactFilter effectiveFilter = inheritedFilter;
    
            if (!dependency.getExclusions().isEmpty()) {
                effectiveFilter = new ExclusionArtifactFilter(dependency.getExclusions());
    
                if (inheritedFilter != null) {
                    effectiveFilter = new AndArtifactFilter(Arrays.asList(inheritedFilter, effectiveFilter));
                }
            }
    
            return effectiveFilter;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 12:03:50 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java

            StringBuilder sb = new StringBuilder(DEFAULT_MAX_SIZE);
            repeat(sb, '*', DEFAULT_MAX_SIZE);
            return sb.toString();
        }
    
        public static List<String> format(String... lines) {
            int size = DEFAULT_MAX_SIZE;
            int remainder = size - 4; // 4 chars = 2 box_char + 2 spaces
            List<String> result = new ArrayList<>();
            StringBuilder sb = new StringBuilder(size);
            // first line
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. cmd/erasure-common.go

    import (
    	"context"
    	"math/rand"
    	"sync"
    	"time"
    )
    
    func (er erasureObjects) getOnlineDisks() (newDisks []StorageAPI) {
    	disks := er.getDisks()
    	var wg sync.WaitGroup
    	var mu sync.Mutex
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	for _, i := range r.Perm(len(disks)) {
    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    			if disks[i] == nil {
    				return
    			}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

        // ----------------------------------------------------------------------
    
        private ProjectBuildingRequest toRequest(ProjectBuilderConfiguration configuration) {
            DefaultProjectBuildingRequest request = new DefaultProjectBuildingRequest();
    
            request.setValidationLevel(ModelBuildingRequest.VALIDATION_LEVEL_MAVEN_2_0);
            request.setResolveDependencies(false);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                this.artifacts = ArtifactUtils.copyArtifacts(artifacts, new ArrayList<>());
                this.remoteRepositories = new ArrayList<>(remoteRepositories);
    
                this.managedVersions = managedVersions;
                if (managedVersions != null) {
                    this.managedVersions = ArtifactUtils.copyArtifacts(managedVersions, new LinkedHashMap<>());
                }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java

        }
    
        private static Metadata createMetadata(Artifact artifact) {
            Snapshot snapshot = new Snapshot();
            snapshot.setLocalCopy(true);
            Versioning versioning = new Versioning();
            versioning.setSnapshot(snapshot);
    
            Metadata metadata = new Metadata();
            metadata.setVersioning(versioning);
            metadata.setGroupId(artifact.getGroupId());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.8K bytes
    - Click Count (0)
Back to Top