- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 295 for credits (0.1 seconds)
-
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/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/SmbNegotiationResponseTest.java
} @Test @DisplayName("Test initial credits edge cases") void testInitialCreditsEdgeCases() { // Test zero credits when(negotiationResponse.getInitialCredits()).thenReturn(0); assertEquals(0, negotiationResponse.getInitialCredits()); // Test negative credits (edge case) when(negotiationResponse.getInitialCredits()).thenReturn(-1);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java
} /** * Get the number of send credits requested * * @return credits requested */ public int getCreditsRequested() { return creditsRequested; } /** * Set the number of send credits requested * * @param creditsRequested credits to request */ public void setCreditsRequested(int creditsRequested) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 5.4K bytes - Click Count (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();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaCapabilities.java
*/ public static final int DEFAULT_RDMA_READ_WRITE_SIZE = 1048576; // 1MB /** * Default maximum number of receive credits */ public static final int DEFAULT_RECEIVE_CREDIT_MAX = 255; /** * Default target number of send credits */ public static final int DEFAULT_SEND_CREDIT_TARGET = 32; /** * Default maximum receive size (8KB) */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaConfigurationTest.java
assertEquals(65536, config.getRdmaMaxReceiveSize(), "Default max receive size should be 64KB"); assertEquals(255, config.getRdmaCredits(), "Default credits should be 255"); } @Test public void testRdmaConfigurationProperties() throws CIFSException { Properties props = new Properties(); props.setProperty("jcifs.smb.client.useRDMA", "true");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 5.1K bytes - Click Count (0) -
Dockerfile.hotfix
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=build /go/bin/minio* /usr/bin/ COPY --from=build /go/bin/mc* /usr/bin/ COPY --from=build /go/bin/cur* /usr/bin/ COPY CREDITS /licenses/CREDITS COPY LICENSE /licenses/LICENSE COPY dockerscripts/docker-entrypoint.sh /usr/bin/docker-entrypoint.sh EXPOSE 9000 VOLUME ["/data"] ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"]
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 3.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2CancelRequest.java
} /** * {@inheritDoc} * * @see jcifs.util.transport.Request#setRequestCredits(int) */ @Override public void setRequestCredits(final int credits) { setCredit(credits); } /** * {@inheritDoc} * * @see jcifs.internal.CommonServerMessageBlockRequest#setTid(int) */ @Override public void setTid(final int t) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/SmbNegotiationResponse.java
* * @return the transaction buffer size */ int getTransactionBufferSize(); /** * Gets the number of initial credits granted by the server for SMB2. * * @return number of initial credits the server grants */ int getInitialCredits(); /** * Checks whether a connection can be reused for the given configuration. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.9K bytes - Click Count (0)