Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 87 for replacements (0.09 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/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)
  3. 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)
  4. docs/changelogs/upgrading_to_okhttp_4.md

    
    Code Cleanup
    ------------
    
    IntelliJ and Android Studio offer a **Code Cleanup** feature that will automatically update
    deprecated APIs with their replacements. Access this feature from the _Search Anywhere_ dialog
    (double-press shift) or under the _Analyze_ menu.
    
    We’ve included deprecated APIs in OkHttp 4.0 because they make migration easy. We will remove them
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                    newEntry.setKey(key);
                    newEntry.setCacheMap(cache);
                    newEntry.setLink("new-link-" + i);
                    newEntry.replaceCache();
                }
    
                // Verify replacements
                assertEquals(10, cache.size());
                for (int i = 0; i < 5; i++) {
                    DfsReferralDataInternal entry = cache.get("key-" + i);
                    assertEquals("new-link-" + i, entry.getLink());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. docs/config/README.md

    In most setups this is sufficient to heal the content after drive replacements. Setting `max_sleep` to a *lower* value and setting `max_io` to a *higher* value would make heal go faster.
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 18.1K bytes
    - Click Count (1)
  9. 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)
  10. 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)
Back to Top