​

zoekt: 259 files / 5974 matches / 40.51ms neogrok: 7 files / 500 matches

neogrokindex/eval_test.go 24 matches | Go | №1

4 // you may not use this file except in compliance with the License.5 // You may obtain a copy of the License at6 //
8 //9 // Unless required by applicable law or agreed to in writing, software10 // distributed under the License is distributed on an "AS IS" BASIS,11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.12 // See the License for the specific language governing permissions and
39 syntax.OpCharClass: "OpCharClass",40 syntax.OpAnyCharNotNL: "OpAnyCharNotNL",41 syntax.OpAnyChar: "OpAnyChar",42 syntax.OpBeginLine: "OpBeginLine",

neogrokindex/contentprovider.go 199 matches | Go | №2

4 // you may not use this file except in compliance with the License.5 // You may obtain a copy of the License at6 //
8 //9 // Unless required by applicable law or agreed to in writing, software10 // distributed under the License is distributed on an "AS IS" BASIS,11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.12 // See the License for the specific language governing permissions and
100 if err != nil {101 p.panicCorrupt(fmt.Errorf("reading newline offsets: %w", err))102 }

neogrokgrpc/protos/zoekt/webserver/v1/webserver.proto 88 matches | Protocol Buffer | №3

49 50 // Return an upper-bound estimate of eligible documents in51 // stats.ShardFilesConsidered.
56 57 // Maximum number of matches: skip all processing an index58 // shard after we found this many non-overlapping matches.59 int64 shard_max_match_count = 3;60 61 // Maximum number of matches: stop looking for more matches62 // once we have this many matches across shards.63 int64 total_max_match_count = 4;

neogrokindex/section.go 36 matches | Go | №4

4 // you may not use this file except in compliance with the License.5 // You may obtain a copy of the License at6 //
8 //9 // Unless required by applicable law or agreed to in writing, software10 // distributed under the License is distributed on an "AS IS" BASIS,11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.12 // See the License for the specific language governing permissions and
24 25 // writer is an io.Writer that keeps track of errors and offsets26 type writer struct {

neogrokinternal/tracer/jaeger.go 4 matches | Go | №5

27 // JAEGER_SAMPLER_* env vars. In most cases, this is sufficient28 // enough to connect to Jaeger without any env vars.29 cfg.Sampler.Type = jaeger.SamplerTypeConst
47 48 // Infof logs a message at info priority49 func (l *jaegerLogger) Infof(msg string, args ...any) {50 log.Printf(msg, args...)

neogrokapi.go 129 matches | Go | №6

4 // you may not use this file except in compliance with the License.5 // You may obtain a copy of the License at6 //
8 //9 // Unless required by applicable law or agreed to in writing, software10 // distributed under the License is distributed on an "AS IS" BASIS,11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.12 // See the License for the specific language governing permissions and
41 42 // Repository is the globally unique name of the repo of the43 // match

neogrokgrpc/protos/zoekt/webserver/v1/webserver.pb.go 20 matches | Go | №7

2007 2008 // Offset within the line, in bytes.2009 LineOffset int64 `protobuf:"varint,1,opt,name=line_offset,json=lineOffset,proto3" json:"line_offset,omitempty"`2010 // Offset from file start, in bytes.2011 Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`2012 // Number bytes that match.