zoekt: 54 files / 3890 matches / 24.31ms neogrok: 4 files / 500 matches
github.com/sourcegraph/zoektcontentprovider.go 192 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 at
6 //
8
//
9 // Unless required by applicable law or agreed to in writing, software
10 // 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
94
95 // Find offset in bytes (relative to corpus start) for an offset in
96 // runes (relative to document start). If filename is set, the corpus
97 // is the set of filenames, with the document being the name itself.
98 func (p *contentProvider) findOffset(filename bool, r uint32) uint32 {
99 if p.id.metaData.PlainASCII {
github.com/sourcegraph/zoektapi.go 155 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 at
6 //
github.com/sourcegraph/zoektgrpc/protos/zoekt/webserver/v1/webserver.proto 105 matches | Protocol Buffer | №3
github.com/sourcegraph/zoektgitindex/index.go 48 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 at
6 //