- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 94 for produce (1.44 sec)
-
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
String result = notifyChange.toString(); assertNotNull(result); // Hexdump.toHexString uses uppercase and produces only the specified width // Note: completionFilter is displayed with 4 hex chars, not 8 assertTrue(result.contains("fid=0x0000"));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.4K bytes - Viewed (0) -
src/main/java/jcifs/util/InputValidator.java
return a + b; } /** * Safe integer multiplication with overflow check * * @param a first operand * @param b second operand * @return product of a and b * @throws ArithmeticException if overflow occurs */ public static int safeMultiply(int a, int b) { validateIntegerMultiplication(a, b, "Multiplication"); return a * b; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
*/ package jcifs.smb1.smb1; import jcifs.smb1.Config; /** * Buffer cache implementation for SMB1 protocol operations. * Manages a pool of byte buffers to reduce garbage collection overhead. * * Performance optimizations: * - Uses ConcurrentLinkedQueue for O(1) operations * - Lock-free operations for better concurrency * - Proper buffer validation and limits */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
} return (int) result; } /** * Safely multiply integers checking for overflow * * @param a first value * @param b second value * @return product * @throws SmbException if overflow would occur */ public int safeMultiply(int a, int b) throws SmbException { totalValidations.incrementAndGet(); long result = (long) a * (long) b;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
channelInfo.setPrimary(true); int primaryScore = channelInfo.getScore(); assertTrue(primaryScore > baseScore); // High error rate should reduce score channelInfo.setState(ChannelState.ESTABLISHED); channelInfo.setPrimary(false); for (int i = 0; i < 20; i++) { channelInfo.incrementRequestsSent();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
// The third parameter is the size of the output string in characters // size = number of hex characters to output // Each byte produces 2 hex characters // Test basic conversion (srcIndex is ignored in the implementation) byte[] data1 = { 0x00, 0x01, 0x02, 0x03 }; assertEquals("00", Hexdump.toHexString(data1, 0, 2)); // 2 chars = 1 byteRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
windowStart = now; } recentAttempts.incrementAndGet(); lastAttempt = now; } void recordSuccess() { // Reduce counter on success to allow recovery recentAttempts.updateAndGet(val -> Math.max(0, val - 1)); } void reset() { recentAttempts.set(0); blocked.set(false);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
private static final double TIMING_TOLERANCE = 2.0; // 200% tolerance - JVM timing is inherently variable for timing variations @BeforeEach public void setUp() { // Warm up JVM to reduce JIT compilation effects for (int i = 0; i < 100; i++) { NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("testdomain", "testuser", "password123");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/QueryStringBuilder.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.3K bytes - Viewed (0)