- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 277 for credit (1.03 sec)
-
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) -
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) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K 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
@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) -
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) -
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) -
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) -
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) -
CONTRIBUTING.md
pull requests directly into the master branch. Instead, once a pull request is ready for merging, we'll make the appropriate changes in the internal codebase and, when the change is synced out, give the pull request author credit for the commit. Contributor License Agreement ----------------------------- Contributions to any Google project must be accompanied by a Contributor
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Nov 17 18:47:47 UTC 2023 - 3.7K bytes - Viewed (0)