- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 672 for Replace (0.07 seconds)
-
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
assertThat(cache.asMap().replace(entry.getKey(), newValue)) .isSameInstanceAs(entry.getValue()); assertThat(cache.asMap().replace(entry.getKey(), newValue, entry.getValue())).isTrue(); Object newKey = new Object(); assertThat(cache.asMap().replace(newKey, entry.getValue())).isNull(); assertThat(cache.asMap().replace(newKey, entry.getValue(), newValue)).isFalse();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 15.7K bytes - Click Count (0) -
scripts/deploy_docs_status.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 05:56:53 GMT 2025 - 4.4K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/FixProjectHealthTask.kt
val oldDependency = match.groupValues[3] + match.groupValues[2] val newDependency = match.groupValues[1] + match.groupValues[2] lines.replaceAll { it.replace(oldDependency, newDependency) } } } file.writeText(lines.joinToString("\n")) } } private fun addDependencies(dependencyFixes: Map<String, List<String>>) {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Mar 03 06:57:08 GMT 2025 - 6.2K bytes - Click Count (1) -
ci/official/installer_wheel.sh
echo "" # Unpacking a wheel creates a directory named # {distribution}-{version}.dist-info which contains the metadata files. We # replace the old tag in the WHEEL file in this directory with the new tag we # have in ${whl_tag}. Replace the line in WHEEL that starts with "Tag:" with # "Tag: <new whl tag>" sed -i "s/^Tag:.*/Tag: ${whl_tag}/g" "${pkg_name}"/"${pkg_name}".dist-info/WHEEL
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Tue Mar 04 22:39:12 GMT 2025 - 3.5K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java
} } } } private String path(Artifact artifact) { StringBuilder path = new StringBuilder(128); path.append(artifact.getGroupId().replace('.', '/')).append('/'); path.append(artifact.getArtifactId()).append('/'); path.append(artifact.getBaseVersion()).append('/');Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 11 17:20:46 GMT 2025 - 5.6K bytes - Click Count (0) -
internal/grid/grid.go
return func(ctx context.Context, remote string) (net.Conn, error) { toDial := strings.Replace(remote, "http://", "ws://", 1) toDial = strings.Replace(toDial, "https://", "wss://", 1) toDial += routePath dialer := ws.DefaultDialer dialer.ReadBufferSize = readBufferSize dialer.WriteBufferSize = writeBufferSize
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 7K bytes - Click Count (0) -
misc/ios/clangwrap.sh
# build for real iOS devices, change SDK to "iphoneos" and PLATFORM to "ios". # This uses the latest available iOS SDK, which is recommended. To select a # specific SDK, run 'xcodebuild -showsdks' to see the available SDKs and replace # iphonesimulator with one of them. SDK=iphonesimulator PLATFORM=ios-simulator if [ "$GOARCH" == "arm64" ]; then CLANGARCH="arm64" else CLANGARCH="x86_64" fi
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Jun 18 16:32:49 GMT 2024 - 724 bytes - Click Count (0) -
.teamcity/src/main/kotlin/common/JvmVersion.kt
package common enum class JvmVersion( val major: Int, ) { JAVA_8(8), JAVA_11(11), JAVA_17(17), JAVA_21(21), JAVA_25(25), ; fun toCapitalized(): String = name.replace("_", "").lowercase().toCapitalized()
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Aug 05 16:58:51 GMT 2025 - 856 bytes - Click Count (0) -
tests/test_datetime_custom_encoder.py
class ModelWithDatetimeField(BaseModel): dt_field: datetime @field_serializer("dt_field") def serialize_datetime(self, dt_field: datetime): return dt_field.replace(microsecond=0, tzinfo=timezone.utc).isoformat() app = FastAPI() model = ModelWithDatetimeField(dt_field=datetime(2019, 1, 1, 8)) @app.get("/model", response_model=ModelWithDatetimeField) def get_model():Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 817 bytes - Click Count (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt
|data: +2 |data: 10 | | """.trimMargin().replace("\n", "\r"), ) assertThat(callbacks.remove()).isEqualTo(Event(null, null, "YHOO\n+2\n10")) } @Test fun multilineCrLf() { consumeEvents( """ |data: YHOO |data: +2 |data: 10 | | """.trimMargin().replace("\n", "\r\n"), )Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.4K bytes - Click Count (0)