- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for f2 (0.23 sec)
-
src/test/java/jcifs/tests/FileOperationsTest.java
SmbFile f2 = new SmbFile(defaultShareRoot, makeRandomName()) ) { f.createNewFile(); boolean renamed = false; try { f.renameTo(f2); try { assertTrue(f2.exists()); renamed = true; } finally { f2.delete(); } }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:17:59 GMT 2023 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
CIFSContext tc = withTestNTLMCredentials(ctx); String url = getTestShareURL() + f.getName() + "a/"; try ( SmbFile f2 = new SmbFile(url, tc) ) { f2.list(); } } finally { f.delete(); } } } @Test
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 25.5K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
} protected int compareNames ( SmbFile f1, String f1name, SmbFile f2 ) throws IOException { if ( f1.isDirectory() != f2.isDirectory() ) { return f1.isDirectory() ? -1 : 1; } return f1name.compareToIgnoreCase(f2.getName()); } protected int compareSizes ( SmbFile f1, String f1name, SmbFile f2 ) throws IOException { long diff;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 21.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NetworkExplorer.java
if( f1.isDirectory() != f2.isDirectory() ) { return f1.isDirectory() ? -1 : 1; } return f1name.compareToIgnoreCase( f2.getName() ); } protected int compareSizes( SmbFile f1, String f1name, SmbFile f2 ) throws IOException { long diff; if( f1.isDirectory() != f2.isDirectory() ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Wed Jan 22 03:57:31 GMT 2020 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/tests/SessionTest.java
String loc = getTestShareURL(); try ( SmbResource f1 = ctx.get(loc) ) { f1.exists(); try ( SmbResource f2 = ctx.get(loc) ) { f2.exists(); connectionMatches(f1, f2); } } } @Test public void transportReuseAnon () throws CIFSException {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 15.8K bytes - Viewed (0)