大约有 2,000 项符合查询结果(耗时:0.0106秒) [XML]

https://bbs.tsingfun.com/thread-1001-1-1.html 

App Inventor 2开发简单计算器 - App Inventor 2 中文网 - 清泛IT论坛,有思想、有深度

...数”代表用户按下的具体数字。(3)在按钮点击事件中调用点击数字过程当用户点击数字键1时,在点击事件处理程序中调用点击数字过程,并将按钮显示文本作为参数,传递给该过程。如图2-4所示。图2-4 在按钮点击事件中调用...
https://www.tsingfun.com/it/cp... 

INT 10H 中断介绍 - C/C++ - 清泛网 - 专注C/C++及内核技术

...,先指定 AH 寄存器为下表编号其中之一,该编号表示欲调用的功用,而其他寄存器的详细说明,参考表后文字,当一切设定好之后再调用 INT 10H。底下是它们的说明: AH 功 能 调用参数 返回参数 / 注...
https://www.tsingfun.com/it/os... 

内存优化总结:ptmalloc、tcmalloc和jemalloc - 操作系统(内核) - 清泛网 - ...

...上分别是: 操作系统内核的内存管理 glibc层使用系统调用维护的内存管理算法 应用程序从glibc动态分配内存后,根据应用程序本身的程序特性进行优化, 比如使用引用计数std::shared_ptr,apache的内存池方式等等。 当然应用程...
https://www.tsingfun.com/it/bigdata_ai/342.html 

搭建高可用mongodb集群(三)—— 深入副本集内部机制 - 大数据 & AI - 清...

...这么描述: We use a consensus protocol to pick a primary. Exact details will be spared here but that basic process is: get maxLocalOpOrdinal from each server. if a majority of servers are not up (from this server’s POV), remain in Secondary mode and stop. if the last op time se...
https://www.tsingfun.com/it/bigdata_ai/337.html 

数据挖掘——分词入门 - 大数据 & AI - 清泛网 - 专注C/C++及内核技术

...分词: public class TestPositiveMatch { public static void main(String[] args) { String str = "我爱这个中华人民共和国大家庭"; List normalDict = new ArrayList(); normalDict.add(""); normalDict.add("爱"); normalDict.add("中华...
https://www.tsingfun.com/it/tech/857.html 

Android代码优化小技巧 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...一个对象的值域,请保证这个方法是static类型的,这样方法调用将快15%-20%。这是一个好的习惯,因为你可以从方法声明中得知调用无法改变这个对象的状态。 常量声明为Static Final 先看下面这种声明的方式 static int intVal = 42; sta...
https://stackoverflow.com/ques... 

What's the equivalent of use-commit-times for git?

... no longer modified (Git 2.2.2+, January 2015): "git checkout - how can I maintain timestamps when switching branches?".) The long answer was: I think you're much better off just using multiple repositories instead, if this is something common. Messing with timestamps is not going to work in gen...
https://bbs.tsingfun.com/thread-829-1-1.html 

c++ 代码调用nsis安装包实现静默安装 - 脚本技术 - 清泛IT社区,为创新赋能!

TCHAR szCurPath[MAX_PATH] = {0}; GetCurrentDirectory(MAX_PATH, szCurPath); TCHAR szFile[MAX_PATH] = {0}; _stprintf_s(szFile, MAX_PATH, _T("%s\\setup.exe"), szCurPath); CString szPath = szFile; CString szCmdline = _T(""); CString szWorking; szWorking = szPath.Mid( 0, szPath.Reve...
https://bbs.tsingfun.com/thread-638-1-1.html 

无法将方法组“Values”转换为非委托类型“System.Collections.Generic.Lis...

出现此类编译错误,极有可能是把函数当成属性用了。 错误:xxx.Values; 正确:xxx.Values(); 反之如果把属性当函数用则报编译错误: 这个低级错误有时还真容易犯{:wabi:}沧海一粟 发表于 2015-11-30 16:24 这个低级错误有时还真...
https://bbs.tsingfun.com/thread-550-1-1.html 

JS卷动效果的调用函数:startmarquee - 建站技术 - 清泛IT论坛,有思想、有深度

本帖最后由 沧海一粟 于 2015-10-12 16:28 编辑 jquery.sgallery.js function startmarquee(lh,speed,delay,index) { /* 函数startmarquee的参数: lh:文字一次向上滚动的距离或高度; speed:滚动速度; delay:滚动停顿的时间间隔; index:可以使...