- Sort Score
- Num 10 results
- Language All
Results 21 - 26 of 26 for createNewFile (0.09 seconds)
-
src/main/java/jcifs/smb1/smb1/SmbFile.java
* existance of the file and it's creation are an atomic operation with * respect to other filesystem activities. * @throws SmbException if an error occurs while creating the file */ public void createNewFile() throws SmbException { if (getUncPath0().length() == 1) { throw new SmbException("Invalid operation for workgroups, servers, or shares"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFile.java
log.debug("Failed to close after failure", e2); e.addSuppressed(e2); } throw e; } } @Override public void createNewFile() throws SmbException { if (this.fileLocator.isRootOrShare()) { throw new SmbException("Invalid operation for workgroups, servers, or shares"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 103.2K bytes - Click Count (0) -
docs/smb3-features/04-directory-leasing-design.md
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 36.2K bytes - Click Count (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
SmbFile file = new SmbFile("smb://server/share/test.txt", context); // Should work even if RDMA provider is not available file.createNewFile(); assertTrue(file.exists()); } ``` ## 8. Performance Monitoring ### 8.1 RDMA Statistics ```java public class RdmaStatistics {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/06-witness-protocol-design.md
CIFSContext context = getTestContext(); context.getConfig().setProperty("jcifs.smb.client.useWitness", "true"); SmbFile file = new SmbFile("smb://cluster-server/share/test.txt", context); file.createNewFile(); // Monitor for witness notifications TestWitnessListener listener = new TestWitnessListener(); // Simulate cluster failover (would require test environment setup)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Files.java
*/ @SuppressWarnings("GoodTime") // reading system time without TimeSource public static void touch(File file) throws IOException { checkNotNull(file); if (!file.createNewFile() && !file.setLastModified(System.currentTimeMillis())) { throw new IOException("Unable to update modification time of " + file); } } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 32.8K bytes - Click Count (0)