Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for credits (0.04 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/RdmaCredits.java

            this.creditsGranted = 0;
        }
    
        /**
         * Get initial number of credits to request
         *
         * @return initial credits
         */
        public int getInitialCredits() {
            return initialCredits;
        }
    
        /**
         * Set initial credits
         *
         * @param initialCredits initial credits to request
         */
        public void setInitialCredits(int initialCredits) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java

        /**
         * Grant a send credit
         */
        public void grantSendCredit() {
            sendCredits.incrementAndGet();
        }
    
        /**
         * Grant a receive credit
         */
        public void grantReceiveCredit() {
            receiveCredits.incrementAndGet();
        }
    
        /**
         * Get number of available send credits
         *
         * @return available send credits
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/transport/RequestTest.java

            assertEquals(expectedCreditCost, actualCreditCost, "Credit cost should match the mocked value.");
            verify(mockRequest, times(1)).getCreditCost(); // Verify method was called once
        }
    
        @Test
        void testSetRequestCredits() {
            // Test case for setRequestCredits method
            int credits = 5;
            mockRequest.setRequestCredits(credits);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateRequest.java

            this.maxVersion = maxVersion;
        }
    
        /**
         * Get number of credits requested
         *
         * @return credits requested
         */
        public int getCreditsRequested() {
            return creditsRequested;
        }
    
        /**
         * Set number of credits requested
         *
         * @param creditsRequested credits to request
         */
        public void setCreditsRequested(int creditsRequested) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/transport/Request.java

    public interface Request extends Message {
    
        /**
         * Gets the number of credits this request requires.
         *
         * @return number of credits this request requires
         */
        int getCreditCost();
    
        /**
         * Sets the number of request credits.
         *
         * @param credits the number of credits to set
         */
        void setRequestCredits(int credits);
    
        /**
         * Checks if this is a cancel request.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateResponse.java

            this.selectedVersion = selectedVersion;
        }
    
        /**
         * Get number of credits granted
         *
         * @return credits granted
         */
        public int getCreditsGranted() {
            return creditsGranted;
        }
    
        /**
         * Set number of credits granted
         *
         * @param creditsGranted credits granted
         */
        public void setCreditsGranted(int creditsGranted) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/transport/Response.java

         * Set received status
         */
        void received();
    
        /**
         * Unset received status
         */
        void clearReceived();
    
        /**
         * Gets the number of credits granted by the server.
         *
         * @return number of credits granted by the server
         */
        int getGrantedCredits();
    
        /**
         * Gets the error status code.
         *
         * @return status code
         */
        int getErrorCode();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

        }
    
        /**
         * Get the number of send credits granted
         *
         * @return credits granted
         */
        public int getCreditsGranted() {
            return creditsGranted;
        }
    
        /**
         * Set the number of send credits granted
         *
         * @param creditsGranted credits to grant
         */
        public void setCreditsGranted(int creditsGranted) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java

        }
    
        /**
         * Get the number of send credits requested
         *
         * @return credits requested
         */
        public int getCreditsRequested() {
            return creditsRequested;
        }
    
        /**
         * Set the number of send credits requested
         *
         * @param creditsRequested credits to request
         */
        public void setCreditsRequested(int creditsRequested) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/rdma/RdmaConfigurationTest.java

            assertEquals(65536, config.getRdmaMaxReceiveSize(), "Default max receive size should be 64KB");
            assertEquals(255, config.getRdmaCredits(), "Default credits should be 255");
        }
    
        @Test
        public void testRdmaConfigurationProperties() throws CIFSException {
            Properties props = new Properties();
            props.setProperty("jcifs.smb.client.useRDMA", "true");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top