Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 301 for directory (0.16 sec)

  1. guava-tests/test/com/google/common/io/MoreFilesTest.java

       * being a real directory to being a symlink to another directory. It then calls
       * deleteDirectoryContents thousands of times on a directory whose subtree contains the file
       * that's switching between directory and symlink to try to ensure that under no circumstance does
       * deleteDirectoryContents follow the symlink to the other directory and delete that directory's
       * contents.
       *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/TempFileCreator.java

     * a file or directory that would be more accessible.
     */
    @J2ktIncompatible
    @GwtIncompatible
    @J2ObjCIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class TempFileCreator {
      static final TempFileCreator INSTANCE = pickSecureCreator();
    
      /**
       * @throws IllegalStateException if the directory could not be created (to implement the contract
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java

          try {
            try {
              urls.add(new File(entry).toURI().toURL());
            } catch (SecurityException e) { // File.toURI checks to see if the file is a directory
              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
            AssertionError error = new AssertionError("malformed class path entry: " + entry);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 13 20:26:15 GMT 2017
    - 2.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/StandardSystemProperty.java

      /** Line separator ("\n" on UNIX). */
      LINE_SEPARATOR("line.separator"),
    
      /** User's account name. */
      USER_NAME("user.name"),
    
      /** User's home directory. */
      USER_HOME("user.home"),
    
      /** User's current working directory. */
      USER_DIR("user.dir");
    
      private final String key;
    
      StandardSystemProperty(String key) {
        this.key = key;
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/EnumsTest.java

          try {
            try {
              urls.add(new File(entry).toURI().toURL());
            } catch (SecurityException e) { // File.toURI checks to see if the file is a directory
              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
            AssertionError error = new AssertionError("malformed class path entry: " + entry);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 8.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java

          try {
            try {
              urls.add(new File(entry).toURI().toURL());
            } catch (SecurityException e) { // File.toURI checks to see if the file is a directory
              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
            AssertionError error = new AssertionError("malformed class path entry: " + entry);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 13 20:26:15 GMT 2017
    - 2.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Files.java

       * create a directory, not a regular file. A common pitfall is to call {@code createTempFile},
       * delete the file and create a directory in its place, but this leads a race condition which can
       * be exploited to create security vulnerabilities, especially when executable files are to be
       * written into the directory.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/IoTestCase.java

        if (testFileUrl == null) {
          throw new RuntimeException("unable to locate testdata directory");
        }
    
        if (testFileUrl.getProtocol().equals("file")) {
          try {
            File testFile = new File(testFileUrl.toURI());
            testDir = testFile.getParentFile(); // the testdata directory
          } catch (Exception ignore) {
            // probably URISyntaxException or IllegalArgumentException
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/ClassPath.java

          currentPath.add(directory.getCanonicalFile());
          scanDirectory(directory, "", currentPath, builder);
        }
    
        /**
         * Recursively scan the given directory, adding resources for each file encountered. Symlinks
         * which have already been traversed in the current tree path will be skipped to eliminate
         * cycles; otherwise symlinks are traversed.
         *
         * @param directory the root of the directory to scan
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
  10. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

          try {
            try {
              urls.add(new File(entry).toURI().toURL());
            } catch (SecurityException e) { // File.toURI checks to see if the file is a directory
              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
            AssertionError error = new AssertionError("malformed class path entry: " + entry);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
Back to top