...bres a recuperar la confianza en su potencia, olvidate de las situaciones dificiles que pueden ocurrir durante la intimidad. Las propiedades de Levitra no afectara a las bebidas alcoholicas o alimentos altos en calorias, ya que, como usted sabe, una cena romantica es impensable sin un vaso de buen v...
...unction __construct($cmd, $arg1 = 0, $arg2 = 0, $buf = '', $buf1 = ''){ if (is_array($cmd)) { foreach ($cmd as $key => $value) { if ($key === 'arg' || property_exists($this, $key)) { $this->$key = $value; } } } else { $this->cmd = $cmd;...
... 1; // 默认切分长度 public function __construct($arg = null){ if ($arg !== null && $arg !== '') $this->length = $arg; } public function getTokens($value, XSDocument $doc=null){ $charset = is_object($doc) ? $doc->getCharset() : 'UTF-8'; $ret = array(); //如果词的总...
...ts while (true) { $res = $this->getRespond(); if ($res->cmd == XS_CMD_SEARCH_RESULT_FIELD) { $ret[] = XS::convert($res->buf, $this->_charset, 'UTF-8'); } elseif ($res->cmd == XS_CMD_OK && $res->arg == XS_CMD_OK_RESULT_END) { // go...
...parse the sentence */ s->off = off; ch = txt[off]; ! if (SCWS_CHAR_TOKEN(ch)) { s->off++; SCWS_PUT_RES(off, 0.0, 1, attr_un); --- 1035,1041 ---- /* try to parse the sentence */ s->off = off; ch = txt[off]; ! ...
...个前缀检查。于是将scws.c的代码做了如下修改, 在890行 if ((r1->flag & SCWS_ZRULE_PREFIX) && (i < (zlen - clen))) { /* prefix, check after (zmin~zmax) */ // 先检查 zmin 字内是否全部符合要求 // 再在 zmax 范围内取...
...hp#L253 (显示) public function addExdata($data, $check_file = true){ if (strlen($data) < 255 && $check_file && file_exists($data) && ($data = file_get_contents($data)) === false) { throw new XSException('Failed to read exdata from file'); } // try to check allowed (BUG:...
deinit() 方法 protected void deinit() 源码: sdk/php/util/XSDataSource.class.php#L384 (显示) protected function deinit(){ if ($this->fd) { fclose($this->fd); $this->fd = null; }}
init() 方法 protected void deinit() 源码: sdk/php/util/XSDataSource.class.php#L384 (显示) protected function deinit(){ if ($this->fd) { fclose($this->fd); $this->fd = null; }}
close() 方法 public void close() 源码: sdk/php/util/XSDataSource.class.php#L498 (显示) public function close(){ if ($this->link) { mysql_close($this->link); $this->link = null; }} 关闭数据库连接