- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 586 for replaceOp (0.14 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
long newValue = random.nextInt(MAX_ADDEND); for (int i = 0; i < ITERATIONS; i++) { long before = map.get(key); assertFalse(map.replace(key, before + 1, newValue + 1)); assertFalse(map.replace(key, before - 1, newValue - 1)); assertTrue(map.replace(key, before, newValue)); long after = map.get(key); assertEquals(newValue, after); newValue += newValue; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 17.4K bytes - Viewed (0) -
docs/en/docs/js/custom.js
const value = line.replace(promptLiteralStart, "").trimEnd(); useLines.push({ type: "input", value: value }); } else if (line.startsWith("// ")) { saveBuffer(); const value = "💬 " + line.replace("// ", "").trimEnd();
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 6.6K 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 Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Mar 26 03:33:36 UTC 2024 - 7.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java
} @Override public String alignToBaseDirectory(String path, Path basedir) { String result = path; if (path != null && basedir != null) { path = path.replace('\\', File.separatorChar).replace('/', File.separatorChar); File file = new File(path); if (file.isAbsolute()) { // path was already absolute, just normalize file separator and we're done
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
internal/s3select/csv/record.go
} // Raw - returns the underlying data with format info. func (r *Record) Raw() (sql.SelectObjectFormat, interface{}) { return sql.SelectFmtCSV, r } // Replace - is not supported for CSV func (r *Record) Replace(_ interface{}) error { return errors.New("Replace is not supported for CSV") } // NewRecord - creates new CSV record. func NewRecord() *Record { return &Record{}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 4.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/PathSource.java
return new PathSource(path.resolve(relative)); } @Override public ModelSource resolve(ModelLocator locator, String relative) { String norm = relative.replace('\\', File.separatorChar).replace('/', File.separatorChar); Path path = getPath().getParent().resolve(norm); Path relatedPom = locator.locateExistingPom(path); if (relatedPom != null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Sep 18 11:42:07 UTC 2024 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
when(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).thenReturn(existingZero); // since the putIfAbsent returned a zero, we'll try to replace... when(backingMap.replace(eq(KEY), eq(existingZero), isA(AtomicInteger.class))).thenReturn(false); // ...and then putIfAbsent. Simulate failure on both
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 14.2K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java
} @Override public void addRepository(final Repository repository, boolean replace) throws InvalidRepositoryException { if (session.isIgnoreArtifactDescriptorRepositories()) { return; } if (!repositoryIds.add(repository.getId())) { if (!replace) { return; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java
@Deprecated public File getPomFile() { return getFile(); } @Override public ModelSource3 getRelatedSource(ModelLocator locator, String relPath) { relPath = relPath.replace('\\', File.separatorChar).replace('/', File.separatorChar); Path path = getPath().getParent().resolve(relPath); Path relatedPom = locator.locateExistingPom(path); if (relatedPom != null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
internal/s3select/sql/statement.go
for i, val := range v { tmpRec := input.Clone(nil) if err = tmpRec.Replace(val); err != nil { return nil, err } recs[i] = &tmpRec } return recs, nil default: kvs = jstream.KVS{jstream.KV{Key: "_1", Value: v}} } if err = input.Replace(kvs); err != nil { return nil, err } return []*Record{&input}, nil case simdjson.Object:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 8.9K bytes - Viewed (0)