zoekt: 86 files / 468 matches / 65.41ms neogrok: 20 files / 116 matches
github.com/sourcegraph/zoektinternal/trace/trace.go 11 matches | Go | №1
30
if parent := TraceFromContext(ctx); parent != nil {31 tr.LazyPrintf("parent: %s", parent.family)32 trace.family = parent.family + " > " + family44
45 // LazyPrintf evaluates its arguments with fmt.Sprintf each time the46 // /debug/requests page is rendered. Any memory referenced by a will be47 // pinned until the trace is finished and later discarded.48 func (t *Trace) LazyPrintf(format string, a ...any) {49 t.span.LogFields(Printf("log", format, a...))50 t.trace.LazyPrintf(format, a...)51 }github.com/sourcegraph/zoektapi.go 5 matches | Go | №2
143
var b strings.Builder144 fmt.Fprintf(&b, "%s", what)145 if raw != -1 {146 fmt.Fprintf(&b, "(%s)", strconv.FormatFloat(raw, 'f', -1, 64))147 }148 fmt.Fprintf(&b, ":%.2f, ", computed)149 m.Debug += b.String()github.com/isker/neogrokyarn.lock 3 matches | YAML | №3
github.com/sourcegraph/zoektcmd/flags.go 1 match | Go | №4
github.com/sourcegraph/zoektweb/server.go 6 matches | Go | №5
github.com/sourcegraph/zoektindex/read.go 2 matches | Go | №6
github.com/sourcegraph/zoektindex/eval.go 1 match | Go | №7
github.com/sourcegraph/zoektquery/query.go 21 matches | Go | №8
github.com/sourcegraph/zoektindex/btree.go 4 matches | Go | №9
github.com/sourcegraph/zoektquery/parse.go 2 matches | Go | №10
github.com/sourcegraph/zoektindex/ctags.go 4 matches | Go | №11
267
if m.currentDocStuckCount > 0 {268 log.Printf("symbol analysis for %s (size %d bytes) is done and found %d symbols", m.currentDocName, m.currentDocSize, len(entries))269 m.currentDocStuckCount = 0294
m.mu.Lock()295 log.Printf("symbol analysis finished for shard statistics: duration=%v symbols=%d bytes=%d", now.Sub(m.start).Truncate(time.Second), m.totalSymbols, m.totalSize)296 m.mu.Unlock()github.com/sourcegraph/zoektindex/score.go 9 matches | Go | №12
github.com/sourcegraph/zoektindex/merge.go 4 matches | Go | №13
44
45 dstName = filepath.Join(dstDir, fmt.Sprintf("compound-%x_v%d.%05d.zoekt", hasher.Sum(nil), NextIndexFormatVersion, 0))46 tmpName = dstName + ".tmp"85
86 log.Printf("finished shard %s: %d index bytes (overhead %3.1f)", fn, fi.Size(),87 float64(fi.Size())/float64(ib.ContentSize()+1))github.com/sourcegraph/zoektsearch/sched.go 2 matches | Go | №14
github.com/sourcegraph/zoektquery/regexp.go 2 matches | Go | №15
github.com/sourcegraph/zoektweb/snippets.go 2 matches | Go | №16
github.com/sourcegraph/zoektindex/builder.go 13 matches | Go | №17
github.com/sourcegraph/zoektsearch/shards.go 19 matches | Go | №18
github.com/sourcegraph/zoektindex/hititer.go 4 matches | Go | №19
47
func (i *distanceHitIterator) String() string {48 return fmt.Sprintf("dist(%d, %v, %v)", i.distance, i.i1, i.i2)49 }154
func (i *inMemoryIterator) String() string {155 return fmt.Sprintf("mem(%s):%v", i.what, i.postings)156 }