Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,511 for Replace (0.04 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java

                try {
                    if (fileString != null && !fileString.isEmpty()) {
                        fileString = interpolator.interpolate(fileString, "").replace("\\", "/");
                        File file = new File(fileString);
                        return file.exists();
                    }
    
                    // check if the file is missing, if it is then the profile will be active
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. migrator.go

    func (db *DB) AutoMigrate(dst ...interface{}) error {
    	return db.Migrator().AutoMigrate(dst...)
    }
    
    // ViewOption view option
    type ViewOption struct {
    	Replace     bool   // If true, exec `CREATE`. If false, exec `CREATE OR REPLACE`
    	CheckOption string // optional. e.g. `WITH [ CASCADED | LOCAL ] CHECK OPTION`
    	Query       *DB    // required subquery.
    }
    
    // ColumnType column type interface
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. 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() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 13 14:20:26 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

            if (this is Class<*> && this.isArray) {
                return this.componentType.toCodeTypeString() + "[]"
            }
            return toString()
                .replace("class ", "")
                .replace("interface ", "")
        }
    
        companion object {
            private
            const val RESOURCE = "/default-imports.txt"
    
            private
            const val PLUGINS_BLOCK_SIGNATURE =
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sun Jul 07 16:02:18 UTC 2024
    - 8.1K bytes
    - Viewed (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) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 8.9K bytes
    - Viewed (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;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. 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.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. 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
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 22:42:14 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  9. .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
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Nov 05 13:00:26 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

                final int pos = buf.indexOf("y");
                if (pos != -1) {
                    buf.replace(pos, pos + 1, "yy");
                }
            }
            if (buf.indexOf("MM") == -1) {
                final int pos = buf.indexOf("M");
                if (pos != -1) {
                    buf.replace(pos, pos + 1, "MM");
                }
            }
            if (buf.indexOf("dd") == -1) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top