Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 280 for filename (0.11 sec)

  1. guava/src/com/google/common/io/Files.java

       * @since 14.0
       */
      public static String getNameWithoutExtension(String file) {
        checkNotNull(file);
        String fileName = new File(file).getName();
        int dotIndex = fileName.lastIndexOf('.');
        return (dotIndex == -1) ? fileName : fileName.substring(0, dotIndex);
      }
    
      /**
       * Returns a {@link Traverser} instance for the file and directory tree. The returned traverser
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  2. src/cmd/go/internal/load/test.go

    }
    
    var testFileSet = token.NewFileSet()
    
    func (t *testFuncs) load(filename, pkg string, doImport, seen *bool) error {
    	// Pass in the overlaid source if we have an overlay for this file.
    	src, err := fsys.Open(filename)
    	if err != nil {
    		return err
    	}
    	defer src.Close()
    	f, err := parser.ParseFile(testFileSet, filename, src, parser.ParseComments|parser.SkipObjectResolution)
    	if err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  3. tests/integration/helm/upgrade/util.go

    func performInPlaceUpgradeFunc(previousVersion string, isAmbient bool) func(framework.TestContext) {
    	return func(t framework.TestContext) {
    		cs := t.Clusters().Default().(*kubecluster.Cluster)
    		h := helm.New(cs.Filename())
    		nsConfig := helmtest.DefaultNamespaceConfig
    		t.CleanupConditionally(func() {
    			// only need to do call this once as helm doesn't need to remove
    			// all versions
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultFileCollectionFactory.java

        }
    
        @Override
        public FileTreeInternal generated(Factory<File> tmpDir, String fileName, Action<File> fileGenerationListener, Action<OutputStream> contentWriter) {
            return new FileTreeAdapter(new GeneratedSingletonFileTree(tmpDir, fileName, fileGenerationListener, contentWriter, fileSystem), listener, taskDependencyFactory, patternSetFactory);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 18:57:37 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathInstrumentationIntegrationTest.groovy

                }
            """
            file("$folderName/settings.gradle") << "rootProject.name = '$folderName'"
        }
    
        List<String> allTransformsFor(String fileName) {
            List<String> transforms = []
            def pattern = Pattern.compile("Transforming " + fileName + ".* with (.*)")
            for (def line : output.readLines()) {
                def matcher = pattern.matcher(line)
                if (matcher.matches()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 15:08:33 UTC 2024
    - 29K bytes
    - Viewed (0)
  6. istioctl/pkg/proxyconfig/proxyconfig.go

    	return setupConfigdumpEnvoyConfigWriter(debug, out)
    }
    
    func readFile(filename string) ([]byte, error) {
    	file := os.Stdin
    	if filename != "-" {
    		var err error
    		file, err = os.Open(filename)
    		if err != nil {
    			return nil, err
    		}
    	}
    	defer func() {
    		if err := file.Close(); err != nil {
    			log.Errorf("failed to close %s: %s", filename, err)
    		}
    	}()
    	return io.ReadAll(file)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 48K bytes
    - Viewed (0)
  7. src/internal/syscall/windows/syscall_windows.go

    	FileIndex       uint32
    	CreationTime    syscall.Filetime
    	LastAccessTime  syscall.Filetime
    	LastWriteTime   syscall.Filetime
    	ChangeTime      syscall.Filetime
    	EndOfFile       uint64
    	AllocationSize  uint64
    	FileAttributes  uint32
    	FileNameLength  uint32
    	EaSize          uint32
    	ShortNameLength uint32
    	ShortName       [12]uint16
    	FileID          uint64
    	FileName        [1]uint16
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/resolver.go

    		return
    	}
    
    	check.declare(check.pkg.scope, ident, obj, nopos)
    	check.objMap[obj] = d
    	obj.setOrder(uint32(len(check.objMap)))
    }
    
    // filename returns a filename suitable for debugging output.
    func (check *Checker) filename(fileNo int) string {
    	file := check.files[fileNo]
    	if pos := file.Pos(); pos.IsKnown() {
    		// return check.fset.File(pos).Name()
    		// TODO(gri) do we need the actual file name here?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. src/go/types/resolver.go

    		return
    	}
    
    	check.declare(check.pkg.scope, ident, obj, nopos)
    	check.objMap[obj] = d
    	obj.setOrder(uint32(len(check.objMap)))
    }
    
    // filename returns a filename suitable for debugging output.
    func (check *Checker) filename(fileNo int) string {
    	file := check.files[fileNo]
    	if pos := file.Pos(); pos.IsValid() {
    		return check.fset.File(pos).Name()
    	}
    	return fmt.Sprintf("file[%d]", fileNo)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/profile/merge.go

    		pm.functionsByID[src.ID] = f
    		return f
    	}
    	f := &Function{
    		ID:         uint64(len(pm.p.Function) + 1),
    		Name:       src.Name,
    		SystemName: src.SystemName,
    		Filename:   src.Filename,
    		StartLine:  src.StartLine,
    	}
    	pm.functions[k] = f
    	pm.functionsByID[src.ID] = f
    	pm.p.Function = append(pm.p.Function, f)
    	return f
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17K bytes
    - Viewed (0)
Back to top