// Set is an alias of SetInterface
433402
func (context *BaseContext) Set(key string, value interface{}) {
	context.userData[key] = value
}
278253
func (m *Map) Set(k []byte, v MapValue) {
	m.set(k, v, mapKeyOptions{
		copyKey:     true,
		finalizeKey: m.finalize != nil,
	})
}
125734
func (v *String) Set(value string) {
	v.mu.Lock()
	v.s = value
	v.mu.Unlock()
}
325050
func (i *injector) Set(typ reflect.Type, val reflect.Value) TypeMapper {
	i.values[typ] = val
	return i
}
442207
func (p *Properties) Set(iface, property string, newv dbus.Variant) *dbus.Error {
	p.mut.Lock()
	defer p.mut.Unlock()
	m, ok := p.m[iface]
	if !ok {
		return ErrIfaceNotFound
	}
	prop, ok := m[property]
	if !ok {
		return ErrPropNotFound
	}
	if !prop.Writable {
		return ErrReadOnly
	}
	if newv.Signature() != dbus.SignatureOf(prop.Value) {
		return ErrInvalidArg
	}
	if prop.Callback != nil {
		err := prop.Callback(&Change{p, iface, property, newv.Value()})
		if err != nil {
			return err
		}
	}
	if err := p.set(iface, property, newv.Value()); err != nil {
		return dbus.MakeFailedError(err)
	}
	return nil
}
1235055
func (list *List) Set(idx int, value Value) {
	list.values[idx] = value
}
456886
func (d *Datum) SetInterface(x interface{}) {
	d.k = KindInterface
	d.x = x
}
116228
func (c *Client) Set(annotations map[string]map[string]string) ([]params.ErrorResult, error) {
	args := params.AnnotationsSet{entitiesAnnotations(annotations)}
	results := new(params.ErrorResults)
	if err := c.facade.FacadeCall("Set", args, results); err != nil {
		return nil, errors.Trace(err)
	}
	return results.Results, nil
}
651768
func (f *SecureStack) Set(ind int, d interface{}) {
	sz := f.Size()

	if ind >= sz {
		return
	}

	if ind < 0 {
		ind = sz - ind
		if ind < 0 {
			return
		}
	}

	f.lock.Lock()
	f.listeners[ind] = d
	f.lock.Unlock()
}
520119
func (s *DB) Set(name string, value interface{}) *DB {
	return s.clone().InstantSet(name, value)
}
465057
func (ttf *TabletTypeFlag) Set(v string) error {
	t, err := ParseTabletType(v)
	*ttf = TabletTypeFlag(t)
	return err
}
586622
func (s *SafeMap) Set(ie interface{}) int {
	idx := s.nextidx()
	s.Lock()
	s.m[idx] = ie
	defer s.Unlock()

	return idx
}
1101496
func (state *Runtime) Set(name string, val interface{}) {
	state.setValue(name, reflect.ValueOf(val))
}
574082
func (c *syncClient) Set(arg0 string, arg1 []byte) (err Error) {
	arg0bytes := []byte(arg0)
	arg1bytes := arg1

	_, err = c.conn.ServiceRequest(&SET, [][]byte{arg0bytes, arg1bytes})
	return
}
194949
func (r *Runtime) Set(name string, value interface{}) {
	r.globalObject.self.putStr(name, r.ToValue(value), false)
}
230915
func (nl *NetAddrList) Set(s string) error {
	v, err := ParseAddr(s)
	if err != nil {
		return err
	}

	*nl = append(*nl, *v)
	return nil
}
537590
func (self Object) Set(name string, value interface{}) error {
	{
		value, err := self.object.runtime.safeToValue(value)
		if err != nil {
			return err
		}
		err = catchPanic(func() {
			self.object.put(name, value, true)
		})
		return err
	}
}