zoekt: 31 files / 260 matches / 0.92ms neogrok: 20 files / 130 matches
github.com/sourcegraph/zoektinternal/e2e/examples/example.cc 13 matches | C++ | №1
github.com/sourcegraph/zoektweb/templates.go 9 matches | Go | №2
174
<dt><a href="search?q=path+-file:java">path -file:java</a></dt><dd>search for the word "path" excluding files whose name contains "java"</dd>175 <dt><a href="search?q=foo.*bar">foo.*bar</a></dt><dd>search for the regular expression "foo.*bar"</dd>176 <dt><a href="search?q=-%28Path File%29 Stream">-(Path File) Stream</a></dt><dd>search "Stream", but exclude files containing both "Path" and "File"</dd>github.com/sourcegraph/zoektdoc/query_syntax.md 6 matches | Markdown | №3
28
| `archived:` | `a:` | `yes` or `no` | Filters archived repositories. | `archived:yes` |29 | `case:` | `c:` | `yes`, `no`, or `auto` | Matches case-sensitive or insensitive text. | `case:yes content:"Foo"` |30 | `content:` | `c:` | Text (string or regex) | Searches content of files. | `content:"search term"` |github.com/sourcegraph/zoektlanguages/extensions.go 2 matches | Go | №4
github.com/sourcegraph/zoektinternal/e2e/examples/example.py 2 matches | Python | №5
github.com/sourcegraph/zoektinternal/e2e/examples/example.scala 3 matches | Scala | №6
github.com/sourcegraph/zoektapi_test.go 3 matches | Go | №7
github.com/sourcegraph/zoektindex/index_test.go 9 matches | Go | №8
github.com/sourcegraph/zoektindex/ctags_test.go 5 matches | Go | №9
25
func TestTagsToSections(t *testing.T) {26 c := []byte("package foo\nfunc bar(j int) {}\n//bla")27 // ----------01234567890 1234567890123456789 01234546
func TestTagsToSectionsMultiple(t *testing.T) {47 c := []byte("class Foo { int x; int b; }")48 // ----------012345678901234567890123456github.com/sourcegraph/zoektquery/query_test.go 8 matches | Go | №10
103
func TestMap(t *testing.T) {104 in := NewAnd(&Substring{Pattern: "bla"}, &Not{&Repo{Regexp: regexp.MustCompile("foo")}})105 out := NewAnd(&Substring{Pattern: "bla"}, &Not{&Const{false}})github.com/sourcegraph/zoektquery/parse_test.go 11 matches | Go | №11
github.com/sourcegraph/zoektquery/regexp_test.go 2 matches | Go | №12
github.com/sourcegraph/zoektignore/ignore_test.go 8 matches | Go | №13
github.com/sourcegraph/zoektsearch/watcher_test.go 9 matches | Go | №14
github.com/sourcegraph/zoektquery/query_proto_test.go 5 matches | Go | №15
github.com/sourcegraph/zoektinternal/json/json_test.go 1 match | Go | №16
github.com/sourcegraph/zoektinternal/e2e/scoring_test.go 2 matches | Go | №17
github.com/sourcegraph/zoektlanguages/extensions_test.go 6 matches | Go | №18
89
for ext, language := range unsupportedByEnryExtensionToNameMap {90 filename := "foo" + ext91 languages, _ := getLanguagesByExtension(filename)98
for ext, language := range overrideAmbiguousExtensionsMap {99 filename := "foo" + ext100 enryLangs := enry.GetLanguagesByExtension(filename, nil, nil)111
for ext, language := range nonAmbiguousExtensionsCheck {112 filename := "foo" + ext113 languages, isLikelyBinaryFile := getLanguagesByExtension(filename)github.com/isker/neogroksrc/routes/(opengrok-compat)/search/opengrok-lucene.server.ts 3 matches | TypeScript | №19
github.com/sourcegraph/zoektinternal/e2e/e2e_index_test.go 23 matches | Go | №20
615
var (616 fooAtMain = index.Document{Name: "foo.go", Branches: []string{"main"}, Content: []byte("common foo-main-v1")}617 fooAtMainV2 = index.Document{Name: "foo.go", Branches: []string{"main"}, Content: []byte("common foo-main-v2")}618 619 fooAtMainAndRelease = index.Document{Name: "foo.go", Branches: []string{"main", "release"}, Content: []byte("common foo-main-and-release")}620