- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 181 for notificationTo (0.06 sec)
-
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
} } @Nested @DisplayName("Concurrency Tests") class ConcurrencyTests { @Test @DisplayName("Should handle concurrent received notifications") void testConcurrentReceived() throws InterruptedException { int threadCount = 10; CountDownLatch startLatch = new CountDownLatch(1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
QueuingRemovalListener<K, V> listener, K key, V value, RemovalCause cause) { RemovalNotification<K, V> notification = listener.remove(); assertSame(key, notification.getKey()); assertSame(value, notification.getValue()); assertSame(cause, notification.getCause()); } // Segment core tests public void testNewEntry() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 110.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/NullCacheTest.java
Object key = new Object(); assertSame(computed, cache.getUnchecked(key)); RemovalNotification<Object, Object> notification = listener.remove(); assertSame(key, notification.getKey()); assertSame(computed, notification.getValue()); assertSame(RemovalCause.SIZE, notification.getCause()); assertTrue(listener.isEmpty()); checkEmpty(cache); } public void testGet_expireAfterWrite() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/NullCacheTest.java
Object key = new Object(); assertSame(computed, cache.getUnchecked(key)); RemovalNotification<Object, Object> notification = listener.remove(); assertSame(key, notification.getKey()); assertSame(computed, notification.getValue()); assertSame(RemovalCause.SIZE, notification.getCause()); assertTrue(listener.isEmpty()); checkEmpty(cache); } public void testGet_expireAfterWrite() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
private Smb2OplockBreakNotification notification; @BeforeEach void setUp() { mockConfig = mock(Configuration.class); notification = new Smb2OplockBreakNotification(mockConfig); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create notification with configuration")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
assertNotNull(verifyCacheEntry); assertTrue(verifyCacheEntry.isComplete()); assertEquals(2, verifyCacheEntry.getChildren().size()); // Step 8: Test change notifications // Simulate file addition directoryLeaseManager.handleDirectoryChange(directoryPath, "newfile.txt", DirectoryChangeNotifier.DirectoryChangeType.FILE_ADDED); // Cache should be invalidated
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/FileNotifyInformation.java
*/ package jcifs; /** * File notification information * * * @author mbechler * */ public interface FileNotifyInformation { // filter flags /** * Any file name change in the watched directory or subtree causes a change notification wait operation to return. * Changes include renaming, creating, or deleting a file. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessNotificationTest.java
notification.addNewIPAddress(ipv4); notification.addNewIPAddress(ipv6); notification.addOldIPAddress(ipv4); List<WitnessNotification.WitnessIPAddress> newAddresses = notification.getNewIPAddresses(); List<WitnessNotification.WitnessIPAddress> oldAddresses = notification.getOldIPAddresses(); assertEquals(2, newAddresses.size()); assertEquals(1, oldAddresses.size());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/TestingRemovalListeners.java
static class QueuingRemovalListener<K, V> extends ConcurrentLinkedQueue<RemovalNotification<K, V>> implements RemovalListener<K, V> { @Override public void onRemoval(RemovalNotification<K, V> notification) { add(notification); } } /** * {@link RemovalListener} that counts each {@link RemovalNotification} it receives, and provides * access to the most-recently received one. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessNotification.java
/** * Creates a new empty witness notification. */ public WitnessNotification() { this.timestamp = System.currentTimeMillis(); this.newIPAddresses = new ArrayList<>(); this.oldIPAddresses = new ArrayList<>(); this.flags = WITNESS_RESOURCE_STATE_UNKNOWN; } /** * Creates a new witness notification. * * @param eventType the type of event
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 6.4K bytes - Viewed (0)