- Sort Score
- Num 10 results
- Language All
Results 1 - 9 of 9 for CREDITS (0.06 seconds)
-
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) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 13.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java
} /** * Get number of available send credits * * @return available send credits */ public int getAvailableSendCredits() { return sendCredits.get(); } /** * Get number of available receive credits * * @return available receive credits */ public int getAvailableReceiveCredits() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 8.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java
} /** * Get the number of send credits granted * * @return credits granted */ public int getCreditsGranted() { return creditsGranted; } /** * Set the number of send credits granted * * @param creditsGranted credits to grant */ public void setCreditsGranted(int creditsGranted) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 9.3K 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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
if (params.contains(RequestParam.NO_TIMEOUT)) { this.credits.acquire(cost); } else if (!this.credits.tryAcquire(cost, timeout, TimeUnit.MILLISECONDS)) { throw new SmbException("Failed to acquire credits in time"); } totalSize += size;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java
} /** * {@inheritDoc} * * @see jcifs.util.transport.Request#setRequestCredits(int) */ @Override public void setRequestCredits(final int credits) { setCredit(credits); } /** * {@inheritDoc} * * @see jcifs.internal.CommonServerMessageBlockRequest#getOverrideTimeout() */ @OverrideCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 7.2K bytes - Click Count (0) -
src/main/java/jcifs/Configuration.java
* * @return max receive size in bytes */ int getRdmaMaxReceiveSize(); /** * Get RDMA credits * * Number of receive credits to advertise to the server. * * @return number of credits */ int getRdmaCredits(); /** * Get whether RDMA is enabled * * @return true if RDMA is enabled, false otherwiseCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 25.4K bytes - Click Count (0) -
src/test/java/jcifs/util/InputValidatorTest.java
assertThrows(ArithmeticException.class, () -> InputValidator.safeMultiply(Integer.MIN_VALUE, 2)); } @Test @DisplayName("Test credits validation") void testCreditsValidation() { assertDoesNotThrow(() -> InputValidator.validateCredits(0)); assertDoesNotThrow(() -> InputValidator.validateCredits(100));
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.9K bytes - Click Count (0) -
src/main/java/jcifs/config/BaseConfiguration.java
*/ protected int rdmaMaxSendSize; /** * Maximum size in bytes for RDMA receive operations */ protected int rdmaMaxReceiveSize; /** * Number of RDMA credits to request during negotiation */ protected int rdmaCredits; /** * Flag indicating whether RDMA is currently enabled and available */ protected boolean rdmaEnabled = false; /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 36.5K bytes - Click Count (0)