results ////////////////////////////////////////////////////////
348556
@Override
  public long executeCount(CommandContext commandContext) {
    checkQueryOk();
    DbReadOnlyIdentityServiceProvider identityProvider = getIdentityProvider(commandContext);
    return identityProvider.findTenantCountByQueryCriteria(this);
  }
5936
def results(self):
        """"""
        if self.deriv == 0:
            return self.v,
        if self.deriv == 1:
            return self.v, self.d
        if self.deriv == 2:
            return self.v, self.d, self.dd
977467
function collectionResult (results) {
    // get context by executing any pre methods on collection views
    return this.collectionResultPre()
    // apply views to each record
    .then(context => {
        // if there are no results then do nothing
        if (!Array.isArray(results) || !results.length) {
            return context
        }
        // check if full records were loaded
        return this.query.limit === 1 || this.query.all
            // apply views to results directly
            ? this.collectionResultList(context, results)
            // create result object to iterate over results
            : this.collectionResultIterator(context, results)
    })
    // apply any post methods to context and return result
    .then(context => {
        return this.collectionResultPost(context)
    })
}
1348097
func (rb *ResultBuilder) Results() Results {
	return &results{
		query: rb.Query,
		proc:  rb.Process,
		res:   rb.Output,
	}
}
275084
public function getResults()
    {
        $results = array();

        $this->debugStart();

        $executeResults = $this->executeGetResults();

        $this->debugStop();

        foreach ($executeResults as $result) {
            $r = $this->getResult($result);
            if ($r != null) {
                $results[] = $r;
            }
        }

        return $results;
    }
745026
function(results) {        
        for(var i = 0; i < results.rows.length; i++) {
            console.log("Result " + (i + 1) + ": ");
            var row = results.rows[i];
            for(var j = 0; j < results.fields.length; j++) {
                var field = results.fields[j];
                var value = row[j];
                
                console.log("  " + field + " = " + value);
            }
        }
    }
1311621
public function getResults()
    {
        if ($this->_children === null) {
            $this->_children = $this->getFreshResults();
        }
        return $this->_children;
    }
227458
func (s *resultSorter) Results() []lsp.SymbolInformation {
	res := make([]lsp.SymbolInformation, len(s.results))
	for i, s := range s.results {
		res[i] = s.SymbolInformation
	}
	return res
}
739530
private List<String> getValues(UserCoreResult<?, ?, ?> results) {

		List<String> values = null;
		if (results != null) {
			try {
				if (results.getCount() > 0) {
					int columnIndex = results.getColumnIndex(COLUMN_VALUE);
					values = getColumnResults(columnIndex, results);
				} else {
					values = new ArrayList<>();
				}
			} finally {
				results.close();
			}
		} else {
			values = new ArrayList<>();
		}

		return values;
	}
1148631
private void addResult(ValidationResult result) {
		if (result == null || result.count() == 0) {
			return;
		}
		this.results.add(result);
	}
717414
private function processResults($results)
    {
        $entries = $this->connection->getEntries($results);

        $objects = [];

        if (array_key_exists('count', $entries)) {
            for ($i = 0; $i < $entries['count']; $i++) {
                $entry = $this->newLdapEntry($entries[$i], $this->connection);

                $objects[] = $entry->getAttributes();
            }

            if (!empty($this->sortByField)) {
                return $this->processSortBy($objects);
            }
        }

        return $objects;
    }
652289
protected function getResult()
    {
        foreach ($this->validators as $validator) {
            if (! $this->continueValidation($validator)) {
                return false;

            }
            if ($this->useValidator($validator) && $validator->isValid($this->account)) {
                return true;

            }

        }
        return false;
    }
747461
def is_get_query_with_results(results):
        
        return results and EsConst.FOUND in results and results[EsConst.FOUND] and EsConst.FIELDS in results
479174
protected function result(&$result)
    {
        if (!empty($this->options['json'])) {
            $this->jsonResult($result, $this->options['json'], true);
        }

        if (!empty($this->options['with_attr'])) {
            $this->getResultAttr($result, $this->options['with_attr']);
        }
    }
880886
public List<T> allResults() {
        List<T> results = null;
        if (response != null && response.size() > 0) {
            // We first calculate the total size needed
            int totalSize = allResultsSize();

            // We init the list and copy data
            results = new ArrayList<>(totalSize);
            for (QueryResult<T> queryResult : response) {
                results.addAll(queryResult.getResult());
            }
        }
        return results;
    }
771531
public java.util.List<String> getResults() {
        if (results == null) {
            results = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return results;
    }
81959
public static function getResults()
		{
			/**
			 * ['title']
			 * ['state']    = OK, WARNING, ERROR
			 * ['hint']
			 */
			$checks = [];

			// Checks PHP Version
			$title = 'PHP - Version - ' . PHP_VERSION;

			# && version_compare(PHP_VERSION, '5.9.0', '<')
			if (version_compare(PHP_VERSION, '5.4.0', '>=')) {
				$checks[] = [
					'title' => $title,
					'state' => 'OK'
				];
			} elseif (version_compare(PHP_VERSION, '5.3.0', '<=')) {
				$checks[] = [
					'title' => $title,
					'state' => 'ERROR',
					'hint'  => 'Minimum 5.4'
				];
			}

			// PDO extension
			$title = 'PDO extension';
			if (extension_loaded('pdo')) {
				$checks[] = [
					'title' => $title,
					'state' => 'OK'
				];
			} else {
				$checks[] = [
					'title' => $title,
					'state' => 'ERROR',
					'hint'  => 'Install PDO Extension'
				];
			}

			// PDO MySQL extension
			$title = 'PDO MySQL extension';
			if (extension_loaded('pdo_mysql')) {
				$checks[] = [
					'title' => $title,
					'state' => 'OK'
				];
			} else {
				$checks[] = [
					'title' => $title,
					'state' => 'ERROR',
					'hint'  => 'Required by database'
				];
			}

			// Checks GD Extension
			$title = 'PHP - GD Extension';
			if (function_exists('gd_info')) {
				$checks[] = [
					'title' => $title,
					'state' => 'OK'
				];
			} else {
				$checks[] = [
					'title' => $title,
					'state' => 'ERROR',
					'hint'  => 'Install GD Extension'
				];
			}

			// PHP SMTP
			$title = 'PHP Mail SMTP';
			if (strlen(ini_get('SMTP')) > 0) {
				$checks[] = [
					'title' => $title,
					'state' => 'OK'
				];
			} else {
				$checks[] = [
					'title' => $title,
					'state' => 'WARNING',
					'hint'  => 'SMTP is required to send mails'
				];
			}

			// Checks Writable Config
			$title      = 'Permissions - Config';
			$configFile = dirname(Yii::$app->params['dynamicConfigFile']);
			if (is_writeable($configFile)) {
				$checks[] = [
					'title' => $title,
					'state' => 'OK'
				];
			} else {
				$checks[] = [
					'title' => $title,
					'state' => 'ERROR',
					'hint'  => 'Make ' . $configFile . " writable"
				];
			}

			// Check Runtime Directory
			$title = 'Permissions - Runtime';
			if (is_writable(Yii::$app->runtimePath)) {
				$checks[] = [
					'title' => $title,
					'state' => 'OK'
				];
			} else {
				$checks[] = [
					'title' => $title,
					'state' => 'ERROR',
					'hint'  => 'Make ' . Yii::$app->runtimePath . ' writable'
				];
			}

			// Only for Windows
			if (strpos(strtolower(php_uname('s')), 'windows') !== FALSE) {
				// Check COM support
				$title = 'PHP COM Support';
				if (extension_loaded('com_dotnet')) {
					$checks[] = [
						'title' => $title,
						'state' => 'OK'
					];
				} else {
					$checks[] = [
						'title' => $title,
						'state' => 'ERROR',
						'hint'  => 'Install COM extension - ' . Html::a('COM Support', 'http://php.net/manual/en/book.com
					.php', ['target' => 'blank'])
					];
				}
			}

			return $checks;
		}