zoekt: 54 files / 3889 matches / 23.9ms neogrok: 5 files / 500 matches
github.com/sourcegraph/zoektindex/contentprovider.go 177 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 and93
94 // Find offset in bytes (relative to corpus start) for an offset in95 // runes (relative to document start). If filename is set, the corpus96 // is the set of filenames, with the document being the name itself.97 func (p *contentProvider) findOffset(filename bool, r uint32) uint32 {98 if p.id.metaData.PlainASCII {github.com/sourcegraph/zoektapi.go 161 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 //github.com/sourcegraph/zoektgrpc/protos/zoekt/webserver/v1/webserver.proto 106 matches | Protocol Buffer | №3
github.com/sourcegraph/zoektinternal/gitindex/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 at6 //