Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 131 for notre (4.66 sec)

  1. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                byte[] buffer = new byte[100];
    
                // Act
                int encodedSize = context.encode(buffer, 0);
    
                // Assert
                // Note: size() returns 4 + (2*ciphers.length) but encode only writes 2 + (2*ciphers.length)
                // This appears to be a bug in the implementation, but we test the actual behavior
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/EmptyIteratorTest.java

            // Given - typical Iterator usage pattern
    
            // When & Then - verify empty collection behavior
            assertFalse(emptyIterator.hasNext(), "Empty iterator should have no next element");
    
            // Note: Standard Iterator would throw NoSuchElementException, but this implementation returns null
            // This is a design choice for this specific implementation
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         * to eliminate copying data when writing NbtSession data one might
         * manage that 4 byte header specifically and therefore the initial
         * bufferIndex, and thus headerStart, would be 4).(NOTE: If one where
         * looking for a way to improve perfomance this is precisly what you
         * would want to do as the jcifs.netbios.SocketXxxputStream classes
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            for (SmbTransportImpl transport : connections) {
                try {
                    // Check if connection has been idle too long
                    // Note: getLastUseTime() method would need to be added to SmbTransportImpl
                    // For now, we'll use a simple disconnected check
                    if (transport.isDisconnected()) {
                        idle.add(transport);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                fileIdField.setAccessible(true);
                fileIdField.set(notification, fileId);
    
                String result = notification.toString();
    
                // Note: There's a typo in the original code - "Opblock" instead of "Oplock"
                assertTrue(result.startsWith("Smb2OpblockBreakNotification["));
                assertTrue(result.contains("oplockLevel=" + oplockLevel));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/AllocInfoTest.java

                // Then - values should be preserved even at boundaries
                assertEquals(Long.MAX_VALUE, capacity);
                assertEquals(Long.MAX_VALUE, free);
    
                // Note: In real implementation, free > capacity might be invalid,
                // but interface doesn't enforce this constraint
            }
    
            @Test
            @DisplayName("Should handle typical file system sizes")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            }
    
            /*
             * if there is an andx and it itself is an andx then just recur by
             * calling this method for it. otherwise just read it's parameter words
             * and bytes as usual. Note how we can't just call andx.readWireFormat
             * because there's no header.
             */
    
            if (this.errorCode != 0 || this.andxCommand == (byte) 0xFF) {
                this.andxCommand = (byte) 0xFF;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/LmhostsTest.java

            NbtAddress validHost = lmhosts.getByName("VALIDHOST", mockContext);
            assertNotNull(validHost);
    
            // Invalid entries should not be found or may have incorrect parsing
            // Note: The actual Lmhosts parser may accept "192.168.1" and parse it differently
            // than expected, so we're not asserting null for HOST1
        }
    
        @Test
        void testPopulateWithLongHostname() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // When - initially should not need rotation
            assertFalse(context.needsKeyRotation(), "Should not need rotation initially");
    
            // Note: We can't directly test the byte limit without encrypting large amounts of data,
            // but we can verify the method exists and returns proper boolean
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/DfsImpl.java

            if (log.isTraceEnabled()) {
                log.trace("Resolving root " + root);
            }
            /*
             * The link entries contain maps of referrals by path representing DFS links.
             * Note that paths are relative to the root like "\" and not "\example.com\root".
             */
            CacheEntry<DfsReferralDataInternal> links = roots.get(root);
            if (links != null && now > links.expiration) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
Back to top