Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 643 for REPLACE (0.05 seconds)

  1. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            final String outputPath = "/tmp/thumbnail.png";
            final String mimeType = "image/gif";
    
            final String expandedCommand =
                    testCommand.replace("${url}", tempPath).replace("${outputFile}", outputPath).replace("${mimetype}", mimeType);
    
            assertEquals("generate-thumbnail image /tmp/test.gif /tmp/thumbnail.png image/gif", expandedCommand);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/audit/SecurityAuditLogger.java

            if (value == null) {
                return "";
            }
            return value.replace("\\", "\\\\")
                    .replace("\"", "\\\"")
                    .replace("\b", "\\b")
                    .replace("\f", "\\f")
                    .replace("\n", "\\n")
                    .replace("\r", "\\r")
                    .replace("\t", "\\t");
        }
    
        private void logAsText(AuditEntry entry) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            assertThat(cache.asMap().replace(entry.getKey(), newValue))
                .isSameInstanceAs(entry.getValue());
            assertThat(cache.asMap().replace(entry.getKey(), newValue, entry.getValue())).isTrue();
            Object newKey = new Object();
            assertThat(cache.asMap().replace(newKey, entry.getValue())).isNull();
            assertThat(cache.asMap().replace(newKey, entry.getValue(), newValue)).isFalse();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  4. 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
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java

         * @param filename the filename to sanitize
         * @return the sanitized filename
         */
        public static String sanitizeFilename(final String filename) {
            return filename.replaceAll("\\s", "").replace("\\", "/").replace("..", "").replaceAll("/+", "/");
        }
    
        /**
         * Gets a list of log file items for display in the admin interface.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/fscc/FileRenameInformation2.java

    /**
     * File System Control Code (FSCC) structure for File Rename Information.
     * Used in SMB2/SMB3 set file information operations to rename files or directories,
     * with support for specifying whether to replace existing files with the same name.
     *
     * @author mbechler
     */
    public class FileRenameInformation2 implements FileInformation {
    
        private boolean replaceIfExists;
        private String fileName;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  7. scripts/docs.py

                file_path.name.replace("_py39.py", "_py310.py")
            )
            if py310_file.exists():
                continue
            logging.info(f"Copying file {file_path} -> {py310_file}")
            shutil.copy2(file_path, py310_file)
    
    
    @app.command()
    def update_docs_includes_py39_to_py310() -> None:
        """
        Update .md files in docs/en/ to replace _py39 includes with _py310 versions.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 17:46:10 GMT 2026
    - 25.4K bytes
    - Click Count (0)
  8. 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
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 3.1K bytes
    - Click Count (0)
  9. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/entity/ParamMap.java

        }
    
        @Override
        public boolean replace(final K key, final V oldValue, final V newValue) {
            if (parent.replace(key, oldValue, newValue)) {
                return true;
            }
            return parent.replace(key, oldValue, newValue);
        }
    
        @Override
        public V replace(final K key, final V value) {
            // use original key
            return parent.replace(key, value);
        }
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top