...b_tree_plist = NULL; void _xdb_next_tree_read(xdb_t x, xptr_t ptr) { if (ptr->len != 0) { unsigned char buf[XDB_MAXKLEN + 18]; int vlen, voff; vlen = sizeof(buf) - 1; if (vlen > ptr->len) vlen = ptr->len; _xdb_read_data(x, buf, ptr->off, vlen); vlen = ptr->len - buf...
...php/util/XSDataSource.class.php#L641 (显示) public function close(){ if ($this->obj) { $this->obj->close(); $this->obj = null; }} 关闭数据库连接 connect() 方法 public void connect(array $param) $param array 连接参数, 包含: user,pass,host,ta...
...t/scws/libscws/scws.c,v retrieving revision 1.18 retrieving revision 1.19 diff -c -r1.18 -r1.19 *** libscws/scws.c 22 Oct 2010 11:09:46 -0000 1.18 --- libscws/scws.c 17 Jan 2011 07:29:38 -0000 1.19 *************** *** 328,333 **** --- 328,340 ---- { if (!SCWS_IS_DIGIT(ch)) { + ...
.... 依您回應, 補添加上 + /// hightman.090716: for PHP5.3+ + #if (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 3) || (PHP_MAJOR_VERSION >= 6) + #undef ZVAL_REFCOUNT + #undef ZVAL_ADDREF + #undef ZVAL_DELREF + #define ZVAL_REFCOUNT Z_REFCOUNT_P + #define ZVAL_ADDREF Z_ADDREF_P + ...
...izer.class.php#L188 (显示) public function __construct($arg = null){ if (self::$_server === null) { $xs = XS::getLastXS(); if ($xs === null) { throw new XSException('An XS instance should be created before using ' . __CLASS__); } self::$_server = $xs->get...
...还是不行。 [root@estar scws-1.1.5]# patch -p0 libscws/scws.c < scws.diff patching file libscws/scws.c Hunk #1 FAILED at 328. Hunk #2 FAILED at 684. 2 out of 2 hunks FAILED -- saving rejects to file libscws/scws.c.rej 不知道我拷贝的scws.diff内容是不是有问题,如下: *** libs...
...php/util/XSDataSource.class.php#L768 (显示) public function close(){ if ($this->obj) { $this->obj->close(); $this->obj = null; }} 关闭数据库 connect() 方法 public void connect(array $param) $param array 连接参数, 包含: path 源码: sdk/ph...
...ss.php#L139 (显示) public function addField($field, $config = null){ if (!$field instanceof XSFieldMeta) { $field = new XSFieldMeta($field, $config); } if (isset($this->_fields[$field->name])) { throw new XSException('Duplicated field name: `' . $field->name . '\''); } ...
...t argc,char** argv) { if (argc < 3){ printf("Usage : %s dict rule\n",argv[0]); return -1; ...
...过C#语言"; text = "我是一名中国的程序员"; if(argc == 2) text = argv[1]; if (!(s = scws_new())) { printf("error, can't init the scws_t!\n"); exit(-1); } scws_set_charset(s, "gbk"); ...