Sets the 11-byte volume label stored at offset 0x47.

@param label the new volume label, may be {@code null}
167453
public void setVolumeLabel(String label) {
        for (int i=0; i < 11; i++) {
            final byte c =
                    (label == null) ? 0 :
                    (label.length() > i) ? (byte) label.charAt(i) : 0x20;

            set8(0x47 + i, c);
        }
    }
491703
@Override
    public void setNewNumberOfLabels(int labels) {
        int examples = numExamples();
        INDArray newOutcomes = Nd4j.create(examples, labels);
        setLabels(newOutcomes);
    }
934122
public void setLabels(Collection<LabelType> labels) {
    this.labels.clear();
    if (labels != null) {
      this.labels.addAll(labels);
    }
  }
230004
public void add(Constraint constr, String... label)
	{
		checkLabels(constr.canGenerate(), label);

		int[] ind = convertLabelsToInds(label);

		if (ind.length != constr.getVariableSize())
		{
			throw new IllegalArgumentException("Mapped elements do not match the constraint size.");
		}

		// This will also increment lastIndex if necessary
		add(constr, ind);

		if (!hasLabel(label[label.length - 1]) && constr.canGenerate())
		{
			label(label[label.length - 1], lastIndex);
		}
	}
685610
function ( label, input ) {
		var avail = this.box.width - label.offsetWidth;
		var space = gui.Client.isGecko ? 6 : 4;
		input.style.width = avail - space + "px";
	}
1036523
public static boolean isEmpty(final Label label) {
        for (Label.MapFieldEntry entry : label.getEntryList()) {
            for (String value : entry.getValueList()) {
                if (!value.isEmpty()) {
                    return false;
                }
            }
        }
        return true;
    }
1212912
public void setIso6391(String iso6391) {
    if(iso6391 != null) {
      iso6391 = iso6391.trim();
    }
    this.iso6391 = iso6391;
  }
891135
public void storeLabel(String label) {
        if (labels == null)
            labels = new ArrayList<>();

        if (!uniq.contains(label)) {
            uniq.add(label);
            labels.add(label);
        }
    }
677848
public void addLabel(Label label)
    {
        // Add the label to any applications it is associated with
        List<Long> applicationIds = label.getLinks().getApplications();
        for(long applicationId : applicationIds)
        {
            Application application = applications.get(applicationId);
            if(application != null)
                labels(applicationId).add(label);
            else
                logger.severe(String.format("Unable to find application for label '%s': %d", label.getKey(), applicationId));
        }
    }
683849
public function setDispositionParameter($label, $data)
    {
        $cd = $this->_headers['content-disposition'];

        if (is_null($data)) {
            unset($cd[$label]);
        } elseif (strlen($data)) {
            $cd[$label] = $data;

            if (strcasecmp($label, 'size') === 0) {
                // RFC 2183 [2.7] - size parameter
                $this->_bytes = $cd[$label];
            } elseif ((strcasecmp($label, 'filename') === 0) &&
                      !strlen($cd->value)) {
                /* Set part to attachment if not already explicitly set to
                 * 'inline'. */
                $cd->setContentParamValue('attachment');
            }
        }
    }
736566
@Override
    public boolean validateLabel(String label) {
        Objects.requireNonNull(label, "label cannot be null");
        // check label is in set
        return !labels.contains(label);
    }
197703
public int store(String label) {
		if (StrInt.containsKey(label)) {
			return (StrInt.get(label).intValue());
		} else if (!newLabelsAllowed) {
			return KEY_DUMMY_LABEL;
		} else { // store label
			Integer intKey = new Integer(count++);
			StrInt.put(label, intKey);
			IntStr.put(intKey, label);

			return intKey.intValue();
		}
	}
957082
private void nullConvert(Label end) {
        LocalVariable temp = createLocalVariable("temp", TypeDesc.OBJECT);
        storeLocal(temp);
        loadLocal(temp);
        Label notNull = createLabel();
        ifNullBranch(notNull, false);
        loadNull();
        branch(end);
        notNull.setLocation();
        loadLocal(temp);
    }
284507
public void setLabels(List<Label> labels) {
        assertNotNull(labels);
        if (this.labels != null)
            this.labels.clear();
        for (Label l : labels) {
            addLabel(l);
        }
    }
971963
public ClientConfig addLabel(String label) {
        Preconditions.isNotNull(label, "label");
        labels.add(label);
        return this;
    }
593102
public FieldErrorBuilder label(final Optional<String> label) {
        label.ifPresent(l -> label(l));
        return this;
    }
1049616
public static Label buildLabel(final String label) {
        return addLabel(Label.newBuilder(), Locale.getDefault(), label).build();
    }