- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for Delete (0.06 sec)
-
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
Path dir = fs.getPath("dir"); assertEquals(6, MoreFiles.listFiles(dir).size()); method.delete(dir); method.assertDeleteSucceeded(dir); assertEquals( "contents of /dontdelete deleted by delete method " + method, 3, MoreFiles.listFiles(fs.getPath("/dontdelete")).size()); } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 26.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/SourceSinkFactories.java
} protected File getFile() { return fileThreadLocal.get(); } public final void tearDown() throws IOException { if (!fileThreadLocal.get().delete()) { logger.warning("Unable to delete file: " + fileThreadLocal.get()); } fileThreadLocal.remove(); } } private static class FileByteSourceFactory extends FileFactory implements ByteSourceFactory {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 12.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/MinMaxPriorityQueue.java
// is now at the end of queue. If that's the element we wanted to remove in the first place, // don't try to (incorrectly) trickle it. Instead, just delete it and we're done. queue[size] = null; return null; } E toTrickle = elementData(size); queue[size] = null; MoveDesc<E> changes = fillHole(index, toTrickle);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 34.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
for (AvlNode<E> current = header.succ(); current != header; ) { AvlNode<E> next = current.succ(); current.elemCount = 0; // Also clear these fields so that one deleted Entry doesn't retain all elements. current.left = null; current.right = null; current.pred = null; current.succ = null; current = next; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 34.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/MoreFiles.java
* after attempting to delete all files, an {@code IOException} is thrown containing those * exceptions as {@linkplain Throwable#getSuppressed() suppressed exceptions}. * * <h2>Warning: Security of recursive deletes</h2> * * <p>On a file system that supports symbolic links and does <i>not</i> support {@link * SecureDirectoryStream}, it is possible for a recursive delete to delete files and directories
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 35K bytes - Viewed (0) -
guava/src/com/google/common/io/MoreFiles.java
* after attempting to delete all files, an {@code IOException} is thrown containing those * exceptions as {@linkplain Throwable#getSuppressed() suppressed exceptions}. * * <h2>Warning: Security of recursive deletes</h2> * * <p>On a file system that supports symbolic links and does <i>not</i> support {@link * SecureDirectoryStream}, it is possible for a recursive delete to delete files and directories
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 34.5K bytes - Viewed (0) -
guava/src/com/google/common/io/RecursiveDeleteOption.java
/** * Specifies that the recursive delete should not throw an exception when it can't be guaranteed * that it can be done securely, without vulnerability to race conditions (i.e. when the file * system does not support {@link SecureDirectoryStream}). * * <p><b>Warning:</b> On a file system that supports symbolic links, it is possible for an
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/InsecureRecursiveDeleteException.java
import javax.annotation.CheckForNull; /** * Exception indicating that a recursive delete can't be performed because the file system does not * have the support necessary to guarantee that it is not vulnerable to race conditions that would * allow it to delete files and directories outside of the directory being deleted (i.e., {@link * SecureDirectoryStream} is not supported). *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/RecursiveDeleteOption.java
/** * Specifies that the recursive delete should not throw an exception when it can't be guaranteed * that it can be done securely, without vulnerability to race conditions (i.e. when the file * system does not support {@link SecureDirectoryStream}). * * <p><b>Warning:</b> On a file system that supports symbolic links, it is possible for an
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
Path dir = fs.getPath("dir"); assertEquals(6, MoreFiles.listFiles(dir).size()); method.delete(dir); method.assertDeleteSucceeded(dir); assertEquals( "contents of /dontdelete deleted by delete method " + method, 3, MoreFiles.listFiles(fs.getPath("/dontdelete")).size()); } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 27.4K bytes - Viewed (0)