// Name returns label for individual FileContentChecks. If not known, will return based on path.
176811
func (fcc FileContentCheck) Name() string {
	if fcc.Label != "" {
		return fcc.Label
	}
	return fmt.Sprintf("FileContent-%s", strings.Replace(fcc.Path, "/", "-", -1))
}
1269179
func (swaggerTag TagSwagger) Name() string {
	{
		text := reflect.StructTag(swaggerTag).Get("swagger")
		name := strings.Split(text, ",")[0]

		if name != "" {
			return name
		}
	}
	{
		text := reflect.StructTag(swaggerTag).Get("json")
		name := strings.Split(text, ",")[0]

		if name != "" {
			return name
		}
	}

	return ""
}
205435
func (a *Artist) Name() string {
	return C.GoString(C.sp_artist_name(a.sp_artist))
}
1081831
func (b Buffer) Name(nametype *OID) (*Name, error) {
	var min C.OM_uint32
	var result C.gss_name_t

	maj := C.wrap_gss_import_name(b.Fp_gss_import_name, &min,
		b.C_gss_buffer_t, nametype.C_gss_OID, &result)
	err := b.stashLastStatus(maj, min)
	if err != nil {
		return nil, err
	}

	n := &Name{
		Lib:          b.Lib,
		C_gss_name_t: result,
	}
	return n, nil
}
368775
func (c Command) Name() string {
	return lint.Name(strings.Title(c.NameName))
}
302752
func (s *XPackSecurityPutRoleMappingService) Name(name string) *XPackSecurityPutRoleMappingService {
	s.name = name
	return s
}
19081
func (dac DirAvailableCheck) Name() string {
	if dac.Label != "" {
		return dac.Label
	}
	return fmt.Sprintf("DirAvailable-%s", strings.Replace(dac.Path, "/", "-", -1))
}
196169
func (poc PortOpenCheck) Name() string {
	if poc.label != "" {
		return poc.label
	}
	return fmt.Sprintf("Port-%d", poc.port)
}
33532
func (f *Field) Name(recv string, unsafePkg Import) string {
	if !f.Private() || !f.external {
		return recv + "." + f.name
	}
	return `*(*` + f.typeStr() + `)(` + unsafePkg() + `.Pointer(` + recv + `.FieldByName("` + f.name + `").UnsafeAddr()))`
}
1198673
func (c *Cookie) Name() *String {
	if c.chain.failed() {
		return &String{c.chain, ""}
	}
	return &String{c.chain, c.value.Name}
}
756060
func (s *storeMemoizer) Name(ctx context.Context) string {
	return s.s.Name(ctx)
}
451564
func (r *Route) Name(name string) *Route {
	r.name = name
	r.group.router.routes[name] = r
	return r
}
948354
func (c *UsersProfileSetCall) Name(name string) *UsersProfileSetCall {
	c.name = name
	return c
}
645324
func (s *IndicesExistsTemplateService) Name(name string) *IndicesExistsTemplateService {
	s.name = name
	return s
}
141961
func (meta debMetadata) Name() string {
	if isUnstableBuild(meta.Env) {
		return meta.PackageName + "-unstable"
	}
	return meta.PackageName
}
1085444
func (s *XPackSecurityDeleteRoleMappingService) Name(name string) *XPackSecurityDeleteRoleMappingService {
	s.name = name
	return s
}
747991
func (r *regulator) Name() string {
	r.enter()
	defer r.exit()

	return r.StorageDriver.Name()
}