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

github.com/sourcegraph/zoektinternal/e2e/examples/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/zoektinternal/e2e/examples/example.py 2 matches | Python | №2

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

github.com/sourcegraph/zoektindex/index_test.go 9 matches | Go | №3

493 Q: &query.Substring{494 Pattern: "foo",495 Content: true,
505 &query.Substring{506 Pattern: "foo",507 Content: true,
518 ShardsSkippedFilter: 1,519 NgramLookups: 3, // we lookedup "foo" once (1), but lookedup and created "a y" (2).520 },
1136 Document{Name: "helpers.go", Content: []byte("x apple y")},1137 Document{Name: "foo", Content: []byte("x apple y")})1138
1508 &query.Substring{Pattern: "needle"},1509 &query.Repo{Regexp: regexp.MustCompile("foo")},1510 ))

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

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}})
130 func TestExpandFileContent(t *testing.T) {131 re, _ := syntax.Parse("foo", syntax.Perl)132
155 q: &Regexp{Regexp: re, FileName: true, Content: true},156 want: "(or file_regex:\"foo\" regex:\"foo\")",157 },
159 q: &Regexp{Regexp: re, FileName: false, Content: false},160 want: "(or file_regex:\"foo\" regex:\"foo\")",161 },

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

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

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

377 content: exampleCpp,378 query: &query.Substring{Content: true, Pattern: "FooClass"},379 language: "C++",
401 content: exampleCpp,402 query: &query.Substring{Content: true, Pattern: "FooStruct"},403 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 },