(n int)
| 35 | } |
| 36 | |
| 37 | func (r *Request) MakeSubRequest(n int) []Request { |
| 38 | var sub = make([]Request, n) |
| 39 | for i := range sub { |
| 40 | x := &sub[i] |
| 41 | x.Batch = r.Batch |
| 42 | x.OpStr = r.OpStr |
| 43 | x.OpFlag = r.OpFlag |
| 44 | x.Broken = r.Broken |
| 45 | x.Database = r.Database |
| 46 | x.UnixNano = r.UnixNano |
| 47 | } |
| 48 | return sub |
| 49 | } |
| 50 | |
| 51 | const GOLDEN_RATIO_PRIME_32 = 0x9e370001 |
| 52 |
no outgoing calls
no test coverage detected