Appends a label to the host.
480144
public function append($label): self
    {
        $label = $this->filterComponent($label);
        if (null === $label) {
            return $this;
        }

        return new self($this->getContent().self::SEPARATOR.$label);
    }
231743
def add(self, host, **kwargs):
        
        if host in self.hosts_:
            raise ValueError("Host %s: exists (use update)." % host)
        self.hosts_.add(host)
        self.lines_.append(ConfigLine(line="", host=None))
        self.lines_.append(ConfigLine(line="Host %s" % host, host=host, key="Host", value=host))
        for k, v in kwargs.items():
            if type(v) not in [list, tuple]:
                v = [v]
            mapped_k = _remap_key(k)
            for value in v:
                self.lines_.append(ConfigLine(line="  %s %s" % (mapped_k, str(value)), host=host, key=mapped_k, value=value))
        self.lines_.append(ConfigLine(line="", host=None))
1005404
def add_label(self, name, addr):
        

        # set the label
        self._symbolization_needed = True

        self.symbol_manager.new_label(addr, name=name, force=True)
1348559
public DynaFormLabel addLabel(final String value, final int colspan, final int rowspan) {
        return addLabel(value, true, colspan, rowspan);
    }
1094521
public void addText(String label,
                        String value)
    {
        Composite c = new Composite();
        c.add(value);
        addField(label,c);
    }
1328647
def label(self, value):
        
        # Fixed width label formatting
        value = value[:self.pad_size] if self.pad_size else value
        try:
            padding = ' ' * (self.pad_size - len(value)) if self.pad_size else ''
        except TypeError:
            padding = ''

        self._formatted = ' {v}{p} '.format(v=value, p=padding)
880639
def add_feature(self, label, value=None):
        
        if self.escape:
            label = escape_vw_string(label)
        elif self.validate:
            validate_vw_string(label)
        feature = (label, value)
        self.features.append(feature)
566526
def addUsage_Label(self,usage_label):
        '''
        '''
        if isinstance(usage_label, Usage_Label):
            self.usage_labels.append(usage_label)
        else:
            raise (Usage_LabelError,
                   'usage_label Type should be Usage_Label, not %s' % type(
                    usage_label)
                   )
801115
def add_label(self, doc, label, update_index=True):
        
        label = copy.copy(label)
        assert(label in self.labels.values())
        doc.add_label(label)
        if update_index:
            self.upd_doc(doc)
            self.commit()
835588
def add_item(self, label, s):
        
        self.append(Command('item', options=label))
        self.append(s)
456116
public static Label buildLabel(final Locale locale, final String label) {
        return addLabel(Label.newBuilder(), locale.getLanguage(), label).build();
    }
491208
def setLabel(self, value, label):
        
        if label:
            self._labels[value] = label
        else:
            self._labels.pop(value, None)
790657
def update_label(self):
        """"""
        current_file = str(self.selectedFiles()[0])
        if not '.' in current_file.split(os.path.sep)[-1]:
            # add hdf5 extention if none given
            current_file += '.hdf5'
        if os.path.isfile(current_file):
            self.setLabelText(QtGui.QFileDialog.Accept, 'Reload')
        elif os.path.isdir(current_file):
            self.setLabelText(QtGui.QFileDialog.Accept, 'Open')
        else:
            self.setLabelText(QtGui.QFileDialog.Accept, 'Create')
963262
private void appendBreadCrumbEntry(StringBuffer buffer, String target, String label) {

        if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(target)) {
            buffer.append("<a href=\"#!").append(target).append(
                "\" title=\"" + CmsDomUtil.escapeXml(label) + "\"><span>").append(label).append("</span></a>");
        } else {
            buffer.append(
                "<span class=\"o-tools-breadcrumb-active\" title=\""
                    + CmsDomUtil.escapeXml(label)
                    + "\"><span>").append(label).append("</span></span>");
        }
    }
512153
public Version append(int number, String label) {
        validateNumber(number);
        return appendNumber(number, label);
    }
1203168
def add_arguments(self):
        
        super(LabelCommand, self).add_arguments()
        self.parser.add_argument('labels', metavar=self.label, nargs="+")
867400
public void addLabeledFolder(String uri) {

        m_labelSiteFolders.add(uri);
        if (CmsLog.INIT.isInfoEnabled()) {
            CmsLog.INIT.info(Messages.get().getBundle().key(Messages.INIT_LABEL_LINKS_IN_FOLDER_1, uri));
        }
    }