// SetB sets the B field's value.
327093
func (s *AttributeValue) SetB(v []byte) *AttributeValue {
	s.B = v
	return s
}
35304
func (e *Encoder) SetBase(i int) {
	if i < 2 {
		i = 2
	}
	e.base = i
}
516830
func (s *Cluster) SetDBName(v string) *Cluster {
	s.DBName = &v
	return s
}
280652
func (s *RedisMapStore) SetBase(base interface{}, tagName string) {
	if tagName == "" {
		tagName = "redis"
	}
	s.SetEncoder(func(input interface{}, properties ...string) (map[string]string, error) {
		return encoding.ToStringStringMap(tagName, input, properties...)
	})
	s.SetDecoder(func(input map[string]string) (output interface{}, err error) {
		return encoding.FromStringStringMap(tagName, base, input)
	})
}
320246
func (s *Value) SetBlobValue(v []byte) *Value {
	s.BlobValue = v
	return s
}
605496
func setbits(h *HashSet, b []byte, i int, k int) {
	h.addB(b)
	if k == 0 {
		return
	}
	for j := i; j < len(b)*8; j++ {
		b[j/8] |= byte(1 << uint(j&7))
		setbits(h, b, j+1, k-1)
		b[j/8] &= byte(^(1 << uint(j&7)))
	}
}
1096302
func (ba *bitArray) SetBit(k uint64) error {
	if k >= ba.Capacity() {
		return OutOfRangeError(k)
	}

	if !ba.anyset {
		ba.lowest = k
		ba.highest = k
		ba.anyset = true
	} else {
		if k < ba.lowest {
			ba.lowest = k
		} else if k > ba.highest {
			ba.highest = k
		}
	}

	i, pos := getIndexAndRemainder(k)
	ba.blocks[i] = ba.blocks[i].insert(pos)
	return nil
}
790560
func (s *DescribeJobOutput) SetJob(v *Job) *DescribeJobOutput {
	s.Job = v
	return s
}
247033
func (s *CancelSimulationJobInput) SetJob(v string) *CancelSimulationJobInput {
	s.Job = &v
	return s
}
198792
func (s *GetBlobInput) SetBlobId(v string) *GetBlobInput {
	s.BlobId = &v
	return s
}
50699
func (s *UploadLayerPartInput) SetLayerPartBlob(v []byte) *UploadLayerPartInput {
	s.LayerPartBlob = v
	return s
}
150267
func (r *Redis) SetBit(key string, offset, value int) (int64, error) {
	rp, err := r.ExecuteCommand("SETBIT", key, offset, value)
	if err != nil {
		return 0, err
	}
	return rp.IntegerValue()
}
123394
func (self *StateDB) setError(err error) {
	if self.dbErr == nil {
		self.dbErr = err
	}
}
910105
func (s *DiskSnapshot) SetSizeInGb(v int64) *DiskSnapshot {
	s.SizeInGb = &v
	return s
}
930743
func (s *GetJobOutput) SetJob(v *Job) *GetJobOutput {
	s.Job = v
	return s
}
1338057
func (b *Builder) SetSC(sc *variable.StatementContext) *Builder {
	b.sc = sc
	return b
}
1032188
func (s *CreateDiskInput) SetSizeInGb(v int64) *CreateDiskInput {
	s.SizeInGb = &v
	return s
}