//AddProperty adds new property to log
485418
func (p *Properties) AddProperty(key string, value interface{}) {
	p.Property[key] = value
}
444416
func (l *Logger) AddContext(key, val string) {
	l.globalsL.Lock()
	defer l.globalsL.Unlock()
	updateContextMapIfNotReserved(l.globals, key, val)
}
215413
func (s *JobRun) SetNotificationProperty(v *NotificationProperty) *JobRun {
	s.NotificationProperty = v
	return s
}
563037
func (b *FugaJSONBuilder) Add(info *FugaPropertyInfo) *FugaJSONBuilder {
	b._properties[info.fieldName] = info
	return b
}
712586
func (t *Type) GetProperty(name string) Property {
	propInterface, ok := t.Properties[name]
	if !ok {
		panic(fmt.Errorf("property %v not exist", name))
	}

	prop := toProperty(name, propInterface)
	prop._type = t

	return prop
}
455914
func NewProperties(parameters *TestParameters) *Properties {
	if parameters == nil {
		parameters = DefaultTestParameters()
	}
	return &Properties{
		parameters: parameters,
		props:      make(map[string]Prop, 0),
		propNames:  make([]string, 0),
	}
}
365027
func (a *Attempt_ID) FromProperty(p datastore.Property) error {
	if p.Type() != datastore.PTString {
		return fmt.Errorf("wrong type for property: %s", p.Type())
	}
	return a.SetDMEncoded(p.Value().(string))
}
777110
func (s *Namespace) SetProperties(v *NamespaceProperties) *Namespace {
	s.Properties = v
	return s
}
734719
func (dp *Datapoint) SetProperty(key string, value interface{}) {
	if dp.Meta[tsProperty] == nil {
		dp.Meta[tsProperty] = make(map[string]interface{}, 1)
	}
	dp.GetProperties()[key] = value
}
302009
func (c *logCache) AddLog(uri, b64PK string, logger blog.Logger) (*Log, error) {
	// Lock the mutex for reading to check the cache
	c.RLock()
	log, present := c.logs[b64PK]
	c.RUnlock()

	// If we have already added this log, give it back
	if present {
		return log, nil
	}

	// Lock the mutex for writing to add to the cache
	c.Lock()
	defer c.Unlock()

	// Construct a Log, add it to the cache, and return it to the caller
	log, err := NewLog(uri, b64PK, logger)
	if err != nil {
		return nil, err
	}
	c.logs[b64PK] = log
	return log, nil
}
1341680
func (v *IDispatch) PutProperty(name string, params ...interface{}) (*VARIANT, error) {
	return v.InvokeWithOptionalArgs(name, DISPATCH_PROPERTYPUT, params)
}
924564
func (s *Job) SetNotificationProperty(v *NotificationProperty) *Job {
	s.NotificationProperty = v
	return s
}
1178185
func (s *PropertyDifference) SetPropertyPath(v string) *PropertyDifference {
	s.PropertyPath = &v
	return s
}
1262253
func (m *ManifestLink) FromProperty(p ds.Property) (err error) {
	val, err := p.Project(ds.PTBytes)
	if err != nil {
		return err
	}
	buf := bytes.NewReader(val.([]byte))
	if m.Name, _, err = cmpbin.ReadString(buf); err != nil {
		return
	}
	m.ID, _, err = cmpbin.ReadBytes(buf)
	return
}
1197826
func (p *Properties) Property(name string, prop Prop) {
	p.propNames = append(p.propNames, name)
	p.props[name] = prop
}
57087
func PutProperty(disp *ole.IDispatch, name string, params ...interface{}) (result *ole.VARIANT, err error) {
	return disp.InvokeWithOptionalArgs(name, ole.DISPATCH_PROPERTYPUT, params)
}
128696
func (s *Trace) AddEntry(lineNumber int, packageName, fileName, methodName string) {
	*s = append(*s, &TraceElement{lineNumber, packageName, fileName, methodName})
}