Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 107 for getDdd (0.04 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            when(mockConfig.getPid()).thenReturn(1234);
    
            // When
            smbComTreeDisconnect = new SmbComTreeDisconnect(mockConfig);
    
            // Then
            assertNotNull(smbComTreeDisconnect);
            assertEquals(ServerMessageBlock.SMB_COM_TREE_DISCONNECT, smbComTreeDisconnect.getCommand());
            verify(mockConfig).getPid(); // Verify getPid was called
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

         */
        public int getMaximalAccess() {
            return this.maximalAccess;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.TreeConnectResponse#getTid()
         */
        @Override
        public final int getTid() {
            return getTreeId();
        }
    
        @Override
        public boolean isValidTid() {
            return getTreeId() != -1;
        }
    
        /**
         * {@inheritDoc}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SIDTest.java

            }
    
            @Test
            @DisplayName("getRid throws for domain SIDs")
            void testGetRidForDomainThrows() {
                byte[] ident = new byte[] { 0, 0, 0, 0, 0, 5 };
                SID domain = new SID(buildSidT((byte) 1, ident, 10, 20), jcifs.SID.SID_TYPE_DOMAIN, "DOM", null, false);
                IllegalArgumentException ex = assertThrows(IllegalArgumentException.class, domain::getRid);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            // Test at various positions in the buffer
            int[] positions = { 0, 10, 50, 100, 150 };
    
            for (int pos : positions) {
                when(mockConfig.getPid()).thenReturn(1234); // Mock getPid for each new instance
                response = new TestSmbComNtTransactionResponse(mockConfig); // Reset response
    
                // Fill buffer at position
                for (int i = 0; i < 37; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

         *            The initial sequence number for signing
         */
        public SMB1SigningDigest(final byte[] macSigningKey, final boolean bypass, final int initialSequence) {
            this.digest = Crypto.getMD5();
            this.macSigningKey = macSigningKey;
            this.signSequence = initialSequence;
            this.bypass = bypass;
    
            if (log.isTraceEnabled()) {
                log.trace("macSigningKey:");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

        }
    
        @Test
        @DisplayName("Test configuration usage")
        void testConfigurationUsage() {
            // Verify configuration is used - getPid() is called in parent constructor
            verify(mockConfig, atLeastOnce()).getPid();
        }
    
        @Test
        @DisplayName("Test transaction response with different commands")
        void testTransactionResponseWithDifferentCommands() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            // Test mid methods
            long mid = 123456L;
            doNothing().when(response).setMid(mid);
            when(response.getMid()).thenReturn(mid);
            response.setMid(mid);
            assertEquals(mid, response.getMid());
    
            // Test command methods
            int command = 0x25;
            doNothing().when(response).setCommand(command);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

                        th.getConfig().getListSize() - FIND_OVERHEAD), this.response);
    
                this.nextRequest = new Trans2FindNext2(th.getConfig(), this.response.getSid(), this.response.getResumeKey(),
                        this.response.getLastName(), th.getConfig().getListCount(), th.getConfig().getListSize() - FIND_OVERHEAD);
            } catch (final SmbException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SIDTest.java

            rpcSid.sub_authority = new int[] { 21, 123, 456, 789, 1000 };
    
            SID userSid = new SID(rpcSid, SID.SID_TYPE_USER, "MYDOMAIN", "user", false);
            assertEquals(1000, userSid.getRid());
        }
    
        /**
         * Test getting the RID from a domain SID.
         *
         * @throws SmbException if the SID string is invalid
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.getLocalTimezone();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getPid()
         */
        @Override
        public int getPid() {
            return this.delegate.getPid();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getMaxMpxCount()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24.1K bytes
    - Viewed (0)
Back to top