- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 672 for Replace (0.05 seconds)
-
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; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 17.5K bytes - Click Count (0) -
buildscripts/gen-ldflags.go
relSuffix := "" if hotfix := os.Getenv("MINIO_HOTFIX"); hotfix != "" { relSuffix = hotfix } relTag := strings.Replace(version, " ", "-", -1) relTag = strings.Replace(relTag, ":", "-", -1) t, err := time.Parse("2006-01-02T15-04-05Z", relTag) if err != nil { panic(err) } relTag = strings.Replace(relTag, ",", "", -1) relTag = relPrefix + "." + relTag if relSuffix != "" { relTag += "." + relSuffix }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jun 16 23:10:48 GMT 2022 - 3.3K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java
ranges.add(new RangeValue(token.replace("[", ""), true)); } else if (token.startsWith("(")) { ranges.add(new RangeValue(token.replace("(", ""), false)); } else if (token.endsWith("]")) { ranges.add(new RangeValue(token.replace("]", ""), true)); } else if (token.endsWith(")")) { ranges.add(new RangeValue(token.replace(")", ""), false));
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 6.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertThat(map.get(three)).isSameInstanceAs(one); assertThat(map.replace(one, three)).isSameInstanceAs(two); assertThat(map.get(one)).isSameInstanceAs(three); assertThat(map.replace(one, two, three)).isFalse(); assertThat(map.get(one)).isSameInstanceAs(three); assertThat(map.replace(one, three, two)).isTrue(); assertThat(map.get(one)).isSameInstanceAs(two); assertThat(map).hasSize(3);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 13.3K bytes - Click Count (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();
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 22 15:11:52 GMT 2025 - 6.3K bytes - Click Count (2) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild.wrapper.gradle.kts
inputs.property("jvmOpts", jvmOpts) doLast { val optsEnvVar = "DEFAULT_JVM_OPTS" scriptFile.writeText(scriptFile.readText().replace("$optsEnvVar='", "$optsEnvVar='$jvmOpts ")) batchScript.writeText(batchScript.readText().replace("set $optsEnvVar=", "set $optsEnvVar=$jvmOpts ")) } } fun Project.wrapperUpdateTask(name: String, label: String) { val wrapperTaskName = "${name}Wrapper"
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Sep 17 08:58:33 GMT 2024 - 1.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt
return when { type == TYPE_PUSH_PROMISE && flags and FLAG_END_PUSH_PROMISE != 0 -> { result.replace("HEADERS", "PUSH_PROMISE") // TODO: Avoid allocation. } type == TYPE_DATA && flags and FLAG_COMPRESSED != 0 -> { result.replace("PRIORITY", "COMPRESSED") // TODO: Avoid allocation. } else -> result } }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 5.7K bytes - Click Count (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 } }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Mar 26 03:33:36 GMT 2024 - 7.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginDescriptorSourcedParametersValidator.java
} @Override protected boolean isIgnoredProperty(String strValue) { if (!strValue.startsWith("${")) { return false; } String propertyName = strValue.replace("${", "").replace("}", ""); if (IGNORED_PROPERTY_VALUES.contains(propertyName)) { return true; } return IGNORED_PROPERTY_PREFIX.stream().anyMatch(propertyName::startsWith); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.5K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/ClassGraph.kt
val entryPoints: MutableSet<ClassDetails> = linkedSetOf() val shadowPackagePrefix = shadowPackage.takeIf(String::isNotEmpty) ?.let { it.replace('.', '/') + "/" } ?: "" operator fun get(className: String) = classes.computeIfAbsent(className) {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 2.6K bytes - Click Count (0)