- Sort Score
- Num 10 results
- Language All
Results 431 - 440 of 764 for replica (0.07 seconds)
-
android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java
// Fill with matching chars. for (int i = 0; i < result.length; i++) { result[i] = allMatchingChars.charAt(random.nextInt(allMatchingChars.length())); } // Replace some of chars by non-matching. int remaining = (int) ((100 - percentMatching) * result.length / 100.0 + 0.5); while (remaining > 0) { char c = (char) random.nextInt(); if (bitSet.get(c)) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.9K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java
// Fill with matching chars. for (int i = 0; i < result.length; i++) { result[i] = allMatchingChars.charAt(random.nextInt(allMatchingChars.length())); } // Replace some of chars by non-matching. int remaining = (int) ((100 - percentMatching) * result.length / 100.0 + 0.5); while (remaining > 0) { char c = (char) random.nextInt(); if (bitSet.get(c)) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.9K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java
} @Override public void addRepository(Repository repository) throws InvalidRepositoryException {} @Override public void addRepository(Repository repository, boolean replace) throws InvalidRepositoryException {} @Override public ModelResolver newCopy() { return this; } }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 5.2K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt
private fun <T : NodeWithSimpleName<*>> T.matchesName(candidateName: String) = matchesName(name.asString(), candidateName) private fun matchesName(name: String, candidateName: String) = name == candidateName.replace(".*\\$".toRegex(), "") // strip outer class names private val SINCE_REGEX = Regex("""@since ([^\s]+)""") private fun BodyDeclaration<*>.getSince(): String? =
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jun 06 17:52:09 GMT 2025 - 6.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/JdkBackedImmutableMap.java
@GwtIncompatible final class JdkBackedImmutableMap<K, V> extends ImmutableMap<K, V> { /** * Creates an {@code ImmutableMap} backed by a JDK HashMap. Used when probable hash flooding is * detected. This implementation may replace the entries in entryArray with its own entry objects * (though they will have the same key/value contents), and will take ownership of entryArray. */ static <K, V> ImmutableMap<K, V> create(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 4.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MapMaker.java
* methods {@link Map#containsValue containsValue}, {@link ConcurrentMap#remove(Object, Object) * remove(Object, Object)} and {@link ConcurrentMap#replace(Object, Object, Object) replace(K, V, * V)}, and may not be what you expect. * * @throws IllegalStateException if the value strength was already set * @see WeakReference */ @CanIgnoreReturnValueCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
// The logic converts path to doc ID by removing path separators String pathStr = "_1/_2/docid123"; String expectedDocId = "_1_2docid123"; String actualDocId = pathStr.replace("/", "").replace("\\", ""); assertEquals(expectedDocId, actualDocId); } // Test FilePurgeVisitor visitFileFailed @Test public void test_FilePurgeVisitor_visitFileFailed() throws IOException {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 20.4K bytes - Click Count (0) -
scripts/translate.py
en_docs_path = Path("docs/en/docs") assert str(path).startswith(str(en_docs_path)), ( f"Path must be inside {en_docs_path}" ) lang_docs_path = Path(f"docs/{lang}/docs") out_path = Path(str(path).replace(str(en_docs_path), str(lang_docs_path))) return out_path def generate_en_path(*, lang: str, path: Path) -> Path: en_docs_path = Path("docs/en/docs") assert not str(path).startswith(str(en_docs_path)), (
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:37:41 GMT 2026 - 15.8K bytes - Click Count (0) -
src/main/webapp/js/chat.js
var phaseMessage = config.labels.phases[data.phase] || data.message || 'Processing...'; // Replace __keywords__ placeholder with actual keywords if (data.keywords) { phaseMessage = phaseMessage.replace('__keywords__', data.keywords); } showStatus('thinking', phaseMessage);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 01:36:02 GMT 2026 - 30.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ConcurrentHashMultiset.java
// we can just do that work here. AtomicInteger newCounter = new AtomicInteger(occurrences); if ((countMap.putIfAbsent(element, newCounter) == null) || countMap.replace(element, existingCounter, newCounter)) { return 0; } break; } } // If we're still here, there was a race, so just try again. } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 22.3K bytes - Click Count (0)