zoekt: 28
files / 73
matches / 0.58ms neogrok: 20 files / 56
matches github.com/sourcegraph/zoekt index/read.go 11 matches | Go | №1 586 587 // ReadMe tadata returns the metadata of index shard without reading588 // the index data. The IndexFile is not closed.589 func ReadMe tadata(inf IndexFile) ([]*zoekt.Repository, *zoekt.IndexMetadata, error) {590 rd := &reader{r: inf}598 599 // ReadMe tadataPathAlive is like ReadMe tadataPath except that it only returns600 // alive repositories.601 func ReadMe tadataPathAlive(p string) ([]*zoekt.Repository, *zoekt.IndexMetadata, error) {602 repos, id, err := ReadMe tadataPath(p)603 if err != nil { Show 5 more matches github.com/isker/neogrok README .md 1 match | Markdown | №2 github.com/sourcegraph/zoekt index/read_test.go 3 matches | Go | №4 436 437 func BenchmarkReadMe tadata(b *testing.B) {438 file, err := os.Open("testdata/benchmark/zoekt_v16.00000.zoekt")452 for i := 0; i < b.N; i++ {453 repos, metadata, err := ReadMe tadata(indexFile)454 if err != nil {455 b.Fatalf("ReadMe tadata failed: %v", err)456 } github.com/sourcegraph/zoekt README.md 1 match | Markdown | №5 54 $GOPATH/bin/zoekt 'hello'55 $GOPATH/bin/zoekt 'hello file:README '56 github.com/sourcegraph/zoekt doc/query_syntax.md 2 matches | Markdown | №6 125 126 3. **Find files named `README .md` in forks**:127 ```plaintext128 file:"README .md" fork:yes129 ``` 46 // https://github.com/octokit/octokit.rb/commit/3d21ec53a331a6f037a91c368710b99387d012c147 // https://github.com/octokit/octokit.rb/blob/master/README .md48 // 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 (though131 the search engine tends to rank files containing file name matches higher than135 with136 <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 in143 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 | №10 60 {61 path: "dir1/readme .md",62 wantMatch: true,64 {65 path: "dir1/dir2/readme .md",66 wantMatch: true, github.com/sourcegraph/zoekt index/builder.go 5 matches | Go | №11 384 385 repos, index, err := ReadMe tadataPathAlive(fn)386 if os.IsNotExist(err) {439 440 repositories, metadata, err := ReadMe tadataPathAlive(shard)441 if err != nil {479 for _, fn := range compoundShards {480 repos, _, err := ReadMe tadataPathAlive(fn)481 if err != nil {676 for _, shard := range oldShards {677 repositories, _, err := ReadMe tadataPathAlive(shard)678 if err != nil {1000 var m runtime.MemStats1001 runtime.ReadMe mStats(&m)1002 github.com/sourcegraph/zoekt cmd/zoekt/main.go 2 matches | Go | №12 80 if verbose {81 repo, index, err := index.ReadMe tadata(iFile)82 if err != nil {83 iFile.Close()84 return nil, fmt.Errorf("ReadMe tadata(%s): %v", fn, err)85 } github.com/sourcegraph/zoekt index/tombstones.go 1 match | Go | №13 30 } else {31 repos, _, err = ReadMe tadataPath(shardPath)32 if err != nil { github.com/sourcegraph/zoekt cmd/zoekt-test/main.go 2 matches | Go | №14 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) 211 212 repos, _, err := index.ReadMe tadata(ifile)213 if err != nil { 1086 func printMetaData(fn string) error {1087 repo, indexMeta, err := index.ReadMe tadataPath(fn)1088 if err != nil { 22 for _, fn := range o.FindAllShards() {23 repos, md, err := index.ReadMe tadataPath(fn)24 if err != nil { 204 205 repos, _, err := index.ReadMe tadataPath(path)206 if err != nil { 199 200 repos, _, err := index.ReadMe tadataPathAlive(path)201 if err != nil {233 for _, p := range paths {234 repos, _, err := index.ReadMe tadataPath(p)235 if err != nil {456 457 repos, _, err := index.ReadMe tadataPath(fn)458 if err != nil {459 return nil, fmt.Errorf("zoekt.ReadMe tadataPath: %s", err)460 }