- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 161 for placeholders (0.06 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java
* It allows for the replacement of placeholders (e.g., ${variable}) with their corresponding values. * * @since 4.0.0 */ @Experimental public interface Interpolator extends Service { /** * Interpolates the values in the given map using the provided callback function. * This method defaults to setting empty strings for unresolved placeholders. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Jan 13 16:14:35 GMT 2025 - 6.9K bytes - Click Count (0) -
guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/Platform.java
return 3; } // TODO: Consolidate different copies in one single place. static String format(String template, Object... args) { // start substituting the arguments into the '%s' placeholders StringBuilder builder = new StringBuilder(template.length() + 16 * args.length); int templateStart = 0; int i = 0; while (i < args.length) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.3K bytes - Click Count (0) -
apache-maven/src/assembly/maven/bin/JvmConfigParser.java
appendQuotedArguments(result, parsed); } return result.toString(); } /** * Process a single line: remove comments, trim whitespace, and replace placeholders. */ private static String processLine(String line, String mavenProjectBasedir) { // Remove comments int commentIndex = line.indexOf('#'); if (commentIndex >= 0) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Dec 10 16:40:06 GMT 2025 - 6.4K bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_code_includes/test_number_mismatch.py
"utf-8" ) assert fixed_content == expected_content # Translated doc remains unchanged assert "Error processing docs/lang/docs/doc.md" in result.output assert ( "Number of code include placeholders does not match the number of code includes " "in the original document (4 vs 3)" ) in result.output @pytest.mark.parametrize( "copy_test_files",Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 22:43:44 GMT 2026 - 1.9K bytes - Click Count (0) -
guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java
} // TODO: Consolidate different copies in one single place. static String format(String template, Object... args) { // start substituting the arguments into the '%s' placeholders StringBuilder builder = new StringBuilder(template.length() + 16 * args.length); int templateStart = 0; int i = 0; while (i < args.length) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/util/SettingsResourceLoader.java
/** * Loads a JSON resource file from the classpath with placeholder substitution. * * @param resourcePath The path to the resource file * @param substitutions A map of placeholder patterns to replacement values. * Keys should be the literal placeholder strings (e.g., "${fess.dictionary.path}"). * @return The content of the resource file with placeholders replacedCreated: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 5.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/InterpolatorException.java
import org.apache.maven.api.annotations.Experimental; /** * Exception thrown by {@link Interpolator} implementations when an error occurs during interpolation. * This can include syntax errors in variable placeholders or recursive variable references. * * @since 4.0.0 */ @Experimental public class InterpolatorException extends MavenException { /** * Constructs a new InterpolatorException with {@code null} as itsCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 25 21:57:56 GMT 2025 - 2.6K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Verify.java
* message is formed by replacing each {@code %s} placeholder in the template with an * argument. These are matched by position - the first {@code %s} gets {@code * errorMessageArgs[0]}, etc. Unmatched arguments will be appended to the formatted message in * square braces. Unmatched placeholders will be left as-is.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 18.5K bytes - Click Count (0) -
scripts/doc_parsing_utils.py
def replace_placeholders_with_code_includes( text: list[str], original_includes: list[CodeIncludeInfo] ) -> list[str]: """ Replace code includes placeholders with actual code includes from the original (English) document. Fail if the number of placeholders does not match the number of original includes. """ code_include_lines = [ line_no for line_no, line in enumerate(text)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:37:41 GMT 2026 - 23.5K bytes - Click Count (0) -
guava/src/com/google/common/base/Strings.java
* Preconditions} class use this formatter, for both of the reasons just discussed. * * <p><b>Warning:</b> Only the exact two-character placeholder sequence {@code "%s"} is * recognized. * * @param template a string containing zero or more {@code "%s"} placeholder sequences. {@code * null} is treated as the four-character string {@code "null"}.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.5K bytes - Click Count (0)