Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 170 for path (0.13 sec)

  1. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

              // ExampleStackTraces.
              ExampleStackTrace path = new ExampleStackTrace(preAcquiredLock, this);
              path.setStackTrace(entry.getValue().getStackTrace());
              path.initCause(found);
              return path;
            }
          }
          return null;
        }
      }
    
      /**
       * CycleDetectingLock implementations must call this method before attempting to acquire the lock.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/SourceSinkFactories.java

        private final ThreadLocal<Path> fileThreadLocal = new ThreadLocal<>();
    
        protected Path createFile() throws IOException {
          Path file = java.nio.file.Files.createTempFile("SinkSourceFile", "txt");
          fileThreadLocal.set(file);
          return file;
        }
    
        protected Path getPath() {
          return fileThreadLocal.get();
        }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Sep 09 17:57:59 GMT 2021
    - 17.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/MoreFilesTest.java

        Path path = tempDir.resolve("parent/nonexistent.file");
        Path parent = path.getParent();
        assertFalse(Files.exists(parent));
        MoreFiles.createParentDirectories(path);
        assertTrue(Files.exists(parent));
      }
    
      public void testCreateParentDirectories_multipleParentsNeeded() throws IOException {
        Path path = tempDir.resolve("grandparent/parent/nonexistent.file");
        Path parent = path.getParent();
    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)
  4. android/guava/src/com/google/common/reflect/ClassPath.java

        if (classpathAttribute != null) {
          for (String path : CLASS_PATH_ATTRIBUTE_SEPARATOR.split(classpathAttribute)) {
            URL url;
            try {
              url = getClassPathEntry(jarFile, path);
            } catch (MalformedURLException e) {
              // Ignore bad entry
              logger.warning("Invalid Class-Path entry: " + path);
              continue;
            }
    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)
  5. guava-tests/test/com/google/common/reflect/ClassPathTest.java

        }
        String oldPathSeparator = PATH_SEPARATOR.value();
        String oldClassPath = JAVA_CLASS_PATH.value();
        System.setProperty(PATH_SEPARATOR.key(), ":");
        System.setProperty(
            JAVA_CLASS_PATH.key(),
            Joiner.on(":")
                .join(
                    "relative/path/to/some.jar",
                    "/absolute/path/to/some.jar",
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Jul 10 17:06:37 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        }
        String oldPathSeparator = PATH_SEPARATOR.value();
        String oldClassPath = JAVA_CLASS_PATH.value();
        System.setProperty(PATH_SEPARATOR.key(), ":");
        System.setProperty(
            JAVA_CLASS_PATH.key(),
            Joiner.on(":")
                .join(
                    "relative/path/to/some.jar",
                    "/absolute/path/to/some.jar",
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/TempFileCreator.java

       */
      @IgnoreJRERequirement // used only when Path is available (and only from tests)
      @VisibleForTesting
      static void testMakingUserPermissionsFromScratch() throws IOException {
        // All we're testing is whether it throws.
        FileAttribute<?> unused = JavaNioCreator.userPermissions().get();
      }
    
      @IgnoreJRERequirement // used only when Path is available
    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)
  8. android/guava/src/com/google/common/io/Files.java

        }
    
        // split the path apart
        Iterable<String> components = Splitter.on('/').omitEmptyStrings().split(pathname);
        List<String> path = new ArrayList<>();
    
        // resolve ., .., and //
        for (String component : components) {
          switch (component) {
            case ".":
              continue;
            case "..":
              if (path.size() > 0 && !path.get(path.size() - 1).equals("..")) {
    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)
  9. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

      /**
       * Returns the URLs in the class path specified by the {@code java.class.path} {@linkplain
       * System#getProperty system property}.
       */
      // TODO(b/65488446): Make this a public API.
      private static ImmutableList<URL> parseJavaClassPath() {
        ImmutableList.Builder<URL> urls = ImmutableList.builder();
        for (String entry : Splitter.on(PATH_SEPARATOR.value()).split(JAVA_CLASS_PATH.value())) {
          try {
            try {
    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)
  10. android/guava/src/com/google/common/graph/Traverser.java

            return Traversal.inGraph(graph);
          }
        };
      }
    
      /**
       * Creates a new traverser for a directed acyclic graph that has at most one path from the start
       * node(s) to any node reachable from the start node(s), and has no paths from any start node to
       * any other start node, such as a tree or forest.
       *
       * <p>{@code forTree()} is especially useful (versus {@code forGraph()}) in cases where the data
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
Back to top