Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 263 for credit (0.07 sec)

  1. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            }
        }
    
        @Nested
        @DisplayName("Credit Tests")
        class CreditTests {
    
            @Test
            @DisplayName("Should return credit as granted credits")
            void testGetGrantedCredits() {
                int credits = 10;
                response.setCreditForTest(credits);
    
                assertEquals(credits, response.getGrantedCredits());
            }
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K 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/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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

        @Test
        @DisplayName("Test setRequestCredits sets credit value")
        void testSetRequestCredits() {
            // Given
            Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L);
            int credits = 10;
    
            // When
            request.setRequestCredits(credits);
    
            // Then
            assertEquals(credits, request.getCredit(), "Credits should be set correctly");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  7. docs/smb3-features/05-rdma-smb-direct-design.md

                    Thread.currentThread().interrupt();
                    throw new IOException("Interrupted waiting for send credit", e);
                }
            }
            
            if (!rdmaConnection.canSend()) {
                throw new IOException("Timeout waiting for RDMA send credit");
            }
        }
        
        @Override
        public void disconnect() throws IOException {
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

            }
        }
    
        @Nested
        @DisplayName("Credit Management Tests")
        class CreditManagementTests {
    
            @Test
            @DisplayName("Should get granted credits from credit field")
            void testGetGrantedCredits() {
                int credits = 15;
                echoResponse.setCredit(credits);
    
                assertEquals(credits, echoResponse.getGrantedCredits());
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/plugins/form-validator/lang/ca.js

    tipus %s estan permesos",groupCheckedRangeStart:"Si us plau, triï entre ",groupCheckedTooFewStart:"Si us plau, triï almenys ",groupCheckedTooManyStart:"Si us plau, triï un màxim de ",groupCheckedEnd:" element(s)",badCreditCard:"El número de targeta de crèdit proporcionat no és vàlid",badCVV:"CVV proporcionat no és vàlid",wrongFileDim:"Les dimensions de la imatge no són vàlides,",imageTooTall:"l'alçada de la imatge no pot ser major a",imageTooWide:"l'amplada de la imatge no pot ser major a",imageTooSmall:"la...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 2.6K bytes
    - Viewed (0)
Back to top