- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 672 for Replace (0.04 seconds)
-
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
map.put(one, three); assertNotified(listener, one, two, RemovalCause.REPLACED); Map<Object, Object> newMap = ImmutableMap.of(one, four); map.putAll(newMap); assertNotified(listener, one, three, RemovalCause.REPLACED); map.replace(one, five); assertNotified(listener, one, four, RemovalCause.REPLACED); map.replace(one, five, six); assertNotified(listener, one, five, RemovalCause.REPLACED);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 115.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
|| countMap.replace(element, existingCounter, newCounter); } } else { if (existingCounter.compareAndSet(oldValue, newCount)) { if (newCount == 0) { // Just CASed to 0; remove the entry to clean up the map. If the removal fails, // another thread has already replaced it with a new counter, which is fine.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 08 22:42:14 GMT 2025 - 22.3K bytes - Click Count (0) -
internal/s3select/sql/record.go
// Clone the record and if possible use the destination provided. Clone(dst Record) Record Reset() // Returns underlying representation Raw() (SelectObjectFormat, any) // Replaces the underlying data Replace(k any) error } // IterToValue converts a simdjson Iter to its underlying value. // Objects are returned as simdjson.Object // Arrays are returned as []interface{} with parsed values.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.4K bytes - Click Count (0) -
src/bytes/bytes_test.go
} if len(old) == 0 && n != 0 { out.Write(new) } return out.Bytes() } if simple, replace := differentImpl(in, old, new, n), Replace(in, old, new, n); !slices.Equal(simple, replace) { t.Errorf("The two implementations do not match %q != %q for Replace(%q, %q, %q, %d)", simple, replace, in, old, new, n) } }) } func BenchmarkReplace(b *testing.B) { for _, tt := range ReplaceTests {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 23 23:54:14 GMT 2025 - 62.9K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/AtomicLongMap.java
* If {@code (key, expectedOldValue)} is currently in the map, this method replaces {@code * expectedOldValue} with {@code newValue} and returns true; otherwise, this method returns false. * * <p>If {@code expectedOldValue} is zero, this method will succeed if {@code (key, zero)} is * currently in the map, or if {@code key} is not in the map at all. */ boolean replace(K key, long expectedOldValue, long newValue) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 10 23:13:45 GMT 2025 - 11.7K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
private String getPath(Metadata metadata, String repositoryKey) { StringBuilder path = new StringBuilder(128); if (!metadata.getGroupId().isEmpty()) { path.append(metadata.getGroupId().replace('.', '/')).append('/'); if (!metadata.getArtifactId().isEmpty()) { path.append(metadata.getArtifactId()).append('/'); if (!metadata.getVersion().isEmpty()) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.6K bytes - Click Count (0) -
apache-maven/src/main/appended-resources/META-INF/LICENSE.vm
#* *### add dependency info to output - $directory/${project.artifact.artifactId}-${project.artifact.version}.jar: $project.artifact.toString().replace( ':eclipse-plugin:', ':jar:' ) Project: $project.name #if ( $project.url )Project URL: ${project.url}#end License: $license.name#if ( $spdx ) ($spdx)#end License URL: $license.url ($licFile)Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 4.3K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
private String getPath(Metadata metadata, String repositoryKey) { StringBuilder path = new StringBuilder(128); if (!metadata.getGroupId().isEmpty()) { path.append(metadata.getGroupId().replace('.', '/')).append('/'); if (!metadata.getArtifactId().isEmpty()) { path.append(metadata.getArtifactId()).append('/'); if (!metadata.getVersion().isEmpty()) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.5K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDslReferencePlugin.java
import gradlebuild.docs.dsl.source.ExtractDslMetaDataTask; /** * Generates DSL reference material using Docbook and some homegrown class parsing. * * TODO: It would be nice to replace the Docbook portion of this with Asciidoc so that it could be * generated in the same way as the user manual with cross-links between them. */ public class GradleDslReferencePlugin implements Plugin<Project> { @Override
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 5.7K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/androidhomewarmup/AndroidHomeWarmupTask.kt
return } sdkVersions.orNull.orEmpty().forEach { version -> val projectName = "platform-${version.compileSdk}-buildtools-${version.buildTools.replace(".", "-")}" val projectDir = File(warmupProjectsDirectory.get().asFile, projectName) logger.lifecycle("Generating project: $projectName") generateProject(projectDir, version)Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Dec 09 09:24:29 GMT 2025 - 5.8K bytes - Click Count (0)