Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 66 for credits (1.29 sec)

  1. src/test/java/jcifs/util/InputValidatorTest.java

            assertThrows(ArithmeticException.class, () -> InputValidator.safeMultiply(Integer.MIN_VALUE, 2));
        }
    
        @Test
        @DisplayName("Test credits validation")
        void testCreditsValidation() {
            assertDoesNotThrow(() -> InputValidator.validateCredits(0));
            assertDoesNotThrow(() -> InputValidator.validateCredits(100));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. docs/SMB3_IMPLEMENTATION_PLAN.md

    - [ ] Implement RDMA capability detection
    - [ ] Create RDMA negotiation context
    - [ ] Implement RDMA transport layer
    - [ ] Add RDMA buffer registration
    - [ ] Create RDMA read/write operations
    - [ ] Implement RDMA credits management
    - [ ] Add fallback to TCP when RDMA unavailable
    
    #### 5.3 Integration Points
    - Create new transport type alongside TCP
    - Modify negotiation to include RDMA contexts
    - Update read/write operations for RDMA
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                CommonServerMessageBlockRequest nextRequest = mock(CommonServerMessageBlockRequest.class);
                testBlock.prepare(nextRequest);
            }
    
            @Test
            @DisplayName("Test set request credits")
            void testSetRequestCredits() {
                testBlock.setRequestCredits(10);
            }
    
            @Test
            @DisplayName("Test set session ID")
            void testSetSessionId() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/config/BaseConfiguration.java

         */
        protected int rdmaMaxSendSize;
        /**
         * Maximum size in bytes for RDMA receive operations
         */
        protected int rdmaMaxReceiveSize;
        /**
         * Number of RDMA credits to request during negotiation
         */
        protected int rdmaCredits;
        /**
         * Flag indicating whether RDMA is currently enabled and available
         */
        protected boolean rdmaEnabled = false;
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            return 1;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Request#setRequestCredits(int)
         */
        @Override
        public void setRequestCredits(final int credits) {
    
        }
    
        /**
         * @return the command
         */
        @Override
        public final int getCommand() {
            return this.command;
        }
    
        /**
         * @param command
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        }
    
        /**
         * Gets the credit count for this message.
         *
         * @return the credit
         */
        public final int getCredit() {
            return this.credit;
        }
    
        /**
         * Sets the credit count for this message.
         *
         * @param credit
         *            the credit to set
         */
        public final void setCredit(final int credit) {
            this.credit = credit;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/CredentialsInternalTest.java

            TestCredentials creds = new TestCredentials("A", true, false, subject, false);
    
            // Act
            TestCredentials copy = creds.clone();
    
            // Assert
            assertNotSame(creds, copy, "clone must return a new instance");
            assertEquals(creds.getUserDomain(), copy.getUserDomain());
            assertEquals(creds.isAnonymous(), copy.isAnonymous());
            assertEquals(creds.isGuest(), copy.isGuest());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/context/CIFSContextCredentialWrapper.java

        private Credentials creds;
    
        /**
         * Constructs a CIFS context wrapper with custom credentials.
         *
         * @param delegate the context to wrap
         * @param creds
         *            Credentials to use
         */
        public CIFSContextCredentialWrapper(final AbstractCIFSContext delegate, final Credentials creds) {
            super(delegate);
            this.creds = creds;
        }
    
        /**
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/Smb2Constants.java

         */
        public static final int SMB2_GLOBAL_CAP_DFS = 0x1;
    
        /**
         * Server supports leasing
         */
        public static final int SMB2_GLOBAL_CAP_LEASING = 0x2;
    
        /**
         * Server supports multi-credit operations
         */
        public static final int SMB2_GLOBAL_CAP_LARGE_MTU = 0x4;
    
        /**
         * Server supports multi-channel connections
         */
        public static final int SMB2_GLOBAL_CAP_MULTI_CHANNEL = 0x8;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/context/AbstractCIFSContext.java

            Runtime.getRuntime().addShutdownHook(this);
        }
    
        /**
         * @param creds the credentials to use
         * @return a wrapped context with the given credentials
         */
        @Override
        public CIFSContext withCredentials(final Credentials creds) {
            return new CIFSContextCredentialWrapper(this, creds);
        }
    
        /**
         *
         * {@inheritDoc}
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top