Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 187 for credit (0.03 sec)

  1. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            CIFSContext ctx2 = mock(CIFSContext.class);
            Configuration config2 = mock(Configuration.class);
            Credentials creds2 = mock(Credentials.class);
            NameServiceClient nsc2 = mock(NameServiceClient.class);
            when(ctx2.getConfig()).thenReturn(config2);
            when(ctx2.getCredentials()).thenReturn(creds2);
            when(ctx2.getNameServiceClient()).thenReturn(nsc2);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/InputValidator.java

        }
    
        /**
         * Validates SMB credits value
         *
         * @param credits the credits value to validate
         * @throws IllegalArgumentException if credits value is invalid
         */
        public static void validateCredits(int credits) {
            if (credits < 0) {
                throw new IllegalArgumentException("Credits cannot be negative: " + credits);
            }
            if (credits > MAX_CREDITS) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4K 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        }
    
        @Test
        @DisplayName("Test initial credits edge cases")
        void testInitialCreditsEdgeCases() {
            // Test zero credits
            when(negotiationResponse.getInitialCredits()).thenReturn(0);
            assertEquals(0, negotiationResponse.getInitialCredits());
    
            // Test negative credits (edge case)
            when(negotiationResponse.getInitialCredits()).thenReturn(-1);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaCapabilities.java

         */
        public static final int DEFAULT_RDMA_READ_WRITE_SIZE = 1048576; // 1MB
    
        /**
         * Default maximum number of receive credits
         */
        public static final int DEFAULT_RECEIVE_CREDIT_MAX = 255;
    
        /**
         * Default target number of send credits
         */
        public static final int DEFAULT_SEND_CREDIT_TARGET = 32;
    
        /**
         * Default maximum receive size (8KB)
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 2K 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top