Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 85 for replacements (0.08 seconds)

  1. src/bytes/bytes.go

    // If old is empty, it matches at the beginning of the slice
    // and after each UTF-8 sequence, yielding up to k+1 replacements
    // for a k-rune slice.
    // If n < 0, there is no limit on the number of replacements.
    func Replace(s, old, new []byte, n int) []byte {
    	m := 0
    	if n != 0 {
    		// Compute number of replacements.
    		m = Count(s, old)
    	}
    	if m == 0 {
    		// Just return a copy.
    		return append([]byte(nil), s...)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Sep 16 16:42:15 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/xml/XmlEscapers.java

        builder.setSafeRange(Character.MIN_VALUE, '\uFFFD');
        // Unsafe characters are replaced with the Unicode replacement character.
        builder.setUnsafeReplacement("\uFFFD");
    
        /*
         * Except for \n, \t, and \r, all ASCII control characters are replaced with the Unicode
         * replacement character.
         *
         * Implementation note: An alternative to the following would be to make a map that simply
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

     *       APIs are offered that don't).
     *   <li>Can't be passed directly to methods that expect {@code long[]} (though the most common
     *       utilities do have replacements here).
     *   <li>Dependency on {@code com.google.common} / Guava.
     * </ul>
     *
     * <p>Advantages compared to {@link com.google.common.collect.ImmutableList ImmutableList}{@code
     * <Long>}:
     *
     * <ul>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
  4. guava/src/com/google/common/primitives/ImmutableIntArray.java

     *       APIs are offered that don't).
     *   <li>Can't be passed directly to methods that expect {@code int[]} (though the most common
     *       utilities do have replacements here).
     *   <li>Dependency on {@code com.google.common} / Guava.
     * </ul>
     *
     * <p>Advantages compared to {@link com.google.common.collect.ImmutableList ImmutableList}{@code
     * <Integer>}:
     *
     * <ul>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  5. scripts/docs.py

            self.reset()
            self.text_parts = []
            self.feed(html)
            return "".join(self.text_parts).strip()
    
    
    def slugify(text: str) -> str:
        return py_slugify(
            text,
            replacements=[
                ("`", ""),  # `dict`s -> dicts
                ("'s", "s"),  # it's -> its
                ("'t", "t"),  # don't -> dont
                ("**", ""),  # **FastAPI**s -> FastAPIs
            ],
        )
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 21 17:40:17 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/lang/StringUtil.java

         *
         * @param text
         *            The original string.
         * @param fromText
         *            The substring to be replaced.
         * @param toText
         *            The replacement substring.
         * @return The resulting string after replacements.
         */
        public static final String replace(final String text, final String fromText, final String toText) {
            if (text == null || fromText == null || toText == null) {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/Ordering.java

     * Ordering} to be of type {@code Comparator} instead. However, at this time we have no plan to
     * <i>deprecate</i> this class.
     *
     * <p>Many replacements involve adopting {@code Stream}, and these changes can sometimes make your
     * code verbose. Whenever following this advice, you should check whether {@code Stream} could be
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 39.5K bytes
    - Click Count (0)
  8. doc/asm.html

    <code>fmt·Printf</code> and <code>math∕rand·Int</code>.
    The assembly listings generated by the compilers when using the <code>-S</code> flag
    show the period and slash directly instead of the Unicode replacements
    required by the assemblers.
    </p>
    
    <p>
    Most hand-written assembly files do not include the full package path
    in symbol names, because the linker inserts the package path of the current
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Nov 14 19:09:46 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  9. src/main/webapp/WEB-INF/view/admin/pathmap/admin_pathmap_edit.jsp

                                        <label for="replacement" class="col-sm-3 text-sm-right col-form-label"><la:message
                                                key="labels.replacement"/></label>
                                        <div class="col-sm-9">
                                            <la:errors property="replacement"/>
                                            <la:text styleId="replacement" property="replacement"
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 13 05:54:52 GMT 2025
    - 7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

                if (matchUserAgent(pathMapping)) {
                    String replacement = pathMapping.getReplacement();
                    if (replacement == null) {
                        replacement = StringUtil.EMPTY;
                    }
                    result = result.replaceAll("(\"[^\"]*)" + pathMapping.getRegex() + "([^\"]*\")", "$1" + replacement + "$2");
                }
            }
            return result;
        }
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9.5K bytes
    - Click Count (0)
Back to Top