MCPcopy Create free account
hub / github.com/evilsocket/sum / Get

Method Get

wrapper/record.go:59–61  ·  view source on GitHub ↗

Get returns the index-th elements of the *pb.Record contained by this wrapper.

(index int)

Source from the content-addressed store, hash-verified

57// Get returns the index-th elements of the *pb.Record contained
58// by this wrapper.
59func (w *Record) Get(index int) float32 {
60 return w.record.Data[index]
61}
62
63// Meta returns the value of a record meta data given its name
64// or an empty string if not found.

Callers 4

info.goFile · 0.45
TestWrappedRecordGetFunction · 0.45

Calls

no outgoing calls

Tested by 3

TestWrappedRecordGetFunction · 0.36