*********** Description *************
769980
function Description (msg, f, options) {
  this.id = ++id;
  // Static fields:
  this.message = msg;
  this.behavior = f;
  this.verbose = false;
  this.specificationIntended = undefined;
  Object.assign(this, options || {});
  // Internal (dynamic) fields:
  this.specifications = [];
  this.result = undefined;
  this.raisedException = false;
  this.exception = null;
  this.specificationAttempted = 0;
  this.specificationSuccessful = 0;
  this.expectationAttempted = 0;
  this.expectationSuccessful = 0;
  this.pass = false;
  this.log = [];
}
158360
public function describe()
    {

        $sql = 'DESCRIBE ' . $this->name;
        $schema = $this->dbo->prepare($sql)->execute();

        while ($row = $schema->fetchObject()) {

            if (preg_match('/unsigned/', $row->Type)) {
                $row->Unsigned = true;
            }
            if (preg_match('/^((?:var)?char)\((\d+)\)/', $row->Type, $matches)) {
                //$row->Type      = $matches[1];
                $row->Validate = 'string'; //
                $row->Length = $matches[2];
            } else if (preg_match('/^decimal\((\d+),(\d+)\)/', $row->Type, $matches)) {
                //$row->Type      = 'decimal';
                $row->Validate = 'decimal';
                $row->Precission = $matches[1];
                $row->Scale = $matches[2];
            } else if (preg_match('/^float\((\d+),(\d+)\)/', $row->Type, $matches)) {
                //$row->Type      = 'float';
                $row->Validate = 'float';
                $row->Precission = $matches[1];
                $row->Scale = $matches[2];
            } else if (preg_match('/^((?:big|medium|small|tiny)?int)\((\d+)\)/', $row->Type, $matches)) {
                //$row->Type = 'interger'; //$matches[1];
                $row->Validate = 'interger';
                $row->Length = $matches[2];
            }
            if (strtoupper($row->Key) == 'PRI') {
                $row->Primary = true;

                if ($row->Extra == 'auto_increment') {
                    $row->Identity = true;
                } else {
                    $row->Identity = false;
                }
            }

            if (strtoupper($row->Null) == 'NO') {
                $row->Null = 0;
            } else {
                $row->Null = 1;
            }

            $this->schema[$row->Field] = $row;
        }

        //Just something good!
        return true;
    }
1012682
def file_describe(object_id, input_params={}, always_retry=True, **kwargs):
    
    return DXHTTPRequest('/%s/describe' % object_id, input_params, always_retry=always_retry, **kwargs)
760478
public function description($description = null)
    {
        if ($description === null) {
            return $this->description;
        }

        $this->description = $description;
    }
341261
function (description, errdesc) {

        //TODO: errdesc is a bit vague
        var desc = {
            description : description
        };
        if (errdesc) {
            if (errdesc.line) { // Integers
                desc.line = errdesc.line;
                desc.column = errdesc.column;
            }
            if (errdesc.code) { // String
                desc.code = errdesc.code;
            }
            if (errdesc.suberrors) { // Array of String
                desc.suberrors = errdesc.suberrors;
            }
        }
        this.errors.push(desc);
    }
259619
private static void addDescription(int type, String description) {
        if (description.startsWith("<") && description.endsWith(">")) {
            DESCRIPTIONS.put(type, description);
        } else {
            DESCRIPTIONS.put(type, '"' + description + '"');
        }
    }
790195
function describe(id, callback) {
    if (id == undefined)
      return callback(new TypeError("'id' can't be null or undefined"))

    var mediaObject = objects[id];
    if (mediaObject) return callback(null, mediaObject);

    var params = {
      object: id
    };

    function callback2(error, result) {
      if (error) return callback(error);

      var mediaObject = mediaObjectCreator.createInmediate(result);

      return callback(null, registerObject(mediaObject, id));
    }

    encode('describe', params, callback2);
  }
231013
def describe(self):
        """"""
        result = "No description available"
        if self.description:
            result = "%s" % self.description
        else:
            if self.__doc__:
                s = []
                s += [self.__doc__.strip().replace('\n', '').
                      replace('    ', ' ')]
                result = '\n'.join(s)
        return result
338606
@Override
    public String getDescription()
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(tc, "getDescription");

        String desc = _definition.getDescription();

        // Assume that a null description means inherit.
        if (null == desc)
        {
            desc = getTarget().getDescription();
        }

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(tc, "getDescription", desc);

        return desc;
    }
765192
function setDescription( $value, $params=FALSE ) {
    $description['value']  = $value;
    $description['params'] = $this->_setParams( $params );
    $this->description[]   = $description;
  }
466719
public void setDescription(String description) {

        if (CmsStringUtil.isEmptyOrWhitespaceOnly(description)) {
            throw new CmsIllegalArgumentException(
                org.opencms.db.Messages.get().container(org.opencms.db.Messages.ERR_BAD_OU_DESCRIPTION_EMPTY_0));
        }

        m_description = description;
    }
1090250
@Override
	public void setDescription(String description, java.util.Locale locale) {
		_cpSpecificationOption.setDescription(description, locale);
	}
770776
public function description()
    {
        //====================================================================//
        // Stack Trace
        Splash::log()->trace();

        //====================================================================//
        // Build & Return Widget Description Array
        return array(
            //====================================================================//
            // General Object definition
            "type" => $this->getType(),                   // Widget Type Name
            "name" => $this->getName(),                   // Widget Display Neme
            "description" => $this->getDesc(),                   // Widget Descritioon
            "icon" => $this->getIcon(),                   // Widget Icon
            "disabled" => $this->getIsDisabled(),             // Is This Widget Enabled or Not?
            //====================================================================//
            // Widget Default Options
            "options" => $this->getOptions(),                // Widget Default Options Array
            //====================================================================//
            // Widget Parameters
            "parameters" => $this->getParameters(),             // Widget Default Options Array
        );
    }
1193046
public EncryptionMaterials withDescription(String name, String value) {
    description.put(name, value);
    return this;
  }
435187
def description(self, *args):
        '''
        
        '''
        if len(args):
            self._str_desc = args[0]
        else:
            return self._str_desc
310865
@Override
    public void setDescription(final String description) {
        if (this.description == null) {
            this.description = new SyndContentImpl();
        }
        this.description.setValue(description);
    }
421821
function describeOrg(org) {
		var name = org.Name;
		var strResult = name;

		strResult += ": ";
		if (org.Spaces){
			org.Spaces.forEach(function(space, index){
				strResult += space.Name;
				if (index < org.Spaces.length - 1)
					strResult += ", ";
			});
		} else {
			strResult += messages["<none>"];
		}
		
		return strResult;
	}