MCPcopy
hub / github.com/duke-git/lancet / Set

Method Set

iterator/iterator.go:67–67  ·  view source on GitHub ↗

Set replaces the current iterator element with v. Set should panic if called before Next or after Next returns false.

(v T)

Source from the content-addressed store, hash-verified

65 // Set should panic if called before Next or after
66 // Next returns false.
67 Set(v T)
68}
69
70// PrevIterator is an iterator with a Prev method.

Callers 15

TestCopyOnWriteList_SetFunction · 0.65
cloneArrayMethod · 0.65
clonePtrMethod · 0.65
cloneStructMethod · 0.65
setFileFunction · 0.65
setQueryParamFunction · 0.65
setBodyByteFunction · 0.65
setStructFieldFunction · 0.65
convertNormalFunction · 0.65
convertSliceFunction · 0.65
convertMapFunction · 0.65
ExampleOrderedMap_SetFunction · 0.65

Calls

no outgoing calls

Tested by 15

TestCopyOnWriteList_SetFunction · 0.52
ExampleOrderedMap_SetFunction · 0.52
ExampleOrderedMap_GetFunction · 0.52
ExampleOrderedMap_FrontFunction · 0.52
ExampleOrderedMap_BackFunction · 0.52
ExampleOrderedMap_DeleteFunction · 0.52
ExampleOrderedMap_ClearFunction · 0.52
ExampleOrderedMap_LenFunction · 0.52
ExampleOrderedMap_KeysFunction · 0.52
ExampleOrderedMap_ValuesFunction · 0.52
ExampleOrderedMap_RangeFunction · 0.52