Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for replacements (0.22 sec)

  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...)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            // Should return empty array when plugin directory doesn't exist
            assertEquals(0, pluginFiles.length);
        }
    
        public void test_resolve_additionalCases() {
            // Test multiple replacements in same string
            System.setProperty("var1", "value1");
            System.setProperty("var2", "value2");
    
            String value = "${var1}-${var2}";
            assertEquals("value1-value2", ResourceUtil.resolve(value));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (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>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (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>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  5. 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
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  6. 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());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (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) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (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.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.1K bytes
    - Viewed (1)
  9. 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
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  10. .idea/inspectionProfiles/Gradle.xml

            <constraint name="__context__" within="" contains="" />
            <constraint name="src" within="" contains="" />
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Jun 26 21:49:47 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top