MCPcopy Index your code
hub / github.com/flant/shell-operator / getMonitorIDSlice

Method getMonitorIDSlice

pkg/task/queue/task_queue.go:228–230  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

226}
227
228func (q *TaskQueue) getMonitorIDSlice() []string {
229 return *monitorIDSlicePool.Get().(*[]string)
230}
231
232func (q *TaskQueue) putMonitorIDSlice(slice *[]string) {
233 *slice = (*slice)[:0] // Reset slice

Callers 1

compactionMethod · 0.95

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected