alpha
Login
or
Join now
boltless.me
/
zoekt
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
fork of https://github.com/sourcegraph/zoekt
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
gofmt -w contentprovider.go
author
Keegan Carruthers-Smith
date
3 years ago
(Nov 7, 2022, 10:18 AM +0200)
commit
dc573223
dc57322334cde212eb344b0a1b4be4d513304c70
parent
ed86381e
ed86381e3de007dd5ed8d6f1cfb2627ed6d1e6dd
+2
-2
1 changed file
Expand all
Collapse all
Unified
Split
contentprovider.go
+2
-2
contentprovider.go
Reviewed
···
781
781
782
782
for i := 0; i < len(ms); i++ {
783
783
rrfScore[i] = 1 / (k + float64(i))
784
784
-
if opts.DebugScore {
784
784
+
if opts.DebugScore {
785
785
ms[i].Debug += fmt.Sprintf("(%d,", i)
786
786
}
787
787
}
···
793
793
794
794
for i := range rrfScore {
795
795
rrfScore[i] += 1 / (k + float64(i))
796
796
-
if opts.DebugScore {
796
796
+
if opts.DebugScore {
797
797
ms[i].Debug += fmt.Sprintf("%d), ", i)
798
798
}
799
799
}