Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for printpath (0.26 sec)

  1. src/os/exec/lp_windows_test.go

    	},
    }
    
    func TestLookPathWindows(t *testing.T) {
    	// Not parallel: uses Chdir and Setenv.
    
    	// We are using the "printpath" command mode to test exec.Command here,
    	// so we won't be calling helperCommand to resolve it.
    	// That may cause it to appear to be unused.
    	maySkipHelperCommand("printpath")
    
    	// Before we begin, find the absolute path to cmd.exe.
    	// In non-short mode, we will use it to check the ground truth
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:38:12 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/converter.go

    		return
    	}
    
    	pathLen := len(c.parentPath)
    	c.pushKey(field)
    	errPath := strings.Join(c.parentPath, "")
    	c.parentPath = c.parentPath[:pathLen]
    	c.unknownFieldErrors = append(c.unknownFieldErrors, fmt.Errorf(`unknown field "%s"`, errPath))
    }
    
    func (c *fromUnstructuredContext) pushIndex(index int) {
    	if !c.returnUnknownFields {
    		return
    	}
    
    	c.parentPath = append(c.parentPath, "[", strconv.Itoa(index), "]")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 16:02:13 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  3. platforms/software/resources/src/main/java/org/gradle/internal/resource/ExternalResourceName.java

            String parentPath = extractPath(parent);
            String childPath = path.startsWith("/") ? path.substring(1) : path;
            if (childPath.length() == 0) {
                return parentPath;
            } else if (parentPath.endsWith("/")) {
                return parentPath + childPath;
            } else {
                return parentPath + "/" + childPath;
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/DefaultCopySpec.java

                RelativePath parentPath;
                if (parentResolver == null) {
                    parentPath = new RelativePath(false);
                } else {
                    parentPath = parentResolver.getDestPath();
                }
    
                String path = DefaultCopySpec.this.getDestPath();
                if (path == null) {
                    return parentPath;
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:25:10 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  5. platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/DefaultJavaInstallationRegistry.java

            final File home = location.getLocation();
            final File parentPath = home.getParentFile();
            final boolean isEmbeddedJre = home.getName().equalsIgnoreCase("jre");
            if (isEmbeddedJre && hasJavaExecutable(parentPath)) {
                return location.withLocation(parentPath);
            }
            return location;
        }
    
        private File findJavaHome(File potentialHome) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:46:10 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/LibrariesSourceGenerator.java

                }
                String parentPath = parent.getPath();
                return parentPath.isEmpty() ? name : parentPath + "." + name;
            }
    
            String getFullAlias() {
                if (parent == null || wrapping) {
                    return "";
                }
                String parentPath = parent.getFullAlias();
                return parentPath.isEmpty() ? name : parentPath + "." + name;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 36K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultProjectStateRegistry.java

                    // Ideally they would be exactly the same, always
                    Path parentPath = owner.calculateIdentityPathForProject(descriptor.getParent().path());
                    ProjectStateImpl parentState = projectsByPath.get(parentPath);
                    if (parentState == null) {
                        throw new IllegalStateException("Parent project " + parentPath + " is not registered for project " + identityPath);
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 21K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/DelegatingCopySpecInternal.java

            getDelegateCopySpec().addChildSpecListener(listener);
        }
    
        @Override
        public void visit(CopySpecAddress parentPath, CopySpecVisitor visitor) {
            getDelegateCopySpec().visit(parentPath, visitor);
        }
    
        @Override
        public boolean hasCustomActions() {
            return getDelegateCopySpec().hasCustomActions();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 10:41:40 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/MoreFiles.java

          throws IOException {
        Path parentPath = getParentPath(path);
        if (parentPath == null) {
          throw new FileSystemException(path.toString(), null, "can't delete recursively");
        }
    
        Collection<IOException> exceptions = null; // created lazily if needed
        try {
          boolean sdsSupported = false;
          try (DirectoryStream<Path> parent = Files.newDirectoryStream(parentPath)) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  10. operator/pkg/manifest/shared.go

    		}
    	}
    
    	return outYAML, nil
    }
    
    // containParentPath checks if setFlags contain parent path.
    func containParentPath(setFlags []string, parentPath string) bool {
    	ret := false
    	for _, sf := range setFlags {
    		p, _ := getPV(sf)
    		if strings.Contains(p, parentPath) {
    			ret = true
    			break
    		}
    	}
    	return ret
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 06:27:07 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top