- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for maxFiles (0.16 sec)
-
tests/fuzz/analyzer_fuzzer.go
var files []local.ReaderSource numberOfFiles, err := f.GetInt() if err != nil { return files, err } maxFiles := numberOfFiles % 10 // Gather test files for i := 0; i < maxFiles; i++ { name, err := f.GetString() if err != nil { return files, err } rBytes, err := f.GetBytes() if err != nil { return files, err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 4.1K bytes - Viewed (0) -
src/go/internal/gcimporter/support.go
files map[string]*fileInfo } type fileInfo struct { file *token.File lastline int } const maxlines = 64 * 1024 func (s *fakeFileSet) pos(file string, line, column int) token.Pos { // TODO(mdempsky): Make use of column. // Since we don't know the set of needed file positions, we reserve // maxlines positions per file. We delay calling token.File.SetLines until
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 4.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/numberlines.go
} total += uint64(v.lp.last - v.lp.first) if maxfile < v.f { maxfile = v.f } if minline > v.lp.first { minline = v.lp.first } if maxline < v.lp.last { maxline = v.lp.last } } f.LogStat("SUM_LINE_RANGE", total, "MAXMIN_LINE_RANGE", maxline-minline, "MAXFILE", maxfile, "NFILES", len(entries)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 14 21:26:13 UTC 2023 - 7.8K bytes - Viewed (0) -
src/cmd/gofmt/gofmt_test.go
// gofmtFlags looks for a comment of the form // // //gofmt flags // // within the first maxLines lines of the given file, // and returns the flags string, if any. Otherwise it // returns the empty string. func gofmtFlags(filename string, maxLines int) string { f, err := os.Open(filename) if err != nil { return "" // ignore errors - they will be found later } defer f.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 10 19:22:49 UTC 2022 - 4.3K bytes - Viewed (0)