- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for 0x10000 (0.15 sec)
-
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
when(mockTree.areSignaturesActive()).thenReturn(false); when(mockConfig.getReceiveBufferSize()).thenReturn(0x200000); // large to allow big block size when(mockTree.getReceiveBufferSize()).thenReturn(0x200000); when(mockTree.getMaximumBufferSize()).thenReturn(0x200000); // Make TYPE_FILESYSTEM path, not named pipe
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
@Test @DisplayName("writeWireFormat should handle large lengths correctly") void testWriteWireFormatLargeLength() { packet.type = SessionServicePacket.SESSION_MESSAGE; packet.trailerLength = 0x10000; // Length requiring extended bit byte[] dst = new byte[100]; packet.writeWireFormat(dst, 0); assertEquals((byte) 0x01, dst[1]); // Extended length bit should be set }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
byte[] maxData = new byte[0xFFFF]; Arrays.fill(maxData, (byte) 0x55); transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, maxData, 0, maxData.length); byte[] dst = new byte[0x10000]; // When int bytesWritten = transCallNamedPipe.writeDataWireFormat(dst, 0); // Then assertEquals(maxData.length, bytesWritten); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java
srvsvc.ShareInfoCtr502 ctr502 = new srvsvc.ShareInfoCtr502(); when(mockNdrBuffer.dec_ndr_long()).thenReturn(10, 1); // count, array pointer when(mockDeferredBuffer.dec_ndr_long()).thenReturn(0x10000); // invalid array size assertThrows(NdrException.class, () -> ctr502.decode(mockNdrBuffer)); } @Test void testShareEnumAllConstructor() { String servername = "\\\\SERVER";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
assertEquals(0x8000, Smb2CreateRequest.FILE_NO_COMPRESSION); assertEquals(0x10000, Smb2CreateRequest.FILE_OPEN_REQUIRING_OPLOCK); assertEquals(0x20000, Smb2CreateRequest.FILE_DISALLOW_EXCLUSIVE); assertEquals(0x100000, Smb2CreateRequest.FILE_RESERVE_OPFILTER); assertEquals(0x200000, Smb2CreateRequest.FILE_OPEN_REPARSE_POINT);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
/** * The file is being opened and an oplock is being requested as an atomic operation */ public static final int FILE_OPEN_REQUIRING_OPLOCK = 0x10000; /** * Any open of this file cannot be exclusive */ public static final int FILE_DISALLOW_EXCLUSIVE = 0x20000; /** * Reserve an opportunistic lock filter on the open */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
} @Test @DisplayName("Test buffer configuration getters") void testBufferConfigurationGetters() { assertEquals(0xFFFF - 512, config.getTransactionBufferSize()); assertEquals(0x10000, config.getMaximumBufferSize()); assertEquals(16, config.getBufferCacheSize()); assertEquals(200, config.getListCount()); assertEquals(65435, config.getListSize());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
/** Order of name resolution methods to use */ protected List<ResolverType> resolverOrder; /** Maximum buffer size for IO operations */ protected int maximumBufferSize = 0x10000; /** Maximum buffer size for SMB transaction operations */ protected int transactionBufferSize = 0xFFFF - 512; /** Number of buffers to keep in cache */ protected int bufferCacheSize = 16;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
/** Unicode capability */ int CAP_UNICODE = 0x0004; /** Large files capability */ int CAP_LARGE_FILES = 0x0008; /** NT SMBs capability */ int CAP_NT_SMBS = 0x0010; /** RPC remote APIs capability */ int CAP_RPC_REMOTE_APIS = 0x0020; /** 32-bit status codes capability */ int CAP_STATUS32 = 0x0040; /** Level II oplocks capability */ int CAP_LEVEL_II_OPLOCKS = 0x0080;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/SmbConstantsTest.java
assertEquals(0x0002, SmbConstants.CAP_MPX_MODE); assertEquals(0x0004, SmbConstants.CAP_UNICODE); assertEquals(0x0008, SmbConstants.CAP_LARGE_FILES); assertEquals(0x0010, SmbConstants.CAP_NT_SMBS); assertEquals(0x0020, SmbConstants.CAP_RPC_REMOTE_APIS); assertEquals(0x0040, SmbConstants.CAP_STATUS32); assertEquals(0x0080, SmbConstants.CAP_LEVEL_II_OPLOCKS);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0)