zoekt: 15 files / 25 matches / 117.8ms neogrok: 15 files / 25 matches

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

199 for {200 canceled := false201 select {

github.com/sourcegraph/zoektquery/query.go 1 match | Go | №2

522 var flat []Q523 changed := false524 for _, ch := range children {

github.com/sourcegraph/zoektquery/parse.go 3 matches | Go | №3

32 left := in[1:]33 found := false34
282 283 seenOr := false284 for _, q := range in {
486 487 foundSpace := false488

github.com/sourcegraph/zoektindex/limit.go 1 match | Go | №4

34 35 done := false36

github.com/sourcegraph/zoektinternal/shards/shards.go 1 match | Go | №5

948 q = query.Simplify(q)949 isAll := false950 if c, ok := q.(*query.Const); ok {

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

831 // ?show_repos=832 showRepos := false833 if v := values.Get("show_repos"); v != "" {

github.com/sourcegraph/zoektcmd/zoekt-webserver/grpc/server/server.go 1 match | Go | №7

86 87 statsSent := false88 numFilesSent := 0

github.com/sourcegraph/zoektcmd/zoekt-sourcegraph-indexserver/cleanup.go 1 match | Go | №8

42 for repo, shards := range trash {43 old := false44 for _, shard := range shards {

github.com/sourcegraph/zoektindex/index_test.go 1 match | Go | №9

1064 1065 foundSymbolInfo := false1066 for _, m := range matches {

github.com/sourcegraph/zoektindex/builder_test.go 1 match | Go | №10

413 414 foundRepository := false415 for _, r := range repos {

github.com/sourcegraph/zoektinternal/shards/sched_test.go 1 match | Go | №11

83 84 called := false85 oldYieldFunc := proc.yieldFunc

github.com/sourcegraph/zoektinternal/gitindex/index_test.go 3 matches | Go | №12

623 624 hadChange := false625
689 // whether they were called appropriately690 deltaBuildCalled := false691 prepareDeltaSpy := func(options Options, repository *git.Repository) (repos map[fileKey]BlobLocation, branchVersions map[string]map[string]plumbing.Hash, changedOrDeletedPaths []string, err error) {
695 696 normalBuildCalled := false697 prepareNormalSpy := func(options Options, repository *git.Repository) (repos map[fileKey]BlobLocation, branchVersions map[string]map[string]plumbing.Hash, err error) {

github.com/sourcegraph/zoektgrpc/messagesize/prometheus_test.go 3 matches | Go | №13

357 358 invokerCalled := false359 invoker := func(ctx context.Context, method string, req, reply interface{}, cc *grpc.ClientConn, opts ...grpc.CallOption) error {
583 baseStream := &mockClientStream{}584 streamerCalled := false585 streamer := func(ctx context.Context, desc *grpc.StreamDesc, cc *grpc.ClientConn, method string, opts ...grpc.CallOption) (grpc.ClientStream, error) {
595 for _, step := range test.steps {596 baseStreamCalled := false597 var streamErr error

github.com/sourcegraph/zoektcmd/zoekt-sourcegraph-indexserver/main_test.go 1 match | Go | №14

151 152 listCalled := false153 grpcClient.mockList = func(ctx context.Context, in *proto.ListRequest, opts ...grpc.CallOption) (*proto.ListResponse, error) {

github.com/sourcegraph/zoektcmd/zoekt-sourcegraph-indexserver/index_test.go 5 matches | Go | №15

109 t.Run(step.name, func(t *testing.T) {110 called := false111 grpcClient.mockSearchConfiguration = func(_ context.Context, in *proto.SearchConfigurationRequest, opts ...grpc.CallOption) (*proto.SearchConfigurationResponse, error) {
241 } {242 called := false243 mockClient := &mockGRPCClient{
294 295 called := false296 mockClient := &mockGRPCClient{
313 )314 gotAtLeastOneOption := false315 var err error
458 459 got := false460 var err error