MCPcopy Create free account
hub / github.com/nutsdb/nutsdb / splitStringFloat64Str

Function splitStringFloat64Str

utils.go:65–70  ·  view source on GitHub ↗
(str, separator string)

Source from the content-addressed store, hash-verified

63}
64
65func splitStringFloat64Str(str, separator string) (string, float64) {
66 strList := strings.Split(str, separator)
67 firstItem := strList[0]
68 secondItem, _ := strconv2.StrToFloat64(strList[1])
69 return firstItem, secondItem
70}
71
72func createNewBufferWithSize(size int) *bytes.Buffer {
73 buf := new(bytes.Buffer)

Callers 3

applyLookupMethod · 0.85
keyExistsInSortedSetMethod · 0.85
isPendingZSetEntryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected