- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestDirentRepeat (0.12 sec)
-
src/syscall/dirent_test.go
} if expected := strings.Repeat(name[:1], filenameMinSize+ord); name != expected { t.Errorf("names[%d] is %q (len %d); expected %q (len %d)", i, name, len(name), expected, len(expected)) } } } func TestDirentRepeat(t *testing.T) { const N = 100 // Note: the size of the buffer is small enough that the loop // below will need to execute multiple times. See issue #31368. size := N * unsafe.Offsetof(syscall.Dirent{}.Name) / 4
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3.4K bytes - Viewed (0)