- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestLargeStringConcat (0.16 sec)
-
src/runtime/string_test.go
} } b = append(b, 0) r := runtime.GostringW(b) if r != s { t.Errorf("gostringW(%v) = %s, want %s", b, r, s) } } } func TestLargeStringConcat(t *testing.T) { output := runTestProg(t, "testprog", "stringconcat") want := "panic: " + strings.Repeat("0", 1<<10) + strings.Repeat("1", 1<<10) + strings.Repeat("2", 1<<10) + strings.Repeat("3", 1<<10)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 13 14:05:23 UTC 2022 - 13.3K bytes - Viewed (0)