// Record that we are changing the value of ns[local].
// The old value is url, ok.
189901
func (d *Decoder) pushNs(local string, url string, ok bool) {
	s := d.push(stkNs)
	s.name.Local = local
	s.name.Space = url
	s.ok = ok
}
632393
func (s *ClusterStateService) Local(local bool) *ClusterStateService {
	s.local = &local
	return s
}
1001462
func RegisterLocale(loc *Locale) {
	old, ok := locales[loc.Locale]
	if ok {
		Copy(loc, old)
	} else {
		locales[loc.Locale] = loc
	}
}
66730
func isVindexChanging(setClauses sqlparser.UpdateExprs, colVindexes []*vindexes.ColumnVindex) bool {
	for _, assignment := range setClauses {
		for _, vcol := range colVindexes {
			for _, col := range vcol.Columns {
				if col.Equal(assignment.Name.Name) {
					valueExpr, isValuesFuncExpr := assignment.Expr.(*sqlparser.ValuesFuncExpr)
					if !isValuesFuncExpr {
						return true
					}
					// update on duplicate key is changing the vindex column, not supported.
					if !valueExpr.Name.Name.Equal(assignment.Name.Name) {
						return true
					}
				}
			}
		}
	}
	return false
}
1199427
func (c *managedConnImpl) LocalAddr() net.Addr {
	conn, _ := c.rawConn()
	return conn.LocalAddr()
}
819201
func (tr Row) Localtime(nn int) (val time.Time) {
	val, err := tr.LocaltimeErr(nn)
	if err != nil {
		panic(err)
	}
	return
}
1018299
func (qr *ChangeDetailsParams) queryString() url.Values {
	qs := make(url.Values, len(qr.Options))
	for _, o := range qr.Options {
		qs.Add("o", o)
	}
	return qs
}
15702
func NewValueChangePublisher(initialValue interface{}) ValueChangePublisher {
	return ValueChangePublisher{
		value:  initialValue,
		mutex:  sync.RWMutex{},
		notify: make(chan struct{}),
	}
}
697370
func NewStringValue(t int64, v string) Value {
	return StringValue{unixnano: t, value: v}
}
698534
func RecordChangeCause(obj runtime.Object, changeCause string) error {
	meta, err := api.ObjectMetaFor(obj)
	if err != nil {
		return err
	}
	if meta.Annotations == nil {
		meta.Annotations = make(map[string]string)
	}
	meta.Annotations[kubectl.ChangeCauseAnnotation] = changeCause
	return nil
}
429229
func (s *CatHealthService) Local(local bool) *CatHealthService {
	s.local = &local
	return s
}
470782
func (c *Conn) LocalAddr() net.Addr {
	if !c.ok() {
		return nil
	}
	return c.conn.LocalAddr()
}
835793
func (b *RawElementData) SetLocal(value interface{}) {
	b.local = value
	b.localSet = true
}
390070
func (a *Account) ChangeLocation(gatewayID string, latitude, longitude float64) error {
	return a.EditGateway(gatewayID, GatewayEdits{
		AntennaLocation: &Location{
			Longitude: longitude,
			Latitude:  latitude,
		},
	})
}
965696
func (s *IndicesExistsTemplateService) Local(local bool) *IndicesExistsTemplateService {
	s.local = &local
	return s
}
1371648
func NewLocalUpdateSource(path string, jsonPath string, log Log) LocalUpdateSource {
	return LocalUpdateSource{
		path:     path,
		jsonPath: jsonPath,
		log:      log,
	}
}
800532
func (s *SyncState) RemoveLocalValue(addr addrs.AbsLocalValue) {
	s.lock.Lock()
	defer s.lock.Unlock()

	ms := s.state.Module(addr.Module)
	if ms == nil {
		return
	}
	ms.RemoveLocalValue(addr.LocalValue.Name)
	s.maybePruneModule(addr.Module)
}