Add a milestone
        :param codelistoid: specify the CodeListOID (defaults to MILESTONES)
        :param str milestone: Milestone to add
423193
def add_milestone(self,
                      milestone,
                      codelistoid="MILESTONES"):
        
        if milestone not in self.milestones.get(codelistoid, []):
            self._milestones.setdefault(codelistoid, []).append(milestone)
635874
public void addIzouSoundLine(AddOnModel addOnModel, IzouSoundLineBaseClass izouSoundLine) {
        debug("adding soundLine " + izouSoundLine + " from " + addOnModel);
        if (permanentAddOn != null && permanentAddOn.equals(addOnModel)) {
            addPermanent(izouSoundLine);
        } else {
            addNonPermanent(addOnModel, izouSoundLine);
        }
        izouSoundLine.registerCloseCallback(voit -> closeCallback(addOnModel, izouSoundLine));
        izouSoundLine.registerMuteCallback(voit -> muteCallback(addOnModel, izouSoundLine));
    }
14816
def _add(self, codeobj):
        """"""
        assert isinstance(codeobj, (CodeStatement, CodeExpression))
        self.body._add(codeobj)
18773
def create_milestones(self, project_id, milestones):
        
        path = '/projects/%u/milestones/create' % project_id
        req = ET.Element('request')
        for milestone in milestones:
            req.append(self._create_milestone_elem(*milestone))
        return self._request(path, req)
828566
def list_milestones(self, **queryparams):
        
        return Milestones(self.requester).list(project=self.id, **queryparams)
141685
private void addPoint() {
		ControlPoint point = new ControlPoint(Color.white, 0.5f);
		for (int i=0;i<list.size()-1;i++) {
			ControlPoint now = (ControlPoint) list.get(i);
			ControlPoint next = (ControlPoint) list.get(i+1);
			if ((now.pos <= 0.5f) && (next.pos >=0.5f)) {
				list.add(i+1,point);
				break;
			}
			
		}
		selected = point;
		sortPoints();
		repaint(0);
		
		fireUpdate();
	}
119586
def addBoth(self, callback, *args, **kw):
        
        return self.addCallbacks(callback, callback, args, kw, args, kw)
896860
def update(user_name, repo_name, milestone_id, params={})
      _update_user_repo_params(user_name, repo_name)
      _validate_user_repo_params(user, repo) unless user? && repo?
      _validate_presence_of milestone_id

      normalize! params
      filter! VALID_MILESTONE_INPUTS, params
      assert_required_keys(%w[ name ], params)

      put_request("/1.0/repositories/#{user}/#{repo.downcase}/issues/milestones/#{milestone_id}", params)
    end
834431
public PyCodeBuilder append(String... codeFragments) {
    for (String codeFragment : codeFragments) {
      code.append(codeFragment);
    }
    return this;
  }
179069
def add(self, item):
        
        check_not_none(item, "item can't be none")
        return self._encode_invoke(transactional_list_add_codec, item=self._to_data(item))
313279
def add(self, item):
        
        check_not_none(item, "Value can't be None")
        element_data = self._to_data(item)
        return self._encode_invoke(list_add_codec, value=element_data)
570167
def add_codedValue(self, name, code):
        
        if self._codedValues is None:
            self._codedValues = []
        self._codedValues.append(
            {"name": name, "code": code}
        )
33466
def add(self, item, position=5):
        
        if item in self.items:
            return
        self.items[item] = position
        self._add_dep(item)
        self.order = None
        self.changed(code_changed=True)
192689
def add(self, feature):
        
        self.features_.append(feature)
        self.num_features_ = len(self.features_)
1003464
def add(self, val):
        
        if not isinstance(val, six.integer_types):
            raise ValueError("CumulativePointLong only supports integer types")
        if val > 0:
            super(CumulativePointLong, self).add(val)
944902
def _add(self, codeobj):
        """"""
        assert isinstance(codeobj, (CodeFunction, CodeVariable, CodeClass))
        self.members.append(codeobj)
        codeobj.member_of = self
830902
def add_markable(self,markable_obj):
        
        if self.markable_layer is None:
            self.markable_layer = Cmarkables(type=self.type)
            self.root.append(self.markable_layer.get_node())
        self.markable_layer.add_markable(markable_obj)