11 matches across 1 files for error path:processor/structs_test.go path:processor/structs_test.go lang:Go
snippet_mode: grep · sorted by relevance
processor/structs_test.go GO 11 matches · showing 5 view file →
19
20 if !c.Check(1, []byte("hash")) {
21 t.Error("Expected match")
22 }
23
· · ·
24 if !c.Check(1, []byte("hash2")) {
25 t.Error("Expected match")
26 }
27
· · ·
28 if c.Check(2, []byte("hash")) {
29 t.Error("Expected no match")
30 }
31
· · ·
32 if c.Check(1, []byte("hash3")) {
33 t.Error("Expected no match")
34 }
35}
· · ·
87 typ, depth, closed := trie.Match(tc.token)
88 if typ != tc.expectType {
89 t.Errorf("\"%v\" matched wrong type, want: %v, got: %v", string(tc.token), tc.expectType, typ)
90 }
91 if depth != tc.expectDepth {
+ 6 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.