Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 672 for Replace (0.21 seconds)

  1. api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java

         * @return the expected value with separators of the host
         */
        private static String toPlatformSpecific(String expected) {
            return expected.replace("/", File.separator).replace(":", File.pathSeparator);
        }
    
        /**
         * Tests the formatting of an option without module name.
         */
        @Test
        public void testOption() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 13 14:20:26 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  2. build-logic/build-init-samples/src/main/kotlin/gradlebuild/generate-samples.gradle.kts

        val buildInitType = "${language.getName()}-$kind"
        val capName = language.getName().capitalize()
        val capKind = kind.capitalize().replace("y", "ie") + "s"
        val languageDisplayName = language.toString().replace("C++", "{cpp}")
        val sampleName = "building$capName$capKind" + if (modularizationOption.isMulti()) "MultiProject" else ""
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jun 24 13:46:12 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

        when(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).thenReturn(existingZero);
        // since the putIfAbsent returned a zero, we'll try to replace...
        when(backingMap.replace(eq(KEY), eq(existingZero), isA(AtomicInteger.class))).thenReturn(false);
        // ...and then putIfAbsent. Simulate failure on both
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Dec 08 22:42:14 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerTest.java

            String value = trimApt(content);
            return "= type".equals(value) ? type : value;
        }
    
        private String trimApt(String content) {
            content = content.replace('<', ' ').replace('>', ' ').trim();
    
            return (content.isEmpty()) ? null : content;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

                }
    
                @Override
                public ModelSource resolve(ModelLocator modelLocator, String relative) {
                    String norm = relative.replace('\\', File.separatorChar).replace('/', File.separatorChar);
                    Path path = parent.resolve(norm);
                    Path relatedPom = modelLocator.locateExistingPom(path);
                    if (relatedPom != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  6. .teamcity/src/main/kotlin/model/CIBuildModel.kt

            subProjectName: String,
        ): String {
            val shortenedSubprojectName = subProjectName.replace("internal", "i").replace("Testing", "T")
            if (shortenedSubprojectName.length + prefix.length <= 80) {
                return shortenedSubprojectName
            }
            return shortenedSubprojectName.replace(Regex("[aeiou]"), "")
        }
    
        fun asName(): String =
            listOf(
                testType.name
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Nov 05 13:00:26 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectHelper.java

            attachArtifact(project, artifact);
        }
    
        /**
         * Add an attached artifact or replace the file for an existing artifact.
         *
         * @see MavenProject#addAttachedArtifact(org.apache.maven.artifact.Artifact)
         * @param project project reference.
         * @param artifact artifact to add or replace.
         */
        public void attachArtifact(MavenProject project, Artifact artifact) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. cmd/xl-storage-meta-inline.go

    	return int(sz)
    }
    
    // replace will add or replace a key/value pair.
    func (x *xlMetaInlineData) replace(key string, value []byte) {
    	in := x.afterVersion()
    	sz, buf, _ := msgp.ReadMapHeaderBytes(in)
    	keys := make([][]byte, 0, sz+1)
    	vals := make([][]byte, 0, sz+1)
    
    	// Version plus header...
    	plSize := 1 + msgp.MapHeaderSize
    	replaced := false
    	for range sz {
    		var found, foundVal []byte
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java

                Element linkElement = document.createElement("ulink");
                linkElement.setAttribute("url", String.format("https://docs.oracle.com/javase/%s/docs/api/%s.html", javaVersion,
                        className.replace(".", "/")));
                Element classNameElement = document.createElement("classname");
                classNameElement.appendChild(document.createTextNode(StringUtils.substringAfterLast(className, ".")));
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequestPopulator.java

     *
     */
    public interface MavenExecutionRequestPopulator {
        /**
         * Copies the values from the given toolchains into the specified execution request. This method will replace any
         * existing values in the execution request that are controlled by the toolchains. Hence, it is expected that this
         * method is called on a new/empty execution request before the caller mutates it to fit its needs.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
Back to Top