MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / itoa

Function itoa

internal/sidecar/metadata_handler_test.go:50–60  ·  view source on GitHub ↗
(i int)

Source from the content-addressed store, hash-verified

48func kindName(kind string, i int) string { return kind + "-seed-" + itoa(i) }
49
50func itoa(i int) string {
51 if i == 0 {
52 return "0"
53 }
54 var b []byte
55 for i > 0 {
56 b = append([]byte{byte('0' + i%10)}, b...)
57 i /= 10
58 }
59 return string(b)
60}
61
62func TestMetadataRefreshEndpointWiring(t *testing.T) {
63 if testing.Short() || os.Getenv("CAM_RUN_LIVE_TESTS") != "1" {

Callers 2

seedMetadataFunction · 0.85
kindNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected