// String returns the version information as a string.
970811
func (v *VersionInfo) String() string {
	buf := &bytes.Buffer{}
	fmt.Fprintf(buf, "SemVer: %s\n", v.SemVer)
	fmt.Fprintf(buf, "OsArch: %s\n", v.Arch)
	fmt.Fprintf(buf, "Branch: %s\n", v.Branch)
	fmt.Fprintf(buf, "Commit: %s\n", v.ShaLong)
	fmt.Fprintf(buf, "Formed: %s\n", v.BuildTimestamp.Format(time.RFC1123))
	return buf.String()
}
682746
func (u *UintValue) String() string {
	var current uint
	if u.v != nil {
		current = *(u.v)
	}
	return fmt.Sprintf("%v", current)
}
304702
func (s *Status) String() string {
	return fmt.Sprintf("LastCheckedTime=%v Progress=%v CurrentOperation=%q NewVersion=%v NewSize=%v",
		s.LastCheckedTime,
		s.Progress,
		s.CurrentOperation,
		s.NewVersion,
		s.NewSize,
	)
}
1081112
func (n *Namer) String() string {
	ext := n.opts.extension
	if n.count == 0 {
		return fmt.Sprintf("%s%s", n.opts.base, ext)
	}
	return fmt.Sprintf("%s%d%s", n.opts.base, n.count, ext)
}
888633
func (o Version) String() string {
	switch o {
	case VersionOne:
		return "Version 1: Based on a 60 Bit Timestamp."
	case VersionTwo:
		return "Version 2: Based on DCE security domain and 60 bit timestamp."
	case VersionThree:
		return "Version 3: Namespace UUID and unique names hashed by MD5."
	case VersionFour:
		return "Version 4: Crypto-random generated."
	case VersionFive:
		return "Version 5: Namespace UUID and unique names hashed by SHA-1."
	default:
		return "Unknown: Not supported"
	}
}
435841
func (vec *T) String() string {
	return fmt.Sprint(vec[0], vec[1], vec[2], vec[3])
}
1313783
func (e *Env) String() string {
	e.RLock()
	defer e.RUnlock()

	return e.name
}
50983
func Version() string {
	api := C.Create()
	defer C.Free(api)
	version := C.Version(api)
	return C.GoString(version)
}
238149
func (o *OneOrMoreExpr) String() string {
	return fmt.Sprintf("%s: %T{Expr: %v}", o.p, o, o.Expr)
}
401765
func VersionString() string {
	name := path.Base(os.Args[0])
	return fmt.Sprintf("Versions: %s=(%s %s) Golang=(%s) BuildHost=(%s)", name, core.GetBuildID(), core.GetBuildTime(), runtime.Version(), core.GetBuildHost())
}
233187
func (f *File) String() string {
	var buf bytes.Buffer
	fmt.Fprintf(&buf, "# version: %d.%d\n", f.MajorVersion, f.MinorVersion)
	fmt.Fprintf(&buf, "%s\n", f.MimeHeader.String())
	fmt.Fprintf(&buf, "\n")

	for k, v := range f.Messages {
		fmt.Fprintf(&buf, `msgid "%v"`+"\n", k)
		fmt.Fprintf(&buf, `msgstr "%s"`+"\n", v.MsgStr)
		fmt.Fprintf(&buf, "\n")
	}

	return buf.String()
}
1052910
func (s *CatShardInfo) String() string {
	if s == nil {
		return ":::::::"
	}
	return fmt.Sprintf("%v:%v:%v:%v:%v:%v:%v:%v", s.IndexName, s.Shard, s.Primary,
		s.State, s.Docs, s.Store, s.NodeIP, s.NodeName)
}
797641
func (v Version) String() string {
	return fmt.Sprintf("%d.%d", v.Scalar, v.PID)
}
793316
func (udhl *UDHList) String() string {
	var ret string
	for i := range udhl.Data {
		ret = ret + udhl.Data[i].String() + ";"
	}
	return ret
}
58342
func (v VersionInfo) String() string {
	result := fmt.Sprintf("%s, version %s, license %s", v.Server, v.Version, v.License)
	if len(v.Details) > 0 {
		lines := make([]string, 0, len(v.Details))
		for k, v := range v.Details {
			lines = append(lines, fmt.Sprintf("%s: %v", k, v))
		}
		sort.Strings(lines)
		result = result + "\n" + strings.Join(lines, "\n")
	}
	return result
}
1312875
func (n *NotCodeExpr) String() string {
	return fmt.Sprintf("%s: %T{Code: %v}", n.p, n, n.Code)
}
1152328
func (t Type) String() string {
	return fmt.Sprintf("Type{%v %q %T %v}", t.Kind, t.Pkg, t.Node, pretty{t.Node})
}