- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 12 for largeFile (0.33 seconds)
-
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; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.1K bytes - Click Count (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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (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) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.2K bytes - Click Count (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 11MBCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 10.3K bytes - Click Count (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();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 35.9K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 39.6K bytes - Click Count (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); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 56K bytes - Click Count (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];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java
"ratio of equals/hashCode/compareTo operations to build with %s entries versus %s" + " entries", largeSize, smallSize) .that(ratio) .isAtMost( 2 * constructionAsymptotics.applyAsDouble(largeSize) / constructionAsymptotics.applyAsDouble(smallSize)); // allow up to 2x wobble in the constant factors } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/storage/StorageItemTest.java
assertEquals("", item.getEncodedId()); } public void test_largeFileSize() { final long largeSize = 10737418240L; // 10 GB final StorageItem item = new StorageItem("large-file.zip", "/backups/", false, largeSize, null, "bGFyZ2UtZmlsZS56aXA="); assertEquals(largeSize, item.getSize()); } public void test_rootPath() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 12:58:11 GMT 2026 - 4.6K bytes - Click Count (0)