搜索

大约有 4 项符合查询结果, 库内数据总量为 3,513 项。 (搜索耗时:0.1975秒)

1.XSUtil

... fixWidth() 方法 public static string fixWidth(string $text, int $size, string $pad=' ') $text string 要修正的字符串 $size int 修正的目标宽度 $pad string 用于填充补足的字符 {return} string 源码: sdk/php/util/XSUtil.class.php#L50 ...

2.XSServer

...#L404 (显示) protected function read($len){ // quick return for zero size if ($len == 0) { return ''; } // loop to send data $this->check(); for ($buf = '', $size = $len;;) { $bytes = fread($this->_sock, $len); if ($bytes === false || strlen($bytes) == 0) { ...

3.XSSearch

... pack('II', $this->_offset, $this->_limit > 0 ? $this->_limit : self::PAGE_SIZE); // get result header $cmd = new XSCommand(XS_CMD_SEARCH_GET_RESULT, 0, $this->_defaultOp, $query, $page); $res = $this->execCommand($cmd, XS_CMD_OK_RESULT_BEGIN); $tmp = unpack('Icount', $res->buf); $thi...

4.XSIndex

...NYMS, XS_CMD_INDEX_SYNONYMS_ADD, 0, $raw, $synonym); if ($this->_bufSize > 0) { $this->appendBuffer(strval($cmd)); } else { $this->execCommand($cmd, XS_CMD_OK_RQST_FINISHED); } } return $this;} 添加同义词 beginRebuild() 方法 publi...

  • 时间不限
  • 按相关性排序