Returns the value of this Slot.
339961
def value(self):
    """"""
    if hasattr(self, '_value_decoded'):
      return self._value_decoded

    if self.value_blob is not None:
      encoded_value = self.value_blob.open().read()
    else:
      encoded_value = self.value_text

    self._value_decoded = json.loads(encoded_value, cls=util.JsonDecoder)
    return self._value_decoded
802281
public double getValue()
    {           // Get this field's value
        if (m_data == null)
            return 0;
        double doubleField = Double.valueOf((String)m_data).doubleValue();
        return doubleField;
    }
1245020
public Object getValue() {
    if (!type.isCachable() || cachedValue == null) {
      cachedValue = type.getValue(this);
    }
    return cachedValue;
  }
1240887
public double getMeanValue() {
        Lock lock = this.lock.readLock();
        lock.lock();
        try {
            return this.meanValue;
        } finally {
            lock.unlock();
        }
    }
337632
function (value) {
        if (value === null || value === undefined) {
            return this.slot.keys.length;
        } else {
            assertType(value, Number);

            if (value !== this.slot.keys.length) {
                if (value < this.slot.size) {
                    error(ERROR_ARGUMENT_OUT_OF_RANGE);
                }

                this.slot.keys.length = value;
                this.slot.values.length = value;
            }
        }
    }
452311
public function value()
    {
        if ($this->values) {
            return end($this->values);
        }
        $cast_method = 'castTo' . ucwords($this->castTo);
        return $this->{$cast_method}(current($this->defaultValue()));
    }
895669
public int intValue() {
		int value;
		value = Integer.parseInt(this.param);
		if(this.isNeg) value = (-value);
		return value;
	}
397907
public boolean get() {
		switch (state) {
			case UNSET:
				return valueIfUnset;
			case FALSE:
				return false;
			case TRUE:
				return true;
			case CONFLICTING:
				return valueIfConflicting;
			default:
				throw new RuntimeException("Unknown state");
		}
	}
329530
def value(self):
        
        if self._enum and issubclass(self._enum, Enumeration):
            name = self._enum.get_name(self._value)
            if name:
                return name
        return self._value
319411
public byte getNearestOccidentalValue() {
		if (m_value == _NONE || m_value == _NATURAL)
			return 0;
		if ((m_value == _DOUBLE_FLAT) || (m_value == _DOUBLE_SHARP))
			return (byte)m_value;
		if (m_value < 0)
			return -1;//flat
		if (m_value > 0)
			return 1;//sharp
		return 0;
	}
216212
def GetValue(self):
    '''
    
    '''
    self.AssertInitialization('Choice')
    if self._widget.GetValue() == self._DEFAULT_VALUE:
      return None
    return ' '.join(
      [self._action.option_strings[0] if self._action.option_strings else '',  # get the verbose copy if available
       self._widget.GetValue()])
478642
public double getValue()
    {           // Get this field's value
        java.util.Date dateValue = (java.util.Date)this.getData();  // Get the physical data
        if (dateValue == null)
            return 0;
        return (double)dateValue.getTime();
    }
233175
def getvalue(self):
        

        if self.strategy == 0:
            return self._delegate.getvalue()
        self._delegate.flush()
        self._delegate.seek(0)
        value = self._delegate.read()
        if not isinstance(value, six.binary_type):
            value = value.encode('utf-8')
        return value
865540
public String getValue() {
		
		String results = super.getValue();
		
		try {
			Long.parseLong(super.getValue());
			results = addUnits(super.getValue());
		}catch(NumberFormatException e) {}
		
		return results;
	
	}
549042
def get_value(self, name):
        """"""
        value = self.shellwidget.get_value(name)
        # Reset temporal variable where value is saved to
        # save memory
        self.shellwidget._kernel_value = None
        return value
84949
def getuvalue(self):
		
		bitset = [0] * self.width
		zero = [1] * self.width
		for shift in range(self.width):
			bitset[shift] = (self._value & (1 << shift)) >> shift
		if(self._sign):
			bitset = bitsetxor(zero, bitset)

		value = [ bitset[shift] << shift for shift in range(self.width)]
		return sum(value)
103128
@Override
	public Long getValue() {
		final JobStatus status = eg.getState();

		if (status == JobStatus.RUNNING) {
			// running right now - report the uptime
			final long runningTimestamp = eg.getStatusTimestamp(JobStatus.RUNNING);
			// we use 'Math.max' here to avoid negative timestamps when clocks change
			return Math.max(System.currentTimeMillis() - runningTimestamp, 0);
		}
		else if (status.isTerminalState()) {
			// not running any more -> finished or not on leader
			return NO_LONGER_RUNNING;
		}
		else {
			// not yet running or not up at the moment
			return 0L;
		}
	}