Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 71 for verb (2.73 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            int actualInfoLevel = SMBUtil.readInt2(buffer, 0);
            assertEquals(0x0101, actualInfoLevel);
        }
    
        @Test
        void testWriteParametersWithLongFilename() {
            // Create a very long filename
            StringBuilder longPath = new StringBuilder();
            for (int i = 0; i < 100; i++) {
                longPath.append("verylongpath/");
            }
            longPath.append("file.txt");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            });
        }
    
        @Test
        @DisplayName("Test decode with maximum file name length")
        void testDecodeMaxFileNameLength() throws SMBProtocolDecodingException {
            // Create a very long filename (but within reasonable bounds)
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 255; i++) {
                sb.append('A');
            }
            String longFileName = sb.toString();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            long end = System.nanoTime();
            double totalTimeMs = (end - start) / 1_000_000.0;
    
            System.out.printf("Overall Performance Test: completed in %.2f ms%n", totalTimeMs);
    
            // Should complete very quickly with all optimizations
            assertTrue(totalTimeMs < 100, "All operations should complete quickly with performance fixes");
    
            pool.close();
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/audit/SecurityAuditLogger.java

                sb.setLength(0); // Reset length
            }
            return sb;
        }
    
        private void returnStringBuilder(StringBuilder sb) {
            if (sb != null && sb.capacity() < 2048) { // Avoid keeping very large builders
                stringBuilderPool.offer(sb);
            }
        }
    
        private Map<String, Object> getContextMap() {
            HashMap<String, Object> map = mapPool.poll();
            if (map == null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

             * the 'received' member of the response object will not
             * be set to true indicating the send and sendTransaction
             * methods that the next part should be sent. This is a
             * very indirect and simple batching control mechanism.
             */
    
            if (andx == null || !USE_BATCHING || batchLevel >= getBatchLimit(andx.command)) {
                andxCommand = (byte) 0xFF;
                andx = null;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

        @DisplayName("Should handle long passwords")
        void testLongPasswords() throws Exception {
            // Given
            Type2Message type2 = createMockType2Message();
            String longPassword = createTestString(256); // Very long password
    
            // When/Then
            assertDoesNotThrow(() -> {
                Type3Message type3 = new Type3Message(createMockContext(), type2, null, longPassword, "DOMAIN", "user", "WORKSTATION", 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

             * the 'received' member of the response object will not
             * be set to true indicating the send and sendTransaction
             * methods that the next part should be sent. This is a
             * very indirect and simple batching control mechanism.
             */
    
            if (this.andx == null || !getConfig().isUseBatching()
                    || this.batchLevel >= getBatchLimit(getConfig(), (byte) this.andx.getCommand())) {
    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/internal/smb2/Smb2EncryptionContextTest.java

            Smb2EncryptionContext context = new Smb2EncryptionContext(EncryptionNegotiateContext.CIPHER_AES128_GCM, DialectVersion.SMB311,
                    encKey, decKey, sessionKey, preauthHash);
    
            // When - Set very low rotation limits to trigger rotation
            context.setKeyRotationBytesLimit(100); // Rotate after 100 bytes
    
            // Encrypt first message - should work
            byte[] plaintext1 = "Message before rotation".getBytes();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  9. docs/smb3-features/05-rdma-smb-direct-design.md

    }
    ```
    
    ### 4.5 RDMA Provider Implementations
    
    #### 4.5.1 DiSNI Provider (InfiniBand/RoCE)
    ```java
    package jcifs.internal.smb2.rdma.disni;
    
    import com.ibm.disni.*;
    import com.ibm.disni.verbs.*;
    
    public class DisniRdmaProvider implements RdmaProvider {
        private RdmaActiveEndpointGroup<DisniRdmaEndpoint> endpointGroup;
        private RdmaActiveEndpoint endpoint;
        private boolean initialized = false;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

                    DirectoryCacheScope.IMMEDIATE_CHILDREN);
    
            DirectoryCacheEntry entry = directoryLeaseManager.getCacheEntry(directoryPath);
            assertNotNull(entry);
    
            // Set very short expiration time
            entry.setMaxAge(50); // 50ms
    
            // Update cache
            List<SmbFile> files = Arrays.asList(mockFile1);
            directoryLeaseManager.updateDirectoryCache(directoryPath, files);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top