- Sort Score
- Num 10 results
- Language All
Results 851 - 860 of 1,591 for Removes (0.11 seconds)
-
guava-tests/test/com/google/common/collect/FluentIterableTest.java
FluentIterable<Integer> cycle = fluent(1, 2).cycle(); Iterator<Integer> iterator = cycle.iterator(); iterator.next(); iterator.remove(); iterator.next(); iterator.remove(); assertFalse(iterator.hasNext()); assertFalse(cycle.iterator().hasNext()); } public void testAppend() { FluentIterable<Integer> result =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 31.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java
assertEquals(250, SmbConstants.DEFAULT_SSN_LIMIT); assertEquals(35000, SmbConstants.DEFAULT_CONN_TIMEOUT); // Note: USE_UNICODE and FORCE_UNICODE don't exist in the interface // These tests should be removed or replaced with actual constants } /** * Test individual FLAGS2 constants. */ @Test @DisplayName("FLAGS2 individual constants are correct") void flags2ConstantsTest() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java
// all of the listed keys, for some reason the "java.compiler" key returns null in some JVMs. if (property == JAVA_COMPILER) { continue; } // Removed in Java 9: // https://docs.oracle.com/javase/9/migrate/toc.htm#JSMIG-GUID-2C896CA8-927C-4381-A737-B1D81D964B7B if (property == JAVA_EXT_DIRS) { continue; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 01:05:11 GMT 2026 - 2.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashFunctionEnum.java
SHA512(sha512()), SIP_HASH24(sipHash24()), FARMHASH_FINGERPRINT_64(farmHashFingerprint64()), // Hash functions found in //javatests for comparing against current implementation of CityHash. // These can probably be removed sooner or later. ; private final HashFunction hashFunction; HashFunctionEnum(HashFunction hashFunction) { this.hashFunction = hashFunction; } HashFunction getHashFunction() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 2.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/ArtifactInstaller.java
* @param artifact the artifact definition * @param localRepository the local repository to install into * @throws ArtifactInstallationException if an error occurred installing the artifact * @deprecated to be removed before 2.0 after the install/deploy plugins use the alternate * method */ @Deprecated void install(String basedir, String finalName, Artifact artifact, ArtifactRepository localRepository)Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
assertThat(multimap.keySet()).containsExactly("bar", "cow").inOrder(); assertTrue(multimap.remove("bar", 4)); assertThat(multimap.keySet()).containsExactly("bar", "cow").inOrder(); assertTrue(multimap.remove("bar", 1)); assertThat(multimap.keySet()).contains("cow"); multimap.put("bar", 9); assertThat(multimap.keySet()).containsExactly("cow", "bar").inOrder();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 16.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/LinkedHashMultiset.java
* according to when the first occurrence of the element was added. When the multiset contains * multiple instances of an element, those instances are consecutive in the iteration order. If all * occurrences of an element are removed, after which that element is added to the multiset, the * element will appear at the end of the iteration. * * <p>See the Guava User Guide article on <a href=
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.9K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/MyTester.java
/* * @Ignore affects the Android test runner (and only the Android test runner): It respects JUnit 4 * annotations even on JUnit 3 tests. * * TODO(b/225350400): Remove @Ignore, which doesn't seem like it should be necessary and probably * soon won't be. */ @SuppressWarnings("JUnit4ClassUsedInJUnit3") @Ignore public final class MyTester extends AbstractTester<@Nullable Void> {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.3K bytes - Click Count (0) -
src/main/java/jcifs/util/PathValidator.java
// Replace forward slashes with backslashes for consistency String normalized = path.replace('/', '\\'); // Remove duplicate slashes normalized = normalized.replaceAll("\\\\+", "\\\\"); // Remove trailing slash unless it's the root if (normalized.length() > 1 && normalized.endsWith("\\")) { normalized = normalized.substring(0, normalized.length() - 1);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.5K bytes - Click Count (0) -
ci/official/containers/ml_build/setup.packages.sh
# Usage: setup.packages.sh <package_list.txt> set -e # Prevent apt install tzinfo from asking our location (assumes UTC) export DEBIAN_FRONTEND=noninteractive apt-get update # Remove commented lines and blank lines apt-get install -y --no-install-recommends $(sed -e '/^\s*#.*$/d' -e '/^\s*$/d' "$1" | sort -u)
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Sep 24 20:45:58 GMT 2024 - 1.1K bytes - Click Count (0)