搜索

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

11.发布scws-1.1.1 修正内存泄露的bug(同时修复php的xdb导入导出)

更新时间:2010-03-04 21:03 t By hightman

由于在 xdict.h 中定义 SCWS_WORD_MALLOCED 的值为 0x100 ,而 struct scws_word 中的 flag 为 unsigned char,故导致该 flag 失效从而造成内存泄露,将其值改为 0x80 即可。此 bug 仅存在于 1.1.0 版。(感谢[url=http://www.hightman.cn/bbs/showthread.php?tid=716]backl...

12.indexer.php 生成的索引的问题

更新时间:2012-03-28 10:03 t By cxc222

...../:\xampp\htdocs\xunsearch-1.3.0\sdk\php\lib\XS.php(326): XSServer->__con struct(8383, Object(XS)) #3 ../../:\xampp\htdocs\xunsearch-1.3.0\sdk\php\lib\XS.php(240): XS->getIndex() #4 ../../:\xampp\htdocs\xunsearch-1.3.0\sdk\php\util\Indexer.php(155): XSCompone nt->__get('index') #5 {main}

13.为什么我编译SCWS-1.1.1失败

发布时间:2010-08-18 09:08 t By assad

... yes checking for strtok_r... yes checking for mmap... yes checking for struct flock... yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating libscws/Makefile config.st...

14.强烈建议支持词库里的词可以是纯英文单词

更新时间:2011-04-24 01:04 t By lauxinz

... \ scws_res_t res; \ res = (scws_res_t) malloc(sizeof(struct scws_result)); \ res->off = o; \ res->idf = i; \ res->len = l; \ [b] if(strncmp(a,"en",2) == 0 || strncmp(a,"nz",2) == 0) { \ word_t w; \ w = xdict_q...

15.RE: 怎样才能 字母数字汉字组合 按照词典分成一个词语呢?

更新时间:2013-07-03 16:07 t By shuyinglee

...e adds it */ +PHP_FUNCTION(scws_use_rule) +{ + zend_bool boolset = 1; + + struct php_scws *ps; + zval **tmp; + zval *object = getThis(); + + if (object) { + if (zend_hash_find(Z_OBJPROP_P(object), "handle", sizeof("handle"), (void **)&tmp) == FAILURE) { + php_error_docref(NULL TSRMLS_CC, E_WARN...

16.分词时出现堆栈溢出错误

更新时间:2013-04-10 10:04 t By swish

...)->key); } #endif 2、pool.h里char block[0]改为char block[] /* data structure for pool */ struct pheap { int size; int used; char block[]; }; 3、config_win32.h里,改 #define strcasecmp(s1, s2) _stricmp(s1, s2) 为 #define strcasecmp(s1, s2) stricmp(s1, s2) 4、scws.h中,...

17.XSCommand

...对象可自动转换为通讯字符串, 命令结构参见 C 代码中的 struct xs_cmd 定义, 头部长度为 8字节. Public 属性 隐去继承来的属性 名称类型描述定义于 arg int 获取属性 arg 的值 XSCommand arg1 int 参数1 取值范围 0...

18.scws在ubuntu9.0.4上不能编译

更新时间:2009-05-27 09:05 t By tianfan

.... yes checking for strndup... yes checking for mmap... yes checking for struct flock... yes configure: creating ./config.status config.status: creating Makefile config.status: creating libscws/Makefile config.status: creating etc/Makefile config.status: creating cli/Makefile config.status: ...

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