Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 632 for toreplace (0.29 seconds)

  1. internal/s3select/json/record.go

    func (r *Record) WriteJSON(writer io.Writer) error {
    	return json.NewEncoder(writer).Encode(r.KVS)
    }
    
    // Replace the underlying buffer of json data.
    func (r *Record) Replace(k any) error {
    	v, ok := k.(jstream.KVS)
    	if !ok {
    		return fmt.Errorf("cannot replace internal data in json record with type %T", k)
    	}
    	r.KVS = v
    	return nil
    }
    
    // NewRecord - creates new empty JSON record.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  2. fastapi/openapi/docs.py

        This prevents injection when the JSON is embedded inside a <script> tag.
        """
        return (
            json.dumps(value)
            .replace("<", "\\u003c")
            .replace(">", "\\u003e")
            .replace("&", "\\u0026")
        )
    
    
    swagger_ui_default_parameters: Annotated[
        dict[str, Any],
        Doc(
            """
            Default configurations for Swagger UI.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 24 09:28:10 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  3. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/util/PathValidator.java

            }
    
            return false;
        }
    
        /**
         * Normalize a path
         */
        private String normalizePath(String path) {
            // Replace forward slashes with backslashes for consistency
            String normalized = path.replace('/', '\\');
    
            // Remove duplicate slashes
            normalized = normalized.replaceAll("\\\\+", "\\\\");
    
            // Remove trailing slash unless it's the root
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  5. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/EclipseConventionPlugin.java

                if (Os.isFamily(Os.FAMILY_WINDOWS)) {
                    eclipseProject.setName(eclipseProject.getName().replace(':', '_'));
                }
            }
    
    
            File licenseHeaderFile;
            String prefix = ":x-pack";
            if (Os.isFamily(Os.FAMILY_WINDOWS)) {
                prefix = prefix.replace(':', '_');
            }
            File root = root(project);
            if (eclipseProject.getName().startsWith(prefix)) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jul 01 09:43:51 GMT 2021
    - 6.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java

                if (m.matches()) {
                    result = m.group(1);
                }
    
                // Unescape
                if (result.indexOf(ESCAPED_QUOTE) >= 0) {
                    result = result.replace(ESCAPED_QUOTE, "\"");
                }
            }
    
            return result;
    
        }
    
        /**
         * Quote and escape input value for CSV
         *
         * @param original Original text.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  7. scripts/deploy_docs_status.py

            if not match:
                continue
            lang = match.group(1)
            path = match.group(2)
            if path.endswith("index.md"):
                path = path.replace("index.md", "")
            else:
                path = path.replace(".md", "/")
            en_path = path
            if lang == "en":
                use_path = en_path
            else:
                use_path = f"{lang}/{path}"
            link = LinkData(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 30 05:56:53 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  8. 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("&", "&amp;")
                                .replace("<", "&lt;")
                                .replace(">", "&gt;");
                        return value;
                    }
                    return null;
                }
            });
    
            try {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

            String normalized = script;
            if (normalized.length() > maxLength) {
                normalized = normalized.substring(0, maxLength - 3) + "...";
            }
            return normalized.replace('\n', ' ').replace('\r', ' ').replace('\t', '_');
        }
    
        /**
         * Log the access denied activity.
         * @param user The user.
         * @param path The path.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 11:45:43 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  10. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Nov 13 14:20:26 GMT 2025
    - 2.9K bytes
    - Click Count (0)
Back to Top