Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 179 for Dirs (0.04 sec)

  1. src/cmd/internal/test2json/testdata/smiley.json

    {"Action":"run","Test":"Test☺☹Dirs/incomplete"}
    {"Action":"output","Test":"Test☺☹Dirs/incomplete","Output":"=== RUN   Test☺☹Dirs/incomplete\n"}
    {"Action":"output","Test":"Test☺☹Dirs/incomplete","Output":"=== PAUSE Test☺☹Dirs/incomplete\n"}
    {"Action":"pause","Test":"Test☺☹Dirs/incomplete"}
    {"Action":"run","Test":"Test☺☹Dirs/cgo"}
    {"Action":"output","Test":"Test☺☹Dirs/cgo","Output":"=== RUN   Test☺☹Dirs/cgo\n"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 12.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Install.java

            List<File> dirs = listDirs(distDir);
            if (dirs.isEmpty()) {
                return InstallCheck.failure(format("Gradle distribution '%s' does not contain any directories. Expected to find exactly 1 directory.", distributionDescription));
            }
            if (dirs.size() != 1) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/file/DefaultSourceDirectorySet.java

        }
    
        @Override
        public FileCollection getSourceDirectories() {
            return dirs;
        }
    
        @Override
        public Set<File> getSrcDirs() {
            Set<File> dirs = new LinkedHashSet<>();
            for (DirectoryTree tree : getSrcDirTrees()) {
                dirs.add(tree.getDir());
            }
            return dirs;
        }
    
        @Override
        public Set<String> getIncludes() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Oct 29 02:23:21 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modload/import.go

    			for i := 0; i < len(mods)/2; i++ {
    				j := len(mods) - 1 - i
    				mods[i], mods[j] = mods[j], mods[i]
    				roots[i], roots[j] = roots[j], roots[i]
    				dirs[i], dirs[j] = dirs[j], dirs[i]
    			}
    			return module.Version{}, "", "", nil, &AmbiguousImportError{importPath: path, Dirs: dirs, Modules: mods}
    		}
    
    		if len(sumErrMods) > 0 {
    			for i := 0; i < len(sumErrMods)/2; i++ {
    				j := len(sumErrMods) - 1 - i
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  5. platforms/software/platform-base/src/main/java/org/gradle/platform/base/binary/BaseBinarySpec.java

            return new FixedBuildAbility(true);
        }
    
        public static void replaceSingleDirectory(Set<File> dirs, File dir) {
            switch (dirs.size()) {
                case 0:
                    dirs.add(dir);
                    break;
                case 1:
                    dirs.clear();
                    dirs.add(dir);
                    break;
                default:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  6. pkg/kubelet/kubeletconfig/util/files/files_test.go

    		// compute filesets from expected files and call ReplaceDir for each
    		// we don't nest dirs in test cases, order of ReplaceDir call is not guaranteed
    		dirs := map[string]map[string]string{}
    
    		// allocate dirs
    		for _, f := range c.expects {
    			if f.mode.IsDir() {
    				path := filepath.Join(dir, f.name)
    				if _, ok := dirs[path]; !ok {
    					dirs[path] = map[string]string{}
    				}
    			} else if f.mode.IsRegular() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 07 11:36:13 UTC 2022
    - 11.7K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/cache/internal/WrapperDistributionCleanupAction.java

            return listFiles(baseDir, null);
        }
    
        private List<File> listFiles(File baseDir, @Nullable FileFilter filter) {
            File[] dirs = baseDir.listFiles(filter);
            return dirs == null ? Collections.<File>emptyList() : Arrays.asList(dirs);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10K bytes
    - Viewed (0)
  8. src/cmd/go/internal/search/search.go

    // MatchDirs appends those errors to m.Errs.
    func (m *Match) MatchDirs(modRoots []string) {
    	m.Dirs = []string{}
    	if !m.IsLocal() {
    		m.AddError(fmt.Errorf("internal error: MatchDirs: %s is not a valid filesystem pattern", m.pattern))
    		return
    	}
    
    	if m.IsLiteral() {
    		m.Dirs = []string{m.pattern}
    		return
    	}
    
    	// Clean the path and create a matching predicate.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 20:33:05 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  9. pkg/volume/fc/fc_util.go

    	fcPathExp := "^(pci-.*-fc|fc)-0x" + wwn + "-lun-" + lun + "$"
    	r := regexp.MustCompile(fcPathExp)
    	devPath := byPath
    	if dirs, err := io.ReadDir(devPath); err == nil {
    		for _, f := range dirs {
    			name := f.Name()
    			if r.MatchString(name) {
    				if disk, err1 := io.EvalSymlinks(devPath + name); err1 == nil {
    					dm := deviceUtil.FindMultipathDeviceForDevice(disk)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 12.8K bytes
    - Viewed (0)
  10. pkg/volume/util/subpath/subpath_windows.go

    		return pathname, []string{}, nil
    	}
    
    	dirs := strings.Split(rel, string(filepath.Separator))
    
    	var parent string
    	currentPath := base
    	for i, dir := range dirs {
    		parent = currentPath
    		currentPath = filepath.Join(parent, dir)
    		if _, err := os.Lstat(currentPath); err != nil {
    			if os.IsNotExist(err) {
    				return parent, dirs[i:], nil
    			}
    			return base, nil, err
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 12:57:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
Back to top