Lines Matching defs:String
27 s string // not an exported field
36 type ValueGobber string // encodes with a value, decodes with a pointer.
40 type BinaryValueGobber string
44 type TextValueGobber string
88 g.s = string(data)
109 _, err := fmt.Sscanf(string(data), "VALUE=%d", (*int)(g))
118 _, err := fmt.Sscanf(string(data), "VALUE=%d", (*int)(g))
127 _, err := fmt.Sscanf(string(data), "VALUE=%d", (*int)(g))
136 _, err := fmt.Sscanf(string(data), "VALUE=%s", (*string)(v))
145 _, err := fmt.Sscanf(string(data), "VALUE=%s", (*string)(v))
154 _, err := fmt.Sscanf(string(data), "VALUE=%s", (*string)(v))
172 G string // not a GobEncoder - should give us errors
384 // first, string in field to byte in field
400 // now the other direction, byte in field to string in field
418 // first, string in field to byte in field
672 foo, bar string
675 func (br *gobDecoderBug0) String() string {
680 return []byte(br.String()), nil
713 S string
795 if ip.String() != "1.2.3.4" {
796 t.Errorf("decoded to %v, want 1.2.3.4", ip.String())