Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for Reed (0.09 sec)

  1. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

            assertEquals(0, transaction.pad(8)); // Already aligned
            assertEquals(3, transaction.pad(1)); // Need 3 bytes to align to 4
            assertEquals(2, transaction.pad(2)); // Need 2 bytes to align to 4
            assertEquals(1, transaction.pad(3)); // Need 1 byte to align to 4
        }
    
        @Test
        @DisplayName("Test getPadding method")
        void testGetPadding() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

        }
    
        private long getSessionId() {
            // This would need to get the actual session ID from the SMB session
            return 0; // Placeholder
        }
    
        private byte[] getSessionKey() {
            // This would need to get the actual session key from the SMB session
            return new byte[16]; // Placeholder
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

            // Directory leasing requires SMB 3.0 or higher
            // MS-SMB2: Level 2 leasing (which includes directory leasing) is only supported in SMB 3.0+
            // We'll validate this when we actually need to use the session
    
            // Request base lease
            Smb2LeaseKey leaseKey = baseLeaseManager.requestLease(directoryPath, requestedState);
    
            // Create directory cache entry
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NameQueryResponseTest.java

        private NameQueryResponse nameQueryResponse;
    
        @BeforeEach
        void setUp() {
            // Mock the OEM encoding configuration with lenient stubbing
            // since not all tests need this stub
            lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
    
            // Initialize NameQueryResponse before each test
            nameQueryResponse = new NameQueryResponse(mockConfig);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeConnection.java

                        return loc;
                    }
                    // need to adjust request path
                    final DfsReferralData dr = t.getTreeReferral();
                    if (dr != null) {
                        if (log.isDebugEnabled()) {
                            log.debug(String.format("Need to adjust request path %s (full: %s) -> %s", rpath, rfullpath, dr));
                        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  6. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // Given
            Smb2EncryptionContext context = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey);
    
            // 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,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NbtAddressTest.java

            assertArrayEquals(new byte[] { (byte) 192, (byte) 168, (byte) 1, (byte) 1 }, nbtAddress.getAddress());
            // Don't test isGroupAddress and getNodeType here as they don't need context for known hosts
        }
    
        @Test
        void testConstructorWithAllParameters() throws UnknownHostException {
            // Test the constructor with all parameters
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            }
    
            // Check if key rotation is needed (including the current message)
            if (needsKeyRotation(message.length)) {
                log.warn("Encryption keys need rotation - will exceed usage limits (bytes: {} + {}, time: {} ms)", bytesEncrypted.get(),
                        message.length, System.currentTimeMillis() - encryptionStartTime);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  9. src/main/config/openapi/openapi-user.yaml

          tags:
            - popularword
          summary: List popular words
          description: Returns available labels
          operationId: listPopularWords
          parameters:
            - name: seed
              in: query
              description: Random seed to return popular words
              required: false
              schema:
                type: string
                example: 123
            - name: label
              in: query
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu May 09 06:31:27 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                        while (timeout > 0) {
                            response.wait(timeout);
    
                            /* JetDirect printer can respond to regular broadcast query
                             * with node status so we need to check to make sure that
                             * the record type matches the question type and if not,
                             * loop around and try again.
                             */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top