- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for CREDITS (0.08 sec)
-
CREDITS
Harshavardhana <******@****.***> 1741843791 -0700
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Mar 13 05:29:51 UTC 2025 - 1.8M bytes - Viewed (0) -
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) -
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
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 @DisplayName("Test setTid sets tree ID") void testSetTid() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
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) -
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) -
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) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
@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 @DisplayName("Payload Handling Tests")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/RequestTest.java
} @Test void testSetRequestCredits() { // Test case for setRequestCredits method int credits = 5; mockRequest.setRequestCredits(credits); // Verify that setRequestCredits was called with the correct argument verify(mockRequest, times(1)).setRequestCredits(credits); } @Test void testIsCancelTrue() { // Test case for isCancel method when it returns true
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
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)