// Set changes the increment to given value, the succeeding call to Next() will return the given value+1
178962
func (i *Int) Set(value int) {
	i.lock.Lock()
	defer i.lock.Unlock()
	i.increment = value
}
6869
func (o *setter) set(current interface{}, check predicate, apply applier) {
	if current == nil && (check == nil || check()) {
		apply()
		o.isSet = true
	}
}
538931
func (me *Int) Set(s string) {
	v, _ := strconv.ParseInt(s, 0, 32)
	*me = Int(v)
}
161459
func (m *MemSwapBytes) Set(value string) error {
	if value == "-1" {
		*m = MemSwapBytes(-1)
		return nil
	}
	val, err := units.RAMInBytes(value)
	*m = MemSwapBytes(val)
	return err
}
1094679
func (v *Gauge) Set(value int64) {
	v.Counter.i.Set(value)
}
684254
func (ia *IntValue) Set(s string) error {
	i, err := strconv.ParseInt(s, 10, 64)
	if err != nil {
		return err
	}
	*ia = IntValue(int(i))
	return nil
}
526675
func (l *Level) Set(value string) error {
	v, err := strconv.Atoi(value)
	if err != nil {
		return err
	}
	l.set(Level(v))
	return nil
}
323318
func (s *sliceOfStrings) Set(value string) error {
	parts := strings.Split(value, ",")
	if len(parts) == 0 {
		return fmt.Errorf("bad []string format: %s", value)
	}
	for _, entrypoint := range parts {
		*s = append(*s, entrypoint)
	}
	return nil
}
1360561
func (i *AtomicInt32) Set(n int32) {
	atomic.StoreInt32(&i.int32, n)
}
1285703
func (s *Settings) Set(key, value string) {
	s.settings[key] = value
}
98807
func (sa *StringsValue) Set(s string) error {
	*sa = append(*sa, s)
	return nil
}
1190514
func (s *storeImpl) Set(key string, val interface{}) {
	s.mutex.Lock()
	defer s.mutex.Unlock()
	s.objects[key] = object{contents: val}
}
831138
func (a *AtomicBool) Set(value bool) {
	var n int32
	if value {
		n = 1
	}
	atomic.StoreInt32(&a.v, n)
}
899282
func (r *Ref) Set(tx *Tx, val interface{}) interface{} {
	return tx.doSet(r, val)
}
235400
func (i *Int16) Set(value int16) {
	i.lock.Lock()
	defer i.lock.Unlock()
	i.increment = value
}
80415
func (pb *ProgressBar) Set(current int) *ProgressBar {
	return pb.Set64(int64(current))
}
1300413
func (d *diffTypes) Set(value string) error {
	// Dedupe repeated elements.
	for _, t := range *d {
		if t == value {
			return nil
		}
	}
	*d = append(*d, value)
	return nil
}