Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 585 for replace (1.1 seconds)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

                        // we're going to parse this back in as XML so we need to escape XML markup
                        value = value.toString()
                                .replace("&", "&")
                                .replace("<", "&lt;")
                                .replace(">", "&gt;");
                        return value;
                    }
                    return null;
                }
            });
    
            try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. .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)
  9. 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)
  10. 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)
Back to Top