zoekt: 33 files / 81 matches / 0.57ms neogrok: 20 files / 52 matches

github.com/sourcegraph/zoektindex/read.go 12 matches | Go | №1

599 600 // ReadMetadata returns the metadata of index shard without reading601 // the index data. The IndexFile is not closed.602 func ReadMetadata(inf IndexFile) ([]*zoekt.Repository, *zoekt.IndexMetadata, error) {603 rd := &reader{r: inf}
611 612 // ReadMetadataPathAlive is like ReadMetadataPath except that it only returns613 // alive repositories.614 func ReadMetadataPathAlive(p string) ([]*zoekt.Repository, *zoekt.IndexMetadata, error) {615 repos, id, err := ReadMetadataPath(p)616 if err != nil {

github.com/isker/neogrokREADME.md 1 match | Markdown | №2

github.com/sourcegraph/zoektgrpc/protos/README.md 1 match | Markdown | №3

github.com/sourcegraph/zoektinternal/syntaxutil/README.md 1 match | Markdown | №4

github.com/sourcegraph/zoektcmd/zoekt-sourcegraph-indexserver/grpc/protos/README.md 1 match | Markdown | №5

github.com/sourcegraph/zoektindex/read_test.go 3 matches | Go | №6

443 444 func BenchmarkReadMetadata(b *testing.B) {445 file, err := os.Open("testdata/benchmark/zoekt_v16.00000.zoekt")
459 for i := 0; i < b.N; i++ {460 repos, metadata, err := ReadMetadata(indexFile)461 if err != nil {462 b.Fatalf("ReadMetadata failed: %v", err)463 }

github.com/sourcegraph/zoektREADME.md 1 match | Markdown | №7

54 $GOPATH/bin/zoekt 'hello'55 $GOPATH/bin/zoekt 'hello file:README'56

github.com/sourcegraph/zoektdoc/query_syntax.md 2 matches | Markdown | №8

165 166 3. **Find files named `README.md` in forks**:167 ```plaintext168 file:"README.md" fork:yes169 ```

github.com/sourcegraph/zoektinternal/archive/index.go 1 match | Go | №9

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

github.com/isker/neogroksrc/routes/syntax/+page.svelte 9 matches | Svelte | №10

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 than
135 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 />

github.com/isker/neogroksrc/routes/(search-page)/lander.svelte 5 matches | Svelte | №11

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/zoektignore/ignore_test.go 2 matches | Go | №12

60 {61 path: "dir1/readme.md",62 wantMatch: true,
64 {65 path: "dir1/dir2/readme.md",66 wantMatch: true,

github.com/sourcegraph/zoektindex/file_category_test.go 1 match | Go | №13

46 name: "documentation file",47 filename: "README.md",48 content: []byte("# Documentation"),

github.com/sourcegraph/zoektindex/builder.go 4 matches | Go | №14

388 389 repos, index, err := ReadMetadataPathAlive(fn)390 if os.IsNotExist(err) {
443 444 repositories, metadata, err := ReadMetadataPathAlive(shard)445 if err != nil {
672 for _, shard := range oldShards {673 repositories, _, err := ReadMetadataPathAlive(shard)674 if err != nil {
988 var m runtime.MemStats989 runtime.ReadMemStats(&m)990

github.com/sourcegraph/zoektcmd/zoekt/main.go 2 matches | Go | №15

89 if verbose {90 repo, index, err := index.ReadMetadata(iFile)91 if err != nil {92 iFile.Close()93 return nil, fmt.Errorf("ReadMetadata(%s): %v", fn, err)94 }

github.com/sourcegraph/zoektindex/tombstones.go 1 match | Go | №16

30 } else {31 repos, _, err = ReadMetadataPath(shardPath)32 if err != nil {

github.com/sourcegraph/zoektcmd/zoekt-test/main.go 2 matches | Go | №17

179 runtime.GC()180 runtime.ReadMemStats(&a)181 start := time.Now()
187 runtime.GC()188 runtime.ReadMemStats(&b)189 log.Printf("%s loaded in %d ms, additional memory consumption: %d MiB", s.String(), duration.Milliseconds(), (b.Alloc-a.Alloc)/1024/1024)

github.com/sourcegraph/zoektcmd/zoekt-indexserver/main.go 1 match | Go | №18

208 209 repos, _, err := index.ReadMetadata(ifile)210 if err != nil {

github.com/sourcegraph/zoektcmd/zoekt-sourcegraph-indexserver/main.go 1 match | Go | №19

1169 func printMetaData(fn string) error {1170 repo, indexMeta, err := index.ReadMetadataPath(fn)1171 if err != nil {

github.com/sourcegraph/zoektcmd/zoekt-sourcegraph-indexserver/meta.go 1 match | Go | №20

23 for _, fn := range o.FindAllShards() {24 repos, md, err := index.ReadMetadataPath(fn)25 if err != nil {