Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 484 for spill (0.43 sec)

  1. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            it.close();
    
            // Assert
            assertFalse(it.hasNext());
            verify(tree, times(1)).release();
        }
    
        @Test
        @DisplayName("doCloseInternal throwing still releases exactly once and next() recovers")
        void closeInternalThrowsButReleases() throws Exception {
            // Arrange
            stubAcquireReturnsSelf();
            FileEntry initial = entry("first");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/PathValidatorTest.java

            // The normalization removes all duplicate backslashes, so \\\\server becomes \server
            // This test validates that paths which should be UNC but aren't detected due to normalization
            // still pass validation (which is the current behavior, though not ideal)
    
            // These paths normalize to \server\share which is NOT detected as UNC due to normalization
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/SecureKeyManagerTest.java

            // Verify we get a copy, not the original
            rawKey[0] = (byte) ~rawKey[0];
            byte[] rawKey2 = keyManager.getRawKey(sessionId);
            assertArrayEquals(testKey, rawKey2, "Should still match original");
        }
    
        @Test
        public void testRemoveSessionKey() {
            String sessionId = "test-session-3";
            keyManager.storeSessionKey(sessionId, testKey, "AES");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/FileNotifyInformationTest.java

                // Verify FILE_NOTIFY_CHANGE_SIZE is removed
                assertFalse((flags & FileNotifyInformation.FILE_NOTIFY_CHANGE_SIZE) != 0);
    
                // Verify other flags are still present
                assertTrue((flags & FileNotifyInformation.FILE_NOTIFY_CHANGE_FILE_NAME) != 0);
                assertTrue((flags & FileNotifyInformation.FILE_NOTIFY_CHANGE_LAST_WRITE) != 0);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            buffer[2] = (byte) byte2;
            buffer[3] = (byte) byte3;
    
            // When
            int bytesRead = response.readBytesWireFormat(buffer, 0);
    
            // Then - should still read 4 bytes regardless of reserved field value
            assertEquals(4, bytesRead);
        }
    
        @Test
        @DisplayName("Should handle edge case structure sizes")
        void testEdgeCaseStructureSizes() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            directoryLeaseManager.handleDirectoryLeaseBreak(key2, Smb2LeaseState.SMB2_LEASE_NONE);
    
            // Only second directory should be invalidated
            assertFalse(entry2.isComplete());
            // First directory should still be cached (though modified by previous change)
            assertNotNull(directoryLeaseManager.getCacheEntry(dir1));
        }
    
        @Test
        public void testCacheExpiration() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

                        // Use adaptive polling interval based on activity
                        long pollInterval = determinePollInterval(handle);
                        Thread.sleep(pollInterval);
    
                        // Check if still active
                        if (!handle.isActive()) {
                            break;
                        }
    
                        // In a real implementation, we would process actual change notifications here
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  8. docs/smb3-features/06-witness-protocol-design.md

        // ... trigger server failover ...
        
        // Verify that witness notification was received and handled
        assertTrue(listener.waitForNotification(30000));  // 30 second timeout
        
        // Verify file is still accessible after failover
        assertTrue(file.exists());
    }
    
    @Test
    public void testWitnessServiceDiscovery() throws Exception {
        CIFSContext context = getTestContext();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            docMap.put("_id", "docid1");
    
            // Fill the queue
            thumbnailManager.offer(docMap);
    
            // Try to add another - should succeed (warning logged but still returns true)
            Map<String, Object> docMap2 = new HashMap<>();
            docMap2.put("_id", "docid2");
            generator.task = new Tuple3<>("generator1", "docid2", "path2");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

     * @param <V> Value parameter type
     */
    final class DirectedGraphConnections<N, V> implements GraphConnections<N, V> {
      /**
       * A wrapper class to indicate a node is both a predecessor and successor while still providing
       * the successor value.
       */
      private static final class PredAndSucc {
        private final Object successorValue;
    
        PredAndSucc(Object successorValue) {
          this.successorValue = successorValue;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top