- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 98 for 4096 (1.39 sec)
-
src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java
bufferIndex += 2; final int numAces = ServerMessageBlock.readInt4(buffer, bufferIndex); bufferIndex += 4; if (numAces > 4096) { throw new IOException("Invalid SecurityDescriptor"); } aces = new ACE[numAces]; for (int i = 0; i < numAces; i++) { aces[i] = new ACE();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
FileFsFullSizeInformation info = (FileFsFullSizeInformation) response.getInfo(); assertEquals(2000000L * 16L * 4096L, info.getCapacity()); assertEquals(800000L * 16L * 4096L, info.getFree()); // This is caller available allocation units } @Test void testReadDataWireFormat_UnsupportedInformationLevel() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java
Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("/file"); assertEquals("/file", getPrivateField(cmd, "path")); assertEquals((byte) 0x00, getPrivateField(cmd, "maxSetupCount")); assertEquals(4096, getPrivateField(cmd, "maxDataCount")); } @Test @DisplayName("writeSetupWireFormat writes subCommand and padding") void testWriteSetup() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
assumeTrue(provider.isAvailable()); ByteBuffer buffer = ByteBuffer.allocateDirect(4096); RdmaMemoryRegion region = provider.registerMemory(buffer, EnumSet.of(RdmaAccess.LOCAL_READ, RdmaAccess.REMOTE_READ)); assertNotNull(region); assertEquals(4096, region.getSize()); assertTrue(region.hasAccess(RdmaAccess.LOCAL_READ)); region.close(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
void testSetMaxOutputResponse() { setupMockConfig(); Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE); int maxOutput = 4096; request.setMaxOutputResponse(maxOutput); assertNotNull(request); } @Test @DisplayName("Test setInputData method") void testSetInputData() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
lenient().when(tree.acquire()).thenReturn(tree); lenient().when(tree.getConfig()).thenReturn(config); lenient().when(config.getListCount()).thenReturn(10); lenient().when(config.getListSize()).thenReturn(4096); lenient().when(parent.getLocator()).thenReturn(locator); lenient().when(locator.getUNCPath()).thenReturn("\\\\SERVER\\Share\\dir\\"); // ends with \\ // Create URL with registered handler
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java
SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; final int numAces = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; if (numAces > 4096) { throw new SMBProtocolDecodingException("Invalid SecurityDescriptor"); } this.aces = new ACE[numAces]; for (int i = 0; i < numAces; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
byte[] buffer = new byte[22]; int idFileSystem = 0xABCDEF00; int sectPerAlloc = 4; long alloc = 500000L; long free = 250000L; int bytesPerSect = 4096; // Encode test data int offset = 0; SMBUtil.writeInt4(idFileSystem, buffer, offset); offset += 4; SMBUtil.writeInt4(sectPerAlloc, buffer, offset); offset += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ReaderUtil.java
*/ public abstract class ReaderUtil { /** * Do not instantiate. */ protected ReaderUtil() { } /** Default buffer size */ private static final int BUF_SIZE = 4096; /** * Creates a {@link Reader} to read from a file with the specified encoding. * * @param is * the input stream (must not be {@literal null}) * @param encoding
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.3K bytes - Viewed (0)