- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for replay (0.14 sec)
-
src/bytes/bytes_test.go
func TestRepeat(t *testing.T) { for _, tt := range RepeatTests { tin := []byte(tt.in) tout := []byte(tt.out) a := Repeat(tin, tt.count) if !Equal(a, tout) { t.Errorf("Repeat(%q, %d) = %q; want %q", tin, tt.count, a, tout) continue } } } func repeat(b []byte, count int) (err error) { defer func() { if r := recover(); r != nil { switch v := r.(type) { case error:
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jan 24 16:07:25 GMT 2024 - 56.2K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
} if r.Name.Kind != "type" { repl = "(" + repl + ")" } f.Edit.Replace(f.offset(old.Pos()), f.offset(old.End()), repl) } } // Remove functions only used as expressions, so their respective // bridge functions are not generated. for name, used := range functions { if !used { delete(f.Name, name) } } }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0)