- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 596 for Replaces (0.06 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt
} } @Test fun singlePart() { val expected = """ |--123 | |Hello, World! |--123-- | """.trimMargin().replace("\n", "\r\n") val body = MultipartBody .Builder("123") .addPart("Hello, World!".toRequestBody(null)) .build() assertThat(body.boundary).isEqualTo("123")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertNull(map.putIfAbsent(three, one)); assertSame(one, map.get(three)); assertSame(two, map.replace(one, three)); assertSame(three, map.get(one)); assertFalse(map.replace(one, two, three)); assertSame(three, map.get(one)); assertTrue(map.replace(one, three, two)); assertSame(two, map.get(one)); assertEquals(3, map.size()); map.clear();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
// Rest of bytes are already 0 info502.security_descriptor = securityDescriptorBytes; info502.sd_size = securityDescriptorBytes.length; // Replace info field Field infoField = msrpcShareGetInfo.getClass().getSuperclass().getDeclaredField("info"); infoField.setAccessible(true); infoField.set(msrpcShareGetInfo, info502);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingConcurrentMap.java
} @CanIgnoreReturnValue @Override public @Nullable V replace(K key, V value) { return delegate().replace(key, value); } @CanIgnoreReturnValue @Override @SuppressWarnings("nullness") // https://github.com/jspecify/jdk/issues/118 public boolean replace(K key, V oldValue, V newValue) { return delegate().replace(key, oldValue, newValue); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 18 16:58:16 UTC 2025 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/CharMatcher.java
*/ public String retainFrom(CharSequence sequence) { return negate().removeFrom(sequence); } /** * Returns a string copy of the input character sequence, with each matching BMP character * replaced by a given replacement character. For example: * * {@snippet : * CharMatcher.is('a').replaceFrom("radar", 'o') * } * * ... returns {@code "rodor"}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 53.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/ParamMap.java
} @Override public boolean replace(final K key, final V oldValue, final V newValue) { if (parent.replace(key, oldValue, newValue)) { return true; } return parent.replace(key, oldValue, newValue); } @Override public V replace(final K key, final V value) { // use original key return parent.replace(key, value); } @OverrideRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java
* * @param map The map containing key-value pairs to be interpolated. * @param callback The function to resolve variable values not found in the map. * @param defaultsToEmpty If true, unresolved placeholders are replaced with empty strings. If false, they are left unchanged. */ default void interpolate( @Nonnull Map<String, String> map, @Nullable UnaryOperator<String> callback, boolean defaultsToEmpty) {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Jan 13 16:14:35 UTC 2025 - 6.9K bytes - Viewed (0) -
tests/callbacks_test.go
callMethod(v, "After", c.after) } if c.match != nil { callMethod(v, "Match", c.match) } if c.remove { callMethod(v, "Remove", c.name) } else if c.replace { callMethod(v, "Replace", c.name, c.h) } else { callMethod(v, "Register", c.name, c.h) } if e, ok := v.(error); !ok || e != nil { err = e } }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Mar 26 03:33:36 UTC 2024 - 7.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ClassTraversalTest.java
count = 0; } /** * @throws Exception */ @Test public void testForEachJarFile() throws Exception { final String classFilePath = TestCase.class.getName().replace('.', '/') + ".class"; final URL classURL = ResourceUtil.getResource(classFilePath); final JarURLConnection con = (JarURLConnection) classURL.openConnection();Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5.1K bytes - Viewed (0) -
src/bytes/bytes.go
s = s[l:] } return t } // Replace returns a copy of the slice s with the first n // non-overlapping instances of old replaced by new. // 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
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 35.5K bytes - Viewed (0)