Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 751 for parent (0.09 seconds)

  1. cmd/os-reliable.go

    	}
    
    	return nil
    }
    
    // Reliably retries os.MkdirAll if for some reason os.MkdirAll returns
    // syscall.ENOENT (parent does not exist).
    func reliableMkdirAll(dirPath string, mode os.FileMode, baseDir string) (err error) {
    	i := 0
    	for {
    		// Creates all the parent directories, with mode 0777 mkdir honors system umask.
    		if err = osMkdirAll(dirPath, mode, baseDir); err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  2. compat/maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/BaseObject.java

        public BaseObject(Object delegate, BaseObject parent) {
            this.delegate = requireNonNull(delegate, "delegate cannot be null");
            this.childrenTracking = parent != null ? parent::replace : null;
        }
    
        public BaseObject(Object delegate, ChildrenTracking parent) {
            this.delegate = requireNonNull(delegate, "delegate cannot be null");
            this.childrenTracking = parent;
        }
    
        public Object getDelegate() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/test/resources/poms/inheritance/module-path-not-artifactId-expected.xml

      <modelVersion>4.0.0</modelVersion>
    
      <parent>
        <groupId>inheritance</groupId>
        <artifactId>parent</artifactId>
        <version>11-SNAPSHOT</version>
      </parent>
    
      <groupId>inheritance</groupId>
      <artifactId>child-artifact-id</artifactId>
      <version>11-SNAPSHOT</version>
      <name>Model inheritance test parent: module directory != artifactId</name>
      <description>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  4. api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestTraceTest.java

        void testRequestTraceCreation() {
            RequestTrace parentTrace = new RequestTrace("parent-context", null, "parent-data");
            RequestTrace childTrace = new RequestTrace("child-context", parentTrace, "child-data");
    
            assertEquals("parent-context", parentTrace.context());
            assertNull(parentTrace.parent());
            assertEquals("parent-data", parentTrace.data());
    
            assertEquals("child-context", childTrace.context());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/FileEntryAdapterIterator.java

        private final ResourceFilter filter;
        private final SmbResource parent;
        private SmbResource next;
    
        /**
         * @param parent
         * @param delegate
         * @param filter
         *
         */
        public FileEntryAdapterIterator(final SmbResource parent, final CloseableIterator<FileEntry> delegate, final ResourceFilter filter) {
            this.parent = parent;
            this.delegate = delegate;
            this.filter = filter;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/MoreFiles.java

      /**
       * Returns a path to the parent directory of the given path. If the path actually has a parent
       * path, this is simple. Otherwise, we need to do some trickier things. Returns null if the path
       * is a root or is the empty path.
       */
      private static @Nullable Path getParentPath(Path path) {
        Path parent = path.getParent();
    
        // Paths that have a parent:
        if (parent != null) {
          // "/foo" ("/")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 34.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

            void nullDelegate_throwsNPE() throws Exception {
                SmbFile parent = newParent();
                assertThrows(NullPointerException.class, () -> new ShareEnumIterator(parent, null, null));
            }
    
            @Test
            @DisplayName("Null parent with non-empty iterator causes NullPointerException during adapt")
            void nullParent_throwsNPE() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

            depth = 0;
            parents = Collections.emptyList();
            parent = null;
        }
    
        public ResolutionNode(Artifact artifact, List<ArtifactRepository> remoteRepositories, ResolutionNode parent) {
            this.artifact = artifact;
            this.remoteRepositories = remoteRepositories;
            depth = parent.depth + 1;
            parents = new ArrayList<>();
            parents.addAll(parent.parents);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

            this.leaseFlags = leaseFlags;
        }
    
        /**
         * Gets the parent lease key for directory hierarchies
         * @return the parent lease key
         */
        public Smb2LeaseKey getParentLeaseKey() {
            return parentLeaseKey;
        }
    
        /**
         * Sets the parent lease key for directory hierarchies
         * @param parentLeaseKey the parent lease key to set
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/io/MoreFilesTest.java

        Path file = root().resolve("parent/nonexistent.file");
        Path parent = file.getParent();
        assertFalse(Files.exists(parent));
        assertThrows(IOException.class, () -> MoreFiles.createParentDirectories(file));
      }
    
      public void testCreateParentDirectories_nonDirectoryParentExists() throws IOException {
        Path parent = createTempFile();
        assertTrue(Files.isRegularFile(parent));
        Path file = parent.resolve("foo");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
Back to Top