MCPcopy Index your code
hub / github.com/codechenx/FastTableViewer / generateUniqueStrings

Function generateUniqueStrings

string_interning_test.go:228–234  ·  view source on GitHub ↗

Helper functions

(count int)

Source from the content-addressed store, hash-verified

226
227// Helper functions
228func generateUniqueStrings(count int) []string {
229 result := make([]string, count)
230 for i := 0; i < count; i++ {
231 result[i] = fmt.Sprintf("unique_%d", i)
232 }
233 return result
234}
235
236func generateRepeatedStrings(count, uniqueCount int) []string {
237 result := make([]string, count)

Callers 1

TestShouldInternColumnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected