Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for processFile (0.1 sec)

  1. src/cmd/gofmt/gofmt.go

    func (r *reporter) ExitCode() int {
    	return r.getState().exitCode
    }
    
    // If info == nil, we are formatting stdin instead of a file.
    // If in == nil, the source is the contents of the file with the given filename.
    func processFile(filename string, info fs.FileInfo, in io.Reader, r *reporter) error {
    	src, err := readFile(filename, info, in)
    	if err != nil {
    		return err
    	}
    
    	fileSet := token.NewFileSet()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        List<String> list =
            lines.readLines(
                new LineProcessor<List<String>>() {
                  List<String> list = Lists.newArrayList();
    
                  @Override
                  public boolean processLine(String line) throws IOException {
                    list.add(line);
                    return true;
                  }
    
                  @Override
                  public List<String> getResult() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/operations/trace/BuildOperationTrace.java

                Files.asCharSource(logFile, Charsets.UTF_8).readLines(new LineProcessor<Void>() {
                    @Override
                    public boolean processLine(@SuppressWarnings("NullableProblems") String line) {
                        Map<String, ?> map = uncheckedNonnullCast(slurper.parseText(line));
                        if (map.containsKey("startTime")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top