Lines Matching refs:shimPrefix
627 shimPrefix string member
953 shimPrefix := test.shimPrefix
955 shimPrefix = test.resumeShimPrefix
958 shimPrefix = "hello"
963 if shimPrefix != "" && !test.readWithUnfinishedWrite {
964 var buf = make([]byte, len(shimPrefix))
969 if string(buf) != shimPrefix {
970 return fmt.Errorf("bad initial message %v vs %v", string(buf), shimPrefix)
972 shimPrefix = ""
1036 if shimPrefix != "" {
1037 var buf = make([]byte, len(shimPrefix))
1042 if string(buf) != shimPrefix {
1043 return fmt.Errorf("bad initial message %v vs %v", string(buf), shimPrefix)
1045 shimPrefix = ""