Lines Matching full:maxlen
247 minLen, maxLen := uint64(0), maxBlobLen
249 minLen, maxLen = t.RangeBegin, t.RangeEnd
251 a.data = mutateData(r, data, minLen, maxLen)
255 minLen, maxLen := uint64(0), maxBlobLen
257 minLen, maxLen = t.TypeSize, t.TypeSize
259 a.data = mutateData(r, data, minLen, maxLen)
417 func mutateData(r *randGen, data []byte, minLen, maxLen uint64) []byte {
420 data, stop = f(r, data, minLen, maxLen)
427 var mutateDataFuncs = [...]func(r *randGen, data []byte, minLen, maxLen uint64) ([]byte, bool){
430 func(r *randGen, data []byte, minLen, maxLen uint64) ([]byte, bool) {
440 func(r *randGen, data []byte, minLen, maxLen uint64) ([]byte, bool) {
445 if r := int(maxLen) - len(data); n > r {
456 if uint64(len(data)) > maxLen || r.bin() {
462 func(r *randGen, data []byte, minLen, maxLen uint64) ([]byte, bool) {
484 func(r *randGen, data []byte, minLen, maxLen uint64) ([]byte, bool) {
485 if uint64(len(data)) >= maxLen {
490 if r := int(maxLen) - len(data); n > r {
499 func(r *randGen, data []byte, minLen, maxLen uint64) ([]byte, bool) {
509 func(r *randGen, data []byte, minLen, maxLen uint64) ([]byte, bool) {
531 func(r *randGen, data []byte, minLen, maxLen uint64) ([]byte, bool) {