- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 53 for differs (0.59 sec)
-
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/BufferCache.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs; /** * Internal API for managing reusable buffers * * @author mbechler * * <p>This interface is intended for internal use.</p> */ public interface BufferCache { /** * Gets a buffer from the cache or creates a new one if the cache is empty.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java
assertTrue(e.getMessage().contains("PAC")); } // Test exception for missing buffers @Test void testConstructorMissingBuffers() throws IOException { ByteArrayOutputStream baos = new ByteArrayOutputStream(); DataOutputStream dos = new DataOutputStream(baos); // Write header with no buffers dos.writeInt(Integer.reverseBytes(0));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ConstructorUtil.java
* @throws InstantiationRuntimeException if the class declaring the constructor is abstract * @throws IllegalAccessRuntimeException if the number of actual and formal parameters differ, if primitive arguments cannot be converted, or if the class is related to enums * @see Constructor#newInstance(Object[]) */ public static <T> T newInstance(final Constructor<T> constructor, final Object... args)Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/UrlQueueService.java
* * @param sessionId The session ID. */ void delete(String sessionId); /** * Deletes all URL queues. */ void deleteAll(); /** * Offers all URL queues. * * @param sessionId The session ID. * @param newUrlQueueList The list of new URL queues. */ void offerAll(String sessionId, List<QUEUE> newUrlQueueList); /**Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
void testMultipleReads() throws SMBProtocolDecodingException { // Given byte[] buffer1 = new byte[256]; byte[] buffer2 = new byte[256]; // Prepare both buffers with valid structure SMBUtil.writeInt2(4, buffer1, 0); SMBUtil.writeInt2(0, buffer1, 2); SMBUtil.writeInt2(4, buffer2, 10); SMBUtil.writeInt2(0, buffer2, 12); // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralRequestBuffer.java
import java.nio.charset.StandardCharsets; import jcifs.Encodable; import jcifs.internal.util.SMBUtil; /** * DFS (Distributed File System) referral request buffer encoder. * Creates encoded request buffers for DFS referral requests, specifying the maximum * referral level and target path for which DFS resolution is requested. * * @author mbechler */ public class DfsReferralRequestBuffer implements Encodable {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbAuthentication.java
* information for authenticating with an SMB server. * * <p> * It provides methods to set and retrieve the server address, port, username, * password, and domain. Additionally, it offers a method to construct a path * prefix for SMB URLs based on the configured server and port. * </p> * * <p> * The path prefix is in the format "smb://server:port/", where the port is
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
int writtenMaxDataCount = SMBUtil.readInt2(dst, maxDataCountOffset); assertEquals(maxDataCount, writtenMaxDataCount); } @Test @DisplayName("Test all read/write methods with null buffers") void testMethodsWithNullBuffers() { netShareEnum = new NetShareEnum(realConfig); // Write methods return 0 when buffer is null (no NullPointerException thrown)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java
assertTrue(str.startsWith("TransWaitNamedPipeResponse["), "toString should begin with class name"); } /** * Verify that all methods can be called with null buffers without * throwing exceptions. This test ensures robustness of the implementation. */ @Test void methodsHandleNullBuffersGracefully() { // Arrange
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0)