- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 175 for credit (0.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()); } } @NestedRegistered: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 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"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.5K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
assertEquals(1, testRequest.getCreditCost()); } @Test @DisplayName("setRequestCredits should set credit value") void testSetRequestCredits() { int credits = 10; testRequest.setRequestCredits(credits); assertEquals(credits, testRequest.getCredit()); } @Test @DisplayName("setTid should set tree ID") void testSetTid() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
// Header length SMBUtil.writeInt2(64, buffer, bufferIndex + 4); // Credit charge SMBUtil.writeInt2(1, buffer, bufferIndex + 6); // Status SMBUtil.writeInt4(0, buffer, bufferIndex + 8); // Command - SMB2_SET_INFO (0x0011) SMBUtil.writeInt2(0x0011, buffer, bufferIndex + 12); // Credits SMBUtil.writeInt2(1, buffer, bufferIndex + 14); // FlagsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0)