52 matches across 1 files for func main lang:Go lang:Go path:src/archive/zip/reader_test.go
snippet_mode: auto · sorted by relevance
src/archive/zip/reader_test.go GO 52 matches · showing 5 view file →
26type ZipTest struct {
27 Name string
28 Source func() (r io.ReaderAt, size int64) // if non-nil, used instead of testdata/<Name> file
29 Comment string
30 File []ZipTestFile
· · ·
583}
584
585func TestReader(t *testing.T) {
586 for _, zt := range tests {
587 t.Run(zt.Name, func(t *testing.T) {
· · ·
587 t.Run(zt.Name, func(t *testing.T) {
588 readTestZip(t, zt)
589 })
· · ·
591}
592
593func readTestZip(t *testing.T, zt ZipTest) {
594 var z *Reader
595 var err error
· · ·
663 for i := 0; i < 5; i++ {
664 for j, ft := range zt.File {
665 go func(j int, ft ZipTestFile) {
666 readTestFile(t, zt, ft, z.File[j], raw)
667 done <- true
+ 47 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.