- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 113 for credit (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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()); } } @NestedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.3K bytes - Click Count (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 */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 8.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
CONTRIBUTORS
https://github.com/google/guava/graphs/contributors. However, Git history over-counts some people's contributions because they were responsible for mirroring out changes from our internal repo. This files serves mainly to credit people who have not received proper credit in the Git history. Doug Lea, author of some concurrency libraries Joshua O'Madadhain (@jrtom), author of some common.graph commits beyond those that are already attributed to him in the Git history:
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 09 21:14:06 GMT 2025 - 1.7K bytes - Click Count (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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K bytes - Click Count (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"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (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()); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (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
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 17:53:05 GMT 2026 - 4.3K bytes - Click Count (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() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
SMBUtil.writeInt2(64, buffer, headerStart + 4); // Credit charge SMBUtil.writeInt2(1, buffer, headerStart + 6); // Status SMBUtil.writeInt4(0, buffer, headerStart + 8); // Command (READ = 0x0008) SMBUtil.writeInt2(0x0008, buffer, headerStart + 12); // Credit request/response SMBUtil.writeInt2(1, buffer, headerStart + 14); // Flags
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.1K bytes - Click Count (0)