SYMBOL INDEX (3974 symbols across 209 files) FILE: client/client_test.go function init (line 31) | func init() { type GorseClientTestSuite (line 36) | type GorseClientTestSuite struct method SetupSuite (line 41) | func (suite *GorseClientTestSuite) SetupSuite() { method TestUsers (line 48) | func (suite *GorseClientTestSuite) TestUsers() { method TestItems (line 113) | func (suite *GorseClientTestSuite) TestItems() { method TestFeedback (line 167) | func (suite *GorseClientTestSuite) TestFeedback() { method TestLatest (line 213) | func (suite *GorseClientTestSuite) TestLatest() { method TestItemToItem (line 224) | func (suite *GorseClientTestSuite) TestItemToItem() { method TestRecommend (line 235) | func (suite *GorseClientTestSuite) TestRecommend() { function TestGorseClientTestSuite (line 249) | func TestGorseClientTestSuite(t *testing.T) { FILE: cmd/gorse-cli/main.go function EvaluateAFM (line 124) | func EvaluateAFM(cfg *config.Config, train, test *ctr.Dataset, exportUse... function EvaluateLLM (line 208) | func EvaluateLLM(cfg *config.Config, train, test *ctr.Dataset, items []d... function EvaluateEmbedding (line 321) | func EvaluateEmbedding(cfg *config.Config, train, test dataset.CFSplit, ... function init (line 553) | func init() { function main (line 567) | func main() { FILE: cmd/gorse-in-one/main.go function init (line 110) | func init() { function main (line 120) | func main() { function setup (line 126) | func setup(m *master.Master, playground string) { FILE: cmd/gorse-master/main.go function init (line 67) | func init() { function main (line 75) | func main() { FILE: cmd/gorse-server/main.go function init (line 87) | func init() { function main (line 101) | func main() { FILE: cmd/gorse-worker/main.go function init (line 73) | func init() { function main (line 89) | func main() { FILE: cmd/version/version.go function BuildInfo (line 17) | func BuildInfo() string { FILE: common/ann/ann.go type Index (line 21) | type Index interface FILE: common/ann/ann_test.go constant trainSize (line 36) | trainSize = 6000 constant testSize (line 37) | testSize = 1000 function recall (line 40) | func recall(gt, pred []lo.Tuple2[int, float32]) float64 { type MNIST (line 54) | type MNIST struct method openFile (line 80) | func (m *MNIST) openFile(path string) ([][]float32, []uint8, error) { function mnist (line 61) | func mnist() (*MNIST, error) { function TestMNIST (line 121) | func TestMNIST(t *testing.T) { function TestMultithread (line 172) | func TestMultithread(t *testing.T) { function movieLens (line 217) | func movieLens() ([][]int, error) { function jaccard (line 251) | func jaccard(a, b []int) float32 { function TestMovieLens (line 270) | func TestMovieLens(t *testing.T) { FILE: common/ann/bruteforce.go type Bruteforce (line 24) | type Bruteforce struct function NewBruteforce (line 29) | func NewBruteforce[T any](distanceFunc func(a, b T) float32) *Bruteforce... method Add (line 33) | func (b *Bruteforce[T]) Add(v T) int { method SearchIndex (line 39) | func (b *Bruteforce[T]) SearchIndex(q, k int, prune0 bool) ([]lo.Tuple2[... method SearchVector (line 65) | func (b *Bruteforce[T]) SearchVector(q T, k int, prune0 bool) []lo.Tuple... FILE: common/ann/hnsw.go type HNSW (line 33) | type HNSW struct function NewHNSW (line 51) | func NewHNSW[T any](distanceFunc func(a, b T) float32) *HNSW[T] { method Add (line 61) | func (h *HNSW[T]) Add(v T) int { method SearchIndex (line 73) | func (h *HNSW[T]) SearchIndex(q, k int, prune0 bool) ([]lo.Tuple2[int, f... method SearchVector (line 89) | func (h *HNSW[T]) SearchVector(q T, k int, prune0 bool) []lo.Tuple2[int,... method knnSearch (line 101) | func (h *HNSW[T]) knnSearch(q T, k, ef int) *heap.PriorityQueue { method insert (line 117) | func (h *HNSW[T]) insert(q int32) { method searchLayer (line 186) | func (h *HNSW[T]) searchLayer(q T, enterPoints *heap.PriorityQueue, ef, ... method setNeighbourhood (line 225) | func (h *HNSW[T]) setNeighbourhood(e int32, currentLayer int, connection... method getNeighbourhood (line 233) | func (h *HNSW[T]) getNeighbourhood(e int32, currentLayer int) *heap.Prio... method selectNeighbors (line 244) | func (h *HNSW[T]) selectNeighbors(_ T, candidates *heap.PriorityQueue, m... method distance (line 252) | func (h *HNSW[T]) distance(q T, points []int32) *heap.PriorityQueue { method efSearchValue (line 261) | func (h *HNSW[T]) efSearchValue(n int) int { method Marshal (line 268) | func (h *HNSW[T]) Marshal(w io.Writer) error { method Unmarshal (line 332) | func (h *HNSW[T]) Unmarshal(r io.Reader) error { FILE: common/blas/blas.go type Order (line 17) | type Order constant RowMajor (line 19) | RowMajor Order = 101 type Transpose (line 21) | type Transpose constant NoTrans (line 24) | NoTrans Transpose = 111 constant Trans (line 25) | Trans Transpose = 112 function NewTranspose (line 28) | func NewTranspose(transpose bool) Transpose { FILE: common/blas/blas_darwin_arm64.go function SGEMM (line 24) | func SGEMM(order Order, transA, transB Transpose, m, n, k int, alpha flo... FILE: common/blas/blas_mkl.go function SGEMM (line 24) | func SGEMM(order Order, transA, transB Transpose, m, n, k int, alpha flo... FILE: common/blas/blas_openblas.go function SGEMM (line 23) | func SGEMM(order Order, transA, transB Transpose, m, n, k int, alpha flo... FILE: common/copier/copier.go function Copy (line 24) | func Copy(dst, src interface{}) error { function copyValue (line 35) | func copyValue(dst, src reflect.Value) error { FILE: common/copier/copier_test.go function TestPrimitives (line 24) | func TestPrimitives(t *testing.T) { function TestSlice (line 44) | func TestSlice(t *testing.T) { function TestMap (line 78) | func TestMap(t *testing.T) { type Foo (line 102) | type Foo struct type Bar (line 107) | type Bar struct function TestStruct (line 111) | func TestStruct(t *testing.T) { function TestPtr (line 126) | func TestPtr(t *testing.T) { function TestInterface (line 134) | func TestInterface(t *testing.T) { type PrivateStruct (line 150) | type PrivateStruct struct method MarshalBinary (line 154) | func (ps *PrivateStruct) MarshalBinary() (data []byte, err error) { method UnmarshalBinary (line 158) | func (ps *PrivateStruct) UnmarshalBinary(data []byte) error { function TestPrivate (line 163) | func TestPrivate(t *testing.T) { type NilInterface (line 174) | type NilInterface interface type NilStruct (line 176) | type NilStruct struct function TestNil (line 181) | func TestNil(t *testing.T) { FILE: common/datautil/datautil.go function init (line 38) | func init() { function LoadIris (line 47) | func LoadIris() ([][]float32, []int, error) { function DownloadAndUnzip (line 84) | func DownloadAndUnzip(name string) (string, error) { function downloadFromUrl (line 97) | func downloadFromUrl(src, dst string) (string, error) { function unzip (line 129) | func unzip(src, dst string) ([]string, error) { FILE: common/datautil/datautil_test.go function TestLoadIris (line 22) | func TestLoadIris(t *testing.T) { FILE: common/encoding/encoding.go function WriteSlice (line 26) | func WriteSlice[T any](w io.Writer, s []T) error { function ReadSlice (line 34) | func ReadSlice[T any](r io.Reader, s *[]T) error { function WriteString (line 44) | func WriteString(w io.Writer, s string) error { function ReadString (line 49) | func ReadString(r io.Reader) (string, error) { function WriteBytes (line 55) | func WriteBytes(w io.Writer, s []byte) error { function ReadBytes (line 70) | func ReadBytes(r io.Reader) ([]byte, error) { function WriteGob (line 93) | func WriteGob(w io.Writer, v interface{}) error { function ReadGob (line 104) | func ReadGob(r io.Reader, v interface{}) error { FILE: common/encoding/encoding_test.go function TestReadWriteSlice (line 24) | func TestReadWriteSlice(t *testing.T) { function TestWriteString (line 35) | func TestWriteString(t *testing.T) { function TestWriteGob (line 46) | func TestWriteGob(t *testing.T) { FILE: common/expression/expression.go type ExprType (line 30) | type ExprType method String (line 40) | func (typ ExprType) String() string { constant None (line 33) | None ExprType = iota constant Less (line 34) | Less constant LessOrEqual (line 35) | LessOrEqual constant Greater (line 36) | Greater constant GreaterOrEqual (line 37) | GreaterOrEqual type FeedbackTypeExpression (line 55) | type FeedbackTypeExpression struct method String (line 61) | func (f *FeedbackTypeExpression) String() string { method FromString (line 69) | func (f *FeedbackTypeExpression) FromString(data string) error { method MarshalJSON (line 105) | func (f *FeedbackTypeExpression) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 109) | func (f *FeedbackTypeExpression) UnmarshalJSON(data []byte) error { method ToPB (line 120) | func (f *FeedbackTypeExpression) ToPB() *protocol.FeedbackTypeExpressi... method FromPB (line 139) | func (f *FeedbackTypeExpression) FromPB(pb *protocol.FeedbackTypeExpre... method Match (line 156) | func (f *FeedbackTypeExpression) Match(feedbackType string, value floa... function MatchFeedbackTypeExpressions (line 176) | func MatchFeedbackTypeExpressions(exprs []FeedbackTypeExpression, feedba... function MustParseFeedbackTypeExpression (line 185) | func MustParseFeedbackTypeExpression(s string) FeedbackTypeExpression { FILE: common/expression/expression_test.go function TestFeedbackTypeExpression_UnmarshalJSON (line 24) | func TestFeedbackTypeExpression_UnmarshalJSON(t *testing.T) { function TestFeedbackTypeExpression_MarshalJSON (line 59) | func TestFeedbackTypeExpression_MarshalJSON(t *testing.T) { function TestFeedbackTypeExpression_ToPB (line 86) | func TestFeedbackTypeExpression_ToPB(t *testing.T) { function TestFeedbackTypeExpression_FromPB (line 110) | func TestFeedbackTypeExpression_FromPB(t *testing.T) { function TestFeedbackTypeExpression_Match (line 139) | func TestFeedbackTypeExpression_Match(t *testing.T) { function TestMatchFeedbackTypeExpressions (line 161) | func TestMatchFeedbackTypeExpressions(t *testing.T) { function TestMustParseFeedbackTypeExpression (line 171) | func TestMustParseFeedbackTypeExpression(t *testing.T) { FILE: common/floats/floats.go function dot (line 23) | func dot(a, b []float32) (ret float32) { function euclidean (line 30) | func euclidean(a, b []float32) (ret float32) { function addConst (line 37) | func addConst(a []float32, c float32) { function sub (line 43) | func sub(a, b []float32) { function subTo (line 49) | func subTo(a, b, c []float32) { function mulTo (line 55) | func mulTo(a, b, c []float32) { function mulConstAddTo (line 61) | func mulConstAddTo(a []float32, b float32, c []float32, dst []float32) { function mulConstAdd (line 67) | func mulConstAdd(a []float32, c float32, dst []float32) { function mulConstTo (line 73) | func mulConstTo(a []float32, b float32, c []float32) { function mulConst (line 79) | func mulConst(a []float32, b float32) { function divTo (line 85) | func divTo(a, b, c []float32) { function sqrtTo (line 91) | func sqrtTo(a, b []float32) { function MatZero (line 98) | func MatZero(x [][]float32) { function Zero (line 107) | func Zero(a []float32) { function SubTo (line 114) | func SubTo(a, b, dst []float32) { function Add (line 122) | func Add(dst, s []float32) { function MulConst (line 132) | func MulConst(dst []float32, c float32) { function Div (line 137) | func Div(dst, s []float32) { function MulTo (line 146) | func MulTo(a, b, c []float32) { function Sub (line 154) | func Sub(dst, s []float32) { function MulConstTo (line 162) | func MulConstTo(a []float32, c float32, dst []float32) { function MulConstAddTo (line 169) | func MulConstAddTo(a []float32, c float32, b, dst []float32) { function MulConstAdd (line 177) | func MulConstAdd(a []float32, c float32, dst []float32) { function MulAddTo (line 185) | func MulAddTo(a, b, c []float32) { function AddTo (line 195) | func AddTo(a, b, dst []float32) { function AddConst (line 204) | func AddConst(dst []float32, c float32) { function DivTo (line 208) | func DivTo(a, b, c []float32) { function SqrtTo (line 215) | func SqrtTo(a, b []float32) { function Sqrt (line 222) | func Sqrt(a []float32) { function Dot (line 229) | func Dot(a, b []float32) (ret float32) { function Euclidean (line 236) | func Euclidean(a, b []float32) float32 { function MM (line 243) | func MM(transA, transB bool, m, n, k int, a []float32, lda int, b []floa... FILE: common/floats/floats_amd64.go type Feature (line 29) | type Feature method String (line 55) | func (feature Feature) String() string { method mulConstAddTo (line 68) | func (feature Feature) mulConstAddTo(a []float32, b float32, c []float... method mulConstAdd (line 78) | func (feature Feature) mulConstAdd(a []float32, b float32, c []float32) { method mulConstTo (line 88) | func (feature Feature) mulConstTo(a []float32, b float32, c []float32) { method addConst (line 98) | func (feature Feature) addConst(a []float32, b float32) { method sub (line 108) | func (feature Feature) sub(a, b []float32) { method subTo (line 118) | func (feature Feature) subTo(a, b, c []float32) { method mulTo (line 128) | func (feature Feature) mulTo(a, b, c []float32) { method mulConst (line 138) | func (feature Feature) mulConst(a []float32, b float32) { method divTo (line 148) | func (feature Feature) divTo(a, b, c []float32) { method sqrtTo (line 158) | func (feature Feature) sqrtTo(a, b []float32) { method dot (line 168) | func (feature Feature) dot(a, b []float32) float32 { method euclidean (line 178) | func (feature Feature) euclidean(a, b []float32) float32 { method mm (line 188) | func (feature Feature) mm(transA, transB bool, m, n, k int, a []float3... constant AVX (line 32) | AVX Feature = 1 << iota constant FMA (line 33) | FMA constant AVX512F (line 34) | AVX512F constant MKL (line 35) | MKL constant OPENBLAS (line 36) | OPENBLAS constant AVX512 (line 39) | AVX512 = AVX | FMA | AVX512F function init (line 43) | func init() { FILE: common/floats/floats_amd64_test.go function init (line 31) | func init() { function TestAVX (line 41) | func TestAVX(t *testing.T) { function TestAVX512 (line 45) | func TestAVX512(t *testing.T) { function initializeFloat32Array (line 49) | func initializeFloat32Array(n int) []float32 { function BenchmarkDot (line 57) | func BenchmarkDot(b *testing.B) { function BenchmarkEuclidean (line 74) | func BenchmarkEuclidean(b *testing.B) { function BenchmarkMulConstAddTo (line 91) | func BenchmarkMulConstAddTo(b *testing.B) { function BenchmarkMulConstAdd (line 109) | func BenchmarkMulConstAdd(b *testing.B) { function BenchmarkMulConst (line 126) | func BenchmarkMulConst(b *testing.B) { function BenchmarkMulConstTo (line 142) | func BenchmarkMulConstTo(b *testing.B) { function BenchmarkAddConst (line 159) | func BenchmarkAddConst(b *testing.B) { function BenchmarkSub (line 175) | func BenchmarkSub(b *testing.B) { function BenchmarkSubTo (line 192) | func BenchmarkSubTo(b *testing.B) { function BenchmarkMulTo (line 210) | func BenchmarkMulTo(b *testing.B) { function BenchmarkDivTo (line 228) | func BenchmarkDivTo(b *testing.B) { function BenchmarkSqrtTo (line 246) | func BenchmarkSqrtTo(b *testing.B) { function BenchmarkMM (line 263) | func BenchmarkMM(b *testing.B) { FILE: common/floats/floats_arm64.go type Feature (line 26) | type Feature method String (line 35) | func (feature Feature) String() string { method mulConstAddTo (line 43) | func (feature Feature) mulConstAddTo(a []float32, b float32, c, dst []... method mulConstAdd (line 47) | func (feature Feature) mulConstAdd(a []float32, b float32, c []float32) { method mulConstTo (line 51) | func (feature Feature) mulConstTo(a []float32, b float32, c []float32) { method addConst (line 55) | func (feature Feature) addConst(a []float32, b float32) { method sub (line 59) | func (feature Feature) sub(a, b []float32) { method subTo (line 63) | func (feature Feature) subTo(a, b, c []float32) { method mulTo (line 67) | func (feature Feature) mulTo(a, b, c []float32) { method divTo (line 71) | func (feature Feature) divTo(a, b, c []float32) { method sqrtTo (line 75) | func (feature Feature) sqrtTo(a, b []float32) { method mulConst (line 79) | func (feature Feature) mulConst(a []float32, b float32) { method dot (line 83) | func (feature Feature) dot(a, b []float32) float32 { method euclidean (line 87) | func (feature Feature) euclidean(a, b []float32) float32 { method mm (line 91) | func (feature Feature) mm(transA, transB bool, m, n, k int, a []float3... constant AMX (line 29) | AMX Feature = 1 << iota constant OPENBLAS (line 30) | OPENBLAS FILE: common/floats/floats_arm64_test.go function TestASIMD (line 29) | func TestASIMD(t *testing.T) { function TestAMX (line 33) | func TestAMX(t *testing.T) { function initializeFloat32Array (line 40) | func initializeFloat32Array(n int) []float32 { function BenchmarkDot (line 48) | func BenchmarkDot(b *testing.B) { function BenchmarkEuclidean (line 65) | func BenchmarkEuclidean(b *testing.B) { function BenchmarkMulConstAddTo (line 82) | func BenchmarkMulConstAddTo(b *testing.B) { function BenchmarkMulConstAdd (line 100) | func BenchmarkMulConstAdd(b *testing.B) { function BenchmarkMulConstTo (line 117) | func BenchmarkMulConstTo(b *testing.B) { function BenchmarkAddConst (line 134) | func BenchmarkAddConst(b *testing.B) { function BenchmarkMulConst (line 150) | func BenchmarkMulConst(b *testing.B) { function BenchmarkSubTo (line 166) | func BenchmarkSubTo(b *testing.B) { function BenchmarkSub (line 184) | func BenchmarkSub(b *testing.B) { function BenchmarkMulTo (line 201) | func BenchmarkMulTo(b *testing.B) { function BenchmarkDivTo (line 219) | func BenchmarkDivTo(b *testing.B) { function BenchmarkSqrtTo (line 237) | func BenchmarkSqrtTo(b *testing.B) { function BenchmarkMM (line 254) | func BenchmarkMM(b *testing.B) { FILE: common/floats/floats_avx.go function _mm256_mul_const_add_to (line 14) | func _mm256_mul_const_add_to(a, b, c, dst unsafe.Pointer, n int64) function _mm256_mul_const_add (line 17) | func _mm256_mul_const_add(a, b, c unsafe.Pointer, n int64) function _mm256_mul_const_to (line 20) | func _mm256_mul_const_to(a, b, c unsafe.Pointer, n int64) function _mm256_mul_const (line 23) | func _mm256_mul_const(a, b unsafe.Pointer, n int64) function _mm256_add_const (line 26) | func _mm256_add_const(a, b unsafe.Pointer, n int64) function _mm256_sub_to (line 29) | func _mm256_sub_to(a, b, c unsafe.Pointer, n int64) function _mm256_sub (line 32) | func _mm256_sub(a, b unsafe.Pointer, n int64) function _mm256_mul_to (line 35) | func _mm256_mul_to(a, b, c unsafe.Pointer, n int64) function _mm256_div_to (line 38) | func _mm256_div_to(a, b, c unsafe.Pointer, n int64) function _mm256_sqrt_to (line 41) | func _mm256_sqrt_to(a, b unsafe.Pointer, n int64) function _mm256_dot (line 44) | func _mm256_dot(a, b unsafe.Pointer, n int64) (result float32) function _mm256_euclidean (line 47) | func _mm256_euclidean(a, b unsafe.Pointer, n int64) (result float32) function _mm256_mm (line 50) | func _mm256_mm(transA, transB bool, m, n, k int64, a unsafe.Pointer, lda... FILE: common/floats/floats_avx512.go function _mm512_mul_const_add_to (line 14) | func _mm512_mul_const_add_to(a, b, c, dst unsafe.Pointer, n int64) function _mm512_mul_const_add (line 17) | func _mm512_mul_const_add(a, b, c unsafe.Pointer, n int64) function _mm512_mul_const_to (line 20) | func _mm512_mul_const_to(a, b, c unsafe.Pointer, n int64) function _mm512_mul_const (line 23) | func _mm512_mul_const(a, b unsafe.Pointer, n int64) function _mm512_add_const (line 26) | func _mm512_add_const(a, b unsafe.Pointer, n int64) function _mm512_sub_to (line 29) | func _mm512_sub_to(a, b, c unsafe.Pointer, n int64) function _mm512_sub (line 32) | func _mm512_sub(a, b unsafe.Pointer, n int64) function _mm512_mul_to (line 35) | func _mm512_mul_to(a, b, c unsafe.Pointer, n int64) function _mm512_div_to (line 38) | func _mm512_div_to(a, b, c unsafe.Pointer, n int64) function _mm512_sqrt_to (line 41) | func _mm512_sqrt_to(a, b unsafe.Pointer, n int64) function _mm512_dot (line 44) | func _mm512_dot(a, b unsafe.Pointer, n int64) (result float32) function _mm512_euclidean (line 47) | func _mm512_euclidean(a, b unsafe.Pointer, n int64) (result float32) function _mm512_mm (line 50) | func _mm512_mm(transA, transB bool, m, n, k int64, a unsafe.Pointer, lda... FILE: common/floats/floats_neon.go function vmul_const_add_to (line 14) | func vmul_const_add_to(a, b, c, dst unsafe.Pointer, n int64) function vmul_const_add (line 17) | func vmul_const_add(a, b, c unsafe.Pointer, n int64) function vmul_const_to (line 20) | func vmul_const_to(a, b, c unsafe.Pointer, n int64) function vmul_const (line 23) | func vmul_const(a, b unsafe.Pointer, n int64) function vadd_const (line 26) | func vadd_const(a, b unsafe.Pointer, n int64) function vsub_to (line 29) | func vsub_to(a, b, c unsafe.Pointer, n int64) function vsub (line 32) | func vsub(a, b unsafe.Pointer, n int64) function vmul_to (line 35) | func vmul_to(a, b, c unsafe.Pointer, n int64) function vdiv_to (line 38) | func vdiv_to(a, b, c unsafe.Pointer, n int64) function vsqrt_to (line 41) | func vsqrt_to(a, b unsafe.Pointer, n int64) function vdot (line 44) | func vdot(a, b unsafe.Pointer, n int64) (result float32) function veuclidean (line 47) | func veuclidean(a, b unsafe.Pointer, n int64) (result float32) function vmm (line 50) | func vmm(transA, transB bool, m, n, k int64, a unsafe.Pointer, lda int64... FILE: common/floats/floats_noasm.go type Feature (line 19) | type Feature method String (line 25) | func (Feature) String() string { method mulConstAddTo (line 29) | func (Feature) mulConstAddTo(a []float32, b float32, c, dst []float32) { method mulConstAdd (line 33) | func (Feature) mulConstAdd(a []float32, b float32, c []float32) { method mulConstTo (line 37) | func (Feature) mulConstTo(a []float32, b float32, c []float32) { method addConst (line 41) | func (Feature) addConst(a []float32, b float32) { method sub (line 45) | func (Feature) sub(a, b []float32) { method subTo (line 49) | func (Feature) subTo(a, b, c []float32) { method mulTo (line 53) | func (Feature) mulTo(a, b, c []float32) { method mulConst (line 57) | func (Feature) mulConst(a []float32, b float32) { method divTo (line 61) | func (Feature) divTo(a, b, c []float32) { method sqrtTo (line 65) | func (Feature) sqrtTo(a, b []float32) { method dot (line 69) | func (Feature) dot(a, b []float32) float32 { method euclidean (line 73) | func (Feature) euclidean(a, b []float32) float32 { method mm (line 77) | func (Feature) mm(transA, transB bool, m, n, k int, a []float32, lda i... constant OPENBLAS (line 21) | OPENBLAS Feature = 1 << iota FILE: common/floats/floats_riscv64.go type Feature (line 27) | type Feature method String (line 42) | func (feature Feature) String() string { method mulConstAddTo (line 50) | func (feature Feature) mulConstAddTo(a []float32, b float32, c []float... method mulConstAdd (line 58) | func (feature Feature) mulConstAdd(a []float32, b float32, c []float32) { method mulConstTo (line 66) | func (feature Feature) mulConstTo(a []float32, b float32, c []float32) { method addConst (line 74) | func (feature Feature) addConst(a []float32, b float32) { method sub (line 82) | func (feature Feature) sub(a, b []float32) { method subTo (line 90) | func (feature Feature) subTo(a, b, c []float32) { method mulTo (line 98) | func (feature Feature) mulTo(a, b, c []float32) { method mulConst (line 106) | func (feature Feature) mulConst(a []float32, b float32) { method divTo (line 114) | func (feature Feature) divTo(a, b, c []float32) { method sqrtTo (line 122) | func (feature Feature) sqrtTo(a, b []float32) { method dot (line 130) | func (feature Feature) dot(a, b []float32) float32 { method euclidean (line 138) | func (feature Feature) euclidean(a, b []float32) float32 { method mm (line 146) | func (feature Feature) mm(transA, transB bool, m, n, k int, a []float3... constant V (line 30) | V Feature = 1 << iota constant OPENBLAS (line 31) | OPENBLAS function init (line 36) | func init() { FILE: common/floats/floats_riscv64_test.go function TestV (line 28) | func TestV(t *testing.T) { function initializeFloat32Array (line 32) | func initializeFloat32Array(n int) []float32 { function BenchmarkDot (line 40) | func BenchmarkDot(b *testing.B) { function BenchmarkEuclidean (line 57) | func BenchmarkEuclidean(b *testing.B) { function BenchmarkMulConstAddTo (line 74) | func BenchmarkMulConstAddTo(b *testing.B) { function BenchmarkMulConstAdd (line 92) | func BenchmarkMulConstAdd(b *testing.B) { function BenchmarkMulConst (line 109) | func BenchmarkMulConst(b *testing.B) { function BenchmarkMulConstTo (line 125) | func BenchmarkMulConstTo(b *testing.B) { function BenchmarkAddConst (line 142) | func BenchmarkAddConst(b *testing.B) { function BenchmarkSub (line 158) | func BenchmarkSub(b *testing.B) { function BenchmarkSubTo (line 175) | func BenchmarkSubTo(b *testing.B) { function BenchmarkMulTo (line 193) | func BenchmarkMulTo(b *testing.B) { function BenchmarkDivTo (line 211) | func BenchmarkDivTo(b *testing.B) { function BenchmarkSqrtTo (line 229) | func BenchmarkSqrtTo(b *testing.B) { function BenchmarkMM (line 246) | func BenchmarkMM(b *testing.B) { FILE: common/floats/floats_rvv.go function vmul_const_add_to (line 14) | func vmul_const_add_to(a, b, c, dst unsafe.Pointer, n int64) function vmul_const_add (line 17) | func vmul_const_add(a, b, c unsafe.Pointer, n int64) function vmul_const_to (line 20) | func vmul_const_to(a, b, c unsafe.Pointer, n int64) function vmul_const (line 23) | func vmul_const(a, b unsafe.Pointer, n int64) function vadd_const (line 26) | func vadd_const(a, b unsafe.Pointer, n int64) function vsub_to (line 29) | func vsub_to(a, b, c unsafe.Pointer, n int64) function vsub (line 32) | func vsub(a, b unsafe.Pointer, n int64) function vmul_to (line 35) | func vmul_to(a, b, c unsafe.Pointer, n int64) function vdiv_to (line 38) | func vdiv_to(a, b, c unsafe.Pointer, n int64) function vsqrt_to (line 41) | func vsqrt_to(a, b unsafe.Pointer, n int64) function vdot (line 44) | func vdot(a, b unsafe.Pointer, n int64) (result float32) function veuclidean (line 47) | func veuclidean(a, b unsafe.Pointer, n int64) (result float32) function vmm (line 50) | func vmm(transA, transB bool, m, n, k int64, a unsafe.Pointer, lda int64... FILE: common/floats/floats_test.go function TestMatZero (line 24) | func TestMatZero(t *testing.T) { function TestZero (line 36) | func TestZero(t *testing.T) { function TestAdd (line 42) | func TestAdd(t *testing.T) { function TestSub (line 50) | func TestSub(t *testing.T) { function TestSubTo (line 58) | func TestSubTo(t *testing.T) { function TestMulTo (line 67) | func TestMulTo(t *testing.T) { function TestMulConst (line 76) | func TestMulConst(t *testing.T) { function TestDiv (line 82) | func TestDiv(t *testing.T) { function TestMulConstTo (line 90) | func TestMulConstTo(t *testing.T) { function TestMulConstAdd (line 99) | func TestMulConstAdd(t *testing.T) { function TestMulConstAddTo (line 108) | func TestMulConstAddTo(t *testing.T) { function TestMulAddTo (line 117) | func TestMulAddTo(t *testing.T) { function TestAddTo (line 127) | func TestAddTo(t *testing.T) { function TestAddConst (line 137) | func TestAddConst(t *testing.T) { function TestDivTo (line 143) | func TestDivTo(t *testing.T) { function TestSqrtTo (line 152) | func TestSqrtTo(t *testing.T) { function TestSqrt (line 160) | func TestSqrt(t *testing.T) { function TestDot (line 166) | func TestDot(t *testing.T) { function TestEuclidean (line 173) | func TestEuclidean(t *testing.T) { type NativeTestSuite (line 180) | type NativeTestSuite struct method TestDot (line 184) | func (suite *NativeTestSuite) TestDot() { method TestEuclidean (line 190) | func (suite *NativeTestSuite) TestEuclidean() { method TestMulConstAddTo (line 196) | func (suite *NativeTestSuite) TestMulConstAddTo() { method TestMulConstAdd (line 204) | func (suite *NativeTestSuite) TestMulConstAdd() { method TestMulConstTo (line 212) | func (suite *NativeTestSuite) TestMulConstTo() { method TestAddConst (line 220) | func (suite *NativeTestSuite) TestAddConst() { method TestSub (line 226) | func (suite *NativeTestSuite) TestSub() { method TestSubTo (line 233) | func (suite *NativeTestSuite) TestSubTo() { method TestMulTo (line 241) | func (suite *NativeTestSuite) TestMulTo() { method TestDivTo (line 249) | func (suite *NativeTestSuite) TestDivTo() { method TestSqrtTo (line 257) | func (suite *NativeTestSuite) TestSqrtTo() { method TestMulConst (line 264) | func (suite *NativeTestSuite) TestMulConst() { method TestMM (line 270) | func (suite *NativeTestSuite) TestMM() { function TestNativeTestSuite (line 294) | func TestNativeTestSuite(t *testing.T) { type SIMDTestSuite (line 298) | type SIMDTestSuite struct method SetupSuite (line 303) | func (suite *SIMDTestSuite) SetupSuite() { method TestMulConstAddTo (line 309) | func (suite *SIMDTestSuite) TestMulConstAddTo() { method TestMulConstAdd (line 319) | func (suite *SIMDTestSuite) TestMulConstAdd() { method TestMulConstTo (line 328) | func (suite *SIMDTestSuite) TestMulConstTo() { method TestAddConst (line 337) | func (suite *SIMDTestSuite) TestAddConst() { method TestSub (line 345) | func (suite *SIMDTestSuite) TestSub() { method TestSubTo (line 354) | func (suite *SIMDTestSuite) TestSubTo() { method TestMulTo (line 364) | func (suite *SIMDTestSuite) TestMulTo() { method TestMulConst (line 373) | func (suite *SIMDTestSuite) TestMulConst() { method TestDivTo (line 381) | func (suite *SIMDTestSuite) TestDivTo() { method TestSqrtTo (line 391) | func (suite *SIMDTestSuite) TestSqrtTo() { method TestDot (line 400) | func (suite *SIMDTestSuite) TestDot() { method TestEuclidean (line 408) | func (suite *SIMDTestSuite) TestEuclidean() { method TestMM (line 416) | func (suite *SIMDTestSuite) TestMM() { FILE: common/floats/mm.go function mm (line 19) | func mm(transA, transB bool, m, n, k int, a []float32, lda int, b []floa... FILE: common/floats/mm_darwin_arm64.go function init (line 21) | func init() { function mm (line 25) | func mm(transA, transB bool, m, n, k int, a []float32, lda int, b []floa... FILE: common/floats/mm_mkl.go function init (line 21) | func init() { function mm (line 25) | func mm(transA, transB bool, m, n, k int, a []float32, lda int, b []floa... FILE: common/floats/mm_openblas.go function init (line 21) | func init() { function mm (line 25) | func mm(transA, transB bool, m, n, k int, a []float32, lda int, b []floa... FILE: common/floats/src/floats_avx.c function _mm256_mul_const_add_to (line 18) | void _mm256_mul_const_add_to(float *a, float *b, float *c, float *dst, i... function _mm256_mul_const_add (line 39) | void _mm256_mul_const_add(float *a, float *b, float *c, int64_t n) function _mm256_mul_const_to (line 59) | void _mm256_mul_const_to(float *a, float *b, float *c, int64_t n) function _mm256_mul_const (line 78) | void _mm256_mul_const(float *a, float *b, int64_t n) function _mm256_add_const (line 96) | void _mm256_add_const(float *a, float *b, int64_t n) function _mm256_sub_to (line 114) | void _mm256_sub_to(float *a, float *b, float *c, int64_t n) function _mm256_sub (line 134) | void _mm256_sub(float *a, float *b, int64_t n) function _mm256_mul_to (line 153) | void _mm256_mul_to(float *a, float *b, float *c, int64_t n) function _mm256_div_to (line 173) | void _mm256_div_to(float *a, float *b, float *c, int64_t n) function _mm256_sqrt_to (line 193) | void _mm256_sqrt_to(float *a, float *b, int64_t n) function dot (line 213) | inline __attribute__((always_inline)) float dot(float *a, float *b, int6... function _mm256_dot (line 251) | float _mm256_dot(float *a, float *b, int64_t n) function _mm256_euclidean (line 256) | float _mm256_euclidean(float *a, float *b, int64_t n) function _mm256_mm (line 299) | void _mm256_mm(_Bool transA, _Bool transB, int64_t m, int64_t n, int64_t... FILE: common/floats/src/floats_avx512.c function _mm512_mul_const_add_to (line 18) | void _mm512_mul_const_add_to(float *a, float *b, float *c, float *dst, i... function _mm512_mul_const_add (line 51) | void _mm512_mul_const_add(float *a, float *b, float *c, int64_t n) function _mm512_mul_const_to (line 82) | void _mm512_mul_const_to(float *a, float *b, float *c, int64_t n) function _mm512_mul_const (line 111) | void _mm512_mul_const(float *a, float *b, int64_t n) function _mm512_add_const (line 138) | void _mm512_add_const(float *a, float *b, int64_t n) function _mm512_sub_to (line 165) | void _mm512_sub_to(float *a, float *b, float *c, int64_t n) function _mm512_sub (line 196) | void _mm512_sub(float *a, float *b, int64_t n) function _mm512_mul_to (line 215) | void _mm512_mul_to(float *a, float *b, float *c, int64_t n) function _mm512_div_to (line 246) | void _mm512_div_to(float *a, float *b, float *c, int64_t n) function _mm512_sqrt_to (line 277) | void _mm512_sqrt_to(float *a, float *b, int64_t n) function dot (line 306) | inline __attribute__((always_inline)) float dot(float *a, float *b, int6... function _mm512_dot (line 369) | float _mm512_dot(float *a, float *b, int64_t n) function _mm512_euclidean (line 374) | float _mm512_euclidean(float *a, float *b, int64_t n) function _mm512_mm (line 443) | void _mm512_mm(_Bool transA, _Bool transB, int64_t m, int64_t n, int64_t... FILE: common/floats/src/floats_neon.c function vmul_const_add_to (line 18) | void vmul_const_add_to(float *a, float *b, float *c, float *dst, long n) { function vmul_const_add (line 24) | void vmul_const_add(float *a, float *b, float *c, long n) { function vmul_const_to (line 30) | void vmul_const_to(float *a, float *b, float *c, long n) { function vmul_const (line 36) | void vmul_const(float *a, float *b, long n) { function vadd_const (line 42) | void vadd_const(float *a, float *b, long n) { function vsub_to (line 48) | void vsub_to(float *a, float *b, float *c, long n) { function vsub (line 54) | void vsub(float *a, float *b, long n) { function vmul_to (line 60) | void vmul_to(float *a, float *b, float *c, long n) { function vdiv_to (line 66) | void vdiv_to(float *a, float *b, float *c, long n) { function vsqrt_to (line 72) | void vsqrt_to(float *a, float *b, long n) { function dot (line 89) | inline float dot(float *a, float *b, long n) { function vdot (line 119) | float vdot(float *a, float *b, long n) { function veuclidean (line 123) | float veuclidean(float *a, float *b, long n) { function vmm (line 157) | void vmm(_Bool transA, _Bool transB, long m, long n, long k, float *a, l... FILE: common/floats/src/floats_rvv.c function vmul_const_add_to (line 17) | void vmul_const_add_to(float *a, float *b, float *c, float *dst, long n) { function vmul_const_add (line 23) | void vmul_const_add(float *a, float *b, float *c, long n) { function vmul_const_to (line 29) | void vmul_const_to(float *a, float *b, float *c, long n) { function vmul_const (line 35) | void vmul_const(float *a, float *b, long n) { function vadd_const (line 41) | void vadd_const(float *a, float *b, long n) { function vsub_to (line 47) | void vsub_to(float *a, float *b, float *c, long n) { function vsub (line 53) | void vsub(float *a, float *b, long n) { function vmul_to (line 59) | void vmul_to(float *a, float *b, float *c, long n) { function vdiv_to (line 65) | void vdiv_to(float *a, float *b, float *c, long n) { function vsqrt_to (line 71) | void vsqrt_to(float *a, float *b, long n) { function dot (line 80) | inline float dot(float *a, float *b, long n) { function vdot (line 102) | float vdot(float *a, float *b, long n) { function veuclidean (line 106) | float veuclidean(float *a, float *b, long n) { function vmm (line 131) | void vmm(_Bool transA, _Bool transB, long m, long n, long k, float *a, l... FILE: common/floats/src/floats_sve2.c function svmul_const_add_to (line 18) | void svmul_const_add_to(float *a, float *b, float *c, long n) function svmul_const_to (line 29) | void svmul_const_to(float *a, float *b, float *c, long n) function svmul_const (line 39) | void svmul_const(float *a, float *b, long n) function svmul_to (line 49) | void svmul_to(float *a, float *b, float *c, long n) FILE: common/floats/src/floats_test.c function mul_const_add_to (line 9) | void mul_const_add_to(float *a, float *b, float *c, float *dst, int64_t n) function mul_const_add (line 17) | void mul_const_add(float *a, float *b, float *c, int64_t n) function mul_const_to (line 25) | void mul_const_to(float *a, float *b, float *c, int64_t n) function mul_const (line 33) | void mul_const(float *a, float *b, int64_t n) function sub_to (line 41) | void sub_to(float *a, float *b, float *c, int64_t n) function sub (line 49) | void sub(float *a, float *b, int64_t n) function mul_to (line 57) | void mul_to(float *a, float *b, float *c, int64_t n) function div_to (line 65) | void div_to(float *a, float *b, float *c, int64_t n) function sqrt_to (line 73) | void sqrt_to(float *a, float *b, int64_t n) function dot (line 81) | float dot(float *a, float *b, int64_t n) function euclidean (line 91) | float euclidean(float *a, float *b, int64_t n) function rand_float (line 101) | int rand_float(float *a, int64_t n) function MunitResult (line 135) | MunitResult mm256_mul_const_add_to_test(const MunitParameter params[], v... function MunitResult (line 148) | MunitResult mm256_mul_const_add_test(const MunitParameter params[], void... function MunitResult (line 162) | MunitResult mm256_mul_const_to_test(const MunitParameter params[], void ... function MunitResult (line 174) | MunitResult mm256_mul_const_test(const MunitParameter params[], void *us... function MunitResult (line 187) | MunitResult mm256_sub_to_test(const MunitParameter params[], void *user_... function MunitResult (line 199) | MunitResult mm256_sub_test(const MunitParameter params[], void *user_dat... function MunitResult (line 212) | MunitResult mm256_mul_to_test(const MunitParameter params[], void *user_... function MunitResult (line 224) | MunitResult mm256_div_to_test(const MunitParameter params[], void *user_... function MunitResult (line 236) | MunitResult mm256_sqrt_to_test(const MunitParameter params[], void *user... function MunitResult (line 248) | MunitResult mm256_dot_test(const MunitParameter params[], void *user_dat... function MunitResult (line 260) | MunitResult mm256_euclidean_test(const MunitParameter params[], void *us... function MunitResult (line 289) | MunitResult mm512_mul_const_add_to_test(const MunitParameter params[], v... function MunitResult (line 304) | MunitResult mm512_mul_const_add_test(const MunitParameter params[], void... function MunitResult (line 318) | MunitResult mm512_mul_const_to_test(const MunitParameter params[], void ... function MunitResult (line 330) | MunitResult mm512_mul_const_test(const MunitParameter params[], void *us... function MunitResult (line 343) | MunitResult mm512_sub_test(const MunitParameter params[], void *user_dat... function MunitResult (line 356) | MunitResult mm512_sub_to_test(const MunitParameter params[], void *user_... function MunitResult (line 368) | MunitResult mm512_mul_to_test(const MunitParameter params[], void *user_... function MunitResult (line 380) | MunitResult mm512_div_to_test(const MunitParameter params[], void *user_... function MunitResult (line 392) | MunitResult mm512_sqrt_to_test(const MunitParameter params[], void *user... function MunitResult (line 404) | MunitResult mm512_dot_test(const MunitParameter params[], void *user_dat... function MunitResult (line 416) | MunitResult mm512_euclidean_test(const MunitParameter params[], void *us... function main (line 445) | int main(int argc, char *const argv[MUNIT_ARRAY_PARAM(argc + 1)]) function MunitResult (line 466) | MunitResult vmul_const_add_to_test(const MunitParameter params[], void *... function MunitResult (line 479) | MunitResult vmul_const_add_test(const MunitParameter params[], void *use... function MunitResult (line 493) | MunitResult vmul_const_to_test(const MunitParameter params[], void *user... function MunitResult (line 505) | MunitResult vmul_const_test(const MunitParameter params[], void *user_da... function MunitResult (line 518) | MunitResult vmul_to_test(const MunitParameter params[], void *user_data_... function MunitResult (line 530) | MunitResult vdot_test(const MunitParameter params[], void *user_data_or_... function MunitResult (line 542) | MunitResult veuclidean_test(const MunitParameter params[], void *user_da... function MunitResult (line 571) | MunitResult svmul_const_add_to_test(const MunitParameter params[], void ... function MunitResult (line 584) | MunitResult svmul_const_to_test(const MunitParameter params[], void *use... function MunitResult (line 596) | MunitResult svmul_const_test(const MunitParameter params[], void *user_d... function MunitResult (line 609) | MunitResult svmul_to_test(const MunitParameter params[], void *user_data... function main (line 631) | int main(int argc, char *const argv[MUNIT_ARRAY_PARAM(argc + 1)]) function MunitResult (line 652) | MunitResult vmul_const_add_to_test(const MunitParameter params[], void *... function MunitResult (line 665) | MunitResult vmul_const_add_test(const MunitParameter params[], void *use... function MunitResult (line 679) | MunitResult vmul_const_to_test(const MunitParameter params[], void *user... function MunitResult (line 691) | MunitResult vmul_const_test(const MunitParameter params[], void *user_da... function MunitResult (line 704) | MunitResult vmul_to_test(const MunitParameter params[], void *user_data_... function MunitResult (line 716) | MunitResult vsqrt_to_test(const MunitParameter params[], void *user_data... function MunitResult (line 728) | MunitResult vdot_test(const MunitParameter params[], void *user_data_or_... function MunitResult (line 740) | MunitResult veuclidean_test(const MunitParameter params[], void *user_da... function main (line 765) | int main(int argc, char *const argv[MUNIT_ARRAY_PARAM(argc + 1)]) FILE: common/floats/src/munit.c function munit_logf_exv (line 168) | static void function munit_logf_internal (line 199) | static void function munit_log_internal (line 208) | static void function munit_logf_ex (line 213) | void function munit_errorf_ex (line 230) | void function munit_log_errno (line 253) | static void type PsnipClockType (line 327) | enum PsnipClockType { type PsnipClockTimespec (line 343) | struct PsnipClockTimespec { function PSNIP_CLOCK__FUNCTION (line 520) | PSNIP_CLOCK__FUNCTION psnip_uint32_t function PSNIP_CLOCK__FUNCTION (line 532) | PSNIP_CLOCK__FUNCTION int function psnip_clock_wall_get_precision (line 547) | psnip_clock_wall_get_precision (void) { function PSNIP_CLOCK__FUNCTION (line 561) | PSNIP_CLOCK__FUNCTION int function psnip_clock_cpu_get_precision (line 588) | psnip_clock_cpu_get_precision (void) { function PSNIP_CLOCK__FUNCTION (line 602) | PSNIP_CLOCK__FUNCTION int function psnip_clock_monotonic_get_precision (line 646) | psnip_clock_monotonic_get_precision (void) { function PSNIP_CLOCK__FUNCTION (line 667) | PSNIP_CLOCK__FUNCTION int function PSNIP_CLOCK__FUNCTION (line 717) | PSNIP_CLOCK__FUNCTION psnip_uint32_t function PSNIP_CLOCK__FUNCTION (line 734) | PSNIP_CLOCK__FUNCTION int function psnip_uint64_t (line 752) | static psnip_uint64_t function munit_atomic_store (line 817) | static inline void function munit_atomic_load (line 823) | static inline uint32_t function munit_atomic_cas (line 831) | static inline uint32_t function munit_bool (line 871) | static inline munit_bool function munit_uint32_t (line 885) | static munit_uint32_t function munit_uint32_t (line 890) | static munit_uint32_t function munit_rand_seed (line 897) | void function munit_uint32_t (line 903) | static munit_uint32_t function munit_uint32_t (line 919) | static munit_uint32_t function munit_uint32_t (line 926) | munit_uint32_t function munit_rand_state_memory (line 938) | static void function munit_rand_memory (line 955) | void function munit_uint32_t (line 965) | static munit_uint32_t function munit_uint32_t (line 986) | static munit_uint32_t function munit_rand_int_range (line 999) | int function munit_rand_double (line 1012) | double type MunitReport (line 1031) | typedef struct { type MunitTestRunner (line 1042) | typedef struct { function munit_print_time (line 1069) | static void function MunitResult (line 1076) | static MunitResult function munit_maybe_free_concat (line 1123) | static void function munit_uint32_t (line 1130) | static munit_uint32_t function munit_splice (line 1141) | static void function MunitResult (line 1170) | static MunitResult function munit_test_runner_print_color (line 1246) | static void function munit_replace_stderr (line 1255) | static int function munit_restore_stderr (line 1273) | static void function munit_test_runner_run_test_with_params (line 1283) | static void function munit_test_runner_run_test_wild (line 1519) | static void function munit_test_runner_run_test (line 1552) | static void function munit_test_runner_run_suite (line 1655) | static void function munit_test_runner_run (line 1694) | static void function munit_print_help (line 1699) | static void function MunitArgument (line 1752) | static const MunitArgument* function munit_suite_list_tests (line 1763) | static void function munit_bool (line 1812) | static munit_bool function munit_suite_main_custom (line 1834) | int function munit_suite_main (line 2051) | int FILE: common/floats/src/munit.h type MunitLogLevel (line 172) | typedef enum { type MunitResult (line 439) | typedef enum { type MunitParameterEnum (line 452) | typedef struct { type MunitParameter (line 457) | typedef struct { type MunitTestOptions (line 464) | typedef enum { type MunitResult (line 470) | typedef MunitResult (* MunitTestFunc)(const MunitParameter params[], voi... type MunitTest (line 474) | typedef struct { type MunitSuiteOptions (line 483) | typedef enum { type MunitSuite (line 487) | typedef struct MunitSuite_ MunitSuite; type MunitSuite_ (line 489) | struct MunitSuite_ { type MunitArgument (line 502) | typedef struct MunitArgument_ MunitArgument; type MunitArgument_ (line 504) | struct MunitArgument_ { FILE: common/heap/filter.go type TopKFilter (line 24) | type TopKFilter struct function NewTopKFilter (line 30) | func NewTopKFilter[T any, W constraints.Ordered](k int) *TopKFilter[T, W] { method Push (line 36) | func (filter *TopKFilter[T, W]) Push(item T, weight W) { method PopAllValues (line 44) | func (filter *TopKFilter[T, W]) PopAllValues() []T { method PopAll (line 54) | func (filter *TopKFilter[T, W]) PopAll() []Elem[T, W] { FILE: common/heap/filter_test.go function TestTopKFilter (line 22) | func TestTopKFilter(t *testing.T) { function TestTopKStringFilter (line 48) | func TestTopKStringFilter(t *testing.T) { FILE: common/heap/pq.go type Elem (line 28) | type Elem struct type _heap (line 33) | type _heap struct method Len (line 38) | func (e *_heap[T, W]) Len() int { method Less (line 42) | func (e *_heap[T, W]) Less(i, j int) bool { method Swap (line 50) | func (e *_heap[T, W]) Swap(i, j int) { method Push (line 54) | func (e *_heap[T, W]) Push(x interface{}) { method Pop (line 59) | func (e *_heap[T, W]) Pop() interface{} { type PriorityQueue (line 67) | type PriorityQueue struct method Push (line 81) | func (p *PriorityQueue) Push(v int32, weight float32) { method Pop (line 96) | func (p *PriorityQueue) Pop() (int32, float32) { method Peek (line 101) | func (p *PriorityQueue) Peek() (int32, float32) { method Values (line 105) | func (p *PriorityQueue) Values() []int32 { method Elems (line 113) | func (p *PriorityQueue) Elems() []Elem[int32, float32] { method Clone (line 117) | func (p *PriorityQueue) Clone() *PriorityQueue { method Reverse (line 124) | func (p *PriorityQueue) Reverse() *PriorityQueue { method Marshal (line 133) | func (p *PriorityQueue) Marshal(w io.Writer) error { method Unmarshal (line 140) | func (p *PriorityQueue) Unmarshal(r io.Reader) error { function NewPriorityQueue (line 73) | func NewPriorityQueue(desc bool) *PriorityQueue { FILE: common/heap/pq_test.go function TestPriorityQueue (line 28) | func TestPriorityQueue(t *testing.T) { function TestMarshalUnmarshal (line 63) | func TestMarshalUnmarshal(t *testing.T) { FILE: common/jsonutil/json.go function Marshal (line 20) | func Marshal(v interface{}) ([]byte, error) { function Unmarshal (line 27) | func Unmarshal(data []byte, v interface{}) error { function MustMarshal (line 35) | func MustMarshal(v interface{}) string { FILE: common/jsonutil/json_test.go function TestUnmarshal (line 23) | func TestUnmarshal(t *testing.T) { function TestMarshal (line 34) | func TestMarshal(t *testing.T) { function TestMustMarshal (line 40) | func TestMustMarshal(t *testing.T) { FILE: common/log/log.go function init (line 39) | func init() { function Logger (line 67) | func Logger() *zap.Logger { function ResponseLogger (line 71) | func ResponseLogger(resp *restful.Response) *zap.Logger { function CloseLogger (line 75) | func CloseLogger() { function AddFlags (line 85) | func AddFlags(flagSet *pflag.FlagSet) { function SetLogger (line 92) | func SetLogger(flagSet *pflag.FlagSet, debug bool) { constant mysqlPrefix (line 125) | mysqlPrefix = "mysql://" function RedactDBURL (line 127) | func RedactDBURL(rawURL string) string { function GetErrorHandler (line 150) | func GetErrorHandler() otel.ErrorHandler { type errorHandler (line 154) | type errorHandler struct method Handle (line 156) | func (h *errorHandler) Handle(err error) { function OpenAILogger (line 160) | func OpenAILogger() *zap.Logger { function InitOpenAILogger (line 164) | func InitOpenAILogger(filename string) { type OptunaLogger (line 176) | type OptunaLogger struct method Debug (line 184) | func (o OptunaLogger) Debug(msg string, fields ...interface{}) { method Info (line 188) | func (o OptunaLogger) Info(msg string, fields ...interface{}) { method Warn (line 192) | func (o OptunaLogger) Warn(msg string, fields ...interface{}) { method Error (line 196) | func (o OptunaLogger) Error(msg string, fields ...interface{}) { function NewOptunaLogger (line 180) | func NewOptunaLogger(logger *zap.Logger) goptuna.Logger { FILE: common/log/log_test.go function TestSetDevelopmentLogger (line 25) | func TestSetDevelopmentLogger(t *testing.T) { function TestSetProductionLogger (line 44) | func TestSetProductionLogger(t *testing.T) { function TestRedactDBURL (line 63) | func TestRedactDBURL(t *testing.T) { FILE: common/mock/openai.go type OpenAIServer (line 30) | type OpenAIServer struct method Start (line 59) | func (s *OpenAIServer) Start() error { method BaseURL (line 69) | func (s *OpenAIServer) BaseURL() string { method AuthToken (line 73) | func (s *OpenAIServer) AuthToken() string { method Ready (line 77) | func (s *OpenAIServer) Ready() { method Close (line 81) | func (s *OpenAIServer) Close() error { method chatCompletion (line 85) | func (s *OpenAIServer) chatCompletion(req *restful.Request, resp *rest... method embeddings (line 122) | func (s *OpenAIServer) embeddings(req *restful.Request, resp *restful.... function NewOpenAIServer (line 37) | func NewOpenAIServer() *OpenAIServer { function Hash (line 144) | func Hash(input string) []float32 { FILE: common/mock/openai_test.go type OpenAITestSuite (line 27) | type OpenAITestSuite struct method SetupSuite (line 33) | func (suite *OpenAITestSuite) SetupSuite() { method TearDownSuite (line 46) | func (suite *OpenAITestSuite) TearDownSuite() { method TestChatCompletion (line 50) | func (suite *OpenAITestSuite) TestChatCompletion() { method TestChatCompletionStream (line 67) | func (suite *OpenAITestSuite) TestChatCompletionStream() { method TestEmbeddings (line 99) | func (suite *OpenAITestSuite) TestEmbeddings() { function TestOpenAITestSuite (line 111) | func TestOpenAITestSuite(t *testing.T) { FILE: common/monitor/progress.go type spanKeyType (line 28) | type spanKeyType type Status (line 32) | type Status constant StatusPending (line 35) | StatusPending Status = "Pending" constant StatusComplete (line 36) | StatusComplete Status = "Complete" constant StatusRunning (line 37) | StatusRunning Status = "Running" constant StatusSuspended (line 38) | StatusSuspended Status = "Suspended" constant StatusFailed (line 39) | StatusFailed Status = "Failed" type Monitor (line 42) | type Monitor struct method Start (line 52) | func (t *Monitor) Start(ctx context.Context, name string, total int) (... method List (line 63) | func (t *Monitor) List() []Progress { function NewTracer (line 47) | func NewTracer(name string) *Monitor { type Span (line 79) | type Span struct method Add (line 90) | func (s *Span) Add(n int) { method End (line 94) | func (s *Span) End() { method Fail (line 102) | func (s *Span) Fail(err error) { method Count (line 107) | func (s *Span) Count() int { method Progress (line 111) | func (s *Span) Progress() Progress { function Start (line 156) | func Start(ctx context.Context, name string, total int) (context.Context... function Fail (line 175) | func Fail(ctx context.Context, err error) { type Progress (line 183) | type Progress struct function DecodeProgress (line 194) | func DecodeProgress(in *protocol.PushProgressRequest) []Progress { function EncodeProgress (line 210) | func EncodeProgress(progressList []Progress) *protocol.PushProgressReque... FILE: common/monitor/progress_test.go type ProgressTestSuite (line 25) | type ProgressTestSuite struct method SetupTest (line 30) | func (suite *ProgressTestSuite) SetupTest() { function TestProgressTestSuite (line 34) | func TestProgressTestSuite(t *testing.T) { function TestEncodeDecode (line 38) | func TestEncodeDecode(t *testing.T) { FILE: common/nn/functions.go function Neg (line 21) | func Neg(x *Tensor) *Tensor { function Add (line 26) | func Add(x0 *Tensor, x ...*Tensor) *Tensor { function Sub (line 43) | func Sub(x0, x1 *Tensor) *Tensor { function Mul (line 56) | func Mul(x0, x1 *Tensor) *Tensor { function Div (line 69) | func Div(x0, x1 *Tensor) *Tensor { function Square (line 82) | func Square(x *Tensor) *Tensor { function Pow (line 87) | func Pow(x *Tensor, n *Tensor) *Tensor { function Exp (line 100) | func Exp(x *Tensor) *Tensor { function Log (line 105) | func Log(x *Tensor) *Tensor { function Sin (line 110) | func Sin(x *Tensor) *Tensor { function Cos (line 114) | func Cos(x *Tensor) *Tensor { function Abs (line 118) | func Abs(x *Tensor) *Tensor { function Sum (line 123) | func Sum(x *Tensor, along ...int) *Tensor { function Mean (line 133) | func Mean(x *Tensor) *Tensor { function MatMul (line 137) | func MatMul(x, y *Tensor, transpose1, transpose2 bool, jobs int) *Tensor { function BMM (line 146) | func BMM(x, y *Tensor, transpose1, transpose2 bool, jobs int) *Tensor { function Broadcast (line 155) | func Broadcast(x *Tensor, shape ...int) *Tensor { function Flatten (line 159) | func Flatten(x *Tensor) *Tensor { function Reshape (line 163) | func Reshape(x *Tensor, shape ...int) *Tensor { function Embedding (line 178) | func Embedding(w, x *Tensor) *Tensor { function Sigmoid (line 182) | func Sigmoid(x *Tensor) *Tensor { function ReLu (line 186) | func ReLu(x *Tensor) *Tensor { function Softmax (line 190) | func Softmax(x *Tensor, axis int) *Tensor { function MeanSquareError (line 194) | func MeanSquareError(x, y *Tensor) *Tensor { function SoftmaxCrossEntropy (line 198) | func SoftmaxCrossEntropy(x, y *Tensor) *Tensor { function BCEWithLogits (line 218) | func BCEWithLogits(target, prediction, weights *Tensor) *Tensor { FILE: common/nn/layers.go type Layer (line 28) | type Layer interface type Model (line 34) | type Model type LinearLayer (line 36) | type LinearLayer struct method Forward (line 50) | func (l *LinearLayer) Forward(x *Tensor) *Tensor { method Parameters (line 54) | func (l *LinearLayer) Parameters() []*Tensor { method SetJobs (line 58) | func (l *LinearLayer) SetJobs(jobs int) { function NewLinear (line 42) | func NewLinear(in, out int) Layer { type flattenLayer (line 62) | type flattenLayer struct method Parameters (line 68) | func (f *flattenLayer) Parameters() []*Tensor { method Forward (line 72) | func (f *flattenLayer) Forward(x *Tensor) *Tensor { method SetJobs (line 76) | func (f *flattenLayer) SetJobs(int) {} function NewFlatten (line 64) | func NewFlatten() Layer { type EmbeddingLayer (line 78) | type EmbeddingLayer struct method Parameters (line 89) | func (e *EmbeddingLayer) Parameters() []*Tensor { method Forward (line 93) | func (e *EmbeddingLayer) Forward(x *Tensor) *Tensor { method SetJobs (line 97) | func (e *EmbeddingLayer) SetJobs(int) {} function NewEmbedding (line 82) | func NewEmbedding(n int, shape ...int) Layer { type sigmoidLayer (line 99) | type sigmoidLayer struct method Parameters (line 105) | func (s *sigmoidLayer) Parameters() []*Tensor { method Forward (line 109) | func (s *sigmoidLayer) Forward(x *Tensor) *Tensor { method SetJobs (line 113) | func (s *sigmoidLayer) SetJobs(int) {} function NewSigmoid (line 101) | func NewSigmoid() Layer { type reluLayer (line 115) | type reluLayer struct method Parameters (line 121) | func (r *reluLayer) Parameters() []*Tensor { method Forward (line 125) | func (r *reluLayer) Forward(x *Tensor) *Tensor { method SetJobs (line 129) | func (r *reluLayer) SetJobs(int) {} function NewReLU (line 117) | func NewReLU() Layer { type Sequential (line 131) | type Sequential struct method Parameters (line 139) | func (s *Sequential) Parameters() []*Tensor { method Forward (line 147) | func (s *Sequential) Forward(x *Tensor) *Tensor { method SetJobs (line 154) | func (s *Sequential) SetJobs(jobs int) { function NewSequential (line 135) | func NewSequential(layers ...Layer) Model { type Attention (line 160) | type Attention struct method Parameters (line 173) | func (a *Attention) Parameters() []*Tensor { method Forward (line 180) | func (a *Attention) Forward(x *Tensor) *Tensor { method SetJobs (line 187) | func (a *Attention) SetJobs(jobs int) { function NewAttention (line 166) | func NewAttention(dimensions, k int) *Attention { function Save (line 192) | func Save(o any, w io.Writer) error { function Load (line 237) | func Load(o any, r io.Reader) error { FILE: common/nn/nn_test.go function TestLinearRegression (line 40) | func TestLinearRegression(t *testing.T) { function TestNeuralNetwork (line 67) | func TestNeuralNetwork(t *testing.T) { function iris (line 94) | func iris() (*Tensor, *Tensor, error) { function TestIris (line 130) | func TestIris(t *testing.T) { function mnist (line 155) | func mnist() (lo.Tuple2[*Tensor, *Tensor], lo.Tuple2[*Tensor, *Tensor], ... function openMNISTFile (line 174) | func openMNISTFile(path string) (*Tensor, *Tensor, error) { function accuracy (line 215) | func accuracy(prediction, target *Tensor) float32 { function TestMNIST (line 226) | func TestMNIST(t *testing.T) { function spiral (line 281) | func spiral() (*Tensor, *Tensor, error) { function TestSaveAndLoad (line 305) | func TestSaveAndLoad(t *testing.T) { FILE: common/nn/op.go type op (line 24) | type op interface type base (line 35) | type base struct method inputsAndOutput (line 41) | func (b *base) inputsAndOutput() ([]*Tensor, *Tensor) { method setInputs (line 45) | func (b *base) setInputs(inputs ...*Tensor) { method setOutput (line 49) | func (b *base) setOutput(y *Tensor) { method generation (line 53) | func (b *base) generation() int { method setGeneration (line 57) | func (b *base) setGeneration(gen int) { function apply (line 61) | func apply[T op](f T, inputs ...*Tensor) *Tensor { type neg (line 78) | type neg struct method String (line 82) | func (n *neg) String() string { method forward (line 86) | func (n *neg) forward(inputs ...*Tensor) *Tensor { method backward (line 92) | func (n *neg) backward(dy *Tensor) []*Tensor { type add (line 98) | type add struct method String (line 102) | func (a *add) String() string { method forward (line 106) | func (a *add) forward(inputs ...*Tensor) *Tensor { method backward (line 112) | func (a *add) backward(dy *Tensor) []*Tensor { type sub (line 125) | type sub struct method String (line 129) | func (s *sub) String() string { method forward (line 133) | func (s *sub) forward(inputs ...*Tensor) *Tensor { method backward (line 139) | func (s *sub) backward(dy *Tensor) []*Tensor { type mul (line 152) | type mul struct method String (line 156) | func (m *mul) String() string { method forward (line 160) | func (m *mul) forward(inputs ...*Tensor) *Tensor { method backward (line 166) | func (m *mul) backward(dy *Tensor) []*Tensor { type div (line 180) | type div struct method String (line 184) | func (d *div) String() string { method forward (line 188) | func (d *div) forward(inputs ...*Tensor) *Tensor { method backward (line 194) | func (d *div) backward(dy *Tensor) []*Tensor { type sin (line 210) | type sin struct method String (line 214) | func (s *sin) String() string { method forward (line 218) | func (s *sin) forward(inputs ...*Tensor) *Tensor { method backward (line 224) | func (s *sin) backward(dy *Tensor) []*Tensor { type cos (line 231) | type cos struct method String (line 235) | func (c *cos) String() string { method forward (line 239) | func (c *cos) forward(inputs ...*Tensor) *Tensor { method backward (line 245) | func (c *cos) backward(dy *Tensor) []*Tensor { type square (line 253) | type square struct method String (line 257) | func (s *square) String() string { method forward (line 261) | func (s *square) forward(inputs ...*Tensor) *Tensor { method backward (line 267) | func (s *square) backward(dy *Tensor) []*Tensor { type pow (line 274) | type pow struct method String (line 278) | func (p *pow) String() string { method forward (line 282) | func (p *pow) forward(inputs ...*Tensor) *Tensor { method backward (line 288) | func (p *pow) backward(dy *Tensor) []*Tensor { type exp (line 305) | type exp struct method String (line 309) | func (e *exp) String() string { method forward (line 313) | func (e *exp) forward(inputs ...*Tensor) *Tensor { method backward (line 319) | func (e *exp) backward(dy *Tensor) []*Tensor { type log (line 326) | type log struct method String (line 330) | func (l *log) String() string { method forward (line 334) | func (l *log) forward(inputs ...*Tensor) *Tensor { method backward (line 340) | func (l *log) backward(dy *Tensor) []*Tensor { type abs (line 346) | type abs struct method String (line 350) | func (a *abs) String() string { method forward (line 354) | func (a *abs) forward(inputs ...*Tensor) *Tensor { method backward (line 364) | func (a *abs) backward(dy *Tensor) []*Tensor { type sum (line 374) | type sum struct method String (line 378) | func (s *sum) String() string { method forward (line 382) | func (s *sum) forward(inputs ...*Tensor) *Tensor { method backward (line 391) | func (s *sum) backward(dy *Tensor) []*Tensor { type partialSum (line 399) | type partialSum struct method String (line 404) | func (p *partialSum) String() string { method forward (line 408) | func (p *partialSum) forward(inputs ...*Tensor) *Tensor { method backward (line 441) | func (p *partialSum) backward(dy *Tensor) []*Tensor { type mean (line 466) | type mean struct method String (line 470) | func (m *mean) String() string { method forward (line 474) | func (m *mean) forward(inputs ...*Tensor) *Tensor { method backward (line 484) | func (m *mean) backward(dy *Tensor) []*Tensor { type matMul (line 492) | type matMul struct method String (line 499) | func (m *matMul) String() string { method forward (line 503) | func (m *matMul) forward(inputs ...*Tensor) *Tensor { method backward (line 507) | func (m *matMul) backward(dy *Tensor) []*Tensor { type batchMatMul (line 533) | type batchMatMul struct method String (line 540) | func (b *batchMatMul) String() string { method forward (line 544) | func (b *batchMatMul) forward(inputs ...*Tensor) *Tensor { method backward (line 548) | func (b *batchMatMul) backward(dy *Tensor) []*Tensor { type broadcast (line 574) | type broadcast struct method String (line 579) | func (b *broadcast) String() string { method forward (line 583) | func (b *broadcast) forward(inputs ...*Tensor) *Tensor { method backward (line 607) | func (b *broadcast) backward(dy *Tensor) []*Tensor { type flatten (line 621) | type flatten struct method String (line 625) | func (f *flatten) String() string { method forward (line 629) | func (f *flatten) forward(inputs ...*Tensor) *Tensor { method backward (line 633) | func (f *flatten) backward(dy *Tensor) []*Tensor { type reshape (line 637) | type reshape struct method String (line 642) | func (r *reshape) String() string { method forward (line 646) | func (r *reshape) forward(inputs ...*Tensor) *Tensor { method backward (line 650) | func (r *reshape) backward(dy *Tensor) []*Tensor { type embedding (line 654) | type embedding struct method String (line 658) | func (e *embedding) String() string { method forward (line 662) | func (e *embedding) forward(inputs ...*Tensor) *Tensor { method backward (line 687) | func (e *embedding) backward(dy *Tensor) []*Tensor { type sigmoid (line 703) | type sigmoid struct method String (line 707) | func (s *sigmoid) String() string { method forward (line 711) | func (s *sigmoid) forward(inputs ...*Tensor) *Tensor { method backward (line 721) | func (s *sigmoid) backward(dy *Tensor) []*Tensor { type relu (line 731) | type relu struct method String (line 735) | func (r *relu) String() string { method forward (line 739) | func (r *relu) forward(inputs ...*Tensor) *Tensor { method backward (line 745) | func (r *relu) backward(dy *Tensor) []*Tensor { type softmax (line 751) | type softmax struct method String (line 756) | func (s *softmax) String() string { method forward (line 760) | func (s *softmax) forward(inputs ...*Tensor) *Tensor { method backward (line 769) | func (s *softmax) backward(dy *Tensor) []*Tensor { type softmaxCrossEntropy (line 779) | type softmaxCrossEntropy struct method String (line 783) | func (c *softmaxCrossEntropy) String() string { method forward (line 787) | func (c *softmaxCrossEntropy) forward(inputs ...*Tensor) *Tensor { method backward (line 804) | func (c *softmaxCrossEntropy) backward(dy *Tensor) []*Tensor { type opHeap (line 823) | type opHeap method Len (line 825) | func (h opHeap) Len() int { method Less (line 829) | func (h opHeap) Less(i, j int) bool { method Swap (line 833) | func (h opHeap) Swap(i, j int) { method Push (line 837) | func (h *opHeap) Push(o any) { method Pop (line 841) | func (h *opHeap) Pop() any { FILE: common/nn/op_test.go constant eps (line 25) | eps = 1e-4 constant rtol (line 26) | rtol = 1e-2 constant atol (line 27) | atol = 5e-3 function numericalDiff (line 30) | func numericalDiff(f func(*Tensor) *Tensor, x *Tensor) *Tensor { function allClose (line 47) | func allClose(t *testing.T, a, b *Tensor) { function TestAdd (line 59) | func TestAdd(t *testing.T) { function TestSub (line 99) | func TestSub(t *testing.T) { function TestMul (line 139) | func TestMul(t *testing.T) { function TestDiv (line 179) | func TestDiv(t *testing.T) { function TestSquare (line 216) | func TestSquare(t *testing.T) { function TestPow (line 230) | func TestPow(t *testing.T) { function TestExp (line 266) | func TestExp(t *testing.T) { function TestLog (line 280) | func TestLog(t *testing.T) { function TestAbs (line 294) | func TestAbs(t *testing.T) { function TestSum (line 308) | func TestSum(t *testing.T) { function TestMean (line 334) | func TestMean(t *testing.T) { function TestCos (line 347) | func TestCos(t *testing.T) { function TestSin (line 361) | func TestSin(t *testing.T) { function TestMatMul (line 375) | func TestMatMul(t *testing.T) { function TestBMM (line 417) | func TestBMM(t *testing.T) { function TestBroadcast (line 469) | func TestBroadcast(t *testing.T) { function TestEmbedding (line 480) | func TestEmbedding(t *testing.T) { function TestSigmoid (line 506) | func TestSigmoid(t *testing.T) { function TestReLu (line 520) | func TestReLu(t *testing.T) { function TestSoftmax (line 534) | func TestSoftmax(t *testing.T) { function TestFlatten (line 547) | func TestFlatten(t *testing.T) { function TestReshape (line 558) | func TestReshape(t *testing.T) { function TestSoftmaxCrossEntropy (line 569) | func TestSoftmaxCrossEntropy(t *testing.T) { function TestReuseLeaf (line 583) | func TestReuseLeaf(t *testing.T) { function TestReuseNode (line 595) | func TestReuseNode(t *testing.T) { function TestDependency (line 611) | func TestDependency(t *testing.T) { function TestSphere (line 627) | func TestSphere(t *testing.T) { function TestMatyas (line 642) | func TestMatyas(t *testing.T) { function TestGoldsteinPrice (line 661) | func TestGoldsteinPrice(t *testing.T) { FILE: common/nn/optimizers.go type Optimizer (line 25) | type Optimizer interface type baseOptimizer (line 32) | type baseOptimizer struct method ZeroGrad (line 38) | func (o *baseOptimizer) ZeroGrad() { method SetWeightDecay (line 44) | func (o *baseOptimizer) SetWeightDecay(wd float32) { method SetJobs (line 48) | func (o *baseOptimizer) SetJobs(jobs int) { type SGD (line 52) | type SGD struct method Step (line 70) | func (s *SGD) Step() { function NewSGD (line 58) | func NewSGD(params []*Tensor, lr float32) Optimizer { type Adam (line 86) | type Adam struct method Step (line 118) | func (a *Adam) Step() { function NewAdam (line 100) | func NewAdam(params []*Tensor, alpha float32) Optimizer { function partitionAligned (line 160) | func partitionAligned(n, m, k int) []lo.Tuple2[int, int] { FILE: common/nn/tensor.go function SetInferenceMode (line 40) | func SetInferenceMode(enabled bool) { type Tensor (line 44) | type Tensor struct method generation (line 162) | func (t *Tensor) generation() int { method IsScalar (line 169) | func (t *Tensor) IsScalar() bool { method NoGrad (line 174) | func (t *Tensor) NoGrad() *Tensor { method Shape (line 181) | func (t *Tensor) Shape() []int { method Slice (line 186) | func (t *Tensor) Slice(start, end int) *Tensor { method SliceIndices (line 203) | func (t *Tensor) SliceIndices(indices ...int) *Tensor { method Get (line 221) | func (t *Tensor) Get(indices ...int) float32 { method String (line 235) | func (t *Tensor) String() string { method Backward (line 267) | func (t *Tensor) Backward() { method Grad (line 293) | func (t *Tensor) Grad() *Tensor { method Data (line 297) | func (t *Tensor) Data() []float32 { method clone (line 301) | func (t *Tensor) clone() *Tensor { method add (line 310) | func (t *Tensor) add(other *Tensor) *Tensor { method sub (line 328) | func (t *Tensor) sub(other *Tensor) *Tensor { method bSub (line 342) | func (t *Tensor) bSub(other *Tensor) *Tensor { method mul (line 356) | func (t *Tensor) mul(other *Tensor) *Tensor { method div (line 370) | func (t *Tensor) div(other *Tensor) *Tensor { method bDiv (line 384) | func (t *Tensor) bDiv(other *Tensor) *Tensor { method square (line 398) | func (t *Tensor) square() *Tensor { method pow (line 403) | func (t *Tensor) pow(other *Tensor) *Tensor { method exp (line 414) | func (t *Tensor) exp() *Tensor { method log (line 421) | func (t *Tensor) log() *Tensor { method sin (line 428) | func (t *Tensor) sin() *Tensor { method cos (line 435) | func (t *Tensor) cos() *Tensor { method tanh (line 442) | func (t *Tensor) tanh() *Tensor { method neg (line 449) | func (t *Tensor) neg() *Tensor { method matMul (line 494) | func (t *Tensor) matMul(other *Tensor, transpose1, transpose2 bool, jo... method batchMatMul (line 553) | func (t *Tensor) batchMatMul(other *Tensor, transpose1, transpose2 boo... method maximum (line 602) | func (t *Tensor) maximum(other *Tensor) { method gt (line 614) | func (t *Tensor) gt(other *Tensor) *Tensor { method transpose (line 635) | func (t *Tensor) transpose() *Tensor { method max (line 661) | func (t *Tensor) max(axis int, keepDim bool) *Tensor { method sum (line 700) | func (t *Tensor) sum(axis int, keepDim bool) *Tensor { method argmax (line 739) | func (t *Tensor) argmax() []int { method toPB (line 759) | func (t *Tensor) toPB() *protocol.Tensor { method fromPB (line 766) | func (t *Tensor) fromPB(pb *protocol.Tensor) { function NewTensor (line 51) | func NewTensor(data []float32, shape ...int) *Tensor { function NewScalar (line 65) | func NewScalar(data float32) *Tensor { function LinSpace (line 72) | func LinSpace(start, end float32, shape ...int) *Tensor { function Rand (line 88) | func Rand(shape ...int) *Tensor { function Uniform (line 103) | func Uniform(low, high float32, shape ...int) *Tensor { function Normal (line 118) | func Normal(mean, std float32, shape ...int) *Tensor { function Ones (line 134) | func Ones(shape ...int) *Tensor { function Zeros (line 150) | func Zeros(shape ...int) *Tensor { function partition (line 456) | func partition(n, p int) []lo.Tuple2[int, int] { function NormalInit (line 774) | func NormalInit(t *Tensor, mean, std float32) { FILE: common/nn/tensor_test.go function TestTensor_Slice (line 23) | func TestTensor_Slice(t *testing.T) { function TestTensor_SliceIndices (line 36) | func TestTensor_SliceIndices(t *testing.T) { function TestTensor_Max (line 43) | func TestTensor_Max(t *testing.T) { function TestTensor_Sum (line 61) | func TestTensor_Sum(t *testing.T) { function TestTensor_Transpose (line 79) | func TestTensor_Transpose(t *testing.T) { method matMulLegacy (line 86) | func (t *Tensor) matMulLegacy(other *Tensor, transpose1, transpose2 bool... method batchMatMulLegacy (line 170) | func (t *Tensor) batchMatMulLegacy(other *Tensor, transpose1, transpose2... function BenchmarkMatMulLegacy64 (line 262) | func BenchmarkMatMulLegacy64(b *testing.B) { function BenchmarkMatMul64 (line 276) | func BenchmarkMatMul64(b *testing.B) { function BenchmarkBatchMatMulLegacy64 (line 290) | func BenchmarkBatchMatMulLegacy64(b *testing.B) { function BenchmarkBatchMatMul64 (line 304) | func BenchmarkBatchMatMul64(b *testing.B) { FILE: common/parallel/parallel.go constant chanSize (line 26) | chanSize = 1024 function Parallel (line 33) | func Parallel(ctx context.Context, nJobs, nWorkers int, worker func(work... function For (line 96) | func For(ctx context.Context, nJobs, nWorkers int, worker func(int)) err... function ForEach (line 143) | func ForEach[T any](ctx context.Context, a []T, nWorkers int, worker fun... function Split (line 191) | func Split[T any](a []T, n int) [][]T { type Context (line 212) | type Context struct method Detach (line 218) | func (ctx *Context) Detach() { method Attach (line 227) | func (ctx *Context) Attach() { function Detachable (line 236) | func Detachable(ctx context.Context, nJobs, nWorkers, nMaxDetached int, ... FILE: common/parallel/parallel_test.go function TestParallel (line 29) | func TestParallel(t *testing.T) { function TestFor (line 57) | func TestFor(t *testing.T) { function TestForCancel (line 78) | func TestForCancel(t *testing.T) { function TestForEach (line 96) | func TestForEach(t *testing.T) { function TestForEachCancel (line 119) | func TestForEachCancel(t *testing.T) { function TestParallelFail (line 137) | func TestParallelFail(t *testing.T) { function TestParallelCancel (line 156) | func TestParallelCancel(t *testing.T) { function TestSplit (line 175) | func TestSplit(t *testing.T) { function TestDetachable (line 185) | func TestDetachable(t *testing.T) { function TestDetachableCancel (line 209) | func TestDetachableCancel(t *testing.T) { FILE: common/parallel/ratelimit.go function InitChatCompletionLimiters (line 18) | func InitChatCompletionLimiters(rpm, tpm int) { function InitEmbeddingLimiters (line 28) | func InitEmbeddingLimiters(rpm, tpm int) { type RateLimiter (line 38) | type RateLimiter interface type Unlimited (line 42) | type Unlimited struct method Take (line 44) | func (n *Unlimited) Take(count int64) time.Duration { FILE: common/parallel/ratelimit_test.go function TestUnlimited (line 10) | func TestUnlimited(t *testing.T) { function TestInitEmbeddingLimiters (line 15) | func TestInitEmbeddingLimiters(t *testing.T) { function TestInitChatCompletionLimiters (line 23) | func TestInitChatCompletionLimiters(t *testing.T) { FILE: common/rc/rc.go type DropFunc (line 25) | type DropFunc type rcPointer (line 27) | type rcPointer struct type Rc (line 32) | type Rc struct method Reset (line 38) | func (r *Rc[T]) Reset(pointer T) { method Get (line 52) | func (r *Rc[T]) Get() (T, DropFunc) { method get (line 58) | func (r *Rc[T]) get() (T, DropFunc) { method Apply (line 76) | func (r *Rc[T]) Apply(f func(T)) { FILE: common/rc/rc_test.go type Foo (line 26) | type Foo struct method Close (line 36) | func (f *Foo) Close() error { function NewFoo (line 30) | func NewFoo() *Foo { function TestRc_Get (line 41) | func TestRc_Get(t *testing.T) { function TestRc_Apply (line 51) | func TestRc_Apply(t *testing.T) { function TestRc_Concurrent (line 62) | func TestRc_Concurrent(t *testing.T) { FILE: common/reranker/client.go type Client (line 29) | type Client struct method Rerank (line 65) | func (c *Client) Rerank(ctx context.Context, req RerankRequest) (*Rera... function NewClient (line 35) | func NewClient(apiKey, endpoint string) *Client { type RerankRequest (line 43) | type RerankRequest struct type RerankResponse (line 50) | type RerankResponse struct type RerankResult (line 56) | type RerankResult struct type Usage (line 61) | type Usage struct type MockServer (line 105) | type MockServer struct method Start (line 130) | func (s *MockServer) Start() error { method URL (line 140) | func (s *MockServer) URL() string { method AuthToken (line 144) | func (s *MockServer) AuthToken() string { method Ready (line 148) | func (s *MockServer) Ready() { method Close (line 152) | func (s *MockServer) Close() error { method rerank (line 156) | func (s *MockServer) rerank(req *restful.Request, resp *restful.Respon... function NewMockServer (line 112) | func NewMockServer() *MockServer { FILE: common/reranker/client_test.go type ClientTestSuite (line 24) | type ClientTestSuite struct method SetupSuite (line 29) | func (suite *ClientTestSuite) SetupSuite() { method TearDownSuite (line 38) | func (suite *ClientTestSuite) TearDownSuite() { method TestRerank (line 42) | func (suite *ClientTestSuite) TestRerank() { function TestClient (line 63) | func TestClient(t *testing.T) { FILE: common/sizeof/size.go function DeepSize (line 43) | func DeepSize(v any) int { function valueSize (line 47) | func valueSize(v reflect.Value, seen map[uintptr]bool) uintptr { FILE: common/sizeof/size_test.go function TestCyclic (line 23) | func TestCyclic(t *testing.T) { function TestDeepSize (line 38) | func TestDeepSize(t *testing.T) { FILE: common/util/random.go type RandomGenerator (line 25) | type RandomGenerator struct method UniformVector (line 35) | func (rng RandomGenerator) UniformVector(size int, low, high float32) ... method NewNormalVector (line 45) | func (rng RandomGenerator) NewNormalVector(size int, mean, stdDev floa... method NormalMatrix (line 54) | func (rng RandomGenerator) NormalMatrix(row, col int, mean, stdDev flo... method NormalVector (line 62) | func (rng RandomGenerator) NormalVector(size int, mean, stdDev float32... method UniformMatrix (line 71) | func (rng RandomGenerator) UniformMatrix(row, col int, low, high float... method NormalVector64 (line 80) | func (rng RandomGenerator) NormalVector64(size int, mean, stdDev float... method Sample (line 89) | func (rng RandomGenerator) Sample(low, high, n int, exclude ...mapset.... method SampleInt32 (line 116) | func (rng RandomGenerator) SampleInt32(low, high int32, n int, exclude... function NewRandomGenerator (line 30) | func NewRandomGenerator(seed int64) RandomGenerator { type lockedSource (line 144) | type lockedSource struct method Int63 (line 154) | func (r *lockedSource) Int63() (n int64) { method Seed (line 161) | func (r *lockedSource) Seed(seed int64) { function NewRand (line 150) | func NewRand(seed int64) *rand.Rand { FILE: common/util/random_test.go constant randomEpsilon (line 25) | randomEpsilon = 0.1 function TestRandomGenerator_MakeNormalMatrix (line 27) | func TestRandomGenerator_MakeNormalMatrix(t *testing.T) { function TestRandomGenerator_MakeUniformMatrix (line 34) | func TestRandomGenerator_MakeUniformMatrix(t *testing.T) { function TestRandomGenerator_Sample (line 41) | func TestRandomGenerator_Sample(t *testing.T) { function TestRandomGenerator_SampleInt32 (line 52) | func TestRandomGenerator_SampleInt32(t *testing.T) { function mean (line 64) | func mean(x []float32) float32 { function stdDev (line 69) | func stdDev(x []float32) float32 { function meanVariance (line 83) | func meanVariance(x []float32) (m, variance float32) { FILE: common/util/strconv.go function ParseFloat (line 24) | func ParseFloat[T constraints.Float](s string) (T, error) { function ParseUInt (line 29) | func ParseUInt[T constraints.Unsigned](s string) (T, error) { function ParseInt (line 34) | func ParseInt[T constraints.Signed](s string) (T, error) { function FormatInt (line 39) | func FormatInt[T constraints.Signed](i T) string { FILE: common/util/tls.go type TLSConfig (line 26) | type TLSConfig struct function NewServerCreds (line 32) | func NewServerCreds(o *TLSConfig) (credentials.TransportCredentials, err... function NewClientCreds (line 60) | func NewClientCreds(o *TLSConfig) (credentials.TransportCredentials, err... FILE: common/util/util.go function RangeInt (line 29) | func RangeInt(n int) []int { function RepeatFloat32s (line 38) | func RepeatFloat32s(n int, value float32) []float32 { function NewMatrix32 (line 47) | func NewMatrix32(row, col int) [][]float32 { function NewTensor32 (line 56) | func NewTensor32(a, b, c int) [][][]float32 { function NewMatrixInt (line 65) | func NewMatrixInt(row, col int) [][]int { function CheckPanic (line 74) | func CheckPanic() { function ValidateId (line 81) | func ValidateId(text string) error { function MD5 (line 92) | func MD5(s ...string) string { FILE: common/util/util_test.go function TestNewMatrix32 (line 23) | func TestNewMatrix32(t *testing.T) { function TestRangeInt (line 31) | func TestRangeInt(t *testing.T) { function TestRepeatFloat32s (line 39) | func TestRepeatFloat32s(t *testing.T) { function TestNewMatrixInt (line 44) | func TestNewMatrixInt(t *testing.T) { function TestNewTensor32 (line 52) | func TestNewTensor32(t *testing.T) { function TestValidateId (line 59) | func TestValidateId(t *testing.T) { function TestMD5 (line 65) | func TestMD5(t *testing.T) { FILE: config/config.go function init (line 53) | func init() { type Config (line 61) | type Config struct method Now (line 516) | func (config *Config) Now() *time.Time { method Validate (line 747) | func (config *Config) Validate() error { type DatabaseConfig (line 73) | type DatabaseConfig struct method StorageOptions (line 101) | func (db *DatabaseConfig) StorageOptions(path string) []storage.Option { type MySQLConfig (line 84) | type MySQLConfig struct type SQLConfig (line 91) | type SQLConfig struct type RedisConfig (line 97) | type RedisConfig struct type MasterConfig (line 127) | type MasterConfig struct type ServerConfig (line 147) | type ServerConfig struct type RecommendConfig (line 157) | type RecommendConfig struct method ListRecommenders (line 173) | func (r *RecommendConfig) ListRecommenders() []string { method Hash (line 192) | func (r *RecommendConfig) Hash() string { function StringToFeedbackTypeHookFunc (line 227) | func StringToFeedbackTypeHookFunc() mapstructure.DecodeHookFunc { type DataSourceConfig (line 244) | type DataSourceConfig struct type NonPersonalizedConfig (line 251) | type NonPersonalizedConfig struct method FullName (line 257) | func (config *NonPersonalizedConfig) FullName() string { method Hash (line 261) | func (config *NonPersonalizedConfig) Hash() string { type ItemToItemConfig (line 269) | type ItemToItemConfig struct method FullName (line 276) | func (config *ItemToItemConfig) FullName() string { method Hash (line 280) | func (config *ItemToItemConfig) Hash(cfg *RecommendConfig) string { type UserToUserConfig (line 293) | type UserToUserConfig struct method FullName (line 299) | func (config *UserToUserConfig) FullName() string { method Hash (line 303) | func (config *UserToUserConfig) Hash(cfg *RecommendConfig) string { type CollaborativeConfig (line 316) | type CollaborativeConfig struct method FullName (line 325) | func (config *CollaborativeConfig) FullName() string { method Hash (line 329) | func (config *CollaborativeConfig) Hash(cfg *RecommendConfig) string { type EarlyStoppingConfig (line 337) | type EarlyStoppingConfig struct type ExternalConfig (line 341) | type ExternalConfig struct method FullName (line 346) | func (config *ExternalConfig) FullName() string { method Hash (line 350) | func (config *ExternalConfig) Hash() string { type ReplacementConfig (line 357) | type ReplacementConfig struct type RankerConfig (line 363) | type RankerConfig struct type FallbackConfig (line 377) | type FallbackConfig struct type TracingConfig (line 381) | type TracingConfig struct method NewTracerProvider (line 520) | func (config *TracingConfig) NewTracerProvider() (trace.TracerProvider... method Equal (line 571) | func (config *TracingConfig) Equal(other TracingConfig) bool { type OIDCConfig (line 389) | type OIDCConfig struct type RerankerAPIConfig (line 397) | type RerankerAPIConfig struct type OpenAIConfig (line 403) | type OpenAIConfig struct type BlobConfig (line 416) | type BlobConfig struct type S3Config (line 423) | type S3Config struct type GCSConfig (line 429) | type GCSConfig struct type AzureBlobConfig (line 433) | type AzureBlobConfig struct function GetDefaultConfig (line 440) | func GetDefaultConfig() *Config { function setDefault (line 582) | func setDefault() { type configBinding (line 645) | type configBinding struct function LoadConfig (line 694) | func LoadConfig(path string) (*Config, error) { function MkDir (line 906) | func MkDir(elem ...string) string { FILE: config/config_test.go function TestUnmarshal (line 33) | func TestUnmarshal(t *testing.T) { function TestSetDefault (line 173) | func TestSetDefault(t *testing.T) { type environmentVariable (line 187) | type environmentVariable struct function TestBindEnv (line 192) | func TestBindEnv(t *testing.T) { function TestTablePrefixCompat (line 285) | func TestTablePrefixCompat(t *testing.T) { function TestNonPersonalizedConfig (line 303) | func TestNonPersonalizedConfig(t *testing.T) { function TestItemToItemConfig (line 323) | func TestItemToItemConfig(t *testing.T) { function TestUserToUserConfig (line 352) | func TestUserToUserConfig(t *testing.T) { function TestCollaborativeConfig (line 381) | func TestCollaborativeConfig(t *testing.T) { function TestExternalConfig (line 392) | func TestExternalConfig(t *testing.T) { function TestRecommendConfig (line 408) | func TestRecommendConfig(t *testing.T) { type ValidateTestSuite (line 452) | type ValidateTestSuite struct method SetupTest (line 457) | func (s *ValidateTestSuite) SetupTest() { method TestDuplicateNonPersonalized (line 463) | func (s *ValidateTestSuite) TestDuplicateNonPersonalized() { method TestDuplicateItemToItem (line 474) | func (s *ValidateTestSuite) TestDuplicateItemToItem() { method TestRecommendersExistence (line 485) | func (s *ValidateTestSuite) TestRecommendersExistence() { function TestValidate (line 494) | func TestValidate(t *testing.T) { FILE: dataset/dataset.go type ID (line 36) | type ID type CFSplit (line 39) | type CFSplit interface type CTRSplit (line 61) | type CTRSplit interface type Dataset (line 77) | type Dataset struct method GetTimestamp (line 109) | func (d *Dataset) GetTimestamp() time.Time { method CountFeedback (line 113) | func (d *Dataset) CountFeedback() int { method GetUsers (line 117) | func (d *Dataset) GetUsers() []data.User { method GetUserDict (line 121) | func (d *Dataset) GetUserDict() *FreqDict { method CountUsers (line 125) | func (d *Dataset) CountUsers() int { method GetItems (line 129) | func (d *Dataset) GetItems() []data.Item { method GetItemDict (line 133) | func (d *Dataset) GetItemDict() *FreqDict { method CountItems (line 137) | func (d *Dataset) CountItems() int { method GetUserFeedback (line 141) | func (d *Dataset) GetUserFeedback() [][]int32 { method GetItemFeedback (line 145) | func (d *Dataset) GetItemFeedback() [][]int32 { method GetCategories (line 149) | func (d *Dataset) GetCategories() map[string]int { method GetUserIDF (line 159) | func (d *Dataset) GetUserIDF() []float32 { method GetItemIDF (line 174) | func (d *Dataset) GetItemIDF() []float32 { method GetUserColumnValuesIDF (line 183) | func (d *Dataset) GetUserColumnValuesIDF() []float32 { method GetItemColumnValuesIDF (line 192) | func (d *Dataset) GetItemColumnValuesIDF() []float32 { method AddUser (line 201) | func (d *Dataset) AddUser(user data.User) { method AddItem (line 216) | func (d *Dataset) AddItem(item data.Item) { method AddFeedback (line 234) | func (d *Dataset) AddFeedback(userId, itemId string, timestamp time.Ti... method SampleUserNegatives (line 243) | func (d *Dataset) SampleUserNegatives(excludeSet CFSplit, numCandidate... method SplitCF (line 259) | func (d *Dataset) SplitCF(numTestUsers int, seed int64) (CFSplit, CFSp... method SplitLatest (line 322) | func (d *Dataset) SplitLatest(shots int) (CFSplit, CFSplit) { function NewDataset (line 93) | func NewDataset(timestamp time.Time, userCount, itemCount int) *Dataset { type Labels (line 354) | type Labels struct method processLabels (line 366) | func (l *Labels) processLabels(labels any, parent string) any { function NewLabels (line 359) | func NewLabels() *Labels { function isSliceOf (line 392) | func isSliceOf[T any](v []any) bool { function LoadDataFromBuiltIn (line 401) | func LoadDataFromBuiltIn(dataSetName string) (*Dataset, *Dataset, error) { function loadTrain (line 426) | func loadTrain(path string) (*Dataset, error) { function loadTest (line 461) | func loadTest(dataset *Dataset, path string) error { FILE: dataset/dataset_test.go function TestDataset_AddItem (line 29) | func TestDataset_AddItem(t *testing.T) { function TestDataset_GetItemColumnValuesIDF (line 84) | func TestDataset_GetItemColumnValuesIDF(t *testing.T) { function TestDataset_AddUser (line 112) | func TestDataset_AddUser(t *testing.T) { function TestDataset_GetUserColumnValuesIDF (line 127) | func TestDataset_GetUserColumnValuesIDF(t *testing.T) { function TestDataset_AddFeedback (line 149) | func TestDataset_AddFeedback(t *testing.T) { function TestDataset_Split (line 177) | func TestDataset_Split(t *testing.T) { function TestDataset_SplitLatest (line 211) | func TestDataset_SplitLatest(t *testing.T) { function TestDataset_LoadMovieLens1M (line 242) | func TestDataset_LoadMovieLens1M(t *testing.T) { FILE: dataset/dict.go type FreqDict (line 17) | type FreqDict struct method Count (line 28) | func (d *FreqDict) Count() int32 { method Add (line 32) | func (d *FreqDict) Add(s string) (y int32) { method AddNoCount (line 45) | func (d *FreqDict) AddNoCount(s string) (y int32) { method Id (line 57) | func (d *FreqDict) Id(s string) int32 { method String (line 64) | func (d *FreqDict) String(id int32) (s string, ok bool) { method Freq (line 71) | func (d *FreqDict) Freq(id int32) int32 { method ToIndex (line 78) | func (d *FreqDict) ToIndex() *Index { function NewFreqDict (line 23) | func NewFreqDict() (d *FreqDict) { FILE: dataset/dict_test.go function TestFreqDict (line 23) | func TestFreqDict(t *testing.T) { FILE: dataset/index.go function MarshalIndex (line 26) | func MarshalIndex(w io.Writer, index *Index) error { function UnmarshalIndex (line 31) | func UnmarshalIndex(r io.Reader) (*Index, error) { type Index (line 43) | type Index struct method Len (line 60) | func (idx *Index) Len() int32 { method Add (line 68) | func (idx *Index) Add(name string) { method ToNumber (line 76) | func (idx *Index) ToNumber(name string) int32 { method ToName (line 84) | func (idx *Index) ToName(index int32) string { method GetNames (line 89) | func (idx *Index) GetNames() []string { method Marshal (line 94) | func (idx *Index) Marshal(w io.Writer) error { method Unmarshal (line 111) | func (idx *Index) Unmarshal(r io.Reader) error { constant NotId (line 49) | NotId = int32(-1) function NewMapIndex (line 52) | func NewMapIndex() *Index { FILE: dataset/index_test.go function TestIndex (line 10) | func TestIndex(t *testing.T) { FILE: dataset/unified_index.go type UnifiedIndex (line 28) | type UnifiedIndex interface constant mapIndex (line 50) | mapIndex uint8 = iota constant directIndex (line 51) | directIndex constant nilIndex (line 52) | nilIndex function MarshalUnifiedIndex (line 56) | func MarshalUnifiedIndex(w io.Writer, index UnifiedIndex) error { function UnmarshalUnifiedIndex (line 80) | func UnmarshalUnifiedIndex(r io.Reader) (UnifiedIndex, error) { type UnifiedMapIndexBuilder (line 107) | type UnifiedMapIndexBuilder struct method AddUser (line 127) | func (builder *UnifiedMapIndexBuilder) AddUser(userId string) { method AddItem (line 132) | func (builder *UnifiedMapIndexBuilder) AddItem(itemId string) { method AddUserLabel (line 137) | func (builder *UnifiedMapIndexBuilder) AddUserLabel(userLabel string) { method AddItemLabel (line 142) | func (builder *UnifiedMapIndexBuilder) AddItemLabel(itemLabel string) { method AddCtxLabel (line 147) | func (builder *UnifiedMapIndexBuilder) AddCtxLabel(ctxLabel string) { method Build (line 152) | func (builder *UnifiedMapIndexBuilder) Build() UnifiedIndex { function NewUnifiedMapIndexBuilder (line 116) | func NewUnifiedMapIndexBuilder() *UnifiedMapIndexBuilder { type UnifiedMapIndex (line 164) | type UnifiedMapIndex struct method GetUserLabels (line 173) | func (unified *UnifiedMapIndex) GetUserLabels() []string { method GetItemLabels (line 178) | func (unified *UnifiedMapIndex) GetItemLabels() []string { method GetContextLabels (line 183) | func (unified *UnifiedMapIndex) GetContextLabels() []string { method CountUserLabels (line 188) | func (unified *UnifiedMapIndex) CountUserLabels() int32 { method CountItemLabels (line 193) | func (unified *UnifiedMapIndex) CountItemLabels() int32 { method CountContextLabels (line 198) | func (unified *UnifiedMapIndex) CountContextLabels() int32 { method Len (line 203) | func (unified *UnifiedMapIndex) Len() int32 { method EncodeUser (line 210) | func (unified *UnifiedMapIndex) EncodeUser(userId string) int32 { method EncodeItem (line 215) | func (unified *UnifiedMapIndex) EncodeItem(itemId string) int32 { method EncodeUserLabel (line 224) | func (unified *UnifiedMapIndex) EncodeUserLabel(userLabel string) int32 { method EncodeItemLabel (line 233) | func (unified *UnifiedMapIndex) EncodeItemLabel(itemLabel string) int32 { method EncodeContextLabel (line 242) | func (unified *UnifiedMapIndex) EncodeContextLabel(label string) int32 { method GetUsers (line 252) | func (unified *UnifiedMapIndex) GetUsers() []string { method GetItems (line 257) | func (unified *UnifiedMapIndex) GetItems() []string { method CountUsers (line 262) | func (unified *UnifiedMapIndex) CountUsers() int32 { method CountItems (line 267) | func (unified *UnifiedMapIndex) CountItems() int32 { method Marshal (line 272) | func (unified *UnifiedMapIndex) Marshal(w io.Writer) error { method Unmarshal (line 284) | func (unified *UnifiedMapIndex) Unmarshal(r io.Reader) error { type UnifiedDirectIndex (line 297) | type UnifiedDirectIndex struct method EncodeUserLabel (line 302) | func (unified *UnifiedDirectIndex) EncodeUserLabel(userLabel string) i... method EncodeItemLabel (line 311) | func (unified *UnifiedDirectIndex) EncodeItemLabel(itemLabel string) i... method GetUserLabels (line 320) | func (unified *UnifiedDirectIndex) GetUserLabels() []string { method GetItemLabels (line 330) | func (unified *UnifiedDirectIndex) GetItemLabels() []string { method GetContextLabels (line 340) | func (unified *UnifiedDirectIndex) GetContextLabels() []string { method CountUserLabels (line 350) | func (unified *UnifiedDirectIndex) CountUserLabels() int32 { method CountItemLabels (line 355) | func (unified *UnifiedDirectIndex) CountItemLabels() int32 { method CountContextLabels (line 360) | func (unified *UnifiedDirectIndex) CountContextLabels() int32 { method Len (line 370) | func (unified *UnifiedDirectIndex) Len() int32 { method EncodeUser (line 375) | func (unified *UnifiedDirectIndex) EncodeUser(userId string) int32 { method EncodeItem (line 384) | func (unified *UnifiedDirectIndex) EncodeItem(itemId string) int32 { method EncodeContextLabel (line 393) | func (unified *UnifiedDirectIndex) EncodeContextLabel(label string) in... method GetUsers (line 402) | func (unified *UnifiedDirectIndex) GetUsers() []string { method GetItems (line 412) | func (unified *UnifiedDirectIndex) GetItems() []string { method CountUsers (line 423) | func (unified *UnifiedDirectIndex) CountUsers() int32 { method CountItems (line 428) | func (unified *UnifiedDirectIndex) CountItems() int32 { method Marshal (line 433) | func (unified *UnifiedDirectIndex) Marshal(w io.Writer) error { method Unmarshal (line 438) | func (unified *UnifiedDirectIndex) Unmarshal(r io.Reader) error { function NewUnifiedDirectIndex (line 365) | func NewUnifiedDirectIndex(n int32) UnifiedIndex { FILE: dataset/unified_index_test.go function TestUnifiedMapIndex (line 24) | func TestUnifiedMapIndex(t *testing.T) { function TestUnifiedDirectIndex (line 91) | func TestUnifiedDirectIndex(t *testing.T) { FILE: logics/cf.go function distance (line 32) | func distance(a, b []float32) float32 { type MatrixFactorizationItems (line 36) | type MatrixFactorizationItems struct method Add (line 52) | func (items *MatrixFactorizationItems) Add(itemId string, v []float32) { method Search (line 70) | func (items *MatrixFactorizationItems) Search(v []float32, n int) []ca... method Marshal (line 81) | func (items *MatrixFactorizationItems) Marshal(w io.Writer) error { method Unmarshal (line 103) | func (items *MatrixFactorizationItems) Unmarshal(r io.Reader) error { function NewMatrixFactorizationItems (line 44) | func NewMatrixFactorizationItems(timestamp time.Time) *MatrixFactorizati... type MatrixFactorizationUsers (line 126) | type MatrixFactorizationUsers struct method Add (line 136) | func (users *MatrixFactorizationUsers) Add(userId string, v []float32) { method Get (line 140) | func (users *MatrixFactorizationUsers) Get(userId string) ([]float32, ... method Marshal (line 145) | func (users *MatrixFactorizationUsers) Marshal(w io.Writer) error { method Unmarshal (line 161) | func (users *MatrixFactorizationUsers) Unmarshal(r io.Reader) error { function NewMatrixFactorizationUsers (line 130) | func NewMatrixFactorizationUsers() *MatrixFactorizationUsers { FILE: logics/cf_test.go function TestMatrixFactorizationItems (line 26) | func TestMatrixFactorizationItems(t *testing.T) { function TestNewMatrixFactorizationUsers (line 60) | func TestNewMatrixFactorizationUsers(t *testing.T) { FILE: logics/chat.go type FeedbackItem (line 34) | type FeedbackItem struct type ChatReranker (line 39) | type ChatReranker struct method Rank (line 66) | func (r *ChatReranker) Rank(ctx context.Context, user *data.User, feed... function NewChatReranker (line 46) | func NewChatReranker(cfg config.RerankerAPIConfig, queryTemplate, docTem... function parseArrayFromCompletion (line 110) | func parseArrayFromCompletion(completion string) []string { function isThrottled (line 168) | func isThrottled(err error) bool { FILE: logics/chat_test.go function TestChatReranker (line 28) | func TestChatReranker(t *testing.T) { function TestParseArrayFromCompletion (line 72) | func TestParseArrayFromCompletion(t *testing.T) { FILE: logics/external.go type External (line 30) | type External struct method Close (line 84) | func (e *External) Close() error { method Pull (line 88) | func (e *External) Pull(userId string) (res []string, err error) { method fetch (line 129) | func (e *External) fetch(args ...quickjs.Value) quickjs.Value { method parseRequest (line 164) | func (e *External) parseRequest(url string, req quickjs.Value) *http.R... method newResponse (line 207) | func (e *External) newResponse(resp *http.Response) quickjs.Value { function NewExternal (line 37) | func NewExternal(cfg config.ExternalConfig) (*External, error) { FILE: logics/external_test.go function TestEnv (line 30) | func TestEnv(t *testing.T) { function TestFetch (line 42) | func TestFetch(t *testing.T) { function TestExternal (line 99) | func TestExternal(t *testing.T) { function TestException (line 122) | func TestException(t *testing.T) { function TestPanic (line 134) | func TestPanic(t *testing.T) { FILE: logics/item_to_item.go function init (line 49) | func init() { type ItemToItemOptions (line 57) | type ItemToItemOptions struct type ItemToItem (line 63) | type ItemToItem interface function NewItemToItem (line 71) | func NewItemToItem(cfg config.ItemToItemConfig, n int, timestamp time.Ti... type baseItemToItem (line 100) | type baseItemToItem struct method Timestamp (line 114) | func (b *baseItemToItem[T]) Timestamp() time.Time { method Count (line 118) | func (b *baseItemToItem[T]) Count() int { method Get (line 122) | func (b *baseItemToItem[T]) Get(i int) *data.Item { method pushItem (line 129) | func (b *baseItemToItem[T]) pushItem(item *data.Item, v T) { method PopAll (line 146) | func (b *baseItemToItem[T]) PopAll(i int) []cache.Score { type embeddingItemToItem (line 170) | type embeddingItemToItem struct method Push (line 192) | func (e *embeddingItemToItem) Push(item *data.Item, _ []int32) { function newEmbeddingItemToItem (line 175) | func newEmbeddingItemToItem(cfg config.ItemToItemConfig, n int, timestam... type tagsItemToItem (line 221) | type tagsItemToItem struct method Push (line 245) | func (t *tagsItemToItem) Push(item *data.Item, _ []int32) { function newTagsItemToItem (line 226) | func newTagsItemToItem(cfg config.ItemToItemConfig, n int, timestamp tim... type usersItemToItem (line 265) | type usersItemToItem struct method Push (line 284) | func (u *usersItemToItem) Push(item *data.Item, feedback []int32) { function newUsersItemToItem (line 270) | func newUsersItemToItem(cfg config.ItemToItemConfig, n int, timestamp ti... type autoItemToItem (line 292) | type autoItemToItem struct method Push (line 312) | func (a *autoItemToItem) Push(item *data.Item, feedback []int32) { method distance (line 327) | func (a *autoItemToItem) distance(u, v lo.Tuple2[[]dataset.ID, []int32... function newAutoItemToItem (line 298) | func newAutoItemToItem(cfg config.ItemToItemConfig, n int, timestamp tim... type IDF (line 331) | type IDF method distance (line 333) | func (idf IDF[T]) distance(a, b []T) float32 { method weightedSumCommonElements (line 350) | func (idf IDF[T]) weightedSumCommonElements(a, b []T) (float32, float32) { method weightedSum (line 367) | func (idf IDF[T]) weightedSum(a []T) float32 { function flatten (line 375) | func flatten(o any, tSet mapset.Set[dataset.ID]) { type chatItemToItem (line 390) | type chatItemToItem struct method PopAll (line 425) | func (g *chatItemToItem) PopAll(i int) []cache.Score { function newChatItemToItem (line 400) | func newChatItemToItem(cfg config.ItemToItemConfig, n int, timestamp tim... function stripThinkInCompletion (line 538) | func stripThinkInCompletion(s string) string { FILE: logics/item_to_item_test.go type ItemToItemTestSuite (line 30) | type ItemToItemTestSuite struct method TestColumnFunc (line 34) | func (suite *ItemToItemTestSuite) TestColumnFunc() { method TestEmbedding (line 85) | func (suite *ItemToItemTestSuite) TestEmbedding() { method TestHidden (line 108) | func (suite *ItemToItemTestSuite) TestHidden() { method TestTags (line 152) | func (suite *ItemToItemTestSuite) TestTags() { method TestUsers (line 181) | func (suite *ItemToItemTestSuite) TestUsers() { method TestAuto (line 205) | func (suite *ItemToItemTestSuite) TestAuto() { method TestChat (line 243) | func (suite *ItemToItemTestSuite) TestChat() { function TestItemToItem (line 282) | func TestItemToItem(t *testing.T) { FILE: logics/non_personalized.go type NonPersonalized (line 35) | type NonPersonalized struct method Push (line 86) | func (l *NonPersonalized) Push(item data.Item, feedback []data.Feedbac... method PopAll (line 144) | func (l *NonPersonalized) PopAll() []cache.Score { method Name (line 172) | func (l *NonPersonalized) Name() string { method Timestamp (line 176) | func (l *NonPersonalized) Timestamp() time.Time { function NewNonPersonalized (line 45) | func NewNonPersonalized(cfg config.NonPersonalizedConfig, n int, timesta... FILE: logics/non_personalized_test.go function TestLatest (line 28) | func TestLatest(t *testing.T) { function TestPopular (line 48) | func TestPopular(t *testing.T) { function TestPopularWindow (line 68) | func TestPopularWindow(t *testing.T) { function TestFilter (line 100) | func TestFilter(t *testing.T) { function TestHidden (line 122) | func TestHidden(t *testing.T) { function TestMostStarredWeekly (line 143) | func TestMostStarredWeekly(t *testing.T) { FILE: logics/recommend.go constant LatestRecommender (line 34) | LatestRecommender = "latest" constant NonPersonalizedRecommender (line 35) | NonPersonalizedRecommender = "non-personalized/" constant ItemToItemRecommender (line 36) | ItemToItemRecommender = "item-to-item/" constant UserToUserRecommender (line 37) | UserToUserRecommender = "user-to-user/" constant ExternalRecommender (line 38) | ExternalRecommender = "external/" constant CollaborativeRecommender (line 39) | CollaborativeRecommender = "collaborative" type Recommender (line 42) | type Recommender struct method ExcludeSet (line 86) | func (r *Recommender) ExcludeSet() mapset.Set[string] { method UserFeedback (line 90) | func (r *Recommender) UserFeedback() []data.Feedback { method IsColdStart (line 94) | func (r *Recommender) IsColdStart() bool { method Recommend (line 98) | func (r *Recommender) Recommend(ctx context.Context, limit int) (resul... method RecommendSequential (line 126) | func (r *Recommender) RecommendSequential(ctx context.Context, result ... method parse (line 149) | func (r *Recommender) parse(fullname string) (RecommenderFunc, error) { method recommendLatest (line 171) | func (r *Recommender) recommendLatest(ctx context.Context) ([]cache.Sc... method recommendNonPersonalized (line 189) | func (r *Recommender) recommendNonPersonalized(name string) Recommende... method recommendCollaborative (line 214) | func (r *Recommender) recommendCollaborative(ctx context.Context) ([]c... method recommendItemToItem (line 231) | func (r *Recommender) recommendItemToItem(name string) RecommenderFunc { method recommendUserToUser (line 281) | func (r *Recommender) recommendUserToUser(name string) RecommenderFunc { method recommendExternal (line 340) | func (r *Recommender) recommendExternal(name string) RecommenderFunc { type RecommenderFunc (line 55) | type RecommenderFunc function NewRecommender (line 57) | func NewRecommender(config config.RecommendConfig, cacheClient cache.Dat... FILE: logics/recommend_test.go type RecommenderTestSuite (line 30) | type RecommenderTestSuite struct method SetupSuite (line 36) | func (suite *RecommenderTestSuite) SetupSuite() { method TearDownSuite (line 50) | func (suite *RecommenderTestSuite) TearDownSuite() { method TestLatest (line 57) | func (suite *RecommenderTestSuite) TestLatest() { method TestCollaborative (line 109) | func (suite *RecommenderTestSuite) TestCollaborative() { method TestNonPersonalized (line 163) | func (suite *RecommenderTestSuite) TestNonPersonalized() { method TestExternal (line 221) | func (suite *RecommenderTestSuite) TestExternal() { function TestRecommenderTestSuite (line 264) | func TestRecommenderTestSuite(t *testing.T) { FILE: logics/user_to_user.go type UserToUserOptions (line 37) | type UserToUserOptions struct type UserToUser (line 42) | type UserToUser interface function NewUserToUser (line 49) | func NewUserToUser(cfg config.UserToUserConfig, n int, timestamp time.Ti... type baseUserToUser (line 72) | type baseUserToUser struct method Users (line 82) | func (b *baseUserToUser[T]) Users() []*data.User { method Timestamp (line 86) | func (b *baseUserToUser[T]) Timestamp() time.Time { method PopAll (line 90) | func (b *baseUserToUser[T]) PopAll(i int) []cache.Score { type embeddingUserToUser (line 105) | type embeddingUserToUser struct method Push (line 128) | func (e *embeddingUserToUser) Push(user *data.User, _ []int32) { function newEmbeddingUserToUser (line 110) | func newEmbeddingUserToUser(cfg config.UserToUserConfig, n int, timestam... type tagsUserToUser (line 160) | type tagsUserToUser struct method Push (line 184) | func (t *tagsUserToUser) Push(user *data.User, _ []int32) { function newTagsUserToUser (line 165) | func newTagsUserToUser(cfg config.UserToUserConfig, n int, timestamp tim... type itemsUserToUser (line 210) | type itemsUserToUser struct method Push (line 229) | func (i *itemsUserToUser) Push(user *data.User, feedback []int32) { function newItemsUserToUser (line 215) | func newItemsUserToUser(cfg config.UserToUserConfig, n int, timestamp ti... type autoUserToUser (line 244) | type autoUserToUser struct method Push (line 264) | func (a *autoUserToUser) Push(user *data.User, feedback []int32) { method distance (line 286) | func (a *autoUserToUser) distance(u, v lo.Tuple2[[]dataset.ID, []int32... function newAutoUserToUser (line 250) | func newAutoUserToUser(cfg config.UserToUserConfig, n int, timestamp tim... FILE: logics/user_to_user_test.go type UserToUserTestSuite (line 28) | type UserToUserTestSuite struct method TestEmbedding (line 32) | func (suite *UserToUserTestSuite) TestEmbedding() { method TestTags (line 55) | func (suite *UserToUserTestSuite) TestTags() { method TestItems (line 84) | func (suite *UserToUserTestSuite) TestItems() { method TestAuto (line 108) | func (suite *UserToUserTestSuite) TestAuto() { function TestUserToUser (line 140) | func TestUserToUser(t *testing.T) { FILE: master/master.go type Datasets (line 53) | type Datasets struct type Master (line 63) | type Master struct method Serve (line 149) | func (m *Master) Serve() { method Shutdown (line 289) | func (m *Master) Shutdown() { method RunTasksLoop (line 299) | func (m *Master) RunTasksLoop() { function NewMaster (line 104) | func NewMaster(cfg *config.Config, cacheFolder string, standalone bool, ... FILE: master/master_test.go type MasterTestSuite (line 27) | type MasterTestSuite struct method SetupTest (line 32) | func (s *MasterTestSuite) SetupTest() { method TearDownTest (line 48) | func (s *MasterTestSuite) TearDownTest() { function TestMaster (line 53) | func TestMaster(t *testing.T) { FILE: master/metrics.go constant LabelFeedbackType (line 28) | LabelFeedbackType = "feedback_type" constant LabelStep (line 29) | LabelStep = "step" constant LabelData (line 30) | LabelData = "data" type OnlineEvaluator (line 218) | type OnlineEvaluator struct method Add (line 242) | func (evaluator *OnlineEvaluator) Add(feedbackType string, value float... method Evaluate (line 269) | func (evaluator *OnlineEvaluator) Evaluate() []cache.TimeSeriesPoint { function NewOnlineEvaluator (line 227) | func NewOnlineEvaluator(positiveTypes, readTypes []expression.FeedbackTy... FILE: master/metrics_test.go function TestOnlineEvaluator (line 26) | func TestOnlineEvaluator(t *testing.T) { FILE: master/rest.go type UserInfo (line 63) | type UserInfo struct type RerankerPrompt (line 76) | type RerankerPrompt struct method CreateWebService (line 81) | func (m *Master) CreateWebService() { type SinglePageAppFileSystem (line 254) | type SinglePageAppFileSystem struct method Open (line 259) | func (fs *SinglePageAppFileSystem) Open(name string) (http.File, error) { method StartHttpServer (line 267) | func (m *Master) StartHttpServer() { function init (line 292) | func init() { function noCache (line 333) | func noCache(h http.Handler) http.Handler { method dashboard (line 350) | func (m *Master) dashboard(response http.ResponseWriter, request *http.R... method login (line 369) | func (m *Master) login(response http.ResponseWriter, request *http.Reque... method logout (line 410) | func (m *Master) logout(response http.ResponseWriter, request *http.Requ... method LoginFilter (line 422) | func (m *Master) LoginFilter(req *restful.Request, resp *restful.Respons... method checkLogin (line 435) | func (m *Master) checkLogin(request *http.Request) bool { method handleUserInfo (line 465) | func (m *Master) handleUserInfo(request *restful.Request, response *rest... method getCategories (line 490) | func (m *Master) getCategories(request *restful.Request, response *restf... method getCluster (line 507) | func (m *Master) getCluster(_ *restful.Request, response *restful.Respon... function formatConfig (line 519) | func formatConfig(configMap map[string]interface{}) map[string]interface... method postConfig (line 539) | func (m *Master) postConfig(request *restful.Request, response *restful.... method getConfig (line 586) | func (m *Master) getConfig(_ *restful.Request, response *restful.Respons... method deleteConfig (line 599) | func (m *Master) deleteConfig(_request *restful.Request, response *restf... method getConfigSchema (line 619) | func (m *Master) getConfigSchema(_ *restful.Request, response *restful.R... type Status (line 623) | type Status struct method getStats (line 642) | func (m *Master) getStats(request *restful.Request, response *restful.Re... method getTasks (line 710) | func (m *Master) getTasks(_ *restful.Request, response *restful.Response) { method getTimeseries (line 735) | func (m *Master) getTimeseries(request *restful.Request, response *restf... type UserIterator (line 781) | type UserIterator struct type User (line 786) | type User struct method getUser (line 792) | func (m *Master) getUser(request *restful.Request, response *restful.Res... method getUsers (line 821) | func (m *Master) getUsers(request *restful.Request, response *restful.Re... method getRecommend (line 854) | func (m *Master) getRecommend(request *restful.Request, response *restfu... type DetailedFeedback (line 921) | type DetailedFeedback struct method getUserFeedback (line 931) | func (m *Master) getUserFeedback(request *restful.Request, response *res... type ScoredItem (line 1019) | type ScoredItem struct type ScoreUser (line 1024) | type ScoreUser struct method GetItem (line 1029) | func (m *Master) GetItem(score cache.Score) (any, error) { method GetUser (line 1040) | func (m *Master) GetUser(score cache.Score) (any, error) { method getLatest (line 1051) | func (m *Master) getLatest(request *restful.Request, response *restful.R... method getNonPersonalized (line 1085) | func (m *Master) getNonPersonalized(request *restful.Request, response *... method getItemToItem (line 1092) | func (m *Master) getItemToItem(request *restful.Request, response *restf... method getUserToUser (line 1100) | func (m *Master) getUserToUser(request *restful.Request, response *restf... method getExternal (line 1107) | func (m *Master) getExternal(request *restful.Request, response *restful... method getRankerPrompt (line 1141) | func (m *Master) getRankerPrompt(request *restful.Request, response *res... method importExportUsers (line 1260) | func (m *Master) importExportUsers(response http.ResponseWriter, request... method importExportItems (line 1358) | func (m *Master) importExportItems(response http.ResponseWriter, request... method importExportFeedback (line 1481) | func (m *Master) importExportFeedback(response http.ResponseWriter, requ... method purge (line 1610) | func (m *Master) purge(response http.ResponseWriter, request *http.Reque... function writeError (line 1652) | func writeError(response http.ResponseWriter, httpStatus int, message st... method checkAdmin (line 1661) | func (m *Master) checkAdmin(request *http.Request) bool { constant EOF (line 1672) | EOF = int64(0) constant UserStream (line 1673) | UserStream = int64(-1) constant ItemStream (line 1674) | ItemStream = int64(-2) constant FeedbackStream (line 1675) | FeedbackStream = int64(-3) type DumpStats (line 1678) | type DumpStats struct function writeDump (line 1685) | func writeDump[T proto.Message](w io.Writer, data T) error { function readDump (line 1699) | func readDump[T proto.Message](r io.Reader, data T) (int64, error) { method dump (line 1714) | func (m *Master) dump(response http.ResponseWriter, request *http.Reques... method Restore (line 1825) | func (m *Master) Restore(r io.ReadCloser) (stats DumpStats, err error) { method restore (line 1940) | func (m *Master) restore(response http.ResponseWriter, request *http.Req... method handleOAuth2Callback (line 1971) | func (m *Master) handleOAuth2Callback(w http.ResponseWriter, r *http.Req... method chat (line 2015) | func (m *Master) chat(response http.ResponseWriter, request *http.Reques... FILE: master/rest_test.go constant mockMasterUsername (line 49) | mockMasterUsername = "admin" constant mockMasterPassword (line 50) | mockMasterPassword = "pass" function marshal (line 53) | func marshal(t *testing.T, v interface{}) string { function marshalJSONLines (line 59) | func marshalJSONLines[T any](t *testing.T, v []T) string { function convertToMapStructure (line 69) | func convertToMapStructure(t *testing.T, v interface{}) map[string]inter... type MasterAPITestSuite (line 76) | type MasterAPITestSuite struct method SetupTest (line 84) | func (suite *MasterAPITestSuite) SetupTest() { method TearDownTest (line 135) | func (suite *MasterAPITestSuite) TearDownTest() { method TestExportUsers (line 146) | func (suite *MasterAPITestSuite) TestExportUsers() { method TestExportItems (line 167) | func (suite *MasterAPITestSuite) TestExportItems() { method TestExportFeedback (line 209) | func (suite *MasterAPITestSuite) TestExportFeedback() { method TestImportUsers (line 230) | func (suite *MasterAPITestSuite) TestImportUsers() { method TestImportItems (line 261) | func (suite *MasterAPITestSuite) TestImportItems() { method TestImportFeedback (line 312) | func (suite *MasterAPITestSuite) TestImportFeedback() { method TestGetCluster (line 343) | func (suite *MasterAPITestSuite) TestGetCluster() { method TestGetStats (line 374) | func (suite *MasterAPITestSuite) TestGetStats() { method TestGetCategories (line 402) | func (suite *MasterAPITestSuite) TestGetCategories() { method TestGetUsers (line 423) | func (suite *MasterAPITestSuite) TestGetUsers() { method TestGetLatestItems (line 462) | func (suite *MasterAPITestSuite) TestGetLatestItems() { method TestSearchDocumentsOfItems (line 486) | func (suite *MasterAPITestSuite) TestSearchDocumentsOfItems() { method TestSearchDocumentsOfUsers (line 547) | func (suite *MasterAPITestSuite) TestSearchDocumentsOfUsers() { method TestFeedback (line 590) | func (suite *MasterAPITestSuite) TestFeedback() { method TestGetRecommends (line 617) | func (suite *MasterAPITestSuite) TestGetRecommends() { method TestGetNonPersonalizedRecommends (line 661) | func (suite *MasterAPITestSuite) TestGetNonPersonalizedRecommends() { method TestGetExternal (line 701) | func (suite *MasterAPITestSuite) TestGetExternal() { method TestPurge (line 726) | func (suite *MasterAPITestSuite) TestPurge() { method TestConfig (line 791) | func (suite *MasterAPITestSuite) TestConfig() { method TestGetConfigSchema (line 862) | func (suite *MasterAPITestSuite) TestGetConfigSchema() { method TestGetTimeseries (line 873) | func (suite *MasterAPITestSuite) TestGetTimeseries() { method TestGetRankerPrompt (line 893) | func (suite *MasterAPITestSuite) TestGetRankerPrompt() { method TestDumpAndRestore (line 968) | func (suite *MasterAPITestSuite) TestDumpAndRestore() { method TestExportAndImport (line 1040) | func (suite *MasterAPITestSuite) TestExportAndImport() { method TestChat (line 1165) | func (suite *MasterAPITestSuite) TestChat() { function TestMasterAPI (line 1178) | func TestMasterAPI(t *testing.T) { FILE: master/rpc.go method GetMeta (line 29) | func (m *Master) GetMeta(ctx context.Context, nodeInfo *protocol.NodeInf... method PushProgress (line 79) | func (m *Master) PushProgress( FILE: master/rpc_test.go function newRankingDataset (line 44) | func newRankingDataset() (*dataset.Dataset, *dataset.Dataset) { function newClickDataset (line 48) | func newClickDataset() (*ctr.Dataset, *ctr.Dataset) { type mockMasterRPC (line 55) | type mockMasterRPC struct method Start (line 90) | func (m *mockMasterRPC) Start(t *testing.T) { method StartTLS (line 101) | func (m *mockMasterRPC) StartTLS(t *testing.T, o *util.TLSConfig) { method Stop (line 117) | func (m *mockMasterRPC) Stop() { function newMockMasterRPC (line 61) | func newMockMasterRPC(t *testing.T) *mockMasterRPC { function TestRPC (line 122) | func TestRPC(t *testing.T) { function generateToTempFile (line 174) | func generateToTempFile(t *testing.T) (string, string, string) { function TestSSL (line 192) | func TestSSL(t *testing.T) { FILE: master/tasks.go constant batchSize (line 48) | batchSize = 10000 method loadDataset (line 50) | func (m *Master) loadDataset(parent context.Context) (datasets Datasets,... method runLoadDatasetTask (line 208) | func (m *Master) runLoadDatasetTask(ctx context.Context) error { method LoadDataFromDatabase (line 253) | func (m *Master) LoadDataFromDatabase( method updateItemToItem (line 622) | func (m *Master) updateItemToItem(parent context.Context, dataset *datas... method needUpdateItemToItem (line 704) | func (m *Master) needUpdateItemToItem(ctx context.Context, itemId string... method updateUserToUser (line 739) | func (m *Master) updateUserToUser(parent context.Context, dataset *datas... method needUpdateUserToUser (line 811) | func (m *Master) needUpdateUserToUser(ctx context.Context, userId string... method trainCollaborativeFiltering (line 843) | func (m *Master) trainCollaborativeFiltering(parent context.Context, tra... method newCollaborativeFilteringModel (line 980) | func (m *Master) newCollaborativeFilteringModel(modelType string, params... method trainClickThroughRatePrediction (line 991) | func (m *Master) trainClickThroughRatePrediction(parent context.Context,... method removeOutOfDateModels (line 1101) | func (m *Master) removeOutOfDateModels() { method collectGarbage (line 1129) | func (m *Master) collectGarbage(parent context.Context, dataSet *dataset... method optimizeCollaborativeFiltering (line 1183) | func (m *Master) optimizeCollaborativeFiltering(parent context.Context, ... method optimizeClickThroughRatePrediction (line 1233) | func (m *Master) optimizeClickThroughRatePrediction(parent context.Conte... method updateRecommend (line 1281) | func (m *Master) updateRecommend(ctx context.Context) error { method pullAllUsers (line 1337) | func (m *Master) pullAllUsers(ctx context.Context) ([]data.User, error) { FILE: master/tasks_test.go method TestFindItemToItem (line 29) | func (s *MasterTestSuite) TestFindItemToItem() { method TestUserToUser (line 132) | func (s *MasterTestSuite) TestUserToUser() { method TestLoadDataFromDatabase (line 210) | func (s *MasterTestSuite) TestLoadDataFromDatabase() { method TestNonPersonalizedRecommend (line 332) | func (s *MasterTestSuite) TestNonPersonalizedRecommend() { method TestNeedUpdateItemToItem (line 409) | func (s *MasterTestSuite) TestNeedUpdateItemToItem() { method TestNeedUpdateUserToUser (line 442) | func (s *MasterTestSuite) TestNeedUpdateUserToUser() { method TestGarbageCollection (line 475) | func (s *MasterTestSuite) TestGarbageCollection() { FILE: model/built_in.go type DatasetFormat (line 31) | type DatasetFormat constant FormatNCF (line 34) | FormatNCF DatasetFormat = iota constant FormatLibFM (line 35) | FormatLibFM type _BuiltInDataSet (line 39) | type _BuiltInDataSet struct function init (line 92) | func init() { function LocateBuiltInDataset (line 111) | func LocateBuiltInDataset(name string, format DatasetFormat) (string, st... function downloadFromUrl (line 133) | func downloadFromUrl(src, dst string) (string, error) { function unzip (line 165) | func unzip(src, dst string) ([]string, error) { FILE: model/built_in_test.go function TestUnzip (line 23) | func TestUnzip(t *testing.T) { function TestLocateBuiltInDataset (line 34) | func TestLocateBuiltInDataset(t *testing.T) { FILE: model/cf/evaluator.go type Metric (line 32) | type Metric function Evaluate (line 35) | func Evaluate(estimator MatrixFactorization, testSet, trainSet dataset.C... function NDCG (line 75) | func NDCG(targetSet mapset.Set[int32], rankList []int32) float32 { function Precision (line 94) | func Precision(targetSet mapset.Set[int32], rankList []int32) float32 { function Recall (line 108) | func Recall(targetSet mapset.Set[int32], rankList []int32) float32 { function HR (line 119) | func HR(targetSet mapset.Set[int32], rankList []int32) float32 { function MAP (line 130) | func MAP(targetSet mapset.Set[int32], rankList []int32) float32 { function MRR (line 153) | func MRR(targetSet mapset.Set[int32], rankList []int32) float32 { function Rank (line 162) | func Rank(model MatrixFactorization, userId int32, candidates []int32, t... FILE: model/cf/evaluator_test.go constant evalEpsilon (line 31) | evalEpsilon = 0.00001 function TestNDCG (line 33) | func TestNDCG(t *testing.T) { function TestPrecision (line 39) | func TestPrecision(t *testing.T) { function TestRecall (line 45) | func TestRecall(t *testing.T) { function TestAP (line 51) | func TestAP(t *testing.T) { function TestRR (line 57) | func TestRR(t *testing.T) { function TestHR (line 63) | func TestHR(t *testing.T) { type mockMatrixFactorizationForEval (line 69) | type mockMatrixFactorizationForEval struct method GetUserFactor (line 75) | func (m *mockMatrixFactorizationForEval) GetUserFactor(_ int32) []floa... method GetItemFactor (line 79) | func (m *mockMatrixFactorizationForEval) GetItemFactor(_ int32) []floa... method IsUserPredictable (line 83) | func (m *mockMatrixFactorizationForEval) IsUserPredictable(_ int32) bo... method IsItemPredictable (line 87) | func (m *mockMatrixFactorizationForEval) IsItemPredictable(_ int32) bo... method Marshal (line 91) | func (m *mockMatrixFactorizationForEval) Marshal(_ io.Writer) error { method Unmarshal (line 95) | func (m *mockMatrixFactorizationForEval) Unmarshal(_ io.Reader) error { method Invalid (line 99) | func (m *mockMatrixFactorizationForEval) Invalid() bool { method GetUserIndex (line 103) | func (m *mockMatrixFactorizationForEval) GetUserIndex() *dataset.FreqD... method GetItemIndex (line 107) | func (m *mockMatrixFactorizationForEval) GetItemIndex() *dataset.FreqD... method Fit (line 111) | func (m *mockMatrixFactorizationForEval) Fit(_ context.Context, _, _ d... method Predict (line 115) | func (m *mockMatrixFactorizationForEval) Predict(_, _ string) float32 { method internalPredict (line 119) | func (m *mockMatrixFactorizationForEval) internalPredict(userId, itemI... method Clear (line 129) | func (m *mockMatrixFactorizationForEval) Clear() { method SuggestParams (line 133) | func (m *mockMatrixFactorizationForEval) SuggestParams(trial goptuna.T... function TestEvaluate (line 137) | func TestEvaluate(t *testing.T) { FILE: model/cf/model.go type Score (line 44) | type Score struct type FitConfig (line 50) | type FitConfig struct method SetVerbose (line 67) | func (config *FitConfig) SetVerbose(verbose int) *FitConfig { method SetJobs (line 72) | func (config *FitConfig) SetJobs(jobs int) *FitConfig { method SetPatience (line 77) | func (config *FitConfig) SetPatience(patience int) *FitConfig { function NewFitConfig (line 58) | func NewFitConfig() *FitConfig { type Model (line 82) | type Model interface type MatrixFactorization (line 98) | type MatrixFactorization interface type BaseMatrixFactorization (line 118) | type BaseMatrixFactorization struct method Init (line 129) | func (baseModel *BaseMatrixFactorization) Init(trainSet dataset.CFSpli... method GetUserIndex (line 148) | func (baseModel *BaseMatrixFactorization) GetUserIndex() *dataset.Freq... method GetItemIndex (line 152) | func (baseModel *BaseMatrixFactorization) GetItemIndex() *dataset.Freq... method IsUserPredictable (line 157) | func (baseModel *BaseMatrixFactorization) IsUserPredictable(userIndex ... method IsItemPredictable (line 165) | func (baseModel *BaseMatrixFactorization) IsItemPredictable(itemIndex ... method GetUserFactor (line 173) | func (baseModel *BaseMatrixFactorization) GetUserFactor(userIndex int3... method GetItemFactor (line 178) | func (baseModel *BaseMatrixFactorization) GetItemFactor(itemIndex int3... method Predict (line 182) | func (baseModel *BaseMatrixFactorization) Predict(userId, itemId strin... method internalPredict (line 195) | func (baseModel *BaseMatrixFactorization) internalPredict(userIndex, i... method Marshal (line 206) | func (baseModel *BaseMatrixFactorization) Marshal(w io.Writer) error { method Unmarshal (line 250) | func (baseModel *BaseMatrixFactorization) Unmarshal(r io.Reader) error { method Clear (line 294) | func (baseModel *BaseMatrixFactorization) Clear() { method Invalid (line 301) | func (baseModel *BaseMatrixFactorization) Invalid() bool { function GetModelName (line 309) | func GetModelName(m Model) string { function MarshalModel (line 320) | func MarshalModel(w io.Writer, m Model) error { function UnmarshalModel (line 330) | func UnmarshalModel(r io.Reader) (MatrixFactorization, error) { type BPR (line 367) | type BPR struct method SetParams (line 386) | func (bpr *BPR) SetParams(params model.Params) { method SuggestParams (line 397) | func (bpr *BPR) SuggestParams(trial goptuna.Trial) model.Params { method Fit (line 408) | func (bpr *BPR) Fit(ctx context.Context, trainSet, valSet dataset.CFSp... method Init (line 532) | func (bpr *BPR) Init(trainSet dataset.CFSplit) { method Marshal (line 543) | func (bpr *BPR) Marshal(w io.Writer) error { method Unmarshal (line 551) | func (bpr *BPR) Unmarshal(r io.Reader) error { function NewBPR (line 379) | func NewBPR(params model.Params) *BPR { type ALS (line 559) | type ALS struct method SetParams (line 578) | func (als *ALS) SetParams(params model.Params) { method SuggestParams (line 588) | func (als *ALS) SuggestParams(trial goptuna.Trial) model.Params { method Init (line 598) | func (als *ALS) Init(trainSet dataset.CFSplit) { method Fit (line 609) | func (als *ALS) Fit(ctx context.Context, trainSet, valSet dataset.CFSp... method Marshal (line 778) | func (als *ALS) Marshal(w io.Writer) error { method Unmarshal (line 786) | func (als *ALS) Unmarshal(r io.Reader) error { function NewALS (line 571) | func NewALS(params model.Params) *ALS { FILE: model/cf/model_test.go constant benchDelta (line 28) | benchDelta = 0.01 function newFitConfig (line 30) | func newFitConfig(_ int) *FitConfig { function TestBPR_MovieLens (line 35) | func TestBPR_MovieLens(t *testing.T) { function TestCCD_MovieLens (line 93) | func TestCCD_MovieLens(t *testing.T) { FILE: model/cf/optimize.go type ModelCreator (line 28) | type ModelCreator type ModelSearch (line 30) | type ModelSearch struct method WithContext (line 51) | func (ms *ModelSearch) WithContext(ctx context.Context) *ModelSearch { method WithSpan (line 56) | func (ms *ModelSearch) WithSpan(span *monitor.Span) *ModelSearch { method Objective (line 61) | func (ms *ModelSearch) Objective(trial goptuna.Trial) (float64, error) { method Result (line 83) | func (ms *ModelSearch) Result() meta.Model[Score] { function NewModelSearch (line 41) | func NewModelSearch(models map[string]ModelCreator, trainSet, valSet dat... FILE: model/cf/optimize_test.go type mockMatrixFactorizationForSearch (line 29) | type mockMatrixFactorizationForSearch struct method GetUserFactor (line 37) | func (m *mockMatrixFactorizationForSearch) GetUserFactor(_ int32) []fl... method GetItemFactor (line 41) | func (m *mockMatrixFactorizationForSearch) GetItemFactor(_ int32) []fl... method IsUserPredictable (line 45) | func (m *mockMatrixFactorizationForSearch) IsUserPredictable(_ int32) ... method IsItemPredictable (line 49) | func (m *mockMatrixFactorizationForSearch) IsItemPredictable(_ int32) ... method Marshal (line 53) | func (m *mockMatrixFactorizationForSearch) Marshal(_ io.Writer) error { method Unmarshal (line 57) | func (m *mockMatrixFactorizationForSearch) Unmarshal(_ io.Reader) error { method Invalid (line 61) | func (m *mockMatrixFactorizationForSearch) Invalid() bool { method GetUserIndex (line 65) | func (m *mockMatrixFactorizationForSearch) GetUserIndex() *dataset.Fre... method GetItemIndex (line 69) | func (m *mockMatrixFactorizationForSearch) GetItemIndex() *dataset.Fre... method Fit (line 73) | func (m *mockMatrixFactorizationForSearch) Fit(_ context.Context, _, _... method Predict (line 81) | func (m *mockMatrixFactorizationForSearch) Predict(_, _ string) float32 { method internalPredict (line 85) | func (m *mockMatrixFactorizationForSearch) internalPredict(_, _ int32)... method Clear (line 89) | func (m *mockMatrixFactorizationForSearch) Clear() { method SuggestParams (line 93) | func (m *mockMatrixFactorizationForSearch) SuggestParams(trial goptuna... function newMockMatrixFactorizationForSearch (line 33) | func newMockMatrixFactorizationForSearch(numEpoch int) *mockMatrixFactor... function TestTPE (line 101) | func TestTPE(t *testing.T) { FILE: model/ctr/data.go type Label (line 34) | type Label struct function ConvertLabels (line 39) | func ConvertLabels(o any) []Label { function convertLabels (line 44) | func convertLabels(result []Label, prefix string, o any) []Label { type Embedding (line 85) | type Embedding struct function ConvertEmbeddings (line 90) | func ConvertEmbeddings(o any) []Embedding { function convertEmbeddings (line 95) | func convertEmbeddings(result []Embedding, prefix string, o any) []Embed... type Dataset (line 142) | type Dataset struct method CountUsers (line 158) | func (dataset *Dataset) CountUsers() int { method CountItems (line 163) | func (dataset *Dataset) CountItems() int { method CountUserLabels (line 167) | func (dataset *Dataset) CountUserLabels() int { method CountItemLabels (line 171) | func (dataset *Dataset) CountItemLabels() int { method CountContextLabels (line 175) | func (dataset *Dataset) CountContextLabels() int { method CountPositive (line 179) | func (dataset *Dataset) CountPositive() int { method CountNegative (line 183) | func (dataset *Dataset) CountNegative() int { method GetIndex (line 187) | func (dataset *Dataset) GetIndex() dataset.UnifiedIndex { method Count (line 192) | func (dataset *Dataset) Count() int { method GetTarget (line 205) | func (dataset *Dataset) GetTarget(i int) float32 { method Get (line 210) | func (dataset *Dataset) Get(i int) ([]int32, []float32, [][]float32, f... method Split (line 329) | func (dataset *Dataset) Split(ratio float32, seed int64) (*Dataset, *D... method GetItemEmbeddingDim (line 383) | func (dataset *Dataset) GetItemEmbeddingDim() []int { method GetItemEmbeddingIndex (line 387) | func (dataset *Dataset) GetItemEmbeddingIndex() *dataset.Index { function LoadLibFMFile (line 259) | func LoadLibFMFile(path string) (features [][]lo.Tuple2[int32, float32],... function LoadDataFromBuiltIn (line 309) | func LoadDataFromBuiltIn(name string) (train, test *Dataset, err error) { FILE: model/ctr/data_test.go function TestConvertLabels (line 26) | func TestConvertLabels(t *testing.T) { function TestConvertEmbeddings (line 68) | func TestConvertEmbeddings(t *testing.T) { function TestLoadDataFromBuiltIn (line 105) | func TestLoadDataFromBuiltIn(t *testing.T) { function TestDataset_Split (line 112) | func TestDataset_Split(t *testing.T) { FILE: model/ctr/evaluator.go function EvaluateRegression (line 27) | func EvaluateRegression(estimator FactorizationMachines, testSet *Datase... function EvaluateClassification (line 46) | func EvaluateClassification(estimator FactorizationMachines, testSet dat... function Precision (line 85) | func Precision(posPrediction, negPrediction []float32) float32 { function Recall (line 103) | func Recall(posPrediction, _ []float32) float32 { function Accuracy (line 118) | func Accuracy(posPrediction, negPrediction []float32) float32 { function AUC (line 136) | func AUC(posPrediction, negPrediction []float32) float32 { FILE: model/ctr/evaluator_test.go function TestPrecision (line 22) | func TestPrecision(t *testing.T) { function TestRecall (line 31) | func TestRecall(t *testing.T) { function TestAccuracy (line 39) | func TestAccuracy(t *testing.T) { FILE: model/ctr/fm.go constant headerAFM (line 40) | headerAFM = "AFM" type AFM (line 42) | type AFM struct method SuggestParams (line 73) | func (fm *AFM) SuggestParams(trial goptuna.Trial) model.Params { method SetParams (line 83) | func (fm *AFM) SetParams(params model.Params) { method Clear (line 95) | func (fm *AFM) Clear() { method Invalid (line 99) | func (fm *AFM) Invalid() bool { method Forward (line 103) | func (fm *AFM) Forward(indices, values *nn.Tensor, embeddings []*nn.Te... method Parameters (line 127) | func (fm *AFM) Parameters() []*nn.Tensor { method Predict (line 139) | func (fm *AFM) Predict(_, _ string, _, _ []Label) float32 { method InternalPredict (line 143) | func (fm *AFM) InternalPredict(_ []int32, _ []float32) float32 { method BatchInternalPredict (line 147) | func (fm *AFM) BatchInternalPredict(x []lo.Tuple2[[]int32, []float32],... method BatchPredict (line 164) | func (fm *AFM) BatchPredict(inputs []lo.Tuple4[string, string, []Label... method Init (line 212) | func (fm *AFM) Init(trainSet dataset.CTRSplit) { method Fit (line 233) | func (fm *AFM) Fit(ctx context.Context, trainSet, testSet dataset.CTRS... method Marshal (line 337) | func (fm *AFM) Marshal(w io.Writer) error { method Unmarshal (line 368) | func (fm *AFM) Unmarshal(r io.Reader) error { method convertToTensors (line 412) | func (fm *AFM) convertToTensors(x []lo.Tuple2[[]int32, []float32], e [... function NewAFM (line 67) | func NewAFM(params model.Params) *AFM { FILE: model/ctr/fm_xla.go constant headerAFM (line 51) | headerAFM = "AFM" type AFM (line 53) | type AFM struct method SuggestParams (line 83) | func (fm *AFM) SuggestParams(trial goptuna.Trial) model.Params { method SetParams (line 93) | func (fm *AFM) SetParams(params model.Params) { method Clear (line 105) | func (fm *AFM) Clear() { method Invalid (line 109) | func (fm *AFM) Invalid() bool { method Predict (line 113) | func (fm *AFM) Predict(_, _ string, _, _ []Label) float32 { method InternalPredict (line 117) | func (fm *AFM) InternalPredict(_ []int32, _ []float32) float32 { method attentionForward (line 121) | func (fm *AFM) attentionForward(ctx *mlx_context.Context, x *graph.Nod... method forwardGraph (line 144) | func (fm *AFM) forwardGraph(ctx *mlx_context.Context, indices, values ... method BatchInternalPredict (line 205) | func (fm *AFM) BatchInternalPredict(x []lo.Tuple2[[]int32, []float32],... method BatchPredict (line 265) | func (fm *AFM) BatchPredict(inputs []lo.Tuple4[string, string, []Label... method Init (line 313) | func (fm *AFM) Init(trainSet dataset.CTRSplit) { method Fit (line 392) | func (fm *AFM) Fit(ctx std_context.Context, trainSet, testSet dataset.... method Marshal (line 473) | func (fm *AFM) Marshal(w io.Writer) error { method Unmarshal (line 521) | func (fm *AFM) Unmarshal(r io.Reader) error { function NewAFM (line 77) | func NewAFM(params model.Params) *AFM { type ctrDataset (line 339) | type ctrDataset struct method Name (line 348) | func (d *ctrDataset) Name() string { return "CTRDataset" } method Reset (line 349) | func (d *ctrDataset) Reset() { d.currentOffset = 0 } method Yield (line 350) | func (d *ctrDataset) Yield() (spec any, inputs []*tensors.Tensor, labe... type savedVariable (line 466) | type savedVariable struct FILE: model/ctr/model.go type Score (line 31) | type Score struct method ZapFields (line 39) | func (score Score) ZapFields() []zap.Field { method GetValue (line 48) | func (score Score) GetValue() float32 { method BetterThan (line 52) | func (score Score) BetterThan(s Score) bool { type FitConfig (line 56) | type FitConfig struct method SetVerbose (line 70) | func (config *FitConfig) SetVerbose(verbose int) *FitConfig { method SetJobs (line 75) | func (config *FitConfig) SetJobs(jobs int) *FitConfig { method SetPatience (line 80) | func (config *FitConfig) SetPatience(patience int) *FitConfig { method LoadDefaultIfNil (line 85) | func (config *FitConfig) LoadDefaultIfNil() *FitConfig { function NewFitConfig (line 62) | func NewFitConfig() *FitConfig { type FactorizationMachines (line 92) | type FactorizationMachines interface type BatchInference (line 100) | type BatchInference interface type BaseFactorizationMachines (line 105) | type BaseFactorizationMachines struct method Init (line 110) | func (b *BaseFactorizationMachines) Init(trainSet dataset.CTRSplit) { function MarshalModel (line 114) | func MarshalModel(w io.Writer, m FactorizationMachines) error { function UnmarshalModel (line 129) | func UnmarshalModel(r io.Reader) (FactorizationMachines, error) { FILE: model/ctr/model.py class Dataset (line 10) | class Dataset: method __init__ (line 12) | def __init__(self): method __len__ (line 19) | def __len__(self): method aligned (line 23) | def aligned(self) -> Tuple[List[List[int]], List[List[float]]]: function load_libfm (line 39) | def load_libfm(path: str) -> Dataset: function load_dataset (line 55) | def load_dataset(name: str) -> Tuple[Dataset, Dataset]: function accuracy (line 60) | def accuracy(positive_predictions: List[float], negative_predictions: Li... function auc (line 73) | def auc(positive_predictions: List[float], negative_predictions: List[fl... class Evaluator (line 88) | class Evaluator: method __init__ (line 90) | def __init__(self, test: Dataset, device: str = "cpu") -> None: method evaluate (line 102) | def evaluate(self, model) -> Dict[str, float]: class FactorizationMachine (line 125) | class FactorizationMachine(torch.nn.Module): method __init__ (line 127) | def __init__( method forward (line 137) | def forward(self, indices, values): method predict (line 148) | def predict(self, indices, values): method fit (line 151) | def fit( function main (line 200) | def main(dataset: str, dim: int, iter: int, learn_rate: float, regular: ... FILE: model/ctr/model_test.go constant classificationDelta (line 27) | classificationDelta = 0.01 function newFitConfigWithTestTracker (line 29) | func newFitConfigWithTestTracker() *FitConfig { function TestFactorizationMachines_Classification_Frappe (line 34) | func TestFactorizationMachines_Classification_Frappe(t *testing.T) { function TestFactorizationMachines_Classification_MovieLens (line 50) | func TestFactorizationMachines_Classification_MovieLens(t *testing.T) { function TestFactorizationMachines_Classification_Criteo (line 68) | func TestFactorizationMachines_Classification_Criteo(t *testing.T) { function newSynthesisDataset (line 115) | func newSynthesisDataset() *Dataset { function TestFactorizationMachines_Classification_Synthesis (line 155) | func TestFactorizationMachines_Classification_Synthesis(t *testing.T) { FILE: model/ctr/optimize.go type ModelCreator (line 28) | type ModelCreator type ModelSearch (line 30) | type ModelSearch struct method WithContext (line 51) | func (ms *ModelSearch) WithContext(ctx context.Context) *ModelSearch { method WithSpan (line 56) | func (ms *ModelSearch) WithSpan(span *monitor.Span) *ModelSearch { method Objective (line 61) | func (ms *ModelSearch) Objective(trial goptuna.Trial) (float64, error) { method Result (line 85) | func (ms *ModelSearch) Result() meta.Model[Score] { function NewModelSearch (line 41) | func NewModelSearch(models map[string]ModelCreator, trainSet, testSet da... FILE: model/ctr/optimize_test.go function NewMapIndexDataset (line 30) | func NewMapIndexDataset() *Dataset { type mockFactorizationMachineForSearch (line 36) | type mockFactorizationMachineForSearch struct method Marshal (line 40) | func (m *mockFactorizationMachineForSearch) Marshal(_ io.Writer) error { method Invalid (line 44) | func (m *mockFactorizationMachineForSearch) Invalid() bool { method GetUserIndex (line 48) | func (m *mockFactorizationMachineForSearch) GetUserIndex() dataset.Ind... method GetItemIndex (line 52) | func (m *mockFactorizationMachineForSearch) GetItemIndex() dataset.Ind... method Fit (line 56) | func (m *mockFactorizationMachineForSearch) Fit(_ context.Context, _, ... method Predict (line 64) | func (m *mockFactorizationMachineForSearch) Predict(_, _ string, _, _ ... method InternalPredict (line 68) | func (m *mockFactorizationMachineForSearch) InternalPredict(_ []int32,... method Clear (line 72) | func (m *mockFactorizationMachineForSearch) Clear() { method GetParamsGrid (line 76) | func (m *mockFactorizationMachineForSearch) GetParamsGrid(_ bool) mode... method SuggestParams (line 84) | func (m *mockFactorizationMachineForSearch) SuggestParams(trial goptun... function TestTPE (line 92) | func TestTPE(t *testing.T) { FILE: model/model.go type Model (line 24) | type Model interface type BaseModel (line 34) | type BaseModel struct method SetParams (line 41) | func (model *BaseModel) SetParams(params Params) { method GetParams (line 48) | func (model *BaseModel) GetParams() Params { method GetRandomGenerator (line 52) | func (model *BaseModel) GetRandomGenerator() util.RandomGenerator { FILE: model/params.go type ParamName (line 27) | type ParamName constant Lr (line 31) | Lr ParamName = "Lr" constant Reg (line 32) | Reg ParamName = "Reg" constant NEpochs (line 33) | NEpochs ParamName = "NEpochs" constant NFactors (line 34) | NFactors ParamName = "NFactors" constant RandomState (line 35) | RandomState ParamName = "RandomState" constant InitMean (line 36) | InitMean ParamName = "InitMean" constant InitStdDev (line 37) | InitStdDev ParamName = "InitStdDev" constant Alpha (line 38) | Alpha ParamName = "Alpha" constant Similarity (line 39) | Similarity ParamName = "Similarity" constant UseFeature (line 40) | UseFeature ParamName = "UseFeature" constant BatchSize (line 41) | BatchSize ParamName = "BatchSize" constant HiddenLayers (line 42) | HiddenLayers ParamName = "HiddenLayers" constant Optimizer (line 43) | Optimizer ParamName = "Optimizer" constant SGD (line 45) | SGD = "sgd" constant Adam (line 46) | Adam = "adam" type Params (line 59) | type Params method Copy (line 62) | func (parameters Params) Copy() Params { method GetBool (line 71) | func (parameters Params) GetBool(name ParamName, _default bool) bool { method GetInt (line 86) | func (parameters Params) GetInt(name ParamName, _default int) int { method GetInt64 (line 102) | func (parameters Params) GetInt64(name ParamName, _default int64) int64 { method GetFloat32 (line 118) | func (parameters Params) GetFloat32(name ParamName, _default float32) ... method GetString (line 137) | func (parameters Params) GetString(name ParamName, _default string) st... method GetIntSlice (line 144) | func (parameters Params) GetIntSlice(name ParamName, _default []int) [... method Overwrite (line 158) | func (parameters Params) Overwrite(params Params) Params { type ParamsGrid (line 170) | type ParamsGrid method Len (line 172) | func (grid ParamsGrid) Len() int { method NumCombinations (line 176) | func (grid ParamsGrid) NumCombinations() int { method Fill (line 184) | func (grid ParamsGrid) Fill(_default ParamsGrid) { FILE: model/params_test.go function TestParams_Copy (line 22) | func TestParams_Copy(t *testing.T) { function TestParams_GetFloat32 (line 44) | func TestParams_GetFloat32(t *testing.T) { function TestParams_GetBool (line 63) | func TestParams_GetBool(t *testing.T) { function TestParams_GetInt (line 75) | func TestParams_GetInt(t *testing.T) { function TestParams_GetInt64 (line 87) | func TestParams_GetInt64(t *testing.T) { function TestParams_GetString (line 101) | func TestParams_GetString(t *testing.T) { function TestParams_GetIntSlice (line 110) | func TestParams_GetIntSlice(t *testing.T) { function TestParams_Overwrite (line 122) | func TestParams_Overwrite(t *testing.T) { function TestParamsGrid (line 137) | func TestParamsGrid(t *testing.T) { FILE: protocol/cache_store.pb.go constant _ (line 34) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 36) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Value (line 39) | type Value struct method Reset (line 47) | func (x *Value) Reset() { method String (line 54) | func (x *Value) String() string { method ProtoMessage (line 58) | func (*Value) ProtoMessage() {} method ProtoReflect (line 60) | func (x *Value) ProtoReflect() protoreflect.Message { method Descriptor (line 73) | func (*Value) Descriptor() ([]byte, []int) { method GetName (line 77) | func (x *Value) GetName() string { method GetValue (line 84) | func (x *Value) GetValue() string { type Score (line 91) | type Score struct method Reset (line 102) | func (x *Score) Reset() { method String (line 109) | func (x *Score) String() string { method ProtoMessage (line 113) | func (*Score) ProtoMessage() {} method ProtoReflect (line 115) | func (x *Score) ProtoReflect() protoreflect.Message { method Descriptor (line 128) | func (*Score) Descriptor() ([]byte, []int) { method GetId (line 132) | func (x *Score) GetId() string { method GetScore (line 139) | func (x *Score) GetScore() float64 { method GetIsHidden (line 146) | func (x *Score) GetIsHidden() bool { method GetCategories (line 153) | func (x *Score) GetCategories() []string { method GetTimestamp (line 160) | func (x *Score) GetTimestamp() *timestamppb.Timestamp { type ScoreCondition (line 167) | type ScoreCondition struct method Reset (line 176) | func (x *ScoreCondition) Reset() { method String (line 183) | func (x *ScoreCondition) String() string { method ProtoMessage (line 187) | func (*ScoreCondition) ProtoMessage() {} method ProtoReflect (line 189) | func (x *ScoreCondition) ProtoReflect() protoreflect.Message { method Descriptor (line 202) | func (*ScoreCondition) Descriptor() ([]byte, []int) { method GetSubset (line 206) | func (x *ScoreCondition) GetSubset() string { method GetId (line 213) | func (x *ScoreCondition) GetId() string { method GetBefore (line 220) | func (x *ScoreCondition) GetBefore() *timestamppb.Timestamp { type ScorePatch (line 227) | type ScorePatch struct method Reset (line 236) | func (x *ScorePatch) Reset() { method String (line 243) | func (x *ScorePatch) String() string { method ProtoMessage (line 247) | func (*ScorePatch) ProtoMessage() {} method ProtoReflect (line 249) | func (x *ScorePatch) ProtoReflect() protoreflect.Message { method Descriptor (line 262) | func (*ScorePatch) Descriptor() ([]byte, []int) { method GetIsHidden (line 266) | func (x *ScorePatch) GetIsHidden() bool { method GetCategories (line 273) | func (x *ScorePatch) GetCategories() []string { method GetScore (line 280) | func (x *ScorePatch) GetScore() float64 { type TimeSeriesPoint (line 287) | type TimeSeriesPoint struct method Reset (line 296) | func (x *TimeSeriesPoint) Reset() { method String (line 303) | func (x *TimeSeriesPoint) String() string { method ProtoMessage (line 307) | func (*TimeSeriesPoint) ProtoMessage() {} method ProtoReflect (line 309) | func (x *TimeSeriesPoint) ProtoReflect() protoreflect.Message { method Descriptor (line 322) | func (*TimeSeriesPoint) Descriptor() ([]byte, []int) { method GetName (line 326) | func (x *TimeSeriesPoint) GetName() string { method GetTimestamp (line 333) | func (x *TimeSeriesPoint) GetTimestamp() *timestamppb.Timestamp { method GetValue (line 340) | func (x *TimeSeriesPoint) GetValue() float64 { type GetRequest (line 347) | type GetRequest struct method Reset (line 354) | func (x *GetRequest) Reset() { method String (line 361) | func (x *GetRequest) String() string { method ProtoMessage (line 365) | func (*GetRequest) ProtoMessage() {} method ProtoReflect (line 367) | func (x *GetRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 380) | func (*GetRequest) Descriptor() ([]byte, []int) { method GetName (line 384) | func (x *GetRequest) GetName() string { type GetResponse (line 391) | type GetResponse struct method Reset (line 398) | func (x *GetResponse) Reset() { method String (line 405) | func (x *GetResponse) String() string { method ProtoMessage (line 409) | func (*GetResponse) ProtoMessage() {} method ProtoReflect (line 411) | func (x *GetResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 424) | func (*GetResponse) Descriptor() ([]byte, []int) { method GetValue (line 428) | func (x *GetResponse) GetValue() string { type SetRequest (line 435) | type SetRequest struct method Reset (line 442) | func (x *SetRequest) Reset() { method String (line 449) | func (x *SetRequest) String() string { method ProtoMessage (line 453) | func (*SetRequest) ProtoMessage() {} method ProtoReflect (line 455) | func (x *SetRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 468) | func (*SetRequest) Descriptor() ([]byte, []int) { method GetValues (line 472) | func (x *SetRequest) GetValues() []*Value { type SetResponse (line 479) | type SetResponse struct method Reset (line 485) | func (x *SetResponse) Reset() { method String (line 492) | func (x *SetResponse) String() string { method ProtoMessage (line 496) | func (*SetResponse) ProtoMessage() {} method ProtoReflect (line 498) | func (x *SetResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 511) | func (*SetResponse) Descriptor() ([]byte, []int) { type DeleteRequest (line 515) | type DeleteRequest struct method Reset (line 522) | func (x *DeleteRequest) Reset() { method String (line 529) | func (x *DeleteRequest) String() string { method ProtoMessage (line 533) | func (*DeleteRequest) ProtoMessage() {} method ProtoReflect (line 535) | func (x *DeleteRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 548) | func (*DeleteRequest) Descriptor() ([]byte, []int) { method GetName (line 552) | func (x *DeleteRequest) GetName() string { type DeleteResponse (line 559) | type DeleteResponse struct method Reset (line 565) | func (x *DeleteResponse) Reset() { method String (line 572) | func (x *DeleteResponse) String() string { method ProtoMessage (line 576) | func (*DeleteResponse) ProtoMessage() {} method ProtoReflect (line 578) | func (x *DeleteResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 591) | func (*DeleteResponse) Descriptor() ([]byte, []int) { type PushRequest (line 595) | type PushRequest struct method Reset (line 603) | func (x *PushRequest) Reset() { method String (line 610) | func (x *PushRequest) String() string { method ProtoMessage (line 614) | func (*PushRequest) ProtoMessage() {} method ProtoReflect (line 616) | func (x *PushRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 629) | func (*PushRequest) Descriptor() ([]byte, []int) { method GetName (line 633) | func (x *PushRequest) GetName() string { method GetValue (line 640) | func (x *PushRequest) GetValue() string { type PushResponse (line 647) | type PushResponse struct method Reset (line 653) | func (x *PushResponse) Reset() { method String (line 660) | func (x *PushResponse) String() string { method ProtoMessage (line 664) | func (*PushResponse) ProtoMessage() {} method ProtoReflect (line 666) | func (x *PushResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 679) | func (*PushResponse) Descriptor() ([]byte, []int) { type PopRequest (line 683) | type PopRequest struct method Reset (line 690) | func (x *PopRequest) Reset() { method String (line 697) | func (x *PopRequest) String() string { method ProtoMessage (line 701) | func (*PopRequest) ProtoMessage() {} method ProtoReflect (line 703) | func (x *PopRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 716) | func (*PopRequest) Descriptor() ([]byte, []int) { method GetName (line 720) | func (x *PopRequest) GetName() string { type PopResponse (line 727) | type PopResponse struct method Reset (line 734) | func (x *PopResponse) Reset() { method String (line 741) | func (x *PopResponse) String() string { method ProtoMessage (line 745) | func (*PopResponse) ProtoMessage() {} method ProtoReflect (line 747) | func (x *PopResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 760) | func (*PopResponse) Descriptor() ([]byte, []int) { method GetValue (line 764) | func (x *PopResponse) GetValue() string { type RemainRequest (line 771) | type RemainRequest struct method Reset (line 778) | func (x *RemainRequest) Reset() { method String (line 785) | func (x *RemainRequest) String() string { method ProtoMessage (line 789) | func (*RemainRequest) ProtoMessage() {} method ProtoReflect (line 791) | func (x *RemainRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 804) | func (*RemainRequest) Descriptor() ([]byte, []int) { method GetName (line 808) | func (x *RemainRequest) GetName() string { type RemainResponse (line 815) | type RemainResponse struct method Reset (line 822) | func (x *RemainResponse) Reset() { method String (line 829) | func (x *RemainResponse) String() string { method ProtoMessage (line 833) | func (*RemainResponse) ProtoMessage() {} method ProtoReflect (line 835) | func (x *RemainResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 848) | func (*RemainResponse) Descriptor() ([]byte, []int) { method GetCount (line 852) | func (x *RemainResponse) GetCount() int64 { type AddScoresRequest (line 859) | type AddScoresRequest struct method Reset (line 868) | func (x *AddScoresRequest) Reset() { method String (line 875) | func (x *AddScoresRequest) String() string { method ProtoMessage (line 879) | func (*AddScoresRequest) ProtoMessage() {} method ProtoReflect (line 881) | func (x *AddScoresRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 894) | func (*AddScoresRequest) Descriptor() ([]byte, []int) { method GetCollection (line 898) | func (x *AddScoresRequest) GetCollection() string { method GetSubset (line 905) | func (x *AddScoresRequest) GetSubset() string { method GetDocuments (line 912) | func (x *AddScoresRequest) GetDocuments() []*Score { type AddScoresResponse (line 919) | type AddScoresResponse struct method Reset (line 925) | func (x *AddScoresResponse) Reset() { method String (line 932) | func (x *AddScoresResponse) String() string { method ProtoMessage (line 936) | func (*AddScoresResponse) ProtoMessage() {} method ProtoReflect (line 938) | func (x *AddScoresResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 951) | func (*AddScoresResponse) Descriptor() ([]byte, []int) { type SearchScoresRequest (line 955) | type SearchScoresRequest struct method Reset (line 966) | func (x *SearchScoresRequest) Reset() { method String (line 973) | func (x *SearchScoresRequest) String() string { method ProtoMessage (line 977) | func (*SearchScoresRequest) ProtoMessage() {} method ProtoReflect (line 979) | func (x *SearchScoresRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 992) | func (*SearchScoresRequest) Descriptor() ([]byte, []int) { method GetCollection (line 996) | func (x *SearchScoresRequest) GetCollection() string { method GetSubset (line 1003) | func (x *SearchScoresRequest) GetSubset() string { method GetQuery (line 1010) | func (x *SearchScoresRequest) GetQuery() []string { method GetBegin (line 1017) | func (x *SearchScoresRequest) GetBegin() int32 { method GetEnd (line 1024) | func (x *SearchScoresRequest) GetEnd() int32 { type SearchScoresResponse (line 1031) | type SearchScoresResponse struct method Reset (line 1038) | func (x *SearchScoresResponse) Reset() { method String (line 1045) | func (x *SearchScoresResponse) String() string { method ProtoMessage (line 1049) | func (*SearchScoresResponse) ProtoMessage() {} method ProtoReflect (line 1051) | func (x *SearchScoresResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1064) | func (*SearchScoresResponse) Descriptor() ([]byte, []int) { method GetDocuments (line 1068) | func (x *SearchScoresResponse) GetDocuments() []*Score { type DeleteScoresRequest (line 1075) | type DeleteScoresRequest struct method Reset (line 1083) | func (x *DeleteScoresRequest) Reset() { method String (line 1090) | func (x *DeleteScoresRequest) String() string { method ProtoMessage (line 1094) | func (*DeleteScoresRequest) ProtoMessage() {} method ProtoReflect (line 1096) | func (x *DeleteScoresRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1109) | func (*DeleteScoresRequest) Descriptor() ([]byte, []int) { method GetCollection (line 1113) | func (x *DeleteScoresRequest) GetCollection() []string { method GetCondition (line 1120) | func (x *DeleteScoresRequest) GetCondition() *ScoreCondition { type DeleteScoresResponse (line 1127) | type DeleteScoresResponse struct method Reset (line 1133) | func (x *DeleteScoresResponse) Reset() { method String (line 1140) | func (x *DeleteScoresResponse) String() string { method ProtoMessage (line 1144) | func (*DeleteScoresResponse) ProtoMessage() {} method ProtoReflect (line 1146) | func (x *DeleteScoresResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1159) | func (*DeleteScoresResponse) Descriptor() ([]byte, []int) { type UpdateScoresRequest (line 1163) | type UpdateScoresRequest struct method Reset (line 1173) | func (x *UpdateScoresRequest) Reset() { method String (line 1180) | func (x *UpdateScoresRequest) String() string { method ProtoMessage (line 1184) | func (*UpdateScoresRequest) ProtoMessage() {} method ProtoReflect (line 1186) | func (x *UpdateScoresRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1199) | func (*UpdateScoresRequest) Descriptor() ([]byte, []int) { method GetCollection (line 1203) | func (x *UpdateScoresRequest) GetCollection() []string { method GetSubset (line 1210) | func (x *UpdateScoresRequest) GetSubset() string { method GetId (line 1217) | func (x *UpdateScoresRequest) GetId() string { method GetPatch (line 1224) | func (x *UpdateScoresRequest) GetPatch() *ScorePatch { type UpdateScoresResponse (line 1231) | type UpdateScoresResponse struct method Reset (line 1237) | func (x *UpdateScoresResponse) Reset() { method String (line 1244) | func (x *UpdateScoresResponse) String() string { method ProtoMessage (line 1248) | func (*UpdateScoresResponse) ProtoMessage() {} method ProtoReflect (line 1250) | func (x *UpdateScoresResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1263) | func (*UpdateScoresResponse) Descriptor() ([]byte, []int) { type ScanScoresRequest (line 1267) | type ScanScoresRequest struct method Reset (line 1273) | func (x *ScanScoresRequest) Reset() { method String (line 1280) | func (x *ScanScoresRequest) String() string { method ProtoMessage (line 1284) | func (*ScanScoresRequest) ProtoMessage() {} method ProtoReflect (line 1286) | func (x *ScanScoresRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1299) | func (*ScanScoresRequest) Descriptor() ([]byte, []int) { type ScanScoresResponse (line 1303) | type ScanScoresResponse struct method Reset (line 1313) | func (x *ScanScoresResponse) Reset() { method String (line 1320) | func (x *ScanScoresResponse) String() string { method ProtoMessage (line 1324) | func (*ScanScoresResponse) ProtoMessage() {} method ProtoReflect (line 1326) | func (x *ScanScoresResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1339) | func (*ScanScoresResponse) Descriptor() ([]byte, []int) { method GetCollection (line 1343) | func (x *ScanScoresResponse) GetCollection() string { method GetId (line 1350) | func (x *ScanScoresResponse) GetId() string { method GetSubset (line 1357) | func (x *ScanScoresResponse) GetSubset() string { method GetTimestamp (line 1364) | func (x *ScanScoresResponse) GetTimestamp() *timestamppb.Timestamp { type AddTimeSeriesPointsRequest (line 1371) | type AddTimeSeriesPointsRequest struct method Reset (line 1378) | func (x *AddTimeSeriesPointsRequest) Reset() { method String (line 1385) | func (x *AddTimeSeriesPointsRequest) String() string { method ProtoMessage (line 1389) | func (*AddTimeSeriesPointsRequest) ProtoMessage() {} method ProtoReflect (line 1391) | func (x *AddTimeSeriesPointsRequest) ProtoReflect() protoreflect.Messa... method Descriptor (line 1404) | func (*AddTimeSeriesPointsRequest) Descriptor() ([]byte, []int) { method GetPoints (line 1408) | func (x *AddTimeSeriesPointsRequest) GetPoints() []*TimeSeriesPoint { type AddTimeSeriesPointsResponse (line 1415) | type AddTimeSeriesPointsResponse struct method Reset (line 1421) | func (x *AddTimeSeriesPointsResponse) Reset() { method String (line 1428) | func (x *AddTimeSeriesPointsResponse) String() string { method ProtoMessage (line 1432) | func (*AddTimeSeriesPointsResponse) ProtoMessage() {} method ProtoReflect (line 1434) | func (x *AddTimeSeriesPointsResponse) ProtoReflect() protoreflect.Mess... method Descriptor (line 1447) | func (*AddTimeSeriesPointsResponse) Descriptor() ([]byte, []int) { type GetTimeSeriesPointsRequest (line 1451) | type GetTimeSeriesPointsRequest struct method Reset (line 1461) | func (x *GetTimeSeriesPointsRequest) Reset() { method String (line 1468) | func (x *GetTimeSeriesPointsRequest) String() string { method ProtoMessage (line 1472) | func (*GetTimeSeriesPointsRequest) ProtoMessage() {} method ProtoReflect (line 1474) | func (x *GetTimeSeriesPointsRequest) ProtoReflect() protoreflect.Messa... method Descriptor (line 1487) | func (*GetTimeSeriesPointsRequest) Descriptor() ([]byte, []int) { method GetName (line 1491) | func (x *GetTimeSeriesPointsRequest) GetName() string { method GetBegin (line 1498) | func (x *GetTimeSeriesPointsRequest) GetBegin() *timestamppb.Timestamp { method GetEnd (line 1505) | func (x *GetTimeSeriesPointsRequest) GetEnd() *timestamppb.Timestamp { method GetDuration (line 1512) | func (x *GetTimeSeriesPointsRequest) GetDuration() int64 { type GetTimeSeriesPointsResponse (line 1519) | type GetTimeSeriesPointsResponse struct method Reset (line 1526) | func (x *GetTimeSeriesPointsResponse) Reset() { method String (line 1533) | func (x *GetTimeSeriesPointsResponse) String() string { method ProtoMessage (line 1537) | func (*GetTimeSeriesPointsResponse) ProtoMessage() {} method ProtoReflect (line 1539) | func (x *GetTimeSeriesPointsResponse) ProtoReflect() protoreflect.Mess... method Descriptor (line 1552) | func (*GetTimeSeriesPointsResponse) Descriptor() ([]byte, []int) { method GetPoints (line 1556) | func (x *GetTimeSeriesPointsResponse) GetPoints() []*TimeSeriesPoint { constant file_cache_store_proto_rawDesc (line 1565) | file_cache_store_proto_rawDesc = "" + function file_cache_store_proto_rawDescGZIP (line 1700) | func file_cache_store_proto_rawDescGZIP() []byte { function init (line 1793) | func init() { file_cache_store_proto_init() } function file_cache_store_proto_init (line 1794) | func file_cache_store_proto_init() { FILE: protocol/cache_store_grpc.pb.go constant _ (line 33) | _ = grpc.SupportPackageIsVersion9 constant CacheStore_Ping_FullMethodName (line 36) | CacheStore_Ping_FullMethodName = "/protocol.CacheStore/Ping" constant CacheStore_Get_FullMethodName (line 37) | CacheStore_Get_FullMethodName = "/protocol.CacheStore/Get" constant CacheStore_Set_FullMethodName (line 38) | CacheStore_Set_FullMethodName = "/protocol.CacheStore/Set" constant CacheStore_Delete_FullMethodName (line 39) | CacheStore_Delete_FullMethodName = "/protocol.CacheStore/De... constant CacheStore_Push_FullMethodName (line 40) | CacheStore_Push_FullMethodName = "/protocol.CacheStore/Push" constant CacheStore_Pop_FullMethodName (line 41) | CacheStore_Pop_FullMethodName = "/protocol.CacheStore/Pop" constant CacheStore_Remain_FullMethodName (line 42) | CacheStore_Remain_FullMethodName = "/protocol.CacheStore/Re... constant CacheStore_AddScores_FullMethodName (line 43) | CacheStore_AddScores_FullMethodName = "/protocol.CacheStore/Ad... constant CacheStore_SearchScores_FullMethodName (line 44) | CacheStore_SearchScores_FullMethodName = "/protocol.CacheStore/Se... constant CacheStore_DeleteScores_FullMethodName (line 45) | CacheStore_DeleteScores_FullMethodName = "/protocol.CacheStore/De... constant CacheStore_UpdateScores_FullMethodName (line 46) | CacheStore_UpdateScores_FullMethodName = "/protocol.CacheStore/Up... constant CacheStore_ScanScores_FullMethodName (line 47) | CacheStore_ScanScores_FullMethodName = "/protocol.CacheStore/Sc... constant CacheStore_AddTimeSeriesPoints_FullMethodName (line 48) | CacheStore_AddTimeSeriesPoints_FullMethodName = "/protocol.CacheStore/Ad... constant CacheStore_GetTimeSeriesPoints_FullMethodName (line 49) | CacheStore_GetTimeSeriesPoints_FullMethodName = "/protocol.CacheStore/Ge... type CacheStoreClient (line 55) | type CacheStoreClient interface type cacheStoreClient (line 72) | type cacheStoreClient struct method Ping (line 80) | func (c *cacheStoreClient) Ping(ctx context.Context, in *PingRequest, ... method Get (line 90) | func (c *cacheStoreClient) Get(ctx context.Context, in *GetRequest, op... method Set (line 100) | func (c *cacheStoreClient) Set(ctx context.Context, in *SetRequest, op... method Delete (line 110) | func (c *cacheStoreClient) Delete(ctx context.Context, in *DeleteReque... method Push (line 120) | func (c *cacheStoreClient) Push(ctx context.Context, in *PushRequest, ... method Pop (line 130) | func (c *cacheStoreClient) Pop(ctx context.Context, in *PopRequest, op... method Remain (line 140) | func (c *cacheStoreClient) Remain(ctx context.Context, in *RemainReque... method AddScores (line 150) | func (c *cacheStoreClient) AddScores(ctx context.Context, in *AddScore... method SearchScores (line 160) | func (c *cacheStoreClient) SearchScores(ctx context.Context, in *Searc... method DeleteScores (line 170) | func (c *cacheStoreClient) DeleteScores(ctx context.Context, in *Delet... method UpdateScores (line 180) | func (c *cacheStoreClient) UpdateScores(ctx context.Context, in *Updat... method ScanScores (line 190) | func (c *cacheStoreClient) ScanScores(ctx context.Context, in *ScanSco... method AddTimeSeriesPoints (line 209) | func (c *cacheStoreClient) AddTimeSeriesPoints(ctx context.Context, in... method GetTimeSeriesPoints (line 219) | func (c *cacheStoreClient) GetTimeSeriesPoints(ctx context.Context, in... function NewCacheStoreClient (line 76) | func NewCacheStoreClient(cc grpc.ClientConnInterface) CacheStoreClient { type CacheStoreServer (line 232) | type CacheStoreServer interface type UnimplementedCacheStoreServer (line 255) | type UnimplementedCacheStoreServer struct method Ping (line 257) | func (UnimplementedCacheStoreServer) Ping(context.Context, *PingReques... method Get (line 260) | func (UnimplementedCacheStoreServer) Get(context.Context, *GetRequest)... method Set (line 263) | func (UnimplementedCacheStoreServer) Set(context.Context, *SetRequest)... method Delete (line 266) | func (UnimplementedCacheStoreServer) Delete(context.Context, *DeleteRe... method Push (line 269) | func (UnimplementedCacheStoreServer) Push(context.Context, *PushReques... method Pop (line 272) | func (UnimplementedCacheStoreServer) Pop(context.Context, *PopRequest)... method Remain (line 275) | func (UnimplementedCacheStoreServer) Remain(context.Context, *RemainRe... method AddScores (line 278) | func (UnimplementedCacheStoreServer) AddScores(context.Context, *AddSc... method SearchScores (line 281) | func (UnimplementedCacheStoreServer) SearchScores(context.Context, *Se... method DeleteScores (line 284) | func (UnimplementedCacheStoreServer) DeleteScores(context.Context, *De... method UpdateScores (line 287) | func (UnimplementedCacheStoreServer) UpdateScores(context.Context, *Up... method ScanScores (line 290) | func (UnimplementedCacheStoreServer) ScanScores(*ScanScoresRequest, gr... method AddTimeSeriesPoints (line 293) | func (UnimplementedCacheStoreServer) AddTimeSeriesPoints(context.Conte... method GetTimeSeriesPoints (line 296) | func (UnimplementedCacheStoreServer) GetTimeSeriesPoints(context.Conte... method mustEmbedUnimplementedCacheStoreServer (line 299) | func (UnimplementedCacheStoreServer) mustEmbedUnimplementedCacheStoreS... method testEmbeddedByValue (line 300) | func (UnimplementedCacheStoreServer) testEmbeddedByValue() ... type UnsafeCacheStoreServer (line 305) | type UnsafeCacheStoreServer interface function RegisterCacheStoreServer (line 309) | func RegisterCacheStoreServer(s grpc.ServiceRegistrar, srv CacheStoreSer... function _CacheStore_Ping_Handler (line 320) | func _CacheStore_Ping_Handler(srv interface{}, ctx context.Context, dec ... function _CacheStore_Get_Handler (line 338) | func _CacheStore_Get_Handler(srv interface{}, ctx context.Context, dec f... function _CacheStore_Set_Handler (line 356) | func _CacheStore_Set_Handler(srv interface{}, ctx context.Context, dec f... function _CacheStore_Delete_Handler (line 374) | func _CacheStore_Delete_Handler(srv interface{}, ctx context.Context, de... function _CacheStore_Push_Handler (line 392) | func _CacheStore_Push_Handler(srv interface{}, ctx context.Context, dec ... function _CacheStore_Pop_Handler (line 410) | func _CacheStore_Pop_Handler(srv interface{}, ctx context.Context, dec f... function _CacheStore_Remain_Handler (line 428) | func _CacheStore_Remain_Handler(srv interface{}, ctx context.Context, de... function _CacheStore_AddScores_Handler (line 446) | func _CacheStore_AddScores_Handler(srv interface{}, ctx context.Context,... function _CacheStore_SearchScores_Handler (line 464) | func _CacheStore_SearchScores_Handler(srv interface{}, ctx context.Conte... function _CacheStore_DeleteScores_Handler (line 482) | func _CacheStore_DeleteScores_Handler(srv interface{}, ctx context.Conte... function _CacheStore_UpdateScores_Handler (line 500) | func _CacheStore_UpdateScores_Handler(srv interface{}, ctx context.Conte... function _CacheStore_ScanScores_Handler (line 518) | func _CacheStore_ScanScores_Handler(srv interface{}, stream grpc.ServerS... function _CacheStore_AddTimeSeriesPoints_Handler (line 529) | func _CacheStore_AddTimeSeriesPoints_Handler(srv interface{}, ctx contex... function _CacheStore_GetTimeSeriesPoints_Handler (line 547) | func _CacheStore_GetTimeSeriesPoints_Handler(srv interface{}, ctx contex... FILE: protocol/data_store.pb.go constant _ (line 34) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 36) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ExpressionType (line 39) | type ExpressionType method Enum (line 67) | func (x ExpressionType) Enum() *ExpressionType { method String (line 73) | func (x ExpressionType) String() string { method Descriptor (line 77) | func (ExpressionType) Descriptor() protoreflect.EnumDescriptor { method Type (line 81) | func (ExpressionType) Type() protoreflect.EnumType { method Number (line 85) | func (x ExpressionType) Number() protoreflect.EnumNumber { method EnumDescriptor (line 90) | func (ExpressionType) EnumDescriptor() ([]byte, []int) { constant ExpressionType_None (line 42) | ExpressionType_None ExpressionType = 0 constant ExpressionType_Less (line 43) | ExpressionType_Less ExpressionType = 1 constant ExpressionType_LessOrEqual (line 44) | ExpressionType_LessOrEqual ExpressionType = 2 constant ExpressionType_Greater (line 45) | ExpressionType_Greater ExpressionType = 3 constant ExpressionType_GreaterOrEqual (line 46) | ExpressionType_GreaterOrEqual ExpressionType = 4 type FeedbackTypeExpression (line 94) | type FeedbackTypeExpression struct method Reset (line 103) | func (x *FeedbackTypeExpression) Reset() { method String (line 110) | func (x *FeedbackTypeExpression) String() string { method ProtoMessage (line 114) | func (*FeedbackTypeExpression) ProtoMessage() {} method ProtoReflect (line 116) | func (x *FeedbackTypeExpression) ProtoReflect() protoreflect.Message { method Descriptor (line 129) | func (*FeedbackTypeExpression) Descriptor() ([]byte, []int) { method GetFeedbackType (line 133) | func (x *FeedbackTypeExpression) GetFeedbackType() string { method GetExpressionType (line 140) | func (x *FeedbackTypeExpression) GetExpressionType() ExpressionType { method GetValue (line 147) | func (x *FeedbackTypeExpression) GetValue() float64 { type UserPatch (line 154) | type UserPatch struct method Reset (line 163) | func (x *UserPatch) Reset() { method String (line 170) | func (x *UserPatch) String() string { method ProtoMessage (line 174) | func (*UserPatch) ProtoMessage() {} method ProtoReflect (line 176) | func (x *UserPatch) ProtoReflect() protoreflect.Message { method Descriptor (line 189) | func (*UserPatch) Descriptor() ([]byte, []int) { method GetLabels (line 193) | func (x *UserPatch) GetLabels() []byte { method GetComment (line 200) | func (x *UserPatch) GetComment() string { method GetSubscribe (line 207) | func (x *UserPatch) GetSubscribe() []string { type ItemPatch (line 214) | type ItemPatch struct method Reset (line 225) | func (x *ItemPatch) Reset() { method String (line 232) | func (x *ItemPatch) String() string { method ProtoMessage (line 236) | func (*ItemPatch) ProtoMessage() {} method ProtoReflect (line 238) | func (x *ItemPatch) ProtoReflect() protoreflect.Message { method Descriptor (line 251) | func (*ItemPatch) Descriptor() ([]byte, []int) { method GetIsHidden (line 255) | func (x *ItemPatch) GetIsHidden() bool { method GetCategories (line 262) | func (x *ItemPatch) GetCategories() []string { method GetTimestamp (line 269) | func (x *ItemPatch) GetTimestamp() *timestamppb.Timestamp { method GetLabels (line 276) | func (x *ItemPatch) GetLabels() []byte { method GetComment (line 283) | func (x *ItemPatch) GetComment() string { type ScanOptions (line 290) | type ScanOptions struct method Reset (line 304) | func (x *ScanOptions) Reset() { method String (line 311) | func (x *ScanOptions) String() string { method ProtoMessage (line 315) | func (*ScanOptions) ProtoMessage() {} method ProtoReflect (line 317) | func (x *ScanOptions) ProtoReflect() protoreflect.Message { method Descriptor (line 330) | func (*ScanOptions) Descriptor() ([]byte, []int) { method GetBeginUserId (line 334) | func (x *ScanOptions) GetBeginUserId() string { method GetEndUserId (line 341) | func (x *ScanOptions) GetEndUserId() string { method GetBeginItemId (line 348) | func (x *ScanOptions) GetBeginItemId() string { method GetEndItemId (line 355) | func (x *ScanOptions) GetEndItemId() string { method GetBeginTime (line 362) | func (x *ScanOptions) GetBeginTime() *timestamppb.Timestamp { method GetEndTime (line 369) | func (x *ScanOptions) GetEndTime() *timestamppb.Timestamp { method GetFeedbackTypes (line 376) | func (x *ScanOptions) GetFeedbackTypes() []*FeedbackTypeExpression { method GetOrderByItemId (line 383) | func (x *ScanOptions) GetOrderByItemId() bool { type BatchInsertItemsRequest (line 390) | type BatchInsertItemsRequest struct method Reset (line 397) | func (x *BatchInsertItemsRequest) Reset() { method String (line 404) | func (x *BatchInsertItemsRequest) String() string { method ProtoMessage (line 408) | func (*BatchInsertItemsRequest) ProtoMessage() {} method ProtoReflect (line 410) | func (x *BatchInsertItemsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 423) | func (*BatchInsertItemsRequest) Descriptor() ([]byte, []int) { method GetItems (line 427) | func (x *BatchInsertItemsRequest) GetItems() []*Item { type BatchInsertItemsResponse (line 434) | type BatchInsertItemsResponse struct method Reset (line 440) | func (x *BatchInsertItemsResponse) Reset() { method String (line 447) | func (x *BatchInsertItemsResponse) String() string { method ProtoMessage (line 451) | func (*BatchInsertItemsResponse) ProtoMessage() {} method ProtoReflect (line 453) | func (x *BatchInsertItemsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 466) | func (*BatchInsertItemsResponse) Descriptor() ([]byte, []int) { type BatchGetItemsRequest (line 470) | type BatchGetItemsRequest struct method Reset (line 477) | func (x *BatchGetItemsRequest) Reset() { method String (line 484) | func (x *BatchGetItemsRequest) String() string { method ProtoMessage (line 488) | func (*BatchGetItemsRequest) ProtoMessage() {} method ProtoReflect (line 490) | func (x *BatchGetItemsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 503) | func (*BatchGetItemsRequest) Descriptor() ([]byte, []int) { method GetItemIds (line 507) | func (x *BatchGetItemsRequest) GetItemIds() []string { type BatchGetItemsResponse (line 514) | type BatchGetItemsResponse struct method Reset (line 521) | func (x *BatchGetItemsResponse) Reset() { method String (line 528) | func (x *BatchGetItemsResponse) String() string { method ProtoMessage (line 532) | func (*BatchGetItemsResponse) ProtoMessage() {} method ProtoReflect (line 534) | func (x *BatchGetItemsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 547) | func (*BatchGetItemsResponse) Descriptor() ([]byte, []int) { method GetItems (line 551) | func (x *BatchGetItemsResponse) GetItems() []*Item { type DeleteItemRequest (line 558) | type DeleteItemRequest struct method Reset (line 565) | func (x *DeleteItemRequest) Reset() { method String (line 572) | func (x *DeleteItemRequest) String() string { method ProtoMessage (line 576) | func (*DeleteItemRequest) ProtoMessage() {} method ProtoReflect (line 578) | func (x *DeleteItemRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 591) | func (*DeleteItemRequest) Descriptor() ([]byte, []int) { method GetItemId (line 595) | func (x *DeleteItemRequest) GetItemId() string { type DeleteItemResponse (line 602) | type DeleteItemResponse struct method Reset (line 608) | func (x *DeleteItemResponse) Reset() { method String (line 615) | func (x *DeleteItemResponse) String() string { method ProtoMessage (line 619) | func (*DeleteItemResponse) ProtoMessage() {} method ProtoReflect (line 621) | func (x *DeleteItemResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 634) | func (*DeleteItemResponse) Descriptor() ([]byte, []int) { type GetItemRequest (line 638) | type GetItemRequest struct method Reset (line 645) | func (x *GetItemRequest) Reset() { method String (line 652) | func (x *GetItemRequest) String() string { method ProtoMessage (line 656) | func (*GetItemRequest) ProtoMessage() {} method ProtoReflect (line 658) | func (x *GetItemRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 671) | func (*GetItemRequest) Descriptor() ([]byte, []int) { method GetItemId (line 675) | func (x *GetItemRequest) GetItemId() string { type GetItemResponse (line 682) | type GetItemResponse struct method Reset (line 689) | func (x *GetItemResponse) Reset() { method String (line 696) | func (x *GetItemResponse) String() string { method ProtoMessage (line 700) | func (*GetItemResponse) ProtoMessage() {} method ProtoReflect (line 702) | func (x *GetItemResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 715) | func (*GetItemResponse) Descriptor() ([]byte, []int) { method GetItem (line 719) | func (x *GetItemResponse) GetItem() *Item { type ModifyItemRequest (line 726) | type ModifyItemRequest struct method Reset (line 734) | func (x *ModifyItemRequest) Reset() { method String (line 741) | func (x *ModifyItemRequest) String() string { method ProtoMessage (line 745) | func (*ModifyItemRequest) ProtoMessage() {} method ProtoReflect (line 747) | func (x *ModifyItemRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 760) | func (*ModifyItemRequest) Descriptor() ([]byte, []int) { method GetItemId (line 764) | func (x *ModifyItemRequest) GetItemId() string { method GetPatch (line 771) | func (x *ModifyItemRequest) GetPatch() *ItemPatch { type ModifyItemResponse (line 778) | type ModifyItemResponse struct method Reset (line 784) | func (x *ModifyItemResponse) Reset() { method String (line 791) | func (x *ModifyItemResponse) String() string { method ProtoMessage (line 795) | func (*ModifyItemResponse) ProtoMessage() {} method ProtoReflect (line 797) | func (x *ModifyItemResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 810) | func (*ModifyItemResponse) Descriptor() ([]byte, []int) { type GetItemsRequest (line 814) | type GetItemsRequest struct method Reset (line 823) | func (x *GetItemsRequest) Reset() { method String (line 830) | func (x *GetItemsRequest) String() string { method ProtoMessage (line 834) | func (*GetItemsRequest) ProtoMessage() {} method ProtoReflect (line 836) | func (x *GetItemsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 849) | func (*GetItemsRequest) Descriptor() ([]byte, []int) { method GetCursor (line 853) | func (x *GetItemsRequest) GetCursor() string { method GetN (line 860) | func (x *GetItemsRequest) GetN() int32 { method GetBeginTime (line 867) | func (x *GetItemsRequest) GetBeginTime() *timestamppb.Timestamp { type GetItemsResponse (line 874) | type GetItemsResponse struct method Reset (line 882) | func (x *GetItemsResponse) Reset() { method String (line 889) | func (x *GetItemsResponse) String() string { method ProtoMessage (line 893) | func (*GetItemsResponse) ProtoMessage() {} method ProtoReflect (line 895) | func (x *GetItemsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 908) | func (*GetItemsResponse) Descriptor() ([]byte, []int) { method GetCursor (line 912) | func (x *GetItemsResponse) GetCursor() string { method GetItems (line 919) | func (x *GetItemsResponse) GetItems() []*Item { type GetItemFeedbackRequest (line 926) | type GetItemFeedbackRequest struct method Reset (line 934) | func (x *GetItemFeedbackRequest) Reset() { method String (line 941) | func (x *GetItemFeedbackRequest) String() string { method ProtoMessage (line 945) | func (*GetItemFeedbackRequest) ProtoMessage() {} method ProtoReflect (line 947) | func (x *GetItemFeedbackRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 960) | func (*GetItemFeedbackRequest) Descriptor() ([]byte, []int) { method GetItemId (line 964) | func (x *GetItemFeedbackRequest) GetItemId() string { method GetFeedbackTypes (line 971) | func (x *GetItemFeedbackRequest) GetFeedbackTypes() []*FeedbackTypeExp... type BatchInsertUsersRequest (line 978) | type BatchInsertUsersRequest struct method Reset (line 985) | func (x *BatchInsertUsersRequest) Reset() { method String (line 992) | func (x *BatchInsertUsersRequest) String() string { method ProtoMessage (line 996) | func (*BatchInsertUsersRequest) ProtoMessage() {} method ProtoReflect (line 998) | func (x *BatchInsertUsersRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1011) | func (*BatchInsertUsersRequest) Descriptor() ([]byte, []int) { method GetUsers (line 1015) | func (x *BatchInsertUsersRequest) GetUsers() []*User { type BatchInsertUsersResponse (line 1022) | type BatchInsertUsersResponse struct method Reset (line 1028) | func (x *BatchInsertUsersResponse) Reset() { method String (line 1035) | func (x *BatchInsertUsersResponse) String() string { method ProtoMessage (line 1039) | func (*BatchInsertUsersResponse) ProtoMessage() {} method ProtoReflect (line 1041) | func (x *BatchInsertUsersResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1054) | func (*BatchInsertUsersResponse) Descriptor() ([]byte, []int) { type DeleteUserRequest (line 1058) | type DeleteUserRequest struct method Reset (line 1065) | func (x *DeleteUserRequest) Reset() { method String (line 1072) | func (x *DeleteUserRequest) String() string { method ProtoMessage (line 1076) | func (*DeleteUserRequest) ProtoMessage() {} method ProtoReflect (line 1078) | func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1091) | func (*DeleteUserRequest) Descriptor() ([]byte, []int) { method GetUserId (line 1095) | func (x *DeleteUserRequest) GetUserId() string { type DeleteUserResponse (line 1102) | type DeleteUserResponse struct method Reset (line 1108) | func (x *DeleteUserResponse) Reset() { method String (line 1115) | func (x *DeleteUserResponse) String() string { method ProtoMessage (line 1119) | func (*DeleteUserResponse) ProtoMessage() {} method ProtoReflect (line 1121) | func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1134) | func (*DeleteUserResponse) Descriptor() ([]byte, []int) { type GetUserRequest (line 1138) | type GetUserRequest struct method Reset (line 1145) | func (x *GetUserRequest) Reset() { method String (line 1152) | func (x *GetUserRequest) String() string { method ProtoMessage (line 1156) | func (*GetUserRequest) ProtoMessage() {} method ProtoReflect (line 1158) | func (x *GetUserRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1171) | func (*GetUserRequest) Descriptor() ([]byte, []int) { method GetUserId (line 1175) | func (x *GetUserRequest) GetUserId() string { type GetUserResponse (line 1182) | type GetUserResponse struct method Reset (line 1189) | func (x *GetUserResponse) Reset() { method String (line 1196) | func (x *GetUserResponse) String() string { method ProtoMessage (line 1200) | func (*GetUserResponse) ProtoMessage() {} method ProtoReflect (line 1202) | func (x *GetUserResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1215) | func (*GetUserResponse) Descriptor() ([]byte, []int) { method GetUser (line 1219) | func (x *GetUserResponse) GetUser() *User { type ModifyUserRequest (line 1226) | type ModifyUserRequest struct method Reset (line 1234) | func (x *ModifyUserRequest) Reset() { method String (line 1241) | func (x *ModifyUserRequest) String() string { method ProtoMessage (line 1245) | func (*ModifyUserRequest) ProtoMessage() {} method ProtoReflect (line 1247) | func (x *ModifyUserRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1260) | func (*ModifyUserRequest) Descriptor() ([]byte, []int) { method GetUserId (line 1264) | func (x *ModifyUserRequest) GetUserId() string { method GetPatch (line 1271) | func (x *ModifyUserRequest) GetPatch() *UserPatch { type ModifyUserResponse (line 1278) | type ModifyUserResponse struct method Reset (line 1284) | func (x *ModifyUserResponse) Reset() { method String (line 1291) | func (x *ModifyUserResponse) String() string { method ProtoMessage (line 1295) | func (*ModifyUserResponse) ProtoMessage() {} method ProtoReflect (line 1297) | func (x *ModifyUserResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1310) | func (*ModifyUserResponse) Descriptor() ([]byte, []int) { type GetUsersRequest (line 1314) | type GetUsersRequest struct method Reset (line 1322) | func (x *GetUsersRequest) Reset() { method String (line 1329) | func (x *GetUsersRequest) String() string { method ProtoMessage (line 1333) | func (*GetUsersRequest) ProtoMessage() {} method ProtoReflect (line 1335) | func (x *GetUsersRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1348) | func (*GetUsersRequest) Descriptor() ([]byte, []int) { method GetCursor (line 1352) | func (x *GetUsersRequest) GetCursor() string { method GetN (line 1359) | func (x *GetUsersRequest) GetN() int32 { type GetUsersResponse (line 1366) | type GetUsersResponse struct method Reset (line 1374) | func (x *GetUsersResponse) Reset() { method String (line 1381) | func (x *GetUsersResponse) String() string { method ProtoMessage (line 1385) | func (*GetUsersResponse) ProtoMessage() {} method ProtoReflect (line 1387) | func (x *GetUsersResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1400) | func (*GetUsersResponse) Descriptor() ([]byte, []int) { method GetCursor (line 1404) | func (x *GetUsersResponse) GetCursor() string { method GetUsers (line 1411) | func (x *GetUsersResponse) GetUsers() []*User { type GetUserFeedbackRequest (line 1418) | type GetUserFeedbackRequest struct method Reset (line 1427) | func (x *GetUserFeedbackRequest) Reset() { method String (line 1434) | func (x *GetUserFeedbackRequest) String() string { method ProtoMessage (line 1438) | func (*GetUserFeedbackRequest) ProtoMessage() {} method ProtoReflect (line 1440) | func (x *GetUserFeedbackRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1453) | func (*GetUserFeedbackRequest) Descriptor() ([]byte, []int) { method GetUserId (line 1457) | func (x *GetUserFeedbackRequest) GetUserId() string { method GetEndTime (line 1464) | func (x *GetUserFeedbackRequest) GetEndTime() *timestamppb.Timestamp { method GetFeedbackTypes (line 1471) | func (x *GetUserFeedbackRequest) GetFeedbackTypes() []*FeedbackTypeExp... type GetUserItemFeedbackRequest (line 1478) | type GetUserItemFeedbackRequest struct method Reset (line 1487) | func (x *GetUserItemFeedbackRequest) Reset() { method String (line 1494) | func (x *GetUserItemFeedbackRequest) String() string { method ProtoMessage (line 1498) | func (*GetUserItemFeedbackRequest) ProtoMessage() {} method ProtoReflect (line 1500) | func (x *GetUserItemFeedbackRequest) ProtoReflect() protoreflect.Messa... method Descriptor (line 1513) | func (*GetUserItemFeedbackRequest) Descriptor() ([]byte, []int) { method GetUserId (line 1517) | func (x *GetUserItemFeedbackRequest) GetUserId() string { method GetItemId (line 1524) | func (x *GetUserItemFeedbackRequest) GetItemId() string { method GetFeedbackTypes (line 1531) | func (x *GetUserItemFeedbackRequest) GetFeedbackTypes() []*FeedbackTyp... type DeleteUserItemFeedbackRequest (line 1538) | type DeleteUserItemFeedbackRequest struct method Reset (line 1547) | func (x *DeleteUserItemFeedbackRequest) Reset() { method String (line 1554) | func (x *DeleteUserItemFeedbackRequest) String() string { method ProtoMessage (line 1558) | func (*DeleteUserItemFeedbackRequest) ProtoMessage() {} method ProtoReflect (line 1560) | func (x *DeleteUserItemFeedbackRequest) ProtoReflect() protoreflect.Me... method Descriptor (line 1573) | func (*DeleteUserItemFeedbackRequest) Descriptor() ([]byte, []int) { method GetUserId (line 1577) | func (x *DeleteUserItemFeedbackRequest) GetUserId() string { method GetItemId (line 1584) | func (x *DeleteUserItemFeedbackRequest) GetItemId() string { method GetFeedbackTypes (line 1591) | func (x *DeleteUserItemFeedbackRequest) GetFeedbackTypes() []string { type DeleteUserItemFeedbackResponse (line 1598) | type DeleteUserItemFeedbackResponse struct method Reset (line 1605) | func (x *DeleteUserItemFeedbackResponse) Reset() { method String (line 1612) | func (x *DeleteUserItemFeedbackResponse) String() string { method ProtoMessage (line 1616) | func (*DeleteUserItemFeedbackResponse) ProtoMessage() {} method ProtoReflect (line 1618) | func (x *DeleteUserItemFeedbackResponse) ProtoReflect() protoreflect.M... method Descriptor (line 1631) | func (*DeleteUserItemFeedbackResponse) Descriptor() ([]byte, []int) { method GetCount (line 1635) | func (x *DeleteUserItemFeedbackResponse) GetCount() int32 { type BatchInsertFeedbackRequest (line 1642) | type BatchInsertFeedbackRequest struct method Reset (line 1652) | func (x *BatchInsertFeedbackRequest) Reset() { method String (line 1659) | func (x *BatchInsertFeedbackRequest) String() string { method ProtoMessage (line 1663) | func (*BatchInsertFeedbackRequest) ProtoMessage() {} method ProtoReflect (line 1665) | func (x *BatchInsertFeedbackRequest) ProtoReflect() protoreflect.Messa... method Descriptor (line 1678) | func (*BatchInsertFeedbackRequest) Descriptor() ([]byte, []int) { method GetFeedback (line 1682) | func (x *BatchInsertFeedbackRequest) GetFeedback() []*Feedback { method GetInsertUser (line 1689) | func (x *BatchInsertFeedbackRequest) GetInsertUser() bool { method GetInsertItem (line 1696) | func (x *BatchInsertFeedbackRequest) GetInsertItem() bool { method GetOverwrite (line 1703) | func (x *BatchInsertFeedbackRequest) GetOverwrite() bool { type BatchInsertFeedbackResponse (line 1710) | type BatchInsertFeedbackResponse struct method Reset (line 1716) | func (x *BatchInsertFeedbackResponse) Reset() { method String (line 1723) | func (x *BatchInsertFeedbackResponse) String() string { method ProtoMessage (line 1727) | func (*BatchInsertFeedbackResponse) ProtoMessage() {} method ProtoReflect (line 1729) | func (x *BatchInsertFeedbackResponse) ProtoReflect() protoreflect.Mess... method Descriptor (line 1742) | func (*BatchInsertFeedbackResponse) Descriptor() ([]byte, []int) { type GetFeedbackRequest (line 1746) | type GetFeedbackRequest struct method Reset (line 1757) | func (x *GetFeedbackRequest) Reset() { method String (line 1764) | func (x *GetFeedbackRequest) String() string { method ProtoMessage (line 1768) | func (*GetFeedbackRequest) ProtoMessage() {} method ProtoReflect (line 1770) | func (x *GetFeedbackRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1783) | func (*GetFeedbackRequest) Descriptor() ([]byte, []int) { method GetCursor (line 1787) | func (x *GetFeedbackRequest) GetCursor() string { method GetN (line 1794) | func (x *GetFeedbackRequest) GetN() int32 { method GetBeginTime (line 1801) | func (x *GetFeedbackRequest) GetBeginTime() *timestamppb.Timestamp { method GetEndTime (line 1808) | func (x *GetFeedbackRequest) GetEndTime() *timestamppb.Timestamp { method GetFeedbackTypes (line 1815) | func (x *GetFeedbackRequest) GetFeedbackTypes() []*FeedbackTypeExpress... type GetFeedbackResponse (line 1822) | type GetFeedbackResponse struct method Reset (line 1830) | func (x *GetFeedbackResponse) Reset() { method String (line 1837) | func (x *GetFeedbackResponse) String() string { method ProtoMessage (line 1841) | func (*GetFeedbackResponse) ProtoMessage() {} method ProtoReflect (line 1843) | func (x *GetFeedbackResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1856) | func (*GetFeedbackResponse) Descriptor() ([]byte, []int) { method GetCursor (line 1860) | func (x *GetFeedbackResponse) GetCursor() string { method GetFeedback (line 1867) | func (x *GetFeedbackResponse) GetFeedback() []*Feedback { type GetUserStreamRequest (line 1874) | type GetUserStreamRequest struct method Reset (line 1881) | func (x *GetUserStreamRequest) Reset() { method String (line 1888) | func (x *GetUserStreamRequest) String() string { method ProtoMessage (line 1892) | func (*GetUserStreamRequest) ProtoMessage() {} method ProtoReflect (line 1894) | func (x *GetUserStreamRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1907) | func (*GetUserStreamRequest) Descriptor() ([]byte, []int) { method GetBatchSize (line 1911) | func (x *GetUserStreamRequest) GetBatchSize() int32 { type GetUserStreamResponse (line 1918) | type GetUserStreamResponse struct method Reset (line 1925) | func (x *GetUserStreamResponse) Reset() { method String (line 1932) | func (x *GetUserStreamResponse) String() string { method ProtoMessage (line 1936) | func (*GetUserStreamResponse) ProtoMessage() {} method ProtoReflect (line 1938) | func (x *GetUserStreamResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1951) | func (*GetUserStreamResponse) Descriptor() ([]byte, []int) { method GetUsers (line 1955) | func (x *GetUserStreamResponse) GetUsers() []*User { type GetItemStreamRequest (line 1962) | type GetItemStreamRequest struct method Reset (line 1970) | func (x *GetItemStreamRequest) Reset() { method String (line 1977) | func (x *GetItemStreamRequest) String() string { method ProtoMessage (line 1981) | func (*GetItemStreamRequest) ProtoMessage() {} method ProtoReflect (line 1983) | func (x *GetItemStreamRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1996) | func (*GetItemStreamRequest) Descriptor() ([]byte, []int) { method GetBatchSize (line 2000) | func (x *GetItemStreamRequest) GetBatchSize() int32 { method GetTimeLimit (line 2007) | func (x *GetItemStreamRequest) GetTimeLimit() *timestamppb.Timestamp { type GetItemStreamResponse (line 2014) | type GetItemStreamResponse struct method Reset (line 2021) | func (x *GetItemStreamResponse) Reset() { method String (line 2028) | func (x *GetItemStreamResponse) String() string { method ProtoMessage (line 2032) | func (*GetItemStreamResponse) ProtoMessage() {} method ProtoReflect (line 2034) | func (x *GetItemStreamResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 2047) | func (*GetItemStreamResponse) Descriptor() ([]byte, []int) { method GetItems (line 2051) | func (x *GetItemStreamResponse) GetItems() []*Item { type GetFeedbackStreamRequest (line 2058) | type GetFeedbackStreamRequest struct method Reset (line 2066) | func (x *GetFeedbackStreamRequest) Reset() { method String (line 2073) | func (x *GetFeedbackStreamRequest) String() string { method ProtoMessage (line 2077) | func (*GetFeedbackStreamRequest) ProtoMessage() {} method ProtoReflect (line 2079) | func (x *GetFeedbackStreamRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 2092) | func (*GetFeedbackStreamRequest) Descriptor() ([]byte, []int) { method GetBatchSize (line 2096) | func (x *GetFeedbackStreamRequest) GetBatchSize() int32 { method GetScanOptions (line 2103) | func (x *GetFeedbackStreamRequest) GetScanOptions() *ScanOptions { type GetFeedbackStreamResponse (line 2110) | type GetFeedbackStreamResponse struct method Reset (line 2117) | func (x *GetFeedbackStreamResponse) Reset() { method String (line 2124) | func (x *GetFeedbackStreamResponse) String() string { method ProtoMessage (line 2128) | func (*GetFeedbackStreamResponse) ProtoMessage() {} method ProtoReflect (line 2130) | func (x *GetFeedbackStreamResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 2143) | func (*GetFeedbackStreamResponse) Descriptor() ([]byte, []int) { method GetFeedback (line 2147) | func (x *GetFeedbackStreamResponse) GetFeedback() []*Feedback { type CountUsersRequest (line 2154) | type CountUsersRequest struct method Reset (line 2160) | func (x *CountUsersRequest) Reset() { method String (line 2167) | func (x *CountUsersRequest) String() string { method ProtoMessage (line 2171) | func (*CountUsersRequest) ProtoMessage() {} method ProtoReflect (line 2173) | func (x *CountUsersRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 2186) | func (*CountUsersRequest) Descriptor() ([]byte, []int) { type CountUsersResponse (line 2190) | type CountUsersResponse struct method Reset (line 2197) | func (x *CountUsersResponse) Reset() { method String (line 2204) | func (x *CountUsersResponse) String() string { method ProtoMessage (line 2208) | func (*CountUsersResponse) ProtoMessage() {} method ProtoReflect (line 2210) | func (x *CountUsersResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 2223) | func (*CountUsersResponse) Descriptor() ([]byte, []int) { method GetCount (line 2227) | func (x *CountUsersResponse) GetCount() int32 { type CountItemsRequest (line 2234) | type CountItemsRequest struct method Reset (line 2240) | func (x *CountItemsRequest) Reset() { method String (line 2247) | func (x *CountItemsRequest) String() string { method ProtoMessage (line 2251) | func (*CountItemsRequest) ProtoMessage() {} method ProtoReflect (line 2253) | func (x *CountItemsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 2266) | func (*CountItemsRequest) Descriptor() ([]byte, []int) { type CountItemsResponse (line 2270) | type CountItemsResponse struct method Reset (line 2277) | func (x *CountItemsResponse) Reset() { method String (line 2284) | func (x *CountItemsResponse) String() string { method ProtoMessage (line 2288) | func (*CountItemsResponse) ProtoMessage() {} method ProtoReflect (line 2290) | func (x *CountItemsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 2303) | func (*CountItemsResponse) Descriptor() ([]byte, []int) { method GetCount (line 2307) | func (x *CountItemsResponse) GetCount() int32 { type CountFeedbackRequest (line 2314) | type CountFeedbackRequest struct method Reset (line 2320) | func (x *CountFeedbackRequest) Reset() { method String (line 2327) | func (x *CountFeedbackRequest) String() string { method ProtoMessage (line 2331) | func (*CountFeedbackRequest) ProtoMessage() {} method ProtoReflect (line 2333) | func (x *CountFeedbackRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 2346) | func (*CountFeedbackRequest) Descriptor() ([]byte, []int) { type CountFeedbackResponse (line 2350) | type CountFeedbackResponse struct method Reset (line 2357) | func (x *CountFeedbackResponse) Reset() { method String (line 2364) | func (x *CountFeedbackResponse) String() string { method ProtoMessage (line 2368) | func (*CountFeedbackResponse) ProtoMessage() {} method ProtoReflect (line 2370) | func (x *CountFeedbackResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 2383) | func (*CountFeedbackResponse) Descriptor() ([]byte, []int) { method GetCount (line 2387) | func (x *CountFeedbackResponse) GetCount() int32 { type GetLatestItemsRequest (line 2394) | type GetLatestItemsRequest struct method Reset (line 2402) | func (x *GetLatestItemsRequest) Reset() { method String (line 2409) | func (x *GetLatestItemsRequest) String() string { method ProtoMessage (line 2413) | func (*GetLatestItemsRequest) ProtoMessage() {} method ProtoReflect (line 2415) | func (x *GetLatestItemsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 2428) | func (*GetLatestItemsRequest) Descriptor() ([]byte, []int) { method GetN (line 2432) | func (x *GetLatestItemsRequest) GetN() int32 { method GetCategories (line 2439) | func (x *GetLatestItemsRequest) GetCategories() []string { type GetLatestItemsResponse (line 2446) | type GetLatestItemsResponse struct method Reset (line 2453) | func (x *GetLatestItemsResponse) Reset() { method String (line 2460) | func (x *GetLatestItemsResponse) String() string { method ProtoMessage (line 2464) | func (*GetLatestItemsResponse) ProtoMessage() {} method ProtoReflect (line 2466) | func (x *GetLatestItemsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 2479) | func (*GetLatestItemsResponse) Descriptor() ([]byte, []int) { method GetItems (line 2483) | func (x *GetLatestItemsResponse) GetItems() []*Item { constant file_data_store_proto_rawDesc (line 2492) | file_data_store_proto_rawDesc = "" + function file_data_store_proto_rawDescGZIP (line 2696) | func file_data_store_proto_rawDescGZIP() []byte { function init (line 2851) | func init() { file_data_store_proto_init() } function file_data_store_proto_init (line 2852) | func file_data_store_proto_init() { FILE: protocol/data_store_grpc.pb.go constant _ (line 33) | _ = grpc.SupportPackageIsVersion9 constant DataStore_Ping_FullMethodName (line 36) | DataStore_Ping_FullMethodName = "/protocol.DataStore/P... constant DataStore_BatchInsertItems_FullMethodName (line 37) | DataStore_BatchInsertItems_FullMethodName = "/protocol.DataStore/B... constant DataStore_BatchGetItems_FullMethodName (line 38) | DataStore_BatchGetItems_FullMethodName = "/protocol.DataStore/B... constant DataStore_DeleteItem_FullMethodName (line 39) | DataStore_DeleteItem_FullMethodName = "/protocol.DataStore/D... constant DataStore_GetItem_FullMethodName (line 40) | DataStore_GetItem_FullMethodName = "/protocol.DataStore/G... constant DataStore_ModifyItem_FullMethodName (line 41) | DataStore_ModifyItem_FullMethodName = "/protocol.DataStore/M... constant DataStore_GetItems_FullMethodName (line 42) | DataStore_GetItems_FullMethodName = "/protocol.DataStore/G... constant DataStore_GetItemFeedback_FullMethodName (line 43) | DataStore_GetItemFeedback_FullMethodName = "/protocol.DataStore/G... constant DataStore_BatchInsertUsers_FullMethodName (line 44) | DataStore_BatchInsertUsers_FullMethodName = "/protocol.DataStore/B... constant DataStore_DeleteUser_FullMethodName (line 45) | DataStore_DeleteUser_FullMethodName = "/protocol.DataStore/D... constant DataStore_GetUser_FullMethodName (line 46) | DataStore_GetUser_FullMethodName = "/protocol.DataStore/G... constant DataStore_ModifyUser_FullMethodName (line 47) | DataStore_ModifyUser_FullMethodName = "/protocol.DataStore/M... constant DataStore_GetUsers_FullMethodName (line 48) | DataStore_GetUsers_FullMethodName = "/protocol.DataStore/G... constant DataStore_GetUserFeedback_FullMethodName (line 49) | DataStore_GetUserFeedback_FullMethodName = "/protocol.DataStore/G... constant DataStore_GetUserItemFeedback_FullMethodName (line 50) | DataStore_GetUserItemFeedback_FullMethodName = "/protocol.DataStore/G... constant DataStore_DeleteUserItemFeedback_FullMethodName (line 51) | DataStore_DeleteUserItemFeedback_FullMethodName = "/protocol.DataStore/D... constant DataStore_BatchInsertFeedback_FullMethodName (line 52) | DataStore_BatchInsertFeedback_FullMethodName = "/protocol.DataStore/B... constant DataStore_GetFeedback_FullMethodName (line 53) | DataStore_GetFeedback_FullMethodName = "/protocol.DataStore/G... constant DataStore_GetUserStream_FullMethodName (line 54) | DataStore_GetUserStream_FullMethodName = "/protocol.DataStore/G... constant DataStore_GetItemStream_FullMethodName (line 55) | DataStore_GetItemStream_FullMethodName = "/protocol.DataStore/G... constant DataStore_GetFeedbackStream_FullMethodName (line 56) | DataStore_GetFeedbackStream_FullMethodName = "/protocol.DataStore/G... constant DataStore_CountUsers_FullMethodName (line 57) | DataStore_CountUsers_FullMethodName = "/protocol.DataStore/C... constant DataStore_CountItems_FullMethodName (line 58) | DataStore_CountItems_FullMethodName = "/protocol.DataStore/C... constant DataStore_CountFeedback_FullMethodName (line 59) | DataStore_CountFeedback_FullMethodName = "/protocol.DataStore/C... constant DataStore_GetLatestItems_FullMethodName (line 60) | DataStore_GetLatestItems_FullMethodName = "/protocol.DataStore/G... type DataStoreClient (line 66) | type DataStoreClient interface type dataStoreClient (line 94) | type dataStoreClient struct method Ping (line 102) | func (c *dataStoreClient) Ping(ctx context.Context, in *PingRequest, o... method BatchInsertItems (line 112) | func (c *dataStoreClient) BatchInsertItems(ctx context.Context, in *Ba... method BatchGetItems (line 122) | func (c *dataStoreClient) BatchGetItems(ctx context.Context, in *Batch... method DeleteItem (line 132) | func (c *dataStoreClient) DeleteItem(ctx context.Context, in *DeleteIt... method GetItem (line 142) | func (c *dataStoreClient) GetItem(ctx context.Context, in *GetItemRequ... method ModifyItem (line 152) | func (c *dataStoreClient) ModifyItem(ctx context.Context, in *ModifyIt... method GetItems (line 162) | func (c *dataStoreClient) GetItems(ctx context.Context, in *GetItemsRe... method GetItemFeedback (line 172) | func (c *dataStoreClient) GetItemFeedback(ctx context.Context, in *Get... method BatchInsertUsers (line 182) | func (c *dataStoreClient) BatchInsertUsers(ctx context.Context, in *Ba... method DeleteUser (line 192) | func (c *dataStoreClient) DeleteUser(ctx context.Context, in *DeleteUs... method GetUser (line 202) | func (c *dataStoreClient) GetUser(ctx context.Context, in *GetUserRequ... method ModifyUser (line 212) | func (c *dataStoreClient) ModifyUser(ctx context.Context, in *ModifyUs... method GetUsers (line 222) | func (c *dataStoreClient) GetUsers(ctx context.Context, in *GetUsersRe... method GetUserFeedback (line 232) | func (c *dataStoreClient) GetUserFeedback(ctx context.Context, in *Get... method GetUserItemFeedback (line 242) | func (c *dataStoreClient) GetUserItemFeedback(ctx context.Context, in ... method DeleteUserItemFeedback (line 252) | func (c *dataStoreClient) DeleteUserItemFeedback(ctx context.Context, ... method BatchInsertFeedback (line 262) | func (c *dataStoreClient) BatchInsertFeedback(ctx context.Context, in ... method GetFeedback (line 272) | func (c *dataStoreClient) GetFeedback(ctx context.Context, in *GetFeed... method GetUserStream (line 282) | func (c *dataStoreClient) GetUserStream(ctx context.Context, in *GetUs... method GetItemStream (line 301) | func (c *dataStoreClient) GetItemStream(ctx context.Context, in *GetIt... method GetFeedbackStream (line 320) | func (c *dataStoreClient) GetFeedbackStream(ctx context.Context, in *G... method CountUsers (line 339) | func (c *dataStoreClient) CountUsers(ctx context.Context, in *CountUse... method CountItems (line 349) | func (c *dataStoreClient) CountItems(ctx context.Context, in *CountIte... method CountFeedback (line 359) | func (c *dataStoreClient) CountFeedback(ctx context.Context, in *Count... method GetLatestItems (line 369) | func (c *dataStoreClient) GetLatestItems(ctx context.Context, in *GetL... function NewDataStoreClient (line 98) | func NewDataStoreClient(cc grpc.ClientConnInterface) DataStoreClient { type DataStoreServer (line 382) | type DataStoreServer interface type UnimplementedDataStoreServer (line 416) | type UnimplementedDataStoreServer struct method Ping (line 418) | func (UnimplementedDataStoreServer) Ping(context.Context, *PingRequest... method BatchInsertItems (line 421) | func (UnimplementedDataStoreServer) BatchInsertItems(context.Context, ... method BatchGetItems (line 424) | func (UnimplementedDataStoreServer) BatchGetItems(context.Context, *Ba... method DeleteItem (line 427) | func (UnimplementedDataStoreServer) DeleteItem(context.Context, *Delet... method GetItem (line 430) | func (UnimplementedDataStoreServer) GetItem(context.Context, *GetItemR... method ModifyItem (line 433) | func (UnimplementedDataStoreServer) ModifyItem(context.Context, *Modif... method GetItems (line 436) | func (UnimplementedDataStoreServer) GetItems(context.Context, *GetItem... method GetItemFeedback (line 439) | func (UnimplementedDataStoreServer) GetItemFeedback(context.Context, *... method BatchInsertUsers (line 442) | func (UnimplementedDataStoreServer) BatchInsertUsers(context.Context, ... method DeleteUser (line 445) | func (UnimplementedDataStoreServer) DeleteUser(context.Context, *Delet... method GetUser (line 448) | func (UnimplementedDataStoreServer) GetUser(context.Context, *GetUserR... method ModifyUser (line 451) | func (UnimplementedDataStoreServer) ModifyUser(context.Context, *Modif... method GetUsers (line 454) | func (UnimplementedDataStoreServer) GetUsers(context.Context, *GetUser... method GetUserFeedback (line 457) | func (UnimplementedDataStoreServer) GetUserFeedback(context.Context, *... method GetUserItemFeedback (line 460) | func (UnimplementedDataStoreServer) GetUserItemFeedback(context.Contex... method DeleteUserItemFeedback (line 463) | func (UnimplementedDataStoreServer) DeleteUserItemFeedback(context.Con... method BatchInsertFeedback (line 466) | func (UnimplementedDataStoreServer) BatchInsertFeedback(context.Contex... method GetFeedback (line 469) | func (UnimplementedDataStoreServer) GetFeedback(context.Context, *GetF... method GetUserStream (line 472) | func (UnimplementedDataStoreServer) GetUserStream(*GetUserStreamReques... method GetItemStream (line 475) | func (UnimplementedDataStoreServer) GetItemStream(*GetItemStreamReques... method GetFeedbackStream (line 478) | func (UnimplementedDataStoreServer) GetFeedbackStream(*GetFeedbackStre... method CountUsers (line 481) | func (UnimplementedDataStoreServer) CountUsers(context.Context, *Count... method CountItems (line 484) | func (UnimplementedDataStoreServer) CountItems(context.Context, *Count... method CountFeedback (line 487) | func (UnimplementedDataStoreServer) CountFeedback(context.Context, *Co... method GetLatestItems (line 490) | func (UnimplementedDataStoreServer) GetLatestItems(context.Context, *G... method mustEmbedUnimplementedDataStoreServer (line 493) | func (UnimplementedDataStoreServer) mustEmbedUnimplementedDataStoreSer... method testEmbeddedByValue (line 494) | func (UnimplementedDataStoreServer) testEmbeddedByValue() ... type UnsafeDataStoreServer (line 499) | type UnsafeDataStoreServer interface function RegisterDataStoreServer (line 503) | func RegisterDataStoreServer(s grpc.ServiceRegistrar, srv DataStoreServe... function _DataStore_Ping_Handler (line 514) | func _DataStore_Ping_Handler(srv interface{}, ctx context.Context, dec f... function _DataStore_BatchInsertItems_Handler (line 532) | func _DataStore_BatchInsertItems_Handler(srv interface{}, ctx context.Co... function _DataStore_BatchGetItems_Handler (line 550) | func _DataStore_BatchGetItems_Handler(srv interface{}, ctx context.Conte... function _DataStore_DeleteItem_Handler (line 568) | func _DataStore_DeleteItem_Handler(srv interface{}, ctx context.Context,... function _DataStore_GetItem_Handler (line 586) | func _DataStore_GetItem_Handler(srv interface{}, ctx context.Context, de... function _DataStore_ModifyItem_Handler (line 604) | func _DataStore_ModifyItem_Handler(srv interface{}, ctx context.Context,... function _DataStore_GetItems_Handler (line 622) | func _DataStore_GetItems_Handler(srv interface{}, ctx context.Context, d... function _DataStore_GetItemFeedback_Handler (line 640) | func _DataStore_GetItemFeedback_Handler(srv interface{}, ctx context.Con... function _DataStore_BatchInsertUsers_Handler (line 658) | func _DataStore_BatchInsertUsers_Handler(srv interface{}, ctx context.Co... function _DataStore_DeleteUser_Handler (line 676) | func _DataStore_DeleteUser_Handler(srv interface{}, ctx context.Context,... function _DataStore_GetUser_Handler (line 694) | func _DataStore_GetUser_Handler(srv interface{}, ctx context.Context, de... function _DataStore_ModifyUser_Handler (line 712) | func _DataStore_ModifyUser_Handler(srv interface{}, ctx context.Context,... function _DataStore_GetUsers_Handler (line 730) | func _DataStore_GetUsers_Handler(srv interface{}, ctx context.Context, d... function _DataStore_GetUserFeedback_Handler (line 748) | func _DataStore_GetUserFeedback_Handler(srv interface{}, ctx context.Con... function _DataStore_GetUserItemFeedback_Handler (line 766) | func _DataStore_GetUserItemFeedback_Handler(srv interface{}, ctx context... function _DataStore_DeleteUserItemFeedback_Handler (line 784) | func _DataStore_DeleteUserItemFeedback_Handler(srv interface{}, ctx cont... function _DataStore_BatchInsertFeedback_Handler (line 802) | func _DataStore_BatchInsertFeedback_Handler(srv interface{}, ctx context... function _DataStore_GetFeedback_Handler (line 820) | func _DataStore_GetFeedback_Handler(srv interface{}, ctx context.Context... function _DataStore_GetUserStream_Handler (line 838) | func _DataStore_GetUserStream_Handler(srv interface{}, stream grpc.Serve... function _DataStore_GetItemStream_Handler (line 849) | func _DataStore_GetItemStream_Handler(srv interface{}, stream grpc.Serve... function _DataStore_GetFeedbackStream_Handler (line 860) | func _DataStore_GetFeedbackStream_Handler(srv interface{}, stream grpc.S... function _DataStore_CountUsers_Handler (line 871) | func _DataStore_CountUsers_Handler(srv interface{}, ctx context.Context,... function _DataStore_CountItems_Handler (line 889) | func _DataStore_CountItems_Handler(srv interface{}, ctx context.Context,... function _DataStore_CountFeedback_Handler (line 907) | func _DataStore_CountFeedback_Handler(srv interface{}, ctx context.Conte... function _DataStore_GetLatestItems_Handler (line 925) | func _DataStore_GetLatestItems_Handler(srv interface{}, ctx context.Cont... FILE: protocol/encoding.pb.go constant _ (line 33) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 35) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Tensor (line 38) | type Tensor struct method Reset (line 47) | func (x *Tensor) Reset() { method String (line 54) | func (x *Tensor) String() string { method ProtoMessage (line 58) | func (*Tensor) ProtoMessage() {} method ProtoReflect (line 60) | func (x *Tensor) ProtoReflect() protoreflect.Message { method Descriptor (line 73) | func (*Tensor) Descriptor() ([]byte, []int) { method GetKey (line 77) | func (x *Tensor) GetKey() []string { method GetShape (line 84) | func (x *Tensor) GetShape() []int32 { method GetData (line 91) | func (x *Tensor) GetData() []float32 { type LatentFactor (line 98) | type LatentFactor struct method Reset (line 106) | func (x *LatentFactor) Reset() { method String (line 113) | func (x *LatentFactor) String() string { method ProtoMessage (line 117) | func (*LatentFactor) ProtoMessage() {} method ProtoReflect (line 119) | func (x *LatentFactor) ProtoReflect() protoreflect.Message { method Descriptor (line 132) | func (*LatentFactor) Descriptor() ([]byte, []int) { method GetId (line 136) | func (x *LatentFactor) GetId() string { method GetData (line 143) | func (x *LatentFactor) GetData() []float32 { constant file_encoding_proto_rawDesc (line 152) | file_encoding_proto_rawDesc = "" + function file_encoding_proto_rawDescGZIP (line 168) | func file_encoding_proto_rawDescGZIP() []byte { function init (line 188) | func init() { file_encoding_proto_init() } function file_encoding_proto_init (line 189) | func file_encoding_proto_init() { FILE: protocol/protocol.pb.go constant _ (line 34) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 36) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type NodeType (line 39) | type NodeType method Enum (line 61) | func (x NodeType) Enum() *NodeType { method String (line 67) | func (x NodeType) String() string { method Descriptor (line 71) | func (NodeType) Descriptor() protoreflect.EnumDescriptor { method Type (line 75) | func (NodeType) Type() protoreflect.EnumType { method Number (line 79) | func (x NodeType) Number() protoreflect.EnumNumber { method EnumDescriptor (line 84) | func (NodeType) EnumDescriptor() ([]byte, []int) { constant NodeType_Server (line 42) | NodeType_Server NodeType = 0 constant NodeType_Worker (line 43) | NodeType_Worker NodeType = 1 constant NodeType_Client (line 44) | NodeType_Client NodeType = 2 type User (line 88) | type User struct method Reset (line 98) | func (x *User) Reset() { method String (line 105) | func (x *User) String() string { method ProtoMessage (line 109) | func (*User) ProtoMessage() {} method ProtoReflect (line 111) | func (x *User) ProtoReflect() protoreflect.Message { method Descriptor (line 124) | func (*User) Descriptor() ([]byte, []int) { method GetUserId (line 128) | func (x *User) GetUserId() string { method GetLabels (line 135) | func (x *User) GetLabels() []byte { method GetComment (line 142) | func (x *User) GetComment() string { method GetSubscribe (line 149) | func (x *User) GetSubscribe() []string { type Item (line 156) | type Item struct method Reset (line 169) | func (x *Item) Reset() { method String (line 176) | func (x *Item) String() string { method ProtoMessage (line 180) | func (*Item) ProtoMessage() {} method ProtoReflect (line 182) | func (x *Item) ProtoReflect() protoreflect.Message { method Descriptor (line 195) | func (*Item) Descriptor() ([]byte, []int) { method GetNamespace (line 199) | func (x *Item) GetNamespace() string { method GetItemId (line 206) | func (x *Item) GetItemId() string { method GetIsHidden (line 213) | func (x *Item) GetIsHidden() bool { method GetCategories (line 220) | func (x *Item) GetCategories() []string { method GetTimestamp (line 227) | func (x *Item) GetTimestamp() *timestamppb.Timestamp { method GetLabels (line 234) | func (x *Item) GetLabels() []byte { method GetComment (line 241) | func (x *Item) GetComment() string { type Feedback (line 248) | type Feedback struct method Reset (line 262) | func (x *Feedback) Reset() { method String (line 269) | func (x *Feedback) String() string { method ProtoMessage (line 273) | func (*Feedback) ProtoMessage() {} method ProtoReflect (line 275) | func (x *Feedback) ProtoReflect() protoreflect.Message { method Descriptor (line 288) | func (*Feedback) Descriptor() ([]byte, []int) { method GetNamespace (line 292) | func (x *Feedback) GetNamespace() string { method GetFeedbackType (line 299) | func (x *Feedback) GetFeedbackType() string { method GetUserId (line 306) | func (x *Feedback) GetUserId() string { method GetItemId (line 313) | func (x *Feedback) GetItemId() string { method GetValue (line 320) | func (x *Feedback) GetValue() float64 { method GetTimestamp (line 327) | func (x *Feedback) GetTimestamp() *timestamppb.Timestamp { method GetComment (line 334) | func (x *Feedback) GetComment() string { method GetUpdated (line 341) | func (x *Feedback) GetUpdated() *timestamppb.Timestamp { type Meta (line 348) | type Meta struct method Reset (line 360) | func (x *Meta) Reset() { method String (line 367) | func (x *Meta) String() string { method ProtoMessage (line 371) | func (*Meta) ProtoMessage() {} method ProtoReflect (line 373) | func (x *Meta) ProtoReflect() protoreflect.Message { method Descriptor (line 386) | func (*Meta) Descriptor() ([]byte, []int) { method GetConfig (line 390) | func (x *Meta) GetConfig() string { method GetCollaborativeFilteringModelId (line 397) | func (x *Meta) GetCollaborativeFilteringModelId() int64 { method GetClickThroughRateModelId (line 404) | func (x *Meta) GetClickThroughRateModelId() int64 { method GetMe (line 411) | func (x *Meta) GetMe() string { method GetServers (line 418) | func (x *Meta) GetServers() []string { method GetWorkers (line 425) | func (x *Meta) GetWorkers() []string { type Fragment (line 432) | type Fragment struct method Reset (line 439) | func (x *Fragment) Reset() { method String (line 446) | func (x *Fragment) String() string { method ProtoMessage (line 450) | func (*Fragment) ProtoMessage() {} method ProtoReflect (line 452) | func (x *Fragment) ProtoReflect() protoreflect.Message { method Descriptor (line 465) | func (*Fragment) Descriptor() ([]byte, []int) { method GetData (line 469) | func (x *Fragment) GetData() []byte { type NodeInfo (line 476) | type NodeInfo struct method Reset (line 486) | func (x *NodeInfo) Reset() { method String (line 493) | func (x *NodeInfo) String() string { method ProtoMessage (line 497) | func (*NodeInfo) ProtoMessage() {} method ProtoReflect (line 499) | func (x *NodeInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 512) | func (*NodeInfo) Descriptor() ([]byte, []int) { method GetNodeType (line 516) | func (x *NodeInfo) GetNodeType() NodeType { method GetUuid (line 523) | func (x *NodeInfo) GetUuid() string { method GetBinaryVersion (line 530) | func (x *NodeInfo) GetBinaryVersion() string { method GetHostname (line 537) | func (x *NodeInfo) GetHostname() string { type Progress (line 544) | type Progress struct method Reset (line 558) | func (x *Progress) Reset() { method String (line 565) | func (x *Progress) String() string { method ProtoMessage (line 569) | func (*Progress) ProtoMessage() {} method ProtoReflect (line 571) | func (x *Progress) ProtoReflect() protoreflect.Message { method Descriptor (line 584) | func (*Progress) Descriptor() ([]byte, []int) { method GetTracer (line 588) | func (x *Progress) GetTracer() string { method GetName (line 595) | func (x *Progress) GetName() string { method GetStatus (line 602) | func (x *Progress) GetStatus() string { method GetError (line 609) | func (x *Progress) GetError() string { method GetCount (line 616) | func (x *Progress) GetCount() int64 { method GetTotal (line 623) | func (x *Progress) GetTotal() int64 { method GetStartTime (line 630) | func (x *Progress) GetStartTime() int64 { method GetFinishTime (line 637) | func (x *Progress) GetFinishTime() int64 { type PushProgressRequest (line 644) | type PushProgressRequest struct method Reset (line 651) | func (x *PushProgressRequest) Reset() { method String (line 658) | func (x *PushProgressRequest) String() string { method ProtoMessage (line 662) | func (*PushProgressRequest) ProtoMessage() {} method ProtoReflect (line 664) | func (x *PushProgressRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 677) | func (*PushProgressRequest) Descriptor() ([]byte, []int) { method GetProgress (line 681) | func (x *PushProgressRequest) GetProgress() []*Progress { type PushProgressResponse (line 688) | type PushProgressResponse struct method Reset (line 694) | func (x *PushProgressResponse) Reset() { method String (line 701) | func (x *PushProgressResponse) String() string { method ProtoMessage (line 705) | func (*PushProgressResponse) ProtoMessage() {} method ProtoReflect (line 707) | func (x *PushProgressResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 720) | func (*PushProgressResponse) Descriptor() ([]byte, []int) { type PingRequest (line 724) | type PingRequest struct method Reset (line 730) | func (x *PingRequest) Reset() { method String (line 737) | func (x *PingRequest) String() string { method ProtoMessage (line 741) | func (*PingRequest) ProtoMessage() {} method ProtoReflect (line 743) | func (x *PingRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 756) | func (*PingRequest) Descriptor() ([]byte, []int) { type PingResponse (line 760) | type PingResponse struct method Reset (line 766) | func (x *PingResponse) Reset() { method String (line 773) | func (x *PingResponse) String() string { method ProtoMessage (line 777) | func (*PingResponse) ProtoMessage() {} method ProtoReflect (line 779) | func (x *PingResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 792) | func (*PingResponse) Descriptor() ([]byte, []int) { type UploadBlobRequest (line 796) | type UploadBlobRequest struct method Reset (line 805) | func (x *UploadBlobRequest) Reset() { method String (line 812) | func (x *UploadBlobRequest) String() string { method ProtoMessage (line 816) | func (*UploadBlobRequest) ProtoMessage() {} method ProtoReflect (line 818) | func (x *UploadBlobRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 831) | func (*UploadBlobRequest) Descriptor() ([]byte, []int) { method GetName (line 835) | func (x *UploadBlobRequest) GetName() string { method GetTimestamp (line 842) | func (x *UploadBlobRequest) GetTimestamp() *timestamppb.Timestamp { method GetData (line 849) | func (x *UploadBlobRequest) GetData() []byte { type UploadBlobResponse (line 856) | type UploadBlobResponse struct method Reset (line 862) | func (x *UploadBlobResponse) Reset() { method String (line 869) | func (x *UploadBlobResponse) String() string { method ProtoMessage (line 873) | func (*UploadBlobResponse) ProtoMessage() {} method ProtoReflect (line 875) | func (x *UploadBlobResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 888) | func (*UploadBlobResponse) Descriptor() ([]byte, []int) { type DownloadBlobRequest (line 892) | type DownloadBlobRequest struct method Reset (line 899) | func (x *DownloadBlobRequest) Reset() { method String (line 906) | func (x *DownloadBlobRequest) String() string { method ProtoMessage (line 910) | func (*DownloadBlobRequest) ProtoMessage() {} method ProtoReflect (line 912) | func (x *DownloadBlobRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 925) | func (*DownloadBlobRequest) Descriptor() ([]byte, []int) { method GetName (line 929) | func (x *DownloadBlobRequest) GetName() string { type DownloadBlobResponse (line 936) | type DownloadBlobResponse struct method Reset (line 943) | func (x *DownloadBlobResponse) Reset() { method String (line 950) | func (x *DownloadBlobResponse) String() string { method ProtoMessage (line 954) | func (*DownloadBlobResponse) ProtoMessage() {} method ProtoReflect (line 956) | func (x *DownloadBlobResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 969) | func (*DownloadBlobResponse) Descriptor() ([]byte, []int) { method GetData (line 973) | func (x *DownloadBlobResponse) GetData() []byte { type ListBlobsRequest (line 980) | type ListBlobsRequest struct method Reset (line 986) | func (x *ListBlobsRequest) Reset() { method String (line 993) | func (x *ListBlobsRequest) String() string { method ProtoMessage (line 997) | func (*ListBlobsRequest) ProtoMessage() {} method ProtoReflect (line 999) | func (x *ListBlobsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1012) | func (*ListBlobsRequest) Descriptor() ([]byte, []int) { type ListBlobsResponse (line 1016) | type ListBlobsResponse struct method Reset (line 1023) | func (x *ListBlobsResponse) Reset() { method String (line 1030) | func (x *ListBlobsResponse) String() string { method ProtoMessage (line 1034) | func (*ListBlobsResponse) ProtoMessage() {} method ProtoReflect (line 1036) | func (x *ListBlobsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1049) | func (*ListBlobsResponse) Descriptor() ([]byte, []int) { method GetNames (line 1053) | func (x *ListBlobsResponse) GetNames() []string { type RemoveBlobRequest (line 1060) | type RemoveBlobRequest struct method Reset (line 1067) | func (x *RemoveBlobRequest) Reset() { method String (line 1074) | func (x *RemoveBlobRequest) String() string { method ProtoMessage (line 1078) | func (*RemoveBlobRequest) ProtoMessage() {} method ProtoReflect (line 1080) | func (x *RemoveBlobRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1093) | func (*RemoveBlobRequest) Descriptor() ([]byte, []int) { method GetName (line 1097) | func (x *RemoveBlobRequest) GetName() string { type RemoveBlobResponse (line 1104) | type RemoveBlobResponse struct method Reset (line 1110) | func (x *RemoveBlobResponse) Reset() { method String (line 1117) | func (x *RemoveBlobResponse) String() string { method ProtoMessage (line 1121) | func (*RemoveBlobResponse) ProtoMessage() {} method ProtoReflect (line 1123) | func (x *RemoveBlobResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1136) | func (*RemoveBlobResponse) Descriptor() ([]byte, []int) { constant file_protocol_proto_rawDesc (line 1142) | file_protocol_proto_rawDesc = "" + function file_protocol_proto_rawDescGZIP (line 1237) | func file_protocol_proto_rawDescGZIP() []byte { function init (line 1295) | func init() { file_protocol_proto_init() } function file_protocol_proto_init (line 1296) | func file_protocol_proto_init() { FILE: protocol/protocol_grpc.pb.go constant _ (line 33) | _ = grpc.SupportPackageIsVersion9 constant Master_GetMeta_FullMethodName (line 36) | Master_GetMeta_FullMethodName = "/protocol.Master/GetMeta" constant Master_PushProgress_FullMethodName (line 37) | Master_PushProgress_FullMethodName = "/protocol.Master/PushProgress" type MasterClient (line 43) | type MasterClient interface type masterClient (line 49) | type masterClient struct method GetMeta (line 57) | func (c *masterClient) GetMeta(ctx context.Context, in *NodeInfo, opts... method PushProgress (line 67) | func (c *masterClient) PushProgress(ctx context.Context, in *PushProgr... function NewMasterClient (line 53) | func NewMasterClient(cc grpc.ClientConnInterface) MasterClient { type MasterServer (line 80) | type MasterServer interface type UnimplementedMasterServer (line 92) | type UnimplementedMasterServer struct method GetMeta (line 94) | func (UnimplementedMasterServer) GetMeta(context.Context, *NodeInfo) (... method PushProgress (line 97) | func (UnimplementedMasterServer) PushProgress(context.Context, *PushPr... method mustEmbedUnimplementedMasterServer (line 100) | func (UnimplementedMasterServer) mustEmbedUnimplementedMasterServer() {} method testEmbeddedByValue (line 101) | func (UnimplementedMasterServer) testEmbeddedByValue() {} type UnsafeMasterServer (line 106) | type UnsafeMasterServer interface function RegisterMasterServer (line 110) | func RegisterMasterServer(s grpc.ServiceRegistrar, srv MasterServer) { function _Master_GetMeta_Handler (line 121) | func _Master_GetMeta_Handler(srv interface{}, ctx context.Context, dec f... function _Master_PushProgress_Handler (line 139) | func _Master_PushProgress_Handler(srv interface{}, ctx context.Context, ... constant BlobStore_UploadBlob_FullMethodName (line 178) | BlobStore_UploadBlob_FullMethodName = "/protocol.BlobStore/UploadBlob" constant BlobStore_DownloadBlob_FullMethodName (line 179) | BlobStore_DownloadBlob_FullMethodName = "/protocol.BlobStore/DownloadBlob" constant BlobStore_ListBlobs_FullMethodName (line 180) | BlobStore_ListBlobs_FullMethodName = "/protocol.BlobStore/ListBlobs" constant BlobStore_RemoveBlob_FullMethodName (line 181) | BlobStore_RemoveBlob_FullMethodName = "/protocol.BlobStore/RemoveBlob" type BlobStoreClient (line 187) | type BlobStoreClient interface type blobStoreClient (line 194) | type blobStoreClient struct method UploadBlob (line 202) | func (c *blobStoreClient) UploadBlob(ctx context.Context, opts ...grpc... method DownloadBlob (line 215) | func (c *blobStoreClient) DownloadBlob(ctx context.Context, in *Downlo... method ListBlobs (line 234) | func (c *blobStoreClient) ListBlobs(ctx context.Context, in *ListBlobs... method RemoveBlob (line 244) | func (c *blobStoreClient) RemoveBlob(ctx context.Context, in *RemoveBl... function NewBlobStoreClient (line 198) | func NewBlobStoreClient(cc grpc.ClientConnInterface) BlobStoreClient { type BlobStoreServer (line 257) | type BlobStoreServer interface type UnimplementedBlobStoreServer (line 270) | type UnimplementedBlobStoreServer struct method UploadBlob (line 272) | func (UnimplementedBlobStoreServer) UploadBlob(grpc.ClientStreamingSer... method DownloadBlob (line 275) | func (UnimplementedBlobStoreServer) DownloadBlob(*DownloadBlobRequest,... method ListBlobs (line 278) | func (UnimplementedBlobStoreServer) ListBlobs(context.Context, *ListBl... method RemoveBlob (line 281) | func (UnimplementedBlobStoreServer) RemoveBlob(context.Context, *Remov... method mustEmbedUnimplementedBlobStoreServer (line 284) | func (UnimplementedBlobStoreServer) mustEmbedUnimplementedBlobStoreSer... method testEmbeddedByValue (line 285) | func (UnimplementedBlobStoreServer) testEmbeddedByValue() ... type UnsafeBlobStoreServer (line 290) | type UnsafeBlobStoreServer interface function RegisterBlobStoreServer (line 294) | func RegisterBlobStoreServer(s grpc.ServiceRegistrar, srv BlobStoreServe... function _BlobStore_UploadBlob_Handler (line 305) | func _BlobStore_UploadBlob_Handler(srv interface{}, stream grpc.ServerSt... function _BlobStore_DownloadBlob_Handler (line 312) | func _BlobStore_DownloadBlob_Handler(srv interface{}, stream grpc.Server... function _BlobStore_ListBlobs_Handler (line 323) | func _BlobStore_ListBlobs_Handler(srv interface{}, ctx context.Context, ... function _BlobStore_RemoveBlob_Handler (line 341) | func _BlobStore_RemoveBlob_Handler(srv interface{}, ctx context.Context,... FILE: protocol/vector_store.pb.go constant _ (line 34) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 36) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Distance (line 39) | type Distance method Enum (line 64) | func (x Distance) Enum() *Distance { method String (line 70) | func (x Distance) String() string { method Descriptor (line 74) | func (Distance) Descriptor() protoreflect.EnumDescriptor { method Type (line 78) | func (Distance) Type() protoreflect.EnumType { method Number (line 82) | func (x Distance) Number() protoreflect.EnumNumber { method EnumDescriptor (line 87) | func (Distance) EnumDescriptor() ([]byte, []int) { constant Distance_Unknown (line 42) | Distance_Unknown Distance = 0 constant Distance_Cosine (line 43) | Distance_Cosine Distance = 1 constant Distance_Euclidean (line 44) | Distance_Euclidean Distance = 2 constant Distance_Dot (line 45) | Distance_Dot Distance = 3 type Vector (line 91) | type Vector struct method Reset (line 101) | func (x *Vector) Reset() { method String (line 108) | func (x *Vector) String() string { method ProtoMessage (line 112) | func (*Vector) ProtoMessage() {} method ProtoReflect (line 114) | func (x *Vector) ProtoReflect() protoreflect.Message { method Descriptor (line 127) | func (*Vector) Descriptor() ([]byte, []int) { method GetId (line 131) | func (x *Vector) GetId() string { method GetValues (line 138) | func (x *Vector) GetValues() []float32 { method GetCategories (line 145) | func (x *Vector) GetCategories() []string { method GetTimestamp (line 152) | func (x *Vector) GetTimestamp() *timestamppb.Timestamp { type ListCollectionsRequest (line 159) | type ListCollectionsRequest struct method Reset (line 165) | func (x *ListCollectionsRequest) Reset() { method String (line 172) | func (x *ListCollectionsRequest) String() string { method ProtoMessage (line 176) | func (*ListCollectionsRequest) ProtoMessage() {} method ProtoReflect (line 178) | func (x *ListCollectionsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 191) | func (*ListCollectionsRequest) Descriptor() ([]byte, []int) { type ListCollectionsResponse (line 195) | type ListCollectionsResponse struct method Reset (line 202) | func (x *ListCollectionsResponse) Reset() { method String (line 209) | func (x *ListCollectionsResponse) String() string { method ProtoMessage (line 213) | func (*ListCollectionsResponse) ProtoMessage() {} method ProtoReflect (line 215) | func (x *ListCollectionsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 228) | func (*ListCollectionsResponse) Descriptor() ([]byte, []int) { method GetCollections (line 232) | func (x *ListCollectionsResponse) GetCollections() []string { type AddCollectionRequest (line 239) | type AddCollectionRequest struct method Reset (line 248) | func (x *AddCollectionRequest) Reset() { method String (line 255) | func (x *AddCollectionRequest) String() string { method ProtoMessage (line 259) | func (*AddCollectionRequest) ProtoMessage() {} method ProtoReflect (line 261) | func (x *AddCollectionRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 274) | func (*AddCollectionRequest) Descriptor() ([]byte, []int) { method GetName (line 278) | func (x *AddCollectionRequest) GetName() string { method GetDimensions (line 285) | func (x *AddCollectionRequest) GetDimensions() int32 { method GetDistance (line 292) | func (x *AddCollectionRequest) GetDistance() Distance { type AddCollectionResponse (line 299) | type AddCollectionResponse struct method Reset (line 305) | func (x *AddCollectionResponse) Reset() { method String (line 312) | func (x *AddCollectionResponse) String() string { method ProtoMessage (line 316) | func (*AddCollectionResponse) ProtoMessage() {} method ProtoReflect (line 318) | func (x *AddCollectionResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 331) | func (*AddCollectionResponse) Descriptor() ([]byte, []int) { type DeleteCollectionRequest (line 335) | type DeleteCollectionRequest struct method Reset (line 342) | func (x *DeleteCollectionRequest) Reset() { method String (line 349) | func (x *DeleteCollectionRequest) String() string { method ProtoMessage (line 353) | func (*DeleteCollectionRequest) ProtoMessage() {} method ProtoReflect (line 355) | func (x *DeleteCollectionRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 368) | func (*DeleteCollectionRequest) Descriptor() ([]byte, []int) { method GetName (line 372) | func (x *DeleteCollectionRequest) GetName() string { type DeleteCollectionResponse (line 379) | type DeleteCollectionResponse struct method Reset (line 385) | func (x *DeleteCollectionResponse) Reset() { method String (line 392) | func (x *DeleteCollectionResponse) String() string { method ProtoMessage (line 396) | func (*DeleteCollectionResponse) ProtoMessage() {} method ProtoReflect (line 398) | func (x *DeleteCollectionResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 411) | func (*DeleteCollectionResponse) Descriptor() ([]byte, []int) { type AddVectorsRequest (line 415) | type AddVectorsRequest struct method Reset (line 423) | func (x *AddVectorsRequest) Reset() { method String (line 430) | func (x *AddVectorsRequest) String() string { method ProtoMessage (line 434) | func (*AddVectorsRequest) ProtoMessage() {} method ProtoReflect (line 436) | func (x *AddVectorsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 449) | func (*AddVectorsRequest) Descriptor() ([]byte, []int) { method GetCollection (line 453) | func (x *AddVectorsRequest) GetCollection() string { method GetVectors (line 460) | func (x *AddVectorsRequest) GetVectors() []*Vector { type AddVectorsResponse (line 467) | type AddVectorsResponse struct method Reset (line 473) | func (x *AddVectorsResponse) Reset() { method String (line 480) | func (x *AddVectorsResponse) String() string { method ProtoMessage (line 484) | func (*AddVectorsResponse) ProtoMessage() {} method ProtoReflect (line 486) | func (x *AddVectorsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 499) | func (*AddVectorsResponse) Descriptor() ([]byte, []int) { type DeleteVectorsRequest (line 503) | type DeleteVectorsRequest struct method Reset (line 511) | func (x *DeleteVectorsRequest) Reset() { method String (line 518) | func (x *DeleteVectorsRequest) String() string { method ProtoMessage (line 522) | func (*DeleteVectorsRequest) ProtoMessage() {} method ProtoReflect (line 524) | func (x *DeleteVectorsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 537) | func (*DeleteVectorsRequest) Descriptor() ([]byte, []int) { method GetCollection (line 541) | func (x *DeleteVectorsRequest) GetCollection() string { method GetTimestamp (line 548) | func (x *DeleteVectorsRequest) GetTimestamp() *timestamppb.Timestamp { type DeleteVectorsResponse (line 555) | type DeleteVectorsResponse struct method Reset (line 561) | func (x *DeleteVectorsResponse) Reset() { method String (line 568) | func (x *DeleteVectorsResponse) String() string { method ProtoMessage (line 572) | func (*DeleteVectorsResponse) ProtoMessage() {} method ProtoReflect (line 574) | func (x *DeleteVectorsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 587) | func (*DeleteVectorsResponse) Descriptor() ([]byte, []int) { type QueryVectorsRequest (line 591) | type QueryVectorsRequest struct method Reset (line 601) | func (x *QueryVectorsRequest) Reset() { method String (line 608) | func (x *QueryVectorsRequest) String() string { method ProtoMessage (line 612) | func (*QueryVectorsRequest) ProtoMessage() {} method ProtoReflect (line 614) | func (x *QueryVectorsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 627) | func (*QueryVectorsRequest) Descriptor() ([]byte, []int) { method GetCollection (line 631) | func (x *QueryVectorsRequest) GetCollection() string { method GetQuery (line 638) | func (x *QueryVectorsRequest) GetQuery() []float32 { method GetCategories (line 645) | func (x *QueryVectorsRequest) GetCategories() []string { method GetTopK (line 652) | func (x *QueryVectorsRequest) GetTopK() int32 { type QueryVectorsResponse (line 659) | type QueryVectorsResponse struct method Reset (line 666) | func (x *QueryVectorsResponse) Reset() { method String (line 673) | func (x *QueryVectorsResponse) String() string { method ProtoMessage (line 677) | func (*QueryVectorsResponse) ProtoMessage() {} method ProtoReflect (line 679) | func (x *QueryVectorsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 692) | func (*QueryVectorsResponse) Descriptor() ([]byte, []int) { method GetVectors (line 696) | func (x *QueryVectorsResponse) GetVectors() []*Vector { constant file_vector_store_proto_rawDesc (line 705) | file_vector_store_proto_rawDesc = "" + function file_vector_store_proto_rawDescGZIP (line 771) | func file_vector_store_proto_rawDescGZIP() []byte { function init (line 822) | func init() { file_vector_store_proto_init() } function file_vector_store_proto_init (line 823) | func file_vector_store_proto_init() { FILE: protocol/vector_store_grpc.pb.go constant _ (line 33) | _ = grpc.SupportPackageIsVersion9 constant VectorStore_ListCollections_FullMethodName (line 36) | VectorStore_ListCollections_FullMethodName = "/protocol.VectorStore/Lis... constant VectorStore_AddCollection_FullMethodName (line 37) | VectorStore_AddCollection_FullMethodName = "/protocol.VectorStore/Add... constant VectorStore_DeleteCollection_FullMethodName (line 38) | VectorStore_DeleteCollection_FullMethodName = "/protocol.VectorStore/Del... constant VectorStore_AddVectors_FullMethodName (line 39) | VectorStore_AddVectors_FullMethodName = "/protocol.VectorStore/Add... constant VectorStore_DeleteVectors_FullMethodName (line 40) | VectorStore_DeleteVectors_FullMethodName = "/protocol.VectorStore/Del... constant VectorStore_QueryVectors_FullMethodName (line 41) | VectorStore_QueryVectors_FullMethodName = "/protocol.VectorStore/Que... type VectorStoreClient (line 47) | type VectorStoreClient interface type vectorStoreClient (line 56) | type vectorStoreClient struct method ListCollections (line 64) | func (c *vectorStoreClient) ListCollections(ctx context.Context, in *L... method AddCollection (line 74) | func (c *vectorStoreClient) AddCollection(ctx context.Context, in *Add... method DeleteCollection (line 84) | func (c *vectorStoreClient) DeleteCollection(ctx context.Context, in *... method AddVectors (line 94) | func (c *vectorStoreClient) AddVectors(ctx context.Context, in *AddVec... method DeleteVectors (line 104) | func (c *vectorStoreClient) DeleteVectors(ctx context.Context, in *Del... method QueryVectors (line 114) | func (c *vectorStoreClient) QueryVectors(ctx context.Context, in *Quer... function NewVectorStoreClient (line 60) | func NewVectorStoreClient(cc grpc.ClientConnInterface) VectorStoreClient { type VectorStoreServer (line 127) | type VectorStoreServer interface type UnimplementedVectorStoreServer (line 142) | type UnimplementedVectorStoreServer struct method ListCollections (line 144) | func (UnimplementedVectorStoreServer) ListCollections(context.Context,... method AddCollection (line 147) | func (UnimplementedVectorStoreServer) AddCollection(context.Context, *... method DeleteCollection (line 150) | func (UnimplementedVectorStoreServer) DeleteCollection(context.Context... method AddVectors (line 153) | func (UnimplementedVectorStoreServer) AddVectors(context.Context, *Add... method DeleteVectors (line 156) | func (UnimplementedVectorStoreServer) DeleteVectors(context.Context, *... method QueryVectors (line 159) | func (UnimplementedVectorStoreServer) QueryVectors(context.Context, *Q... method mustEmbedUnimplementedVectorStoreServer (line 162) | func (UnimplementedVectorStoreServer) mustEmbedUnimplementedVectorStor... method testEmbeddedByValue (line 163) | func (UnimplementedVectorStoreServer) testEmbeddedByValue() ... type UnsafeVectorStoreServer (line 168) | type UnsafeVectorStoreServer interface function RegisterVectorStoreServer (line 172) | func RegisterVectorStoreServer(s grpc.ServiceRegistrar, srv VectorStoreS... function _VectorStore_ListCollections_Handler (line 183) | func _VectorStore_ListCollections_Handler(srv interface{}, ctx context.C... function _VectorStore_AddCollection_Handler (line 201) | func _VectorStore_AddCollection_Handler(srv interface{}, ctx context.Con... function _VectorStore_DeleteCollection_Handler (line 219) | func _VectorStore_DeleteCollection_Handler(srv interface{}, ctx context.... function _VectorStore_AddVectors_Handler (line 237) | func _VectorStore_AddVectors_Handler(srv interface{}, ctx context.Contex... function _VectorStore_DeleteVectors_Handler (line 255) | func _VectorStore_DeleteVectors_Handler(srv interface{}, ctx context.Con... function _VectorStore_QueryVectors_Handler (line 273) | func _VectorStore_QueryVectors_Handler(srv interface{}, ctx context.Cont... FILE: server/rest.go constant HealthAPITag (line 48) | HealthAPITag = "health" constant UsersAPITag (line 49) | UsersAPITag = "users" constant ItemsAPITag (line 50) | ItemsAPITag = "items" constant FeedbackAPITag (line 51) | FeedbackAPITag = "feedback" constant RecommendationAPITag (line 52) | RecommendationAPITag = "recommendation" constant MeasurementsAPITag (line 53) | MeasurementsAPITag = "measurements" constant DetractedAPITag (line 54) | DetractedAPITag = "deprecated" constant apiDocsPath (line 55) | apiDocsPath = "/apidocs/" type RestServer (line 59) | type RestServer struct method StartHttpServer (line 73) | func (s *RestServer) StartHttpServer(container *restful.Container) { method LogFilter (line 126) | func (s *RestServer) LogFilter(req *restful.Request, resp *restful.Res... method AuthFilter (line 142) | func (s *RestServer) AuthFilter(req *restful.Request, resp *restful.Re... method MetricsFilter (line 165) | func (s *RestServer) MetricsFilter(req *restful.Request, resp *restful... method CreateWebService (line 178) | func (s *RestServer) CreateWebService() { method SearchDocuments (line 598) | func (s *RestServer) SearchDocuments(collection, subset string, catego... method getLatest (line 676) | func (s *RestServer) getLatest(request *restful.Request, response *res... method getNonPersonalized (line 740) | func (s *RestServer) getNonPersonalized(request *restful.Request, resp... method getItemToItem (line 748) | func (s *RestServer) getItemToItem(request *restful.Request, response ... method getUserToUser (line 756) | func (s *RestServer) getUserToUser(request *restful.Request, response ... method SetLastModified (line 763) | func (s *RestServer) SetLastModified(request *restful.Request, respons... method getTypedFeedbackByItem (line 773) | func (s *RestServer) getTypedFeedbackByItem(request *restful.Request, ... method getFeedbackByItem (line 789) | func (s *RestServer) getFeedbackByItem(request *restful.Request, respo... method getItemNeighbors (line 804) | func (s *RestServer) getItemNeighbors(request *restful.Request, respon... method getUserNeighbors (line 819) | func (s *RestServer) getUserNeighbors(request *restful.Request, respon... method getCollaborativeFiltering (line 833) | func (s *RestServer) getCollaborativeFiltering(request *restful.Reques... method getRecommend (line 845) | func (s *RestServer) getRecommend(request *restful.Request, response *... method sessionRecommend (line 917) | func (s *RestServer) sessionRecommend(request *restful.Request, respon... method insertUser (line 1019) | func (s *RestServer) insertUser(request *restful.Request, response *re... method modifyUser (line 1047) | func (s *RestServer) modifyUser(request *restful.Request, response *re... method getUser (line 1076) | func (s *RestServer) getUser(request *restful.Request, response *restf... method insertUsers (line 1096) | func (s *RestServer) insertUsers(request *restful.Request, response *r... method getUsers (line 1136) | func (s *RestServer) getUsers(request *restful.Request, response *rest... method deleteUser (line 1157) | func (s *RestServer) deleteUser(request *restful.Request, response *re... method getTypedFeedbackByUser (line 1172) | func (s *RestServer) getTypedFeedbackByUser(request *restful.Request, ... method getFeedbackByUser (line 1193) | func (s *RestServer) getFeedbackByUser(request *restful.Request, respo... method batchInsertItems (line 1217) | func (s *RestServer) batchInsertItems(ctx context.Context, response *r... method insertItems (line 1300) | func (s *RestServer) insertItems(request *restful.Request, response *r... method insertItem (line 1321) | func (s *RestServer) insertItem(request *restful.Request, response *re... method modifyItem (line 1340) | func (s *RestServer) modifyItem(request *restful.Request, response *re... method getItems (line 1388) | func (s *RestServer) getItems(request *restful.Request, response *rest... method getItem (line 1407) | func (s *RestServer) getItem(request *restful.Request, response *restf... method deleteItem (line 1427) | func (s *RestServer) deleteItem(request *restful.Request, response *re... method insertItemCategory (line 1446) | func (s *RestServer) insertItemCategory(request *restful.Request, resp... method deleteItemCategory (line 1476) | func (s *RestServer) deleteItemCategory(request *restful.Request, resp... method insertFeedback (line 1533) | func (s *RestServer) insertFeedback(overwrite bool) func(request *rest... method getFeedback (line 1589) | func (s *RestServer) getFeedback(request *restful.Request, response *r... method getTypedFeedback (line 1609) | func (s *RestServer) getTypedFeedback(request *restful.Request, respon... method getUserItemFeedback (line 1630) | func (s *RestServer) getUserItemFeedback(request *restful.Request, res... method deleteUserItemFeedback (line 1645) | func (s *RestServer) deleteUserItemFeedback(request *restful.Request, ... method getTypedUserItemFeedback (line 1660) | func (s *RestServer) getTypedUserItemFeedback(request *restful.Request... method deleteTypedUserItemFeedback (line 1678) | func (s *RestServer) deleteTypedUserItemFeedback(request *restful.Requ... method checkHealth (line 1702) | func (s *RestServer) checkHealth() HealthStatus { method checkReady (line 1712) | func (s *RestServer) checkReady(_ *restful.Request, response *restful.... method checkLive (line 1726) | func (s *RestServer) checkLive(_ *restful.Request, response *restful.R... function ParseInt (line 579) | func ParseInt(request *restful.Request, name string, fallback int) (valu... function ParseDuration (line 590) | func ParseDuration(request *restful.Request, name string) (time.Duration... type Success (line 1015) | type Success struct type UserIterator (line 1131) | type UserIterator struct type Item (line 1208) | type Item struct type ItemIterator (line 1383) | type ItemIterator struct type Feedback (line 1511) | type Feedback struct method ToDataFeedback (line 1518) | func (f Feedback) ToDataFeedback() (data.Feedback, error) { type FeedbackIterator (line 1584) | type FeedbackIterator struct type HealthStatus (line 1694) | type HealthStatus struct function BadRequest (line 1732) | func BadRequest(response *restful.Response, err error) { function InternalServerError (line 1741) | func InternalServerError(response *restful.Response, err error) { function PageNotFound (line 1750) | func PageNotFound(response *restful.Response, err error) { function Ok (line 1758) | func Ok(response *restful.Response, content interface{}) { function Error (line 1765) | func Error(response *restful.Response, httpStatus int, responseError err... function Text (line 1773) | func Text(response *restful.Response, content string) { function withWildCard (line 1780) | func withWildCard(categories []string) []string { function ReadCategories (line 1788) | func ReadCategories(request *restful.Request, defaultCategories []string... FILE: server/rest_test.go constant apiKey (line 35) | apiKey = "test_api_key" type ServerTestSuite (line 37) | type ServerTestSuite struct method SetupSuite (line 43) | func (suite *ServerTestSuite) SetupSuite() { method TearDownSuite (line 65) | func (suite *ServerTestSuite) TearDownSuite() { method SetupTest (line 72) | func (suite *ServerTestSuite) SetupTest() { method marshal (line 85) | func (suite *ServerTestSuite) marshal(v interface{}) string { method TestUsers (line 91) | func (suite *ServerTestSuite) TestUsers() { method TestItems (line 206) | func (suite *ServerTestSuite) TestItems() { method TestFeedback (line 573) | func (suite *ServerTestSuite) TestFeedback() { method TestNonPersonalizedRecommend (line 725) | func (suite *ServerTestSuite) TestNonPersonalizedRecommend() { method TestUserToUser (line 850) | func (suite *ServerTestSuite) TestUserToUser() { method TestDeleteFeedback (line 893) | func (suite *ServerTestSuite) TestDeleteFeedback() { method TestGetRecommends (line 950) | func (suite *ServerTestSuite) TestGetRecommends() { method TestGetRecommendsMultiCategories (line 1088) | func (suite *ServerTestSuite) TestGetRecommendsMultiCategories() { method TestGetRecommendsReplacement (line 1117) | func (suite *ServerTestSuite) TestGetRecommendsReplacement() { method TestGetRecommendsFallbackItemToItem (line 1170) | func (suite *ServerTestSuite) TestGetRecommendsFallbackItemToItem() { method TestGetRecommendsFallbackUserToUser (line 1264) | func (suite *ServerTestSuite) TestGetRecommendsFallbackUserToUser() { method TestRecommendFallbackLatest (line 1340) | func (suite *ServerTestSuite) TestRecommendFallbackLatest() { method TestGetRecommendsFallbackCollaborativeFiltering (line 1387) | func (suite *ServerTestSuite) TestGetRecommendsFallbackCollaborativeFi... method TestGetRecommendsFallbackNonPersonalized (line 1429) | func (suite *ServerTestSuite) TestGetRecommendsFallbackNonPersonalized... method TestGetRecommendsLatest (line 1476) | func (suite *ServerTestSuite) TestGetRecommendsLatest() { method TestSessionRecommend (line 1501) | func (suite *ServerTestSuite) TestSessionRecommend() { method TestVisibility (line 1603) | func (suite *ServerTestSuite) TestVisibility() { method TestHealth (line 1871) | func (suite *ServerTestSuite) TestHealth() { function TestServer (line 1933) | func TestServer(t *testing.T) { FILE: server/server.go type Server (line 47) | type Server struct method Serve (line 91) | func (s *Server) Serve() { method ServerName (line 128) | func (s *Server) ServerName() (string, error) { method Shutdown (line 141) | func (s *Server) Shutdown() { method Sync (line 149) | func (s *Server) Sync() { function NewServer (line 65) | func NewServer( FILE: server/server_test.go type mockMaster (line 33) | type mockMaster struct method GetMeta (line 56) | func (m *mockMaster) GetMeta(_ context.Context, _ *protocol.NodeInfo) ... method Start (line 60) | func (m *mockMaster) Start(t *testing.T) { method Stop (line 71) | func (m *mockMaster) Stop() { function newMockMaster (line 42) | func newMockMaster(t *testing.T) *mockMaster { function TestServer_Sync (line 75) | func TestServer_Sync(t *testing.T) { FILE: storage/blob/azure.go type AzureBlob (line 31) | type AzureBlob struct method Open (line 71) | func (a *AzureBlob) Open(name string) (io.ReadCloser, error) { method Create (line 80) | func (a *AzureBlob) Create(name string) (io.WriteCloser, chan struct{}... method List (line 94) | func (a *AzureBlob) List() ([]string, error) { method Remove (line 127) | func (a *AzureBlob) Remove(name string) error { function NewAzureBlob (line 37) | func NewAzureBlob(cfg config.AzureBlobConfig, container string, prefix s... FILE: storage/blob/azure_test.go function TestAzureBlobEmulator (line 29) | func TestAzureBlobEmulator(t *testing.T) { FILE: storage/blob/blob.go type Store (line 35) | type Store interface function NewStore (line 42) | func NewStore(cfg config.BlobConfig, masterConn *grpc.ClientConn) (Store... type MasterStoreServer (line 86) | type MasterStoreServer struct method UploadBlob (line 100) | func (s *MasterStoreServer) UploadBlob(stream grpc.ClientStreamingServ... method DownloadBlob (line 153) | func (s *MasterStoreServer) DownloadBlob(request *protocol.DownloadBlo... method ListBlobs (line 183) | func (s *MasterStoreServer) ListBlobs(ctx context.Context, request *pr... method RemoveBlob (line 197) | func (s *MasterStoreServer) RemoveBlob(ctx context.Context, request *p... function NewMasterStoreServer (line 91) | func NewMasterStoreServer(dir string) *MasterStoreServer { type MasterStoreClient (line 205) | type MasterStoreClient struct method Open (line 213) | func (c *MasterStoreClient) Open(name string) (io.ReadCloser, error) { method Create (line 236) | func (c *MasterStoreClient) Create(name string) (io.WriteCloser, chan ... method List (line 273) | func (c *MasterStoreClient) List() ([]string, error) { method Remove (line 281) | func (c *MasterStoreClient) Remove(name string) error { function NewMasterStoreClient (line 209) | func NewMasterStoreClient(clientConn *grpc.ClientConn) *MasterStoreClient { FILE: storage/blob/blob_test.go function TestBlob (line 28) | func TestBlob(t *testing.T) { FILE: storage/blob/gcs.go type GCS (line 29) | type GCS struct method Open (line 55) | func (g *GCS) Open(name string) (io.ReadCloser, error) { method Create (line 60) | func (g *GCS) Create(name string) (io.WriteCloser, chan struct{}, erro... method List (line 78) | func (g *GCS) List() ([]string, error) { method Remove (line 100) | func (g *GCS) Remove(name string) error { function NewGCS (line 35) | func NewGCS(cfg config.GCSConfig, bucket string, prefix string) (*GCS, e... type gcsWriter (line 67) | type gcsWriter struct method Close (line 72) | func (w *gcsWriter) Close() error { FILE: storage/blob/gcs_test.go function TestGCS (line 26) | func TestGCS(t *testing.T) { FILE: storage/blob/posix.go type POSIX (line 26) | type POSIX struct method Open (line 35) | func (p *POSIX) Open(name string) (io.ReadCloser, error) { method Create (line 42) | func (p *POSIX) Create(name string) (io.WriteCloser, chan struct{}, er... method List (line 67) | func (p *POSIX) List() ([]string, error) { method Remove (line 82) | func (p *POSIX) Remove(name string) error { function NewPOSIX (line 30) | func NewPOSIX(dir string) *POSIX { FILE: storage/blob/posix_test.go function TestPOSIX (line 23) | func TestPOSIX(t *testing.T) { FILE: storage/blob/s3.go type S3 (line 29) | type S3 struct method Open (line 50) | func (s *S3) Open(name string) (io.ReadCloser, error) { method Create (line 60) | func (s *S3) Create(name string) (io.WriteCloser, chan struct{}, error) { method List (line 75) | func (s *S3) List() ([]string, error) { method Remove (line 94) | func (s *S3) Remove(name string) error { function NewS3 (line 35) | func NewS3(cfg config.S3Config, bucket string, prefix string) (*S3, erro... FILE: storage/blob/s3_test.go function TestS3 (line 33) | func TestS3(t *testing.T) { FILE: storage/cache/database.go constant NonPersonalized (line 30) | NonPersonalized = "non-personalized" constant NonPersonalizedDigest (line 31) | NonPersonalizedDigest = "non-personalized_digest" constant NonPersonalizedUpdateTime (line 32) | NonPersonalizedUpdateTime = "non-personalized_update_time" constant ItemToItem (line 33) | ItemToItem = "item-to-item" constant ItemToItemDigest (line 34) | ItemToItemDigest = "item-to-item_digest" constant ItemToItemUpdateTime (line 35) | ItemToItemUpdateTime = "item-to-item_update_time" constant UserToUser (line 36) | UserToUser = "user-to-user" constant UserToUserDigest (line 37) | UserToUserDigest = "user-to-user_digest" constant UserToUserUpdateTime (line 38) | UserToUserUpdateTime = "user-to-user_update_time" constant CollaborativeFiltering (line 39) | CollaborativeFiltering = "collaborative-filtering" constant CollaborativeFilteringDigest (line 40) | CollaborativeFilteringDigest = "collaborative-filtering_digest" constant CollaborativeFilteringUpdateTime (line 41) | CollaborativeFilteringUpdateTime = "collaborative-filtering_update_time" constant Recommend (line 42) | Recommend = "recommend" constant RecommendDigest (line 43) | RecommendDigest = "recommend_digest" constant RecommendUpdateTime (line 44) | RecommendUpdateTime = "recommend_update_time" constant ItemCategories (line 48) | ItemCategories = "item_categories" constant LastModifyItemTime (line 50) | LastModifyItemTime = "last_modify_item_time" constant LastModifyUserTime (line 51) | LastModifyUserTime = "last_modify_user_time" constant GlobalMeta (line 54) | GlobalMeta = "global_meta" constant NumUsers (line 55) | NumUsers = "num_users" constant NumItems (line 56) | NumItems = "num_items" constant NumFeedback (line 57) | NumFeedback = "num_feedback" constant NumPosFeedbacks (line 58) | NumPosFeedbacks = "num_pos_feedbacks" constant NumNegFeedbacks (line 59) | NumNegFeedbacks = "num_neg_feedbacks" constant NumUserLabels (line 60) | NumUserLabels = "num_user_labels" constant NumItemLabels (line 61) | NumItemLabels = "num_item_labels" constant NumTotalPosFeedbacks (line 62) | NumTotalPosFeedbacks = "num_total_pos_feedbacks" constant NumValidPosFeedbacks (line 63) | NumValidPosFeedbacks = "num_valid_pos_feedbacks" constant NumValidNegFeedbacks (line 64) | NumValidNegFeedbacks = "num_valid_neg_feedbacks" constant LastFitMatchingModelTime (line 65) | LastFitMatchingModelTime = "last_fit_matching_model_time" constant LastFitRankingModelTime (line 66) | LastFitRankingModelTime = "last_fit_ranking_model_time" constant LastUpdateLatestItemsTime (line 67) | LastUpdateLatestItemsTime = "last_update_latest_items_time" constant LastUpdatePopularItemsTime (line 68) | LastUpdatePopularItemsTime = "last_update_popular_items_time" constant CFNDCG (line 69) | CFNDCG = "cf_ndcg" constant CFPrecision (line 70) | CFPrecision = "cf_precision" constant CFRecall (line 71) | CFRecall = "cf_recall" constant CTRPrecision (line 72) | CTRPrecision = "ctr_precision" constant CTRRecall (line 73) | CTRRecall = "ctr_recall" constant CTRAUC (line 74) | CTRAUC = "ctr_auc" constant PositiveFeedbackRatio (line 75) | PositiveFeedbackRatio = "positive_feedback_ratio" function Key (line 90) | func Key(keys ...string) string { type Value (line 105) | type Value struct function String (line 110) | func String(name, value string) Value { function Integer (line 114) | func Integer(name string, value int) Value { function Time (line 118) | func Time(name string, value time.Time) Value { type ReturnValue (line 122) | type ReturnValue struct method String (line 128) | func (r *ReturnValue) String() (string, error) { method Integer (line 138) | func (r *ReturnValue) Integer() (int, error) { method Time (line 148) | func (r *ReturnValue) Time() (time.Time, error) { method Exists (line 162) | func (r *ReturnValue) Exists() bool { type Score (line 166) | type Score struct function SortDocuments (line 174) | func SortDocuments(documents []Score) { function ConvertDocumentsToValues (line 180) | func ConvertDocumentsToValues(documents []Score) []string { type ScoreCondition (line 188) | type ScoreCondition struct method Check (line 194) | func (condition *ScoreCondition) Check() error { type ScorePatch (line 201) | type ScorePatch struct type TimeSeriesPoint (line 207) | type TimeSeriesPoint struct type Database (line 214) | type Database interface type Creator (line 240) | type Creator function Register (line 245) | func Register(prefixes []string, creator Creator) { function Open (line 252) | func Open(path, tablePrefix string, opts ...storage.Option) (Database, e... FILE: storage/cache/database_test.go type baseTestSuite (line 35) | type baseTestSuite struct method TearDownSuite (line 40) | func (suite *baseTestSuite) TearDownSuite() { method SetupTest (line 45) | func (suite *baseTestSuite) SetupTest() { method TearDownTest (line 52) | func (suite *baseTestSuite) TearDownTest() { method TestInit (line 57) | func (suite *baseTestSuite) TestInit() { method TestMeta (line 62) | func (suite *baseTestSuite) TestMeta() { method TestExists (line 108) | func (suite *baseTestSuite) TestExists() { method TestScan (line 154) | func (suite *baseTestSuite) TestScan() { method TestPurge (line 168) | func (suite *baseTestSuite) TestPurge() { method TestPushPop (line 189) | func (suite *baseTestSuite) TestPushPop() { method TestDocument (line 228) | func (suite *baseTestSuite) TestDocument() { method TestSubsetDocument (line 359) | func (suite *baseTestSuite) TestSubsetDocument() { method TestScanScores (line 465) | func (suite *baseTestSuite) TestScanScores() { method TestTimeSeries (line 516) | func (suite *baseTestSuite) TestTimeSeries() { method TestTimestampPrecision (line 545) | func (suite *baseTestSuite) TestTimestampPrecision() { function TestKey (line 564) | func TestKey(t *testing.T) { function init (line 576) | func init() { function primeFactor (line 584) | func primeFactor(n int) []int { function benchmark (line 594) | func benchmark(b *testing.B, database Database) { function benchmarkAddDocuments (line 606) | func benchmarkAddDocuments(b *testing.B, database Database) { function benchmarkSearchDocuments (line 622) | func benchmarkSearchDocuments(b *testing.B, database Database) { function benchmarkUpdateDocuments (line 648) | func benchmarkUpdateDocuments(b *testing.B, database Database) { FILE: storage/cache/mongodb.go function init (line 31) | func init() { type MongoDB (line 53) | type MongoDB struct method Init (line 59) | func (m MongoDB) Init() error { method Close (line 135) | func (m MongoDB) Close() error { method Ping (line 139) | func (m MongoDB) Ping() error { method Scan (line 143) | func (m MongoDB) Scan(work func(string) error) error { method Purge (line 166) | func (m MongoDB) Purge() error { method Set (line 178) | func (m MongoDB) Set(ctx context.Context, values ...Value) error { method Get (line 194) | func (m MongoDB) Get(ctx context.Context, name string) *ReturnValue { method Delete (line 209) | func (m MongoDB) Delete(ctx context.Context, name string) error { method Push (line 215) | func (m MongoDB) Push(ctx context.Context, name, value string) error { method Pop (line 223) | func (m MongoDB) Pop(ctx context.Context, name string) (string, error) { method Remain (line 238) | func (m MongoDB) Remain(ctx context.Context, name string) (int64, erro... method AddScores (line 244) | func (m MongoDB) AddScores(ctx context.Context, collection, subset str... method SearchScores (line 268) | func (m MongoDB) SearchScores(ctx context.Context, collection, subset ... method UpdateScores (line 296) | func (m MongoDB) UpdateScores(ctx context.Context, collections []strin... method DeleteScores (line 324) | func (m MongoDB) DeleteScores(ctx context.Context, collections []strin... method ScanScores (line 342) | func (m MongoDB) ScanScores(ctx context.Context, callback func(collect... method AddTimeSeriesPoints (line 367) | func (m MongoDB) AddTimeSeriesPoints(ctx context.Context, points []Tim... method GetTimeSeriesPoints (line 384) | func (m MongoDB) GetTimeSeriesPoints(ctx context.Context, name string,... FILE: storage/cache/mongodb_test.go function init (line 30) | func init() { type MongoTestSuite (line 41) | type MongoTestSuite struct method SetupSuite (line 45) | func (suite *MongoTestSuite) SetupSuite() { method getMongoDB (line 67) | func (suite *MongoTestSuite) getMongoDB() *MongoDB { function TestMongo (line 75) | func TestMongo(t *testing.T) { function BenchmarkMongo (line 79) | func BenchmarkMongo(b *testing.B) { FILE: storage/cache/no_database.go type NoDatabase (line 23) | type NoDatabase struct method Close (line 26) | func (NoDatabase) Close() error { method Ping (line 30) | func (NoDatabase) Ping() error { method Init (line 35) | func (NoDatabase) Init() error { method Scan (line 39) | func (NoDatabase) Scan(_ func(string) error) error { method Purge (line 43) | func (NoDatabase) Purge() error { method Set (line 47) | func (NoDatabase) Set(_ context.Context, _ ...Value) error { method Get (line 52) | func (NoDatabase) Get(_ context.Context, _ string) *ReturnValue { method Delete (line 57) | func (NoDatabase) Delete(_ context.Context, _ string) error { method Push (line 61) | func (NoDatabase) Push(_ context.Context, _, _ string) error { method Pop (line 65) | func (NoDatabase) Pop(_ context.Context, _ string) (string, error) { method Remain (line 69) | func (NoDatabase) Remain(_ context.Context, _ string) (int64, error) { method AddScores (line 73) | func (NoDatabase) AddScores(_ context.Context, _, _ string, _ []Score)... method SearchScores (line 77) | func (NoDatabase) SearchScores(_ context.Context, _, _ string, _ []str... method UpdateScores (line 81) | func (NoDatabase) UpdateScores(context.Context, []string, *string, str... method DeleteScores (line 85) | func (NoDatabase) DeleteScores(_ context.Context, _ []string, _ ScoreC... method ScanScores (line 89) | func (NoDatabase) ScanScores(context.Context, func(collection, id, sub... method AddTimeSeriesPoints (line 93) | func (NoDatabase) AddTimeSeriesPoints(_ context.Context, _ []TimeSerie... method GetTimeSeriesPoints (line 97) | func (NoDatabase) GetTimeSeriesPoints(_ context.Context, _ string, _, ... FILE: storage/cache/no_database_test.go function TestNoDatabase (line 24) | func TestNoDatabase(t *testing.T) { FILE: storage/cache/proxy.go type ProxyServer (line 32) | type ProxyServer struct method Serve (line 42) | func (p *ProxyServer) Serve(lis net.Listener) error { method Stop (line 48) | func (p *ProxyServer) Stop() { method Ping (line 52) | func (p *ProxyServer) Ping(context.Context, *protocol.PingRequest) (*p... method Get (line 56) | func (p *ProxyServer) Get(ctx context.Context, request *protocol.GetRe... method Set (line 64) | func (p *ProxyServer) Set(ctx context.Context, request *protocol.SetRe... method Delete (line 75) | func (p *ProxyServer) Delete(ctx context.Context, request *protocol.De... method Push (line 79) | func (p *ProxyServer) Push(ctx context.Context, request *protocol.Push... method Pop (line 83) | func (p *ProxyServer) Pop(ctx context.Context, request *protocol.PopRe... method Remain (line 94) | func (p *ProxyServer) Remain(ctx context.Context, request *protocol.Re... method AddScores (line 102) | func (p *ProxyServer) AddScores(ctx context.Context, request *protocol... method SearchScores (line 116) | func (p *ProxyServer) SearchScores(ctx context.Context, request *proto... method DeleteScores (line 134) | func (p *ProxyServer) DeleteScores(ctx context.Context, request *proto... method UpdateScores (line 146) | func (p *ProxyServer) UpdateScores(ctx context.Context, request *proto... method ScanScores (line 154) | func (p *ProxyServer) ScanScores(request *protocol.ScanScoresRequest, ... method AddTimeSeriesPoints (line 169) | func (p *ProxyServer) AddTimeSeriesPoints(ctx context.Context, request... method GetTimeSeriesPoints (line 181) | func (p *ProxyServer) GetTimeSeriesPoints(ctx context.Context, request... function NewProxyServer (line 38) | func NewProxyServer(database Database) *ProxyServer { type ProxyClient (line 197) | type ProxyClient struct method Ping (line 201) | func (p ProxyClient) Ping() error { method Close (line 206) | func (p ProxyClient) Close() error { method Init (line 210) | func (p ProxyClient) Init() error { method Scan (line 214) | func (p ProxyClient) Scan(_ func(string) error) error { method Purge (line 218) | func (p ProxyClient) Purge() error { method Set (line 222) | func (p ProxyClient) Set(ctx context.Context, values ...Value) error { method Get (line 236) | func (p ProxyClient) Get(ctx context.Context, name string) *ReturnValue { method Delete (line 249) | func (p ProxyClient) Delete(ctx context.Context, name string) error { method Push (line 256) | func (p ProxyClient) Push(ctx context.Context, name, value string) err... method Pop (line 264) | func (p ProxyClient) Pop(ctx context.Context, name string) (string, er... method Remain (line 277) | func (p ProxyClient) Remain(ctx context.Context, name string) (int64, ... method AddScores (line 287) | func (p ProxyClient) AddScores(ctx context.Context, collection, subset... method SearchScores (line 306) | func (p ProxyClient) SearchScores(ctx context.Context, collection, sub... method DeleteScores (line 330) | func (p ProxyClient) DeleteScores(ctx context.Context, collection []st... method UpdateScores (line 349) | func (p ProxyClient) UpdateScores(ctx context.Context, collection []st... method ScanScores (line 363) | func (p ProxyClient) ScanScores(ctx context.Context, callback func(col... method AddTimeSeriesPoints (line 389) | func (p ProxyClient) AddTimeSeriesPoints(ctx context.Context, points [... method GetTimeSeriesPoints (line 404) | func (p ProxyClient) GetTimeSeriesPoints(ctx context.Context, name str... function NewProxyClient (line 425) | func NewProxyClient(conn *grpc.ClientConn) *ProxyClient { FILE: storage/cache/proxy_test.go type ProxyTestSuite (line 26) | type ProxyTestSuite struct method SetupSuite (line 33) | func (suite *ProxyTestSuite) SetupSuite() { method TearDownSuite (line 56) | func (suite *ProxyTestSuite) TearDownSuite() { method SetupTest (line 62) | func (suite *ProxyTestSuite) SetupTest() { method TearDownTest (line 69) | func (suite *ProxyTestSuite) TearDownTest() { method TestInit (line 74) | func (suite *ProxyTestSuite) TestInit() { method TestPurge (line 78) | func (suite *ProxyTestSuite) TestPurge() { method TestScan (line 82) | func (suite *ProxyTestSuite) TestScan() { function TestProxy (line 86) | func TestProxy(t *testing.T) { FILE: storage/cache/redis.go function init (line 37) | func init() { type Redis (line 79) | type Redis struct method Close (line 86) | func (r *Redis) Close() error { method Ping (line 90) | func (r *Redis) Ping() error { method Init (line 95) | func (r *Redis) Init() error { method Scan (line 123) | func (r *Redis) Scan(work func(string) error) error { method scan (line 134) | func (r *Redis) scan(ctx context.Context, client redis.UniversalClient... method Purge (line 156) | func (r *Redis) Purge() error { method purge (line 167) | func (r *Redis) purge(ctx context.Context, client redis.UniversalClien... method Set (line 201) | func (r *Redis) Set(ctx context.Context, values ...Value) error { method Get (line 213) | func (r *Redis) Get(ctx context.Context, key string) *ReturnValue { method Delete (line 225) | func (r *Redis) Delete(ctx context.Context, key string) error { method Push (line 229) | func (r *Redis) Push(ctx context.Context, name string, message string)... method Pop (line 234) | func (r *Redis) Pop(ctx context.Context, name string) (string, error) { method Remain (line 245) | func (r *Redis) Remain(ctx context.Context, name string) (int64, error) { method documentKey (line 249) | func (r *Redis) documentKey(collection, subset, value string) string { method AddScores (line 253) | func (r *Redis) AddScores(ctx context.Context, collection, subset stri... method SearchScores (line 269) | func (r *Redis) SearchScores(ctx context.Context, collection, subset s... method UpdateScores (line 320) | func (r *Redis) UpdateScores(ctx context.Context, collections []string... method DeleteScores (line 400) | func (r *Redis) DeleteScores(ctx context.Context, collections []string... method ScanScores (line 442) | func (r *Redis) ScanScores(ctx context.Context, callback func(collecti... method scanScores (line 452) | func (r *Redis) scanScores(ctx context.Context, client redis.Universal... method AddTimeSeriesPoints (line 484) | func (r *Redis) AddTimeSeriesPoints(ctx context.Context, points []Time... method GetTimeSeriesPoints (line 496) | func (r *Redis) GetTimeSeriesPoints(ctx context.Context, name string, ... function encodeCategory (line 513) | func encodeCategory(category string) string { function decodeCategory (line 517) | func decodeCategory(s string) (string, error) { function encodeCategories (line 525) | func encodeCategories(categories []string) string { function decodeCategories (line 536) | func decodeCategories(s string) ([]string, error) { function escape (line 552) | func escape(s string) string { FILE: storage/cache/redis_test.go function init (line 35) | func init() { type RedisTestSuite (line 46) | type RedisTestSuite struct method SetupSuite (line 50) | func (suite *RedisTestSuite) SetupSuite() { method TestEscapeCharacters (line 71) | func (suite *RedisTestSuite) TestEscapeCharacters() { method TestUpdateScoresWithPagination (line 108) | func (suite *RedisTestSuite) TestUpdateScoresWithPagination() { method TestUpdateScoresWithPaginationAndScorePatch (line 143) | func (suite *RedisTestSuite) TestUpdateScoresWithPaginationAndScorePat... method TestUpdateScoresWithPaginationAndTiedScores (line 180) | func (suite *RedisTestSuite) TestUpdateScoresWithPaginationAndTiedScor... function TestRedis (line 215) | func TestRedis(t *testing.T) { function TestEncodeDecodeCategories (line 219) | func TestEncodeDecodeCategories(t *testing.T) { function BenchmarkRedis (line 231) | func BenchmarkRedis(b *testing.B) { FILE: storage/cache/sql.go function init (line 43) | func init() { type SQLDriver (line 123) | type SQLDriver constant MySQL (line 126) | MySQL SQLDriver = iota constant Postgres (line 127) | Postgres constant SQLite (line 128) | SQLite type SQLValue (line 131) | type SQLValue struct type Message (line 136) | type Message struct type PostgresDocument (line 142) | type PostgresDocument struct type SQLDocument (line 152) | type SQLDocument struct type SQLDatabase (line 162) | type SQLDatabase struct method Close (line 169) | func (db *SQLDatabase) Close() error { method Ping (line 173) | func (db *SQLDatabase) Ping() error { method Init (line 177) | func (db *SQLDatabase) Init() error { method Scan (line 231) | func (db *SQLDatabase) Scan(work func(string) error) error { method Purge (line 256) | func (db *SQLDatabase) Purge() error { method Set (line 267) | func (db *SQLDatabase) Set(ctx context.Context, values ...Value) error { method Get (line 289) | func (db *SQLDatabase) Get(ctx context.Context, name string) *ReturnVa... method Delete (line 306) | func (db *SQLDatabase) Delete(ctx context.Context, name string) error { method Push (line 311) | func (db *SQLDatabase) Push(ctx context.Context, name, value string) e... method Pop (line 322) | func (db *SQLDatabase) Pop(ctx context.Context, name string) (string, ... method Remain (line 339) | func (db *SQLDatabase) Remain(ctx context.Context, name string) (count... method AddScores (line 344) | func (db *SQLDatabase) AddScores(ctx context.Context, collection, subs... method SearchScores (line 379) | func (db *SQLDatabase) SearchScores(ctx context.Context, collection, s... method UpdateScores (line 432) | func (db *SQLDatabase) UpdateScores(ctx context.Context, collections [... method DeleteScores (line 466) | func (db *SQLDatabase) DeleteScores(ctx context.Context, collections [... method ScanScores (line 494) | func (db *SQLDatabase) ScanScores(ctx context.Context, callback func(c... method AddTimeSeriesPoints (line 513) | func (db *SQLDatabase) AddTimeSeriesPoints(ctx context.Context, points... method GetTimeSeriesPoints (line 523) | func (db *SQLDatabase) GetTimeSeriesPoints(ctx context.Context, name s... FILE: storage/cache/sql_test.go function init (line 35) | func init() { type PostgresTestSuite (line 47) | type PostgresTestSuite struct method SetupSuite (line 51) | func (suite *PostgresTestSuite) SetupSuite() { function TestPostgres (line 71) | func TestPostgres(t *testing.T) { type MySQLTestSuite (line 75) | type MySQLTestSuite struct method SetupSuite (line 79) | func (suite *MySQLTestSuite) SetupSuite() { method TestInit (line 98) | func (suite *MySQLTestSuite) TestInit() { function TestMySQL (line 108) | func TestMySQL(t *testing.T) { type SQLiteTestSuite (line 112) | type SQLiteTestSuite struct method SetupSuite (line 116) | func (suite *SQLiteTestSuite) SetupSuite() { method TearDownSuite (line 127) | func (suite *SQLiteTestSuite) TearDownSuite() { function TestSQLite (line 131) | func TestSQLite(t *testing.T) { function assertQuery (line 135) | func assertQuery(t *testing.T, connection *sql.DB, sql string, expected ... function BenchmarkPostgres (line 145) | func BenchmarkPostgres(b *testing.B) { function BenchmarkMySQL (line 170) | func BenchmarkMySQL(b *testing.B) { function BenchmarkSQLite (line 192) | func BenchmarkSQLite(b *testing.B) { FILE: storage/data/database.go function ValidateLabels (line 41) | func ValidateLabels(o any) error { type Item (line 82) | type Item struct type ItemPatch (line 92) | type ItemPatch struct type User (line 101) | type User struct type UserPatch (line 108) | type UserPatch struct type FeedbackKey (line 114) | type FeedbackKey struct type Feedback (line 121) | type Feedback struct type UserFeedback (line 129) | type UserFeedback type ItemFeedback (line 131) | type ItemFeedback function SortFeedbacks (line 134) | func SortFeedbacks(feedback []Feedback) { type feedbackSorter (line 138) | type feedbackSorter method Len (line 140) | func (sorter feedbackSorter) Len() int { method Less (line 144) | func (sorter feedbackSorter) Less(i, j int) bool { method Swap (line 148) | func (sorter feedbackSorter) Swap(i, j int) { type ScanOptions (line 152) | type ScanOptions struct type ScanOption (line 163) | type ScanOption function WithBeginUserId (line 166) | func WithBeginUserId(userId string) ScanOption { function WithEndUserId (line 173) | func WithEndUserId(userId string) ScanOption { function WithBeginItemId (line 180) | func WithBeginItemId(itemId string) ScanOption { function WithEndItemId (line 187) | func WithEndItemId(itemId string) ScanOption { function WithBeginTime (line 194) | func WithBeginTime(t time.Time) ScanOption { function WithEndTime (line 201) | func WithEndTime(t time.Time) ScanOption { function WithFeedbackTypes (line 208) | func WithFeedbackTypes(feedbackTypes ...expression.FeedbackTypeExpressio... function WithOrderByItemId (line 215) | func WithOrderByItemId() ScanOption { function NewScanOptions (line 221) | func NewScanOptions(opts ...ScanOption) ScanOptions { type Database (line 231) | type Database interface type Creator (line 264) | type Creator function Register (line 269) | func Register(prefixes []string, creator Creator) { function Open (line 276) | func Open(path, tablePrefix string, opts ...storage.Option) (Database, e... FILE: storage/data/database_test.go type baseTestSuite (line 44) | type baseTestSuite struct method getUsers (line 49) | func (suite *baseTestSuite) getUsers(ctx context.Context, batchSize in... method getUsersStream (line 67) | func (suite *baseTestSuite) getUsersStream(ctx context.Context, batchS... method getItems (line 77) | func (suite *baseTestSuite) getItems(ctx context.Context, batchSize in... method getItemStream (line 95) | func (suite *baseTestSuite) getItemStream(ctx context.Context, batchSi... method getFeedback (line 105) | func (suite *baseTestSuite) getFeedback(ctx context.Context, batchSize... method getFeedbackStream (line 123) | func (suite *baseTestSuite) getFeedbackStream(ctx context.Context, bat... method isClickHouse (line 133) | func (suite *baseTestSuite) isClickHouse() bool { method analyzeTables (line 141) | func (suite *baseTestSuite) analyzeTables() { method TearDownSuite (line 154) | func (suite *baseTestSuite) TearDownSuite() { method SetupTest (line 159) | func (suite *baseTestSuite) SetupTest() { method TearDownTest (line 166) | func (suite *baseTestSuite) TearDownTest() { method TestInit (line 171) | func (suite *baseTestSuite) TestInit() { method TestUsers (line 176) | func (suite *baseTestSuite) TestUsers() { method TestFeedback (line 247) | func (suite *baseTestSuite) TestFeedback() { method TestItems (line 480) | func (suite *baseTestSuite) TestItems() { method TestDeleteUser (line 607) | func (suite *baseTestSuite) TestDeleteUser() { method TestDeleteItem (line 632) | func (suite *baseTestSuite) TestDeleteItem() { method TestDeleteFeedback (line 657) | func (suite *baseTestSuite) TestDeleteFeedback() { method TestTimeLimit (line 704) | func (suite *baseTestSuite) TestTimeLimit() { method TestTimezone (line 769) | func (suite *baseTestSuite) TestTimezone() { method TestCollation (line 850) | func (suite *baseTestSuite) TestCollation() { method TestPurge (line 863) | func (suite *baseTestSuite) TestPurge() { function TestSortFeedbacks (line 900) | func TestSortFeedbacks(t *testing.T) { function TestValidateLabels (line 914) | func TestValidateLabels(t *testing.T) { function benchmarkCountItems (line 930) | func benchmarkCountItems(b *testing.B, db Database) { FILE: storage/data/mongodb.go function init (line 35) | func init() { function feedbackKeyFromString (line 57) | func feedbackKeyFromString(s string) (*FeedbackKey, error) { method toString (line 63) | func (k *FeedbackKey) toString() (string, error) { function unpack (line 68) | func unpack(o any) any { function FeedbackTypeExpressionToMongo (line 86) | func FeedbackTypeExpressionToMongo(e expression.FeedbackTypeExpression) ... type MongoDB (line 102) | type MongoDB struct method Optimize (line 109) | func (db *MongoDB) Optimize() error { method Init (line 114) | func (db *MongoDB) Init() error { method Ping (line 204) | func (db *MongoDB) Ping() error { method Close (line 209) | func (db *MongoDB) Close() error { method Purge (line 213) | func (db *MongoDB) Purge() error { method BatchInsertItems (line 226) | func (db *MongoDB) BatchInsertItems(ctx context.Context, items []Item)... method BatchGetItems (line 242) | func (db *MongoDB) BatchGetItems(ctx context.Context, itemIds []string... method ModifyItem (line 265) | func (db *MongoDB) ModifyItem(ctx context.Context, itemId string, patc... method DeleteItem (line 290) | func (db *MongoDB) DeleteItem(ctx context.Context, itemId string) error { method GetItem (line 304) | func (db *MongoDB) GetItem(ctx context.Context, itemId string) (item I... method GetItems (line 317) | func (db *MongoDB) GetItems(ctx context.Context, cursor string, n int,... method GetLatestItems (line 354) | func (db *MongoDB) GetLatestItems(ctx context.Context, n int, categori... method GetItemStream (line 381) | func (db *MongoDB) GetItemStream(ctx context.Context, batchSize int, t... method GetItemFeedback (line 425) | func (db *MongoDB) GetItemFeedback(ctx context.Context, itemId string,... method BatchInsertUsers (line 459) | func (db *MongoDB) BatchInsertUsers(ctx context.Context, users []User)... method ModifyUser (line 476) | func (db *MongoDB) ModifyUser(ctx context.Context, userId string, patc... method DeleteUser (line 492) | func (db *MongoDB) DeleteUser(ctx context.Context, userId string) error { method GetUser (line 506) | func (db *MongoDB) GetUser(ctx context.Context, userId string) (user U... method GetUsers (line 519) | func (db *MongoDB) GetUsers(ctx context.Context, cursor string, n int)... method GetUserStream (line 552) | func (db *MongoDB) GetUserStream(ctx context.Context, batchSize int) (... method GetUserFeedback (line 591) | func (db *MongoDB) GetUserFeedback(ctx context.Context, userId string,... method BatchInsertFeedback (line 625) | func (db *MongoDB) BatchInsertFeedback(ctx context.Context, feedback [... method GetFeedback (line 734) | func (db *MongoDB) GetFeedback(ctx context.Context, cursor string, n i... method GetFeedbackStream (line 796) | func (db *MongoDB) GetFeedbackStream(ctx context.Context, batchSize in... method GetUserItemFeedback (line 880) | func (db *MongoDB) GetUserItemFeedback(ctx context.Context, userId, it... method DeleteUserItemFeedback (line 912) | func (db *MongoDB) DeleteUserItemFeedback(ctx context.Context, userId,... method CountUsers (line 928) | func (db *MongoDB) CountUsers(ctx context.Context) (int, error) { method CountItems (line 933) | func (db *MongoDB) CountItems(ctx context.Context) (int, error) { method CountFeedback (line 938) | func (db *MongoDB) CountFeedback(ctx context.Context) (int, error) { FILE: storage/data/mongodb_test.go function init (line 28) | func init() { type MongoTestSuite (line 39) | type MongoTestSuite struct method SetupSuite (line 43) | func (suite *MongoTestSuite) SetupSuite() { method getMongoDB (line 64) | func (suite *MongoTestSuite) getMongoDB() *MongoDB { function TestMongo (line 72) | func TestMongo(t *testing.T) { function BenchmarkMongo_CountItems (line 76) | func BenchmarkMongo_CountItems(b *testing.B) { FILE: storage/data/no_database.go type NoDatabase (line 25) | type NoDatabase struct method Optimize (line 28) | func (NoDatabase) Optimize() error { method Init (line 33) | func (NoDatabase) Init() error { method Ping (line 37) | func (NoDatabase) Ping() error { method Close (line 42) | func (NoDatabase) Close() error { method Purge (line 46) | func (NoDatabase) Purge() error { method BatchInsertItems (line 51) | func (NoDatabase) BatchInsertItems(_ context.Context, _ []Item) error { method BatchGetItems (line 56) | func (NoDatabase) BatchGetItems(_ context.Context, _ []string) ([]Item... method DeleteItem (line 61) | func (NoDatabase) DeleteItem(_ context.Context, _ string) error { method GetItem (line 66) | func (NoDatabase) GetItem(_ context.Context, _ string) (Item, error) { method GetItems (line 71) | func (NoDatabase) GetItems(_ context.Context, _ string, _ int, _ *time... method GetLatestItems (line 76) | func (NoDatabase) GetLatestItems(_ context.Context, _ int, _ []string)... method GetItemStream (line 81) | func (NoDatabase) GetItemStream(_ context.Context, _ int, _ *time.Time... method GetItemFeedback (line 93) | func (NoDatabase) GetItemFeedback(_ context.Context, _ string, _ ...st... method BatchInsertUsers (line 98) | func (NoDatabase) BatchInsertUsers(_ context.Context, _ []User) error { method DeleteUser (line 103) | func (NoDatabase) DeleteUser(_ context.Context, _ string) error { method GetUser (line 108) | func (NoDatabase) GetUser(_ context.Context, _ string) (User, error) { method GetUsers (line 113) | func (NoDatabase) GetUsers(_ context.Context, _ string, _ int) (string... method GetUserStream (line 118) | func (NoDatabase) GetUserStream(_ context.Context, _ int) (chan []User... method GetUserFeedback (line 130) | func (NoDatabase) GetUserFeedback(context.Context, string, *time.Time,... method GetUserItemFeedback (line 135) | func (NoDatabase) GetUserItemFeedback(_ context.Context, _, _ string, ... method DeleteUserItemFeedback (line 140) | func (NoDatabase) DeleteUserItemFeedback(_ context.Context, _, _ strin... method BatchInsertFeedback (line 145) | func (NoDatabase) BatchInsertFeedback(_ context.Context, _ []Feedback,... method GetFeedback (line 150) | func (NoDatabase) GetFeedback(_ context.Context, _ string, _ int, _, _... method GetFeedbackStream (line 155) | func (NoDatabase) GetFeedbackStream(_ context.Context, _ int, _ ...Sca... method ModifyItem (line 166) | func (d NoDatabase) ModifyItem(_ context.Context, _ string, _ ItemPatc... method ModifyUser (line 170) | func (d NoDatabase) ModifyUser(_ context.Context, _ string, _ UserPatc... method CountUsers (line 174) | func (d NoDatabase) CountUsers(_ context.Context) (int, error) { method CountItems (line 178) | func (d NoDatabase) CountItems(_ context.Context) (int, error) { method CountFeedback (line 182) | func (d NoDatabase) CountFeedback(_ context.Context) (int, error) { FILE: storage/data/no_database_test.go function TestNoDatabase (line 25) | func TestNoDatabase(t *testing.T) { FILE: storage/data/proxy.go type ProxyServer (line 32) | type ProxyServer struct method Serve (line 42) | func (p *ProxyServer) Serve(lis net.Listener) error { method Stop (line 48) | func (p *ProxyServer) Stop() { method Ping (line 52) | func (p *ProxyServer) Ping(_ context.Context, _ *protocol.PingRequest)... method BatchInsertItems (line 56) | func (p *ProxyServer) BatchInsertItems(ctx context.Context, in *protoc... method BatchGetItems (line 77) | func (p *ProxyServer) BatchGetItems(ctx context.Context, in *protocol.... method DeleteItem (line 100) | func (p *ProxyServer) DeleteItem(ctx context.Context, in *protocol.Del... method GetItem (line 105) | func (p *ProxyServer) GetItem(ctx context.Context, in *protocol.GetIte... method ModifyItem (line 129) | func (p *ProxyServer) ModifyItem(ctx context.Context, in *protocol.Mod... method GetItems (line 151) | func (p *ProxyServer) GetItems(ctx context.Context, in *protocol.GetIt... method GetItemFeedback (line 178) | func (p *ProxyServer) GetItemFeedback(ctx context.Context, in *protoco... method BatchInsertUsers (line 202) | func (p *ProxyServer) BatchInsertUsers(ctx context.Context, in *protoc... method DeleteUser (line 220) | func (p *ProxyServer) DeleteUser(ctx context.Context, in *protocol.Del... method GetUser (line 225) | func (p *ProxyServer) GetUser(ctx context.Context, in *protocol.GetUse... method ModifyUser (line 246) | func (p *ProxyServer) ModifyUser(ctx context.Context, in *protocol.Mod... method GetUsers (line 261) | func (p *ProxyServer) GetUsers(ctx context.Context, in *protocol.GetUs... method GetUserFeedback (line 281) | func (p *ProxyServer) GetUserFeedback(ctx context.Context, in *protoco... method GetUserItemFeedback (line 309) | func (p *ProxyServer) GetUserItemFeedback(ctx context.Context, in *pro... method DeleteUserItemFeedback (line 333) | func (p *ProxyServer) DeleteUserItemFeedback(ctx context.Context, in *... method BatchInsertFeedback (line 338) | func (p *ProxyServer) BatchInsertFeedback(ctx context.Context, in *pro... method GetFeedback (line 356) | func (p *ProxyServer) GetFeedback(ctx context.Context, in *protocol.Ge... method GetUserStream (line 387) | func (p *ProxyServer) GetUserStream(in *protocol.GetUserStreamRequest,... method GetItemStream (line 410) | func (p *ProxyServer) GetItemStream(in *protocol.GetItemStreamRequest,... method GetFeedbackStream (line 440) | func (p *ProxyServer) GetFeedbackStream(in *protocol.GetFeedbackStream... method CountUsers (line 492) | func (p *ProxyServer) CountUsers(ctx context.Context, in *protocol.Cou... method CountItems (line 497) | func (p *ProxyServer) CountItems(ctx context.Context, in *protocol.Cou... method CountFeedback (line 502) | func (p *ProxyServer) CountFeedback(ctx context.Context, in *protocol.... method GetLatestItems (line 507) | func (p *ProxyServer) GetLatestItems(ctx context.Context, in *protocol... function NewProxyServer (line 38) | func NewProxyServer(database Database) *ProxyServer { type ProxyClient (line 530) | type ProxyClient struct method Init (line 540) | func (p ProxyClient) Init() error { method Ping (line 544) | func (p ProxyClient) Ping() error { method Close (line 549) | func (p ProxyClient) Close() error { method Optimize (line 553) | func (p ProxyClient) Optimize() error { method Purge (line 557) | func (p ProxyClient) Purge() error { method BatchInsertItems (line 561) | func (p ProxyClient) BatchInsertItems(ctx context.Context, items []Ite... method BatchGetItems (line 581) | func (p ProxyClient) BatchGetItems(ctx context.Context, itemIds []stri... method DeleteItem (line 605) | func (p ProxyClient) DeleteItem(ctx context.Context, itemId string) er... method GetItem (line 610) | func (p ProxyClient) GetItem(ctx context.Context, itemId string) (Item... method GetLatestItems (line 632) | func (p ProxyClient) GetLatestItems(ctx context.Context, n int, catego... method ModifyItem (line 655) | func (p ProxyClient) ModifyItem(ctx context.Context, itemId string, pa... method GetItems (line 681) | func (p ProxyClient) GetItems(ctx context.Context, cursor string, n in... method GetItemFeedback (line 709) | func (p ProxyClient) GetItemFeedback(ctx context.Context, itemId strin... method BatchInsertUsers (line 738) | func (p ProxyClient) BatchInsertUsers(ctx context.Context, users []Use... method DeleteUser (line 755) | func (p ProxyClient) DeleteUser(ctx context.Context, userId string) er... method GetUser (line 760) | func (p ProxyClient) GetUser(ctx context.Context, userId string) (User... method ModifyUser (line 779) | func (p ProxyClient) ModifyUser(ctx context.Context, userId string, pa... method GetUsers (line 798) | func (p ProxyClient) GetUsers(ctx context.Context, cursor string, n in... method GetUserFeedback (line 819) | func (p ProxyClient) GetUserFeedback(ctx context.Context, userId strin... method GetUserItemFeedback (line 852) | func (p ProxyClient) GetUserItemFeedback(ctx context.Context, userId, ... method DeleteUserItemFeedback (line 882) | func (p ProxyClient) DeleteUserItemFeedback(ctx context.Context, userI... method BatchInsertFeedback (line 894) | func (p ProxyClient) BatchInsertFeedback(ctx context.Context, feedback... method GetFeedback (line 915) | func (p ProxyClient) GetFeedback(ctx context.Context, cursor string, n... method GetUserStream (line 954) | func (p ProxyClient) GetUserStream(ctx context.Context, batchSize int)... method GetItemStream (line 993) | func (p ProxyClient) GetItemStream(ctx context.Context, batchSize int,... method GetFeedbackStream (line 1035) | func (p ProxyClient) GetFeedbackStream(ctx context.Context, batchSize ... method CountUsers (line 1103) | func (p ProxyClient) CountUsers(ctx context.Context) (int, error) { method CountItems (line 1111) | func (p ProxyClient) CountItems(ctx context.Context) (int, error) { method CountFeedback (line 1119) | func (p ProxyClient) CountFeedback(ctx context.Context) (int, error) { function NewProxyClient (line 534) | func NewProxyClient(conn *grpc.ClientConn) *ProxyClient { FILE: storage/data/proxy_test.go type ProxyTestSuite (line 26) | type ProxyTestSuite struct method SetupSuite (line 33) | func (suite *ProxyTestSuite) SetupSuite() { method TearDownSuite (line 56) | func (suite *ProxyTestSuite) TearDownSuite() { method SetupTest (line 62) | func (suite *ProxyTestSuite) SetupTest() { method TearDownTest (line 69) | func (suite *ProxyTestSuite) TearDownTest() { method TestInit (line 74) | func (suite *ProxyTestSuite) TestInit() { method TestPurge (line 78) | func (suite *ProxyTestSuite) TestPurge() { function TestProxy (line 82) | func TestProxy(t *testing.T) { FILE: storage/data/sql.go constant bufSize (line 47) | bufSize = 1 function init (line 49) | func init() { type SQLDriver (line 157) | type SQLDriver constant MySQL (line 160) | MySQL SQLDriver = iota constant Postgres (line 161) | Postgres constant ClickHouse (line 162) | ClickHouse constant SQLite (line 163) | SQLite type SQLItem (line 166) | type SQLItem struct function NewSQLItem (line 175) | func NewSQLItem(item Item) (sqlItem SQLItem) { type SQLUser (line 188) | type SQLUser struct function NewSQLUser (line 194) | func NewSQLUser(user User) (sqlUser SQLUser) { type ClickHouseItem (line 203) | type ClickHouseItem struct function NewClickHouseItem (line 208) | func NewClickHouseItem(item Item) (clickHouseItem ClickHouseItem) { type ClickhouseUser (line 215) | type ClickhouseUser struct function NewClickhouseUser (line 220) | func NewClickhouseUser(user User) (clickhouseUser ClickhouseUser) { function FeedbackTypeExpressionToSQL (line 226) | func FeedbackTypeExpressionToSQL(db *gorm.DB, e expression.FeedbackTypeE... type SQLDatabase (line 242) | type SQLDatabase struct method Optimize (line 250) | func (d *SQLDatabase) Optimize() error { method Init (line 264) | func (d *SQLDatabase) Init() error { method Ping (line 458) | func (d *SQLDatabase) Ping() error { method Close (line 463) | func (d *SQLDatabase) Close() error { method Purge (line 467) | func (d *SQLDatabase) Purge() error { method BatchInsertItems (line 489) | func (d *SQLDatabase) BatchInsertItems(ctx context.Context, items []It... method BatchGetItems (line 525) | func (d *SQLDatabase) BatchGetItems(ctx context.Context, itemIds []str... method DeleteItem (line 549) | func (d *SQLDatabase) DeleteItem(ctx context.Context, itemId string) e... method GetItem (line 568) | func (d *SQLDatabase) GetItem(ctx context.Context, itemId string) (Ite... method ModifyItem (line 590) | func (d *SQLDatabase) ModifyItem(ctx context.Context, itemId string, p... method GetItems (line 628) | func (d *SQLDatabase) GetItems(ctx context.Context, cursor string, n i... method GetLatestItems (line 663) | func (d *SQLDatabase) GetLatestItems(ctx context.Context, n int, categ... method GetItemStream (line 705) | func (d *SQLDatabase) GetItemStream(ctx context.Context, batchSize int... method GetItemFeedback (line 747) | func (d *SQLDatabase) GetItemFeedback(ctx context.Context, itemId stri... method BatchInsertUsers (line 790) | func (d *SQLDatabase) BatchInsertUsers(ctx context.Context, users []Us... method DeleteUser (line 823) | func (d *SQLDatabase) DeleteUser(ctx context.Context, userId string) e... method GetUser (line 842) | func (d *SQLDatabase) GetUser(ctx context.Context, userId string) (Use... method ModifyUser (line 863) | func (d *SQLDatabase) ModifyUser(ctx context.Context, userId string, p... method GetUsers (line 882) | func (d *SQLDatabase) GetUsers(ctx context.Context, cursor string, n i... method GetUserStream (line 914) | func (d *SQLDatabase) GetUserStream(ctx context.Context, batchSize int... method GetUserFeedback (line 950) | func (d *SQLDatabase) GetUserFeedback(ctx context.Context, userId stri... method BatchInsertFeedback (line 1000) | func (d *SQLDatabase) BatchInsertFeedback(ctx context.Context, feedbac... method GetFeedback (line 1172) | func (d *SQLDatabase) GetFeedback(ctx context.Context, cursor string, ... method GetFeedbackStream (line 1224) | func (d *SQLDatabase) GetFeedbackStream(ctx context.Context, batchSize... method GetUserItemFeedback (line 1294) | func (d *SQLDatabase) GetUserItemFeedback(ctx context.Context, userId,... method DeleteUserItemFeedback (line 1329) | func (d *SQLDatabase) DeleteUserItemFeedback(ctx context.Context, user... method convertTimeZone (line 1358) | func (d *SQLDatabase) convertTimeZone(timestamp *time.Time) time.Time { method CountUsers (line 1367) | func (d *SQLDatabase) CountUsers(ctx context.Context) (int, error) { method CountItems (line 1393) | func (d *SQLDatabase) CountItems(ctx context.Context) (int, error) { method CountFeedback (line 1419) | func (d *SQLDatabase) CountFeedback(ctx context.Context) (int, error) { FILE: storage/data/sql_test.go function init (line 36) | func init() { type MySQLTestSuite (line 49) | type MySQLTestSuite struct method SetupSuite (line 53) | func (suite *MySQLTestSuite) SetupSuite() { method TestInit (line 72) | func (suite *MySQLTestSuite) TestInit() { function TestMySQL (line 80) | func TestMySQL(t *testing.T) { type PostgresTestSuite (line 84) | type PostgresTestSuite struct method SetupSuite (line 88) | func (suite *PostgresTestSuite) SetupSuite() { function TestPostgres (line 108) | func TestPostgres(t *testing.T) { type ClickHouseTestSuite (line 112) | type ClickHouseTestSuite struct method SetupSuite (line 116) | func (suite *ClickHouseTestSuite) SetupSuite() { function TestClickHouse (line 136) | func TestClickHouse(t *testing.T) { type SQLiteTestSuite (line 140) | type SQLiteTestSuite struct method SetupSuite (line 144) | func (suite *SQLiteTestSuite) SetupSuite() { method TearDownSuite (line 155) | func (suite *SQLiteTestSuite) TearDownSuite() { function TestSQLite (line 159) | func TestSQLite(t *testing.T) { function assertQuery (line 163) | func assertQuery(t *testing.T, connection *sql.DB, sql string, expected ... function BenchmarkMySQL_CountItems (line 173) | func BenchmarkMySQL_CountItems(b *testing.B) { function BenchmarkPostgres_CountItems (line 194) | func BenchmarkPostgres_CountItems(b *testing.B) { function BenchmarkClickHouse_CountItems (line 207) | func BenchmarkClickHouse_CountItems(b *testing.B) { function BenchmarkSQLite_CountItems (line 229) | func BenchmarkSQLite_CountItems(b *testing.B) { FILE: storage/meta/database.go constant COLLABORATIVE_FILTERING_MODEL (line 32) | COLLABORATIVE_FILTERING_MODEL = "COLLABORATIVE_FILTERING_MODEL" constant CLICK_THROUGH_RATE_MODEL (line 33) | CLICK_THROUGH_RATE_MODEL = "CLICK_THROUGH_RATE_MODEL" constant RECOMMEND_CONFIG (line 34) | RECOMMEND_CONFIG = "RECOMMEND_CONFIG" type Model (line 37) | type Model struct method ToJSON (line 44) | func (m *Model[T]) ToJSON() string { method FromJSON (line 48) | func (m *Model[T]) FromJSON(data string) error { method Equal (line 53) | func (m *Model[T]) Equal(other Model[T]) bool { type Node (line 57) | type Node struct type Database (line 65) | type Database interface function Open (line 76) | func Open(path string, ttl time.Duration) (Database, error) { FILE: storage/meta/database_test.go type baseTestSuite (line 26) | type baseTestSuite struct method TestNodes (line 31) | func (suite *baseTestSuite) TestNodes() { method TestKeyValues (line 70) | func (suite *baseTestSuite) TestKeyValues() { function TestModel_Equal (line 114) | func TestModel_Equal(t *testing.T) { FILE: storage/meta/sqlite.go type SQLite (line 26) | type SQLite struct method Close (line 31) | func (s *SQLite) Close() error { method Init (line 35) | func (s *SQLite) Init() error { method UpdateNode (line 69) | func (s *SQLite) UpdateNode(node *Node) error { method ListNodes (line 82) | func (s *SQLite) ListNodes() ([]*Node, error) { method Put (line 109) | func (s *SQLite) Put(key, value string) error { method Get (line 116) | func (s *SQLite) Get(key string) (*string, error) { method Delete (line 130) | func (s *SQLite) Delete(key string) error { FILE: storage/meta/sqlite_test.go type SQLiteTestSuite (line 24) | type SQLiteTestSuite struct method SetupTest (line 28) | func (suite *SQLiteTestSuite) SetupTest() { method TearDownTest (line 39) | func (suite *SQLiteTestSuite) TearDownTest() { function TestSQLite (line 43) | func TestSQLite(t *testing.T) { FILE: storage/options.go type Options (line 8) | type Options struct type Option (line 16) | type Option function WithIsolationLevel (line 18) | func WithIsolationLevel(isolationLevel string) Option { function WithMaxOpenConns (line 24) | func WithMaxOpenConns(maxOpenConns int) Option { function WithMaxIdleConns (line 30) | func WithMaxIdleConns(maxIdleConns int) Option { function WithConnMaxLifetime (line 36) | func WithConnMaxLifetime(connMaxLifetime time.Duration) Option { function WithMaxSearchResults (line 42) | func WithMaxSearchResults(limit int) Option { function ApplySQLPool (line 48) | func ApplySQLPool(db *sql.DB, opt Options) { function NewOptions (line 60) | func NewOptions(opts ...Option) Options { FILE: storage/schema_test.go function TestAppendURLParams (line 9) | func TestAppendURLParams(t *testing.T) { FILE: storage/scheme.go function init (line 33) | func init() { constant MySQLPrefix (line 73) | MySQLPrefix = "mysql://" constant MongoPrefix (line 74) | MongoPrefix = "mongodb://" constant MongoSrvPrefix (line 75) | MongoSrvPrefix = "mongodb+srv://" constant PostgresPrefix (line 76) | PostgresPrefix = "postgres://" constant PostgreSQLPrefix (line 77) | PostgreSQLPrefix = "postgresql://" constant ClickhousePrefix (line 78) | ClickhousePrefix = "clickhouse://" constant CHHTTPPrefix (line 79) | CHHTTPPrefix = "chhttp://" constant CHHTTPSPrefix (line 80) | CHHTTPSPrefix = "chhttps://" constant SQLitePrefix (line 81) | SQLitePrefix = "sqlite://" constant RedisPrefix (line 82) | RedisPrefix = "redis://" constant RedissPrefix (line 83) | RedissPrefix = "rediss://" constant RedisClusterPrefix (line 84) | RedisClusterPrefix = "redis+cluster://" constant RedissClusterPrefix (line 85) | RedissClusterPrefix = "rediss+cluster://" constant QdrantPrefix (line 86) | QdrantPrefix = "qdrant://" constant WeaviatePrefix (line 87) | WeaviatePrefix = "weaviate://" constant WeaviatesPrefix (line 88) | WeaviatesPrefix = "weaviates://" constant MilvusPrefix (line 89) | MilvusPrefix = "milvus://" function AppendURLParams (line 92) | func AppendURLParams(rawURL string, params []lo.Tuple2[string, string]) ... function AppendMySQLParams (line 105) | func AppendMySQLParams(dsn string, params map[string]string) (string, er... function ProbeMySQLIsolationVariableName (line 121) | func ProbeMySQLIsolationVariableName(dsn string) (string, error) { type TablePrefix (line 141) | type TablePrefix method ValuesTable (line 143) | func (tp TablePrefix) ValuesTable() string { method SetsTable (line 147) | func (tp TablePrefix) SetsTable() string { method MessageTable (line 151) | func (tp TablePrefix) MessageTable() string { method DocumentTable (line 155) | func (tp TablePrefix) DocumentTable() string { method PointsTable (line 159) | func (tp TablePrefix) PointsTable() string { method UsersTable (line 163) | func (tp TablePrefix) UsersTable() string { method ItemsTable (line 167) | func (tp TablePrefix) ItemsTable() string { method LatestItemsTable (line 172) | func (tp TablePrefix) LatestItemsTable() string { method FeedbackTable (line 176) | func (tp TablePrefix) FeedbackTable() string { method AggregatingFeedbackTable (line 181) | func (tp TablePrefix) AggregatingFeedbackTable() string { method UserFeedbackTable (line 186) | func (tp TablePrefix) UserFeedbackTable() string { method ItemFeedbackTable (line 191) | func (tp TablePrefix) ItemFeedbackTable() string { method Key (line 195) | func (tp TablePrefix) Key(key string) string { function NewGORMConfig (line 199) | func NewGORMConfig(tablePrefix string) *gorm.Config { FILE: storage/vectors/database.go type Distance (line 26) | type Distance constant Cosine (line 29) | Cosine Distance = iota constant Euclidean (line 30) | Euclidean constant Dot (line 31) | Dot type Vector (line 34) | type Vector struct type Database (line 42) | type Database interface type Creator (line 55) | type Creator function Register (line 60) | func Register(prefixes []string, creator Creator) { function Open (line 67) | func Open(path, tablePrefix string, opts ...storage.Option) (Database, e... FILE: storage/vectors/database_test.go constant defaultVectorSize (line 23) | defaultVectorSize = 4 type vectorsTestSuite (line 25) | type vectorsTestSuite struct method SetupTest (line 30) | func (suite *vectorsTestSuite) SetupTest() { method TestCollections (line 41) | func (suite *vectorsTestSuite) TestCollections() { method TestVectors (line 66) | func (suite *vectorsTestSuite) TestVectors() { method TestDeleteVectors (line 116) | func (suite *vectorsTestSuite) TestDeleteVectors() { FILE: storage/vectors/milvus.go constant milvusIdField (line 31) | milvusIdField = "id" constant milvusVectorField (line 32) | milvusVectorField = "vector" constant milvusCategoriesField (line 33) | milvusCategoriesField = "categories" constant milvusTimestampField (line 34) | milvusTimestampField = "timestamp" function init (line 37) | func init() { type Milvus (line 54) | type Milvus struct method Init (line 58) | func (db *Milvus) Init() error { method Optimize (line 62) | func (db *Milvus) Optimize() error { method Close (line 66) | func (db *Milvus) Close() error { method ListCollections (line 70) | func (db *Milvus) ListCollections(ctx context.Context) ([]string, erro... method AddCollection (line 82) | func (db *Milvus) AddCollection(ctx context.Context, name string, dime... method DeleteCollection (line 125) | func (db *Milvus) DeleteCollection(ctx context.Context, name string) e... method AddVectors (line 137) | func (db *Milvus) AddVectors(ctx context.Context, collection string, v... method DeleteVectors (line 161) | func (db *Milvus) DeleteVectors(ctx context.Context, collection string... method QueryVectors (line 166) | func (db *Milvus) QueryVectors(ctx context.Context, collection string,... function milvusStringsToBytes (line 227) | func milvusStringsToBytes(ss [][]string) [][][]byte { function milvusBytesToStrings (line 238) | func milvusBytesToStrings(bs [][]byte) []string { FILE: storage/vectors/milvus_test.go function init (line 28) | func init() { type MilvusTestSuite (line 39) | type MilvusTestSuite struct method SetupSuite (line 43) | func (suite *MilvusTestSuite) SetupSuite() { function TestMilvus (line 49) | func TestMilvus(t *testing.T) { FILE: storage/vectors/proxy.go type ProxyServer (line 28) | type ProxyServer struct method Serve (line 38) | func (p *ProxyServer) Serve(lis net.Listener) error { method Stop (line 44) | func (p *ProxyServer) Stop() { method ListCollections (line 48) | func (p *ProxyServer) ListCollections(ctx context.Context, _ *protocol... method AddCollection (line 56) | func (p *ProxyServer) AddCollection(ctx context.Context, request *prot... method DeleteCollection (line 68) | func (p *ProxyServer) DeleteCollection(ctx context.Context, request *p... method AddVectors (line 76) | func (p *ProxyServer) AddVectors(ctx context.Context, request *protoco... method DeleteVectors (line 97) | func (p *ProxyServer) DeleteVectors(ctx context.Context, request *prot... method QueryVectors (line 109) | func (p *ProxyServer) QueryVectors(ctx context.Context, request *proto... function NewProxyServer (line 34) | func NewProxyServer(database Database) *ProxyServer { type ProxyClient (line 125) | type ProxyClient struct method Init (line 135) | func (p ProxyClient) Init() error { method Optimize (line 139) | func (p ProxyClient) Optimize() error { method Close (line 143) | func (p ProxyClient) Close() error { method ListCollections (line 147) | func (p ProxyClient) ListCollections(ctx context.Context) ([]string, e... method AddCollection (line 155) | func (p ProxyClient) AddCollection(ctx context.Context, name string, d... method DeleteCollection (line 168) | func (p ProxyClient) DeleteCollection(ctx context.Context, name string... method AddVectors (line 173) | func (p ProxyClient) AddVectors(ctx context.Context, collection string... method DeleteVectors (line 190) | func (p ProxyClient) DeleteVectors(ctx context.Context, collection str... method QueryVectors (line 198) | func (p ProxyClient) QueryVectors(ctx context.Context, collection stri... function NewProxyClient (line 129) | func NewProxyClient(conn *grpc.ClientConn) *ProxyClient { function distanceToProtoDistance (line 219) | func distanceToProtoDistance(distance Distance) (protocol.Distance, erro... function protoDistanceToDistance (line 232) | func protoDistanceToDistance(distance protocol.Distance) (Distance, erro... FILE: storage/vectors/proxy_test.go type ProxyTestSuite (line 26) | type ProxyTestSuite struct method SetupSuite (line 33) | func (suite *ProxyTestSuite) SetupSuite() { method TearDownSuite (line 50) | func (suite *ProxyTestSuite) TearDownSuite() { function TestProxy (line 56) | func TestProxy(t *testing.T) { FILE: storage/vectors/qdrant.go constant qdrantPayloadCategoriesKey (line 30) | qdrantPayloadCategoriesKey = "categories" constant qdrantPayloadIdKey (line 31) | qdrantPayloadIdKey = "id" constant qdrantPayloadTimestampKey (line 32) | qdrantPayloadTimestampKey = "timestamp" function init (line 35) | func init() { type Qdrant (line 59) | type Qdrant struct method Init (line 63) | func (db *Qdrant) Init() error { method Optimize (line 67) | func (db *Qdrant) Optimize() error { method Close (line 71) | func (db *Qdrant) Close() error { method ListCollections (line 75) | func (db *Qdrant) ListCollections(ctx context.Context) ([]string, erro... method AddCollection (line 79) | func (db *Qdrant) AddCollection(ctx context.Context, name string, dime... method DeleteCollection (line 110) | func (db *Qdrant) DeleteCollection(ctx context.Context, name string) e... method AddVectors (line 114) | func (db *Qdrant) AddVectors(ctx context.Context, collection string, v... method DeleteVectors (line 137) | func (db *Qdrant) DeleteVectors(ctx context.Context, collection string... method QueryVectors (line 150) | func (db *Qdrant) QueryVectors(ctx context.Context, collection string,... function qdrantId (line 183) | func qdrantId(payload map[string]*qdrant.Value) string { function qdrantListValue (line 193) | func qdrantListValue(items []string) *qdrant.Value { function qdrantCategories (line 201) | func qdrantCategories(payload map[string]*qdrant.Value) []string { function qdrantVectorOutput (line 223) | func qdrantVectorOutput(output *qdrant.VectorsOutput) []float32 { FILE: storage/vectors/qdrant_test.go function init (line 28) | func init() { type QdrantTestSuite (line 39) | type QdrantTestSuite struct method SetupSuite (line 43) | func (suite *QdrantTestSuite) SetupSuite() { function TestQdrant (line 49) | func TestQdrant(t *testing.T) { FILE: storage/vectors/sqlite.go function init (line 30) | func init() { type SQLite (line 44) | type SQLite struct method Init (line 48) | func (db *SQLite) Init() error { method Optimize (line 52) | func (db *SQLite) Optimize() error { method Close (line 56) | func (db *SQLite) Close() error { method ListCollections (line 60) | func (db *SQLite) ListCollections(ctx context.Context) ([]string, erro... method AddCollection (line 77) | func (db *SQLite) AddCollection(ctx context.Context, name string, dime... method DeleteCollection (line 93) | func (db *SQLite) DeleteCollection(ctx context.Context, name string) e... method AddVectors (line 106) | func (db *SQLite) AddVectors(ctx context.Context, collection string, v... method DeleteVectors (line 142) | func (db *SQLite) DeleteVectors(ctx context.Context, collection string... method QueryVectors (line 147) | func (db *SQLite) QueryVectors(ctx context.Context, collection string,... FILE: storage/vectors/sqlite_test.go type SQLiteTestSuite (line 23) | type SQLiteTestSuite struct method SetupSuite (line 27) | func (suite *SQLiteTestSuite) SetupSuite() { function TestSQLite (line 33) | func TestSQLite(t *testing.T) { FILE: storage/vectors/weaviate.go constant weaviatePayloadCategoriesKey (line 34) | weaviatePayloadCategoriesKey = "categories" constant weaviatePayloadTimestampKey (line 35) | weaviatePayloadTimestampKey = "timestamp" function init (line 38) | func init() { type Weaviate (line 61) | type Weaviate struct method Init (line 65) | func (db *Weaviate) Init() error { method Optimize (line 69) | func (db *Weaviate) Optimize() error { method Close (line 73) | func (db *Weaviate) Close() error { method ListCollections (line 77) | func (db *Weaviate) ListCollections(ctx context.Context) ([]string, er... method AddCollection (line 89) | func (db *Weaviate) AddCollection(ctx context.Context, name string, di... method DeleteCollection (line 128) | func (db *Weaviate) DeleteCollection(ctx context.Context, name string)... method AddVectors (line 140) | func (db *Weaviate) AddVectors(ctx context.Context, collection string,... method DeleteVectors (line 161) | func (db *Weaviate) DeleteVectors(ctx context.Context, collection stri... method QueryVectors (line 172) | func (db *Weaviate) QueryVectors(ctx context.Context, collection strin... function capitalize (line 237) | func capitalize(s string) string { function uncapitalize (line 244) | func uncapitalize(s string) string { FILE: storage/vectors/weaviate_test.go function init (line 28) | func init() { type WeaviateTestSuite (line 39) | type WeaviateTestSuite struct method SetupSuite (line 43) | func (suite *WeaviateTestSuite) SetupSuite() { function TestWeaviate (line 49) | func TestWeaviate(t *testing.T) { FILE: worker/metrics.go constant LabelStep (line 23) | LabelStep = "step" constant LabelData (line 24) | LabelData = "data" FILE: worker/pipeline.go type Pipeline (line 40) | type Pipeline struct method Recommend (line 52) | func (p *Pipeline) Recommend(ctx context.Context, users []data.User, p... method checkUserActiveTime (line 251) | func (p *Pipeline) checkUserActiveTime(ctx context.Context, userId str... method checkRecommendCacheOutOfDate (line 277) | func (p *Pipeline) checkRecommendCacheOutOfDate(ctx context.Context, u... method updateCollaborativeRecommend (line 332) | func (p *Pipeline) updateCollaborativeRecommend( method rankByClickTroughRate (line 383) | func (p *Pipeline) rankByClickTroughRate( method rankByLLM (line 433) | func (p *Pipeline) rankByLLM( method addReplacementCandidates (line 505) | func (p *Pipeline) addReplacementCandidates( method applyReplacementDecay (line 549) | func (p *Pipeline) applyReplacementDecay( type ItemCache (line 578) | type ItemCache struct method GetSlice (line 591) | func (c *ItemCache) GetSlice(ctx context.Context, itemIds []string) ([... method GetMap (line 617) | func (c *ItemCache) GetMap(ctx context.Context, itemIds []string) (map... function NewItemCache (line 584) | func NewItemCache(client data.Database) *ItemCache { FILE: worker/pipeline_test.go type PipelineTestSuite (line 25) | type PipelineTestSuite struct method SetupSuite (line 30) | func (suite *PipelineTestSuite) SetupSuite() { method TearDownSuite (line 48) | func (suite *PipelineTestSuite) TearDownSuite() { method TestGetSlice (line 53) | func (suite *PipelineTestSuite) TestGetSlice() { method TestGetMap (line 60) | func (suite *PipelineTestSuite) TestGetMap() { function TestPipeline (line 67) | func TestPipeline(t *testing.T) { FILE: worker/worker.go constant batchSize (line 52) | batchSize = 10000 type Worker (line 55) | type Worker struct method Sync (line 134) | func (w *Worker) Sync() { method Pull (line 242) | func (w *Worker) Pull() { method ServeHTTP (line 303) | func (w *Worker) ServeHTTP() { method Serve (line 330) | func (w *Worker) Serve() { method WorkerName (line 396) | func (w *Worker) WorkerName() (string, error) { method pullUsers (line 409) | func (w *Worker) pullUsers(peers []string, me string) ([]data.User, er... method checkHealth (line 448) | func (w *Worker) checkHealth() HealthStatus { method checkLive (line 458) | func (w *Worker) checkLive(writer http.ResponseWriter, _ *http.Request) { method checkReady (line 463) | func (w *Worker) checkReady(writer http.ResponseWriter, _ *http.Reques... function NewWorker (line 100) | func NewWorker( function writeJSON (line 313) | func writeJSON(w http.ResponseWriter, content any) { function writeError (line 324) | func writeError(w http.ResponseWriter, error string, code int) { type HealthStatus (line 440) | type HealthStatus struct FILE: worker/worker_test.go type WorkerTestSuite (line 52) | type WorkerTestSuite struct method SetupSuite (line 57) | func (suite *WorkerTestSuite) SetupSuite() { method TearDownSuite (line 73) | func (suite *WorkerTestSuite) TearDownSuite() { method SetupTest (line 80) | func (suite *WorkerTestSuite) SetupTest() { method TestPullUsers (line 98) | func (suite *WorkerTestSuite) TestPullUsers() { method TestCheckRecommendCacheTimeout (line 123) | func (suite *WorkerTestSuite) TestCheckRecommendCacheTimeout() { method TestRecommendCollaborative (line 150) | func (suite *WorkerTestSuite) TestRecommendCollaborative() { method TestRecommendItemToItem (line 201) | func (suite *WorkerTestSuite) TestRecommendItemToItem() { method TestRecommendUserToUser (line 277) | func (suite *WorkerTestSuite) TestRecommendUserToUser() { method TestRecommendLatest (line 336) | func (suite *WorkerTestSuite) TestRecommendLatest() { method TestRecommendNonPersonalized (line 379) | func (suite *WorkerTestSuite) TestRecommendNonPersonalized() { method TestRecommend (line 429) | func (suite *WorkerTestSuite) TestRecommend() { method TestRecommendRankerNone (line 494) | func (suite *WorkerTestSuite) TestRecommendRankerNone() { method TestRankByClickTroughRate (line 713) | func (suite *WorkerTestSuite) TestRankByClickTroughRate() { method TestRankByLLM (line 740) | func (suite *WorkerTestSuite) TestRankByLLM() { method TestReplacement (line 783) | func (suite *WorkerTestSuite) TestReplacement() { method TestUserActivity (line 838) | func (suite *WorkerTestSuite) TestUserActivity() { method TestHealth (line 879) | func (suite *WorkerTestSuite) TestHealth() { function marshal (line 554) | func marshal(t *testing.T, v interface{}) string { function newRankingDataset (line 560) | func newRankingDataset() (*dataset.Dataset, *dataset.Dataset) { function newClickDataset (line 564) | func newClickDataset() (*ctr.Dataset, *ctr.Dataset) { type mockMaster (line 571) | type mockMaster struct method GetMeta (line 624) | func (m *mockMaster) GetMeta(_ context.Context, _ *protocol.NodeInfo) ... method Start (line 628) | func (m *mockMaster) Start(t *testing.T) { method Stop (line 639) | func (m *mockMaster) Stop() { function newMockMaster (line 583) | func newMockMaster(t *testing.T) *mockMaster { function TestWorker_Sync (line 643) | func TestWorker_Sync(t *testing.T) { type mockFactorizationMachine (line 673) | type mockFactorizationMachine struct method Complexity (line 677) | func (m mockFactorizationMachine) Complexity() int { method SuggestParams (line 681) | func (m mockFactorizationMachine) SuggestParams(_ goptuna.Trial) model... method Clear (line 685) | func (m mockFactorizationMachine) Clear() { method Invalid (line 689) | func (m mockFactorizationMachine) Invalid() bool { method Predict (line 693) | func (m mockFactorizationMachine) Predict(_, itemId string, _, _ []ctr... method InternalPredict (line 701) | func (m mockFactorizationMachine) InternalPredict(_ []int32, _ []float... method Fit (line 705) | func (m mockFactorizationMachine) Fit(_ context.Context, _, _ dataset.... method Marshal (line 709) | func (m mockFactorizationMachine) Marshal(_ io.Writer) error { function TestWorker (line 922) | func TestWorker(t *testing.T) {