zoekt: 9 files / 51 matches / 0.98ms neogrok: 9 files / 51 matches

github.com/sourcegraph/zoektbuild/testdata/example.cc 13 matches | C++ | №1

8 9 struct FooStruct { }; // LF_STRUCTURE10 11 class FooClass { // LF_CLASS12 public:
33 34 void *FooClass::StaticMember = nullptr;35 36 class Inherit : public FooClass { // LF_BCLASS37 public:
41 42 class VInherit : public virtual FooClass { // LF_VBCLASS43

github.com/sourcegraph/zoektindex_test.go 9 matches | Go | №2

489 Q: &query.Substring{490 Pattern: "foo",491 Content: true,
501 &query.Substring{502 Pattern: "foo",503 Content: true,
514 ShardsSkippedFilter: 1,515 NgramLookups: 3, // we lookedup "foo" once (1), but lookedup and created "a y" (2).516 },
1050 Document{Name: "helpers.go", Content: []byte("x apple y")},1051 Document{Name: "foo", Content: []byte("x apple y")})1052
1422 &query.Substring{Pattern: "needle"},1423 &query.Repo{Regexp: regexp.MustCompile("foo")},1424 ))

github.com/sourcegraph/zoektbuild/testdata/example.py 2 matches | Python | №3

48 49 # vvv recursive.foo ref,nodef50 recursive = recursive.foo51

github.com/sourcegraph/zoektquery/query_test.go 8 matches | Go | №4

89 func TestMap(t *testing.T) {90 in := NewAnd(&Substring{Pattern: "bla"}, &Not{&Repo{Regexp: regexp.MustCompile("foo")}})91 out := NewAnd(&Substring{Pattern: "bla"}, &Not{&Const{false}})
116 func TestExpandFileContent(t *testing.T) {117 re, _ := syntax.Parse("foo", syntax.Perl)118
141 q: &Regexp{Regexp: re, FileName: true, Content: true},142 want: "(or file_regex:\"foo\" regex:\"foo\")",143 },
145 q: &Regexp{Regexp: re, FileName: false, Content: false},146 want: "(or file_regex:\"foo\" regex:\"foo\")",147 },

github.com/sourcegraph/zoektquery/parse_test.go 1 match | Go | №5

120 {"\"a\\", nil},121 {"case:foo", nil},122

github.com/sourcegraph/zoektbuild/scoring_test.go 2 matches | Go | №6

330 content: exampleCpp,331 query: &query.Substring{Content: true, Pattern: "FooClass"},332 language: "C++",
354 content: exampleCpp,355 query: &query.Substring{Content: true, Pattern: "FooStruct"},356 language: "C++",

github.com/sourcegraph/zoektcmd/zoekt-sourcegraph-indexserver/merge_test.go 1 match | Go | №7

26 {"small.00000.zoekt", false},27 {"compound-foo.00000.zoekt", false},28 {"else", false},

github.com/sourcegraph/zoektcmd/zoekt-sourcegraph-indexserver/backoff_test.go 13 matches | Go | №8

14 queue := NewQueue(backoffDuration, maxBackoffDuration, logtest.Scoped(t))15 opts := IndexOptions{RepoID: 1, Name: "foo"}16
41 queue := NewQueue(backoffDuration, maxBackoffDuration, logtest.Scoped(t))42 opts := IndexOptions{RepoID: 1, Name: "foo"}43
66 queue := NewQueue(backoffDuration, maxBackoffDuration, logtest.Scoped(t))67 opts := IndexOptions{RepoID: 1, Name: "foo"}68
91 queue := NewQueue(backoffDuration, maxBackoffDuration, logtest.Scoped(t))92 opts := IndexOptions{RepoID: 1, Name: "foo"}93
130 queue := NewQueue(backoffDuration, maxBackoffDuration, logtest.Scoped(t))131 opts := IndexOptions{RepoID: 1, Name: "foo"}132

github.com/isker/neogroksrc/routes/(search-page)/chunk-renderer.test.ts 2 matches | TypeScript | №9

128 {129 text: '\t\t\t\tContent: []byte("foo"),',130 matchRanges: [],
465 "matchRanges": [],466 "text": " Content: []byte("foo"),",467 },