function __construct(&$settings, $key_id, $value, $expire) { parent::__construct($settings); $this->settings =& $settings; $this->key_id = $key_id; $this->value = $value; $this->expire = $expire; }
function __construct(&$settings, $bootstrap_nodes) { parent::__construct($settings); $this->settings =& $settings; $this->bootstrap_nodes = $bootstrap_nodes; if (strlen($settings->own_node_id) !== N / 8) { $settings->own_node_id = Node::randomNodeId(); } }
public function __construct() { $this->namespace = 'doctrine'; $this->configDoctrine = $this->getDoctrineConfig(); $this->configDoctrine = $this->configDoctrine['doctrine']; $this->Con = Doctrine_Manager::connection(); $this->setDefaultOptions(); parent::__construct(); }
public function __construct($source, $filename, $input, $params) { // TODO: find out why java won't work with memory limit set to // more plausible values. $params['memorylimit'] = 0; Task::__construct($source, $filename, $input, $params); $this->default_params['interpreterargs'] = array("-Xrs", "-Xss8m", "-Xmx200m"); // Superclass constructor calls subclasses to get filename if it's // not provided, so $this->sourceFileName should now be set correctly. $extStart = strpos($this->sourceFileName, '.'); // Start of extension $this->mainClassName = substr($this->sourceFileName, 0, $extStart); }
function __construct(&$settings, $key_id, $initial_node_list = NULL) { parent::__construct($settings); if ($initial_node_list === NULL) { $this->initial_node_list = $settings->kbuckets->closestNodes($key_id, $settings->alpha); } else { $this->initial_node_list = $initial_node_list; } assert(get_class($this->initial_node_list) === 'Kademlia\\NodeList'); $this->settings =& $settings; $this->needle_id = Node::hexId2bin($key_id); $this->asked_nodes = new NodeList([]); $this->found_nodes = new NodeList([]); $this->hop = 0; $this->values = []; $this->previous_distance = NULL; $this->min_distance = str_repeat(chr(255), N / 8); }
public function __construct($task_id_, $server_, $applications_) { Logger::debug('main', 'Starting TASK_remove::__construct for task ' . $task_id_); parent::__construct($task_id_, $server_); $this->applications = $applications_; }
public function __construct($source, $filename, $input, $params) { Task::__construct($source, $filename, $input, $params); $this->default_params['interpreterargs'] = array('-BE'); }
public function __construct($source, $filename, $input, $params) { Task::__construct($source, $filename, $input, $params); $this->default_params['compileargs'] = array('-vew', '-Se'); // stop on first error }
public function __construct($source, $filename, $input, $params) { Task::__construct($source, $filename, $input, $params); $this->default_params['interpreterargs'] = array('--norc', '--no-window-system', '--silent', '-H'); }
function __construct(&$settings, $node) { parent::__construct($settings); $this->node = $node; }
public function __construct($source, $filename, $input, $params) { Task::__construct($source, $filename, $input, $params); $this->default_params['compileargs'] = array('-Wall', '-Werror', '-std=c99', '-x c'); }
public function __construct($interval, $cb) { $this->interval_ = $interval; parent::__construct((int) (gettimeofday(true) * 1000) + $this->interval_, $cb); }
/** * @param string $name Tasks name * @param array $group */ public function __construct($name, $group) { parent::__construct($name); $this->group = $group; }
function __construct(&$settings) { parent::__construct($settings); }
public function __construct($client, $response) { $task_id = get($response, "task_id"); parent::__construct($client, $task_id); $this->response = $response; }