// Set sets a new value
349636
func (s *Safe) Set(value interface{}) {
	s.lock.Lock()
	defer s.lock.Unlock()
	s.value = value
}
848408
func (r *Redis) Set(key string, value interface{}) error {
	return r.Client.Set(key, convertToBytes(value), 0).Err()
}
1316713
func (vn *VecN) Set(i int, val float64) {
	vn.vec[i] = val
}
55920
func (a *Algorithm) Set(value string) error {
	if value == "" {
		*a = Canonical
	} else {
		// just do a type conversion, support is queried with Available.
		*a = Algorithm(value)
	}

	return nil
}
542344
func (m Map) Set(key, value string) {
	m[key] = []string{value}
}
901630
func (sa *StringValue) Set(s string) error {
	*sa = StringValue(s)
	return nil
}
1123353
func (f *StringSlice) Set(value string) error {
	*f = append(*f, value)
	return nil
}
1251302
func (d *Data) Set(key string, value string) {
	d.Values.Set(key, value)
}
247174
func (d *DurationValue) Set(v string) error {
	if d.v == nil {
		d.v = new(time.Duration)
	}
	var err error
	*(d.v), err = time.ParseDuration(v)
	return err
}
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
	}
}
1256132
func (s *Session) Set(key string, value interface{}) {
	if s.data == nil {
		s.data = make(Data)
	}
	s.changed = true
	s.data[key] = value
}
1084942
func (value *StringListValue) Set(v string) error {
	*value = parseListWithEscapes(v, ',')
	return nil
}
139617
func (t *TimeValue) Set(s string) error {
	v, err := time.Parse(time.RFC3339, s)
	*t = TimeValue(v)
	return err
}
1155015
func (c *Context) Set(key string, value interface{}) {
	c.data[key] = value
}
278253
func (m *Map) Set(k []byte, v MapValue) {
	m.set(k, v, mapKeyOptions{
		copyKey:     true,
		finalizeKey: m.finalize != nil,
	})
}
235400
func (i *Int16) Set(value int16) {
	i.lock.Lock()
	defer i.lock.Unlock()
	i.increment = value
}
43580
func (u *UintValue) Set(v string) error {
	if u.v == nil {
		u.v = new(uint)
	}
	parsed, err := strconv.ParseUint(v, 0, 64)
	*(u.v) = (uint)(parsed)
	return err
}