- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for largeFile (0.59 sec)
-
src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java
private final boolean largeFile; private int pid; private long byteOffset; private long lengthInBytes; /** * Constructs a LockingAndXRange with large file support. * * @param largeFile whether to use large file support (64-bit offsets) */ public LockingAndXRange(final boolean largeFile) { this.largeFile = largeFile; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java
private int fid; private byte typeOfLock; private byte newOpLockLevel; private long timeout; private LockingAndXRange[] locks; private LockingAndXRange[] unlocks; private boolean largeFile; /** * Creates a new SMB1 locking request for file byte-range locking operations. * * @param config the CIFS configuration */ public SmbComLockingAndX(final Configuration config) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
setField(cmd, "unlocks", new LockingAndXRange[0]); setField(cmd, "largeFile", false); byte[] buf = new byte[12]; // Buffer needs to be at least 12 bytes for the parameter words cmd.writeParameterWordsWireFormat(buf, 0); // The flag must be present so the command recognises largeFile SmbComLockingAndX copy = new SmbComLockingAndX(cfg);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
*/ @Test public void testReadBytes_LargeFile() throws Exception { final File largeFile = tempFolder.newFile("large.dat"); // Create a file larger than MAX_BUF_SIZE (10MB) // Write 11MB of data try (FileOutputStream fos = new FileOutputStream(largeFile)) { final byte[] chunk = new byte[1024 * 1024]; // 1MB for (int i = 0; i < 11; i++) { // Write 11MBRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 10.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbClientTest.java
byte[] largeContent = new byte[10 * 1024 * 1024]; // 10MB for (int i = 0; i < largeContent.length; i++) { largeContent[i] = (byte) (i % 256); } Files.write(publicDir.resolve("largefile.bin"), largeContent); Files.createFile(publicDir.resolve("empty.txt")); // Setup special characters directory Files.writeString(specialDir.resolve("file with spaces.txt"), "spaces");
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Tue Sep 23 06:42:59 UTC 2025 - 30K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java
byte[] largeContent = new byte[10 * 1024 * 1024]; // 10MB for (int i = 0; i < largeContent.length; i++) { largeContent[i] = (byte) (i % 256); } Files.write(largeDir.resolve("largefile.bin"), largeContent); // Special character files for test_specialCharactersInFileName Path specialDir = publicDir.resolve("special"); Files.createDirectory(specialDir);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Tue Sep 23 06:42:59 UTC 2025 - 31.9K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
CIFSContext context = getTestContext(); context.getConfig().setProperty("jcifs.smb.client.useRDMA", "true"); SmbFile file = new SmbFile("smb://server/share/largefile.dat", context); // Measure RDMA transfer performance byte[] data = new byte[10485760]; // 10MB Arrays.fill(data, (byte)0x42); long start = System.currentTimeMillis();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
context.getConfig().setProperty("jcifs.smb.client.useMultiChannel", "true"); context.getConfig().setProperty("jcifs.smb.client.maxChannels", "4"); SmbFile file = new SmbFile("smb://server/share/largefile.dat", context); // Measure single channel throughput long singleChannelTime = measureReadTime(file, false); // Measure multi-channel throughput
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
} // ========== Advanced Features ========== @Test void testLargeFileOperations() throws Exception { SmbFile file = new SmbFile(baseUrl + "shared/largefile.bin", context); // Create a smaller test file (1KB instead of 1MB) byte[] data = new byte[1024]; for (int i = 0; i < data.length; i++) { data[i] = (byte) (i % 256); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
// Use large but valid time values long largeTime = System.currentTimeMillis() + 365L * 24 * 60 * 60 * 1000; // 1 year from now int maxAttributes = Integer.MAX_VALUE; FileBasicInfo info = new FileBasicInfo(largeTime, largeTime, largeTime, largeTime, maxAttributes); // Encode and decode byte[] buffer = new byte[50];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)