zoekt: 27 files / 69 matches / 0.67ms neogrok: 20 files
/
55 matches github.com/sourcegraph/zoekt read.go 11 matches | Go | №1 578
579 // ReadMe tadata returns the metadata of index shard without reading
580 // the index data. The IndexFile is not closed.
581 func ReadMe tadata(inf IndexFile) ([]*Repository, *IndexMetadata, error) {
582 rd := &reader{r: inf}
590
591 // ReadMe tadataPathAlive is like ReadMe tadataPath except that it only returns
592 // alive repositories.
593 func ReadMe tadataPathAlive(p string) ([]*Repository, *IndexMetadata, error) {
594 repos, id, err := ReadMe tadataPath(p)
595 if err != nil {
Show 5 more matches github.com/isker/neogrok README .md 1 match | Markdown | №2 github.com/sourcegraph/zoekt README .md 1 match | Markdown | №3 github.com/sourcegraph/zoekt read_test.go 3 matches | Go | №5 439
440 func BenchmarkReadMe tadata(b *testing.B) {
441 file, err := os.Open("testdata/benchmark/zoekt_v16.00000.zoekt")
455 for i := 0; i < b.N; i++ {
456 repos, metadata, err := ReadMe tadata(indexFile)
457 if err != nil {
458 b.Fatalf("ReadMe tadata failed: %v", err)
459 }
46 // https://github.com/octokit/octokit.rb/commit/3d21ec53a331a6f037a91c368710b99387d012c1
47 // https://github.com/octokit/octokit.rb/blob/master/README .md
48 // https://github.com/octokit/octokit.rb/tree/master/lib
129 a file and in the <em>name</em> of the file:
130 <ExampleQuery query="README " /> matches both file names and file contents (though
131 the search engine tends to rank files containing file name matches higher than
135 with
136 <code>file:</code>, like <ExampleQuery query="file:README " />. (
137 <code>f:</code> is an equivalent abbreviation for <code>file:</code>).
141 expressions is <code>content:</code> or <code>c:</code>.
142 <ExampleQuery query="content:README " /> produces only matches that occur in
143 the content of files.
176 <td class="p-1">
177 <ExampleQuery query="f:README " />
178 <br />
179 <ExampleQuery query="f:README neogrok" />
180 <br />
Show 4 more matches 41 <li>
42 <ExampleQuery query="file:README test" />
43 <span class="text-xs">
109 <li>
110 <ExampleQuery query="readme " />
111 <span class="text-sm"> vs </span>
112 <ExampleQuery query="readme case:yes" />
113 </li>
114 <li>
115 <ExampleQuery query="README " />
116 <span class="text-sm"> vs </span>
117 <ExampleQuery query="README case:no" />
118 </li>
github.com/sourcegraph/zoekt ignore/ignore_test.go 2 matches | Go | №9 60 {
61 path: "dir1/readme .md",
62 wantMatch: true,
64 {
65 path: "dir1/dir2/readme .md",
66 wantMatch: true,
github.com/sourcegraph/zoekt tombstones.go 1 match | Go | №10 28 } else {
29 repos, _, err = ReadMe tadataPath(shardPath)
30 if err != nil {
github.com/sourcegraph/zoekt build/builder.go 5 matches | Go | №11 386
387 repos, index, err := zoekt.ReadMe tadataPathAlive(fn)
388 if os.IsNotExist(err) {
441
442 repositories, metadata, err := zoekt.ReadMe tadataPathAlive(shard)
443 if err != nil {
481 for _, fn := range compoundShards {
482 repos, _, err := zoekt.ReadMe tadataPathAlive(fn)
483 if err != nil {
679 for _, shard := range oldShards {
680 repositories, _, err := zoekt.ReadMe tadataPathAlive(shard)
681 if err != nil {
1003 var m runtime.MemStats
1004 runtime.ReadMe mStats(&m)
1005
github.com/sourcegraph/zoekt cmd/zoekt/main.go 2 matches | Go | №12 75 if verbose {
76 repo, index, err := zoekt.ReadMe tadata(iFile)
77 if err != nil {
78 iFile.Close()
79 return nil, fmt.Errorf("ReadMe tadata(%s): %v", fn, err)
80 }
github.com/sourcegraph/zoekt cmd/zoekt-test/main.go 2 matches | Go | №13 179 runtime.GC()
180 runtime.ReadMe mStats(&a)
181 start := time.Now()
187 runtime.GC()
188 runtime.ReadMe mStats(&b)
189 log.Printf("%s loaded in %d ms, additional memory consumption: %d MiB", s.String(), duration.Milliseconds(), (b.Alloc-a.Alloc)/1024/1024)
214
215 repos, _, err := zoekt.ReadMe tadata(ifile)
216 if err != nil {
1061 func printMetaData(fn string) error {
1062 repo, indexMeta, err := zoekt.ReadMe tadataPath(fn)
1063 if err != nil {
21 for _, fn := range o.FindAllShards() {
22 repos, md, err := zoekt.ReadMe tadataPath(fn)
23 if err != nil {
206
207 repos, _, err := zoekt.ReadMe tadataPath(path)
208 if err != nil {
200
201 repos, _, err := zoekt.ReadMe tadataPathAlive(path)
202 if err != nil {
234 for _, p := range paths {
235 repos, _, err := zoekt.ReadMe tadataPath(p)
236 if err != nil {
452
453 repos, _, err := zoekt.ReadMe tadataPath(fn)
454 if err != nil {
455 return nil, fmt.Errorf("zoekt.ReadMe tadataPath: %s", err)
456 }
github.com/sourcegraph/zoekt index_test.go 2 matches | Go | №19 2000
2001 rd, _, err := ReadMe tadata(f)
2002 if err != nil {
2003 t.Fatalf("ReadMe tadata: %v", err)
2004 }
github.com/sourcegraph/zoekt merge_test.go 1 match | Go | №20 39 // non-determinism when building a new shard.
40 repoMeta, indexMeta, err := ReadMe tadata(indexFile)
41 if err != nil {