- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 1,035 for Remote (0.04 seconds)
-
guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java
assertEquals("old count", originalCount, getMultiset().remove(e0(), 0)); expectUnchanged(); } @CollectionSize.Require(absent = ZERO) @CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemove_occurrences_present() { assertEquals( "multiset.remove(present, 2) didn't return the old count", 1, getMultiset().remove(e0(), 2)); assertFalse(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java
assertEquals(Multisets.immutableEntry(k0(), 1), itr.next()); itr.remove(); assertTrue(multimap().isEmpty()); } @CollectionSize.Require(SEVERAL) @MapFeature.Require(SUPPORTS_REMOVE) public void testKeysEntrySetRemove() { resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k1(), v0())); assertTrue(multimap().keys().entrySet().remove(Multisets.immutableEntry(k0(), 2)));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4.3K bytes - Click Count (1) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java
assertThrows(UnsupportedOperationException.class, () -> collection.remove(e0())); expectUnchanged(); assertTrue("remove(present) should not remove the element", collection.contains(e0())); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) public void testRemove_unsupportedNotPresent() { try { assertFalse( "remove(notPresent) should return false or throw UnsupportedOperationException",
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Feb 11 21:04:02 GMT 2025 - 5.6K bytes - Click Count (0) -
internal/lock/lock_test.go
"testing" "time" ) // Test lock fails. func TestLockFail(t *testing.T) { f, err := os.CreateTemp(t.TempDir(), "lock") if err != nil { t.Fatal(err) } f.Close() defer func() { err = os.Remove(f.Name()) if err != nil { t.Fatal(err) } }() _, err = LockedOpenFile(f.Name(), os.O_APPEND, 0o600) if err == nil { t.Fatal("Should fail here") } } // Tests lock directory fail.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 3.7K bytes - Click Count (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts
tasks.validatePlugins { enableStricterValidation = true } // Remove gradleApi() and gradleTestKit() as we want to compile/run against Gradle modules // TODO consider splitting `java-gradle-plugin` to provide only what's necessary here configurations.all { withDependencies { remove(project.dependencies.gradleApi()) remove(project.dependencies.gradleTestKit()) } }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Jul 02 12:28:02 GMT 2025 - 6.1K bytes - Click Count (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt
assertThat(callbacks.remove()).isEqualTo(Event(null, "add", "73857293")) assertThat(callbacks.remove()).isEqualTo(Event(null, "remove", "2153")) assertThat(callbacks.remove()).isEqualTo(Event(null, "add", "113411")) } @Test fun commentsIgnored() { consumeEvents( """ |: test stream | |data: first event |id: 1 | | """.trimMargin(), )
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java
assertThrows(UnsupportedOperationException.class, () -> getMap().remove(k0())); expectUnchanged(); assertEquals("remove(present) should not remove the element", v0(), get(k0())); } @MapFeature.Require(absent = SUPPORTS_REMOVE) public void testRemove_unsupportedNotPresent() { try { assertNull( "remove(notPresent) should return null or throw UnsupportedOperationException",
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 5.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java
assertThrows(UnsupportedOperationException.class, () -> collection.remove(e0())); expectUnchanged(); assertTrue("remove(present) should not remove the element", collection.contains(e0())); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) public void testRemove_unsupportedNotPresent() { try { assertFalse( "remove(notPresent) should return false or throw UnsupportedOperationException",
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Feb 11 21:04:02 GMT 2025 - 5.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/EmptyCachesTest.java
// values of these removes, but the cache should be empty after the removes, regardless. keys.remove(1); keys.remove(2); assertThat(keys.remove(null)).isFalse(); assertThat(keys.remove(6)).isFalse(); assertThat(keys.remove(-6)).isFalse(); assertThat(keys.removeAll(asList(null, 0, 15, 1500))).isFalse();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 11.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java
// values of these removes, but the cache should be empty after the removes, regardless. keys.remove(1); keys.remove(2); assertThat(keys.remove(null)).isFalse(); assertThat(keys.remove(6)).isFalse(); assertThat(keys.remove(-6)).isFalse(); assertThat(keys.removeAll(asList(null, 0, 15, 1500))).isFalse();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 11.9K bytes - Click Count (0)