// Set adds a key/pair to the a section in the systemd manifest
349902
func (m *Manifest) Set(name, key, value string) {
	s := m.getSection(name)
	s.entries = append(s.entries, fmt.Sprintf("%s=%s\n", key, value))
}
1002483
func (sm *SegmentMap) Set(key []byte, value interface{}, force bool) bool {
	idx := int64(crc32.Checksum(key, sm.crcTable)) % sm.size
	k := string(key)
	_, exist := sm.maps[idx][k]
	if exist && !force {
		return exist
	}

	sm.maps[idx][k] = value
	return exist
}
488415
func Set(name string, properties map[string]string) error {
	cmd := newCmd("set")
	cmd = addSetProperties(cmd, properties)
	cmd = addNonEmpty(cmd, name)
	return zExecNoOut(cmd)
}
1171259
func (d *partialArray) set(key string, val *lazyNode) error {
	idx, err := strconv.Atoi(key)
	if err != nil {
		return err
	}
	(*d)[idx] = val
	return nil
}
35975
func (s Uint64Slice) Set(v uint64) {
	for i := range s {
		s[i] = v
	}
}
905837
func (m *InstallMode) Set(value string) error {
	val := InstallMode(value)
	if err := ValidateInstallMode(val); err != nil {
		return err
	}
	*m = val
	return nil
}
1072659
func (ctx *Context) Set(key, value string) {
	ctx.SetHeader(key, value)
}
1174533
func (fds *FDSet) Set(fd uintptr) {
	fds.Bits[fd/NFDBITS] |= (1 << (fd % NFDBITS))
}
176392
func (s *SystemInfo) Set(name string, val string) {
	s.GetSet.Set(s, name, val)
}
542344
func (m Map) Set(key, value string) {
	m[key] = []string{value}
}
15349
func (r *MemoryTTL) Set(key string, value interface{}) error {
	r.Lock()
	defer r.Unlock()

	r.cache.Set(key, value)
	r.setAts[key] = time.Now()
	return nil
}
673034
func (fds *FDSet) Set(fd uintptr) {
	fds.X__fds_bits[fd/NFDBITS] |= (1 << (fd % NFDBITS))
}
605728
func (st *TxnState) Set(k kv.Key, v []byte) error {
	return st.buf.Set(k, v)
}
1001125
func (c *MemoryCache) Set(key string, resp []byte) {
	c.mu.Lock()
	c.items[key] = resp
	c.mu.Unlock()
}
42991
func (f *stringSliceFlag) Set(val string) error {
	*f = append(*f, val)
	return nil
}
1148529
func (fds *FDSet) Set(fd uintptr) {
	var i uint
	for i = 0; i < fds.fd_count; i++ {
		if fds.fd_array[i] == fd {
			break
		}
	}
	if i == fds.fd_count {
		if fds.fd_count < FD_SETSIZE {
			fds.fd_array[i] = fd
			fds.fd_count++
		}
	}
}
726861
func (c *TwoTier) Set(key string, value []byte) {
	c.second.Set(key, value)
	c.first.Delete(key)
}