Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 881 - 890 of 1,234 for Create (0.04 seconds)

  1. src/bytes/buffer.go

    	// we allocate buffers rounded up to the closest size class.
    	c := len(b) + n // ensure enough space for n elements
    	if c < 2*cap(b) {
    		// The growth rate has historically always been 2x. In the future,
    		// we could rely purely on append to determine the growth rate.
    		c = 2 * cap(b)
    	}
    	b2 := append([]byte(nil), make([]byte, c)...)
    	i := copy(b2, b)
    	return b2[:i]
    }
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/BuildFailure.java

     *
     */
    public class BuildFailure extends BuildSummary {
    
        /**
         * The cause of the build failure.
         */
        private final Throwable cause;
    
        /**
         * Creates a new build summary for the specified project.
         *
         * @param project The project being summarized, must not be {@code null}.
         * @param time The build time of the project in milliseconds.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResult.java

            errorPoms = Set.copyOf(errorPoms);
        }
    
        /**
         * Creates a successful result with the specified processed and modified POMs.
         */
        public static UpgradeResult success(Set<Path> processedPoms, Set<Path> modifiedPoms) {
            return new UpgradeResult(processedPoms, modifiedPoms, Collections.emptySet());
        }
    
        /**
         * Creates a failure result with the specified processed POMs and error POMs.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/version/DefaultPluginVersionRequest.java

        private Model pom;
    
        private List<RemoteRepository> repositories = Collections.emptyList();
    
        private RepositorySystemSession session;
    
        /**
         * Creates an empty request.
         */
        public DefaultPluginVersionRequest() {}
    
        /**
         * Creates a request for the specified plugin by copying settings from the specified build session. If the session
         * has a current project, its plugin repositories will be used as well.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

        private TestUtils() {
            // Utility class
        }
    
        /**
         * Creates a mock UpgradeContext with default settings.
         *
         * @return a mock UpgradeContext
         */
        public static UpgradeContext createMockContext() {
            return createMockContext(Paths.get("/project"));
        }
    
        /**
         * Creates a mock UpgradeContext with the specified working directory.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/BuildSuccess.java

        /**
         * Creates a new build summary for the specified project.
         *
         * @param project The project being summarized, must not be {@code null}.
         * @param time The build time of the project in milliseconds.
         */
        public BuildSuccess(MavenProject project, long time) {
            this(project, Duration.ofMillis(time));
        }
    
        /**
         * Creates a new build summary for the specified project.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/UnresolvableModelException.java

         */
        private final String artifactId;
    
        /**
         * The version of the unresolvable model.
         */
        private final String version;
    
        /**
         * Creates a new exception with specified detail message and cause.
         *
         * @param message The detail message, may be {@code null}.
         * @param groupId The group id of the unresolvable model, may be {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/StringModelSource.java

    public class StringModelSource extends StringSource implements ModelSource {
    
        /**
         * Creates a new model source backed by the specified string.
         *
         * @param pom The POM's string representation, may be empty or {@code null}.
         */
        public StringModelSource(CharSequence pom) {
            this(pom, null);
        }
    
        /**
         * Creates a new model source backed by the specified string.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

        propertyNames.mapNotNull { propertyName ->
            stringPropertyOrNull(propertyName)?.let { propertyValue ->
                propertyName to propertyValue
            }
        }.toMap()
    
    /**
     * Creates a [Provider] that returns `true` when this [Provider] has a value
     * and `false` otherwise. The returned [Provider] always has a value.
     * @see Provider.isPresent
     */
    private
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 18 22:01:30 GMT 2025
    - 17.7K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilderFactory.java

         * @return the terminal width
         */
        int getTerminalWidth();
    
        /**
         * Creates a new message builder.
         * @return a new message builder
         */
        @Nonnull
        MessageBuilder builder();
    
        /**
         * Creates a new message builder of the specified size.
         * @param size the initial size of the message builder buffer
         * @return a new message builder
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Jan 08 10:37:09 GMT 2024
    - 1.8K bytes
    - Click Count (0)
Back to Top