// String returns the string representation of a LocalDevices object.
430571
func (l *LocalDevices) String() string {
	buf, err := l.MarshalText()
	if err != nil {
		panic(err)
	}
	return string(buf)
}
873772
func (t DeviceKey) String() string {
	appID := simpleWildcard
	if t.AppID != "" {
		appID = t.AppID
	}
	devID := simpleWildcard
	if t.DevID != "" {
		devID = t.DevID
	}
	if t.Type == DeviceEvents && t.Field == "" {
		t.Field = wildcard
	}
	key := fmt.Sprintf("%s.%s.%s.%s", appID, "devices", devID, t.Type)
	if t.Type == DeviceEvents && t.Field != "" {
		key += "." + t.Field
	}
	return key
}
732763
func (o *Object) String() string {
	raw, err := json.MarshalIndent(o, "", " ")
	if err != nil {
		return err.Error()
	}

	return string(raw)
}
1114040
func (v *StringMap) String() string {
	v.mu.Lock()
	defer v.mu.Unlock()
	return stringMapToString(v.values)
}
1152328
func (t Type) String() string {
	return fmt.Sprintf("Type{%v %q %T %v}", t.Kind, t.Pkg, t.Node, pretty{t.Node})
}
412726
func (n *NatEntry4) String() string {
	return fmt.Sprintf("Addr=%s Port=%d Created=%d HostLocal=%d\n",
		n.Addr,
		n.Port,
		n.Created,
		n.HostLocal)
}
1297045
func (polygon Polygon) String() string {
	var result string
	if bytes, err := json.Marshal(polygon); err == nil {
		result = string(bytes)
	} else {
		result = err.Error()
	}
	return result
}
419605
func (m *Mounter) String() string {
	s := struct {
		mounts        DeviceMap
		paths         PathMap
		allowedDirs   []string
		trashLocation string
	}{
		mounts:        m.mounts,
		paths:         m.paths,
		allowedDirs:   m.allowedDirs,
		trashLocation: m.trashLocation,
	}

	return fmt.Sprintf("%#v", s)
}
374111
func (feature *Feature) String() string {
	var result string
	if bytes, err := json.Marshal(feature); err == nil {
		result = string(bytes)
	} else {
		result = err.Error()
	}
	return result
}
249278
func (a Aux) String() string {
	switch a.Type() {
	case 'A':
		return fmt.Sprintf("%s:%c:%c", []byte(a[:2]), a.Kind(), a.Value())
	case 'H':
		return fmt.Sprintf("%s:%c:%02x", []byte(a[:2]), a.Kind(), a.Value())
	case 'B':
		return fmt.Sprintf("%s:%c:%c:%v", []byte(a[:2]), a.Kind(), a[3], a.Value())
	}
	return fmt.Sprintf("%s:%c:%v", []byte(a[:2]), a.Kind(), a.Value())
}
1160353
func (d *Decoder) String() string {
	out := fmt.Sprintf("Format: %s - %s", string(d.Format[:]), string(d.FormatID[:]))
	out += fmt.Sprintf("%d channels @ %d - ", d.ChannelsPerFrame, int(d.SampleRate))
	out += fmt.Sprintf("data size: %d", d.AudioDataSize)

	return out
}
423131
func (v *Value) String() string {
	return fmt.Sprintf("count:%d bytes:%d", v.Count, v.Bytes)
}
466801
func (a Addr) String() string {
	return strings.TrimSpace(fmt.Sprintf("%s %s", a.IPNet, a.Label))
}
339698
func (m Memory) String() string {
	if len(m.Val) < 2 {
		return ""
	}
	return string(m.Val)
}
927651
func (s StringObject) String() string {
	return fmt.Sprintf("StringObject{Key: %s, Value: '%s'}", DataToString(s.Key), DataToString(s.Value))
}
672206
func (s *Semaphore) String() string {
	b, _ := json.Marshal(s)
	return string(b)
}
983582
func (o *GpuOpts) String() string {
	gpus := []string{}
	for _, gpu := range o.values {
		gpus = append(gpus, fmt.Sprintf("%v", gpu))
	}
	return strings.Join(gpus, ", ")
}