V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  qiyi  ›  全部回复第 1 页 / 共 1 页
回复总数  11
不是可以 ctrl+v 粘贴吗?
2016-03-02 12:52:54 +08:00
回复了 dynaguy 创建的主题 问与答 Hexo 主题和本地搜索
@4679kun 我的场景是在公司内网搭建静态博客,没有搜索能力别人就不能检索内容了。
2016-03-02 08:38:20 +08:00
回复了 dynaguy 创建的主题 问与答 Hexo 主题和本地搜索
@4679kun 请问 hugo 的本地搜索有什么好的方案?
2015-08-05 02:19:25 +08:00
回复了 final0pro 创建的主题 问与答 HashMap 多线程问题
手机打字,纠正上面单词错误 ,volatile
2015-08-05 02:17:54 +08:00
回复了 final0pro 创建的主题 问与答 HashMap 多线程问题
@mind3x 确实,应该添加volarile 关键字,感谢。
2015-08-04 06:51:02 +08:00
回复了 final0pro 创建的主题 问与答 HashMap 多线程问题
hashMap要么是旧的Map要么是新的Map ,没啥问题,copyonwritehashmap就这么实现
2015-04-28 12:32:13 +08:00
回复了 phx13ye 创建的主题 Java netty 做 client 怎么把请求和响应映射起来?
@phx13ye memcache 的通信协议里没有对请求进行标识么,没了解协议细节😓
2015-04-28 01:51:31 +08:00
回复了 phx13ye 创建的主题 Java netty 做 client 怎么把请求和响应映射起来?
netty4不是特别确定,但是对于netty3来说,客户端(channel)写实际上是往底层一个缓冲队列里写消息,然后nettyio线程从队列依次取消息发送,所以是不是要保证a确实先写入到缓冲队列才行?
2015-04-28 01:42:36 +08:00
回复了 HelloWorld11 创建的主题 Java Java 多线程问题
摘自jvm规范(2.6)
A frame is used to store data and partial results, as well as to perform dynamiclinking, return values for methods, and dispatch exceptions.A new frame is created each time a method is invoked. A frame is destroyed whenits method invocation completes, whether that completion is normal or abrupt (itthrows an uncaught exception). Frames are allocated from the Java Virtual Machinestack (§2.5.2) of the thread creating the frame. Each frame has its own array oflocal variables (§2.6.1), its own operand stack (§2.6.2), and a reference to the run-time constant pool (§2.5.5) of the class of the current method.
A frame may be extended with additional implementation-specific information, such asdebugging information.The sizes of the local variable array and the operand stack are determined atcompile-time and are supplied along with the code for the method associated withthe frame (§4.7.3). Thus the size of the frame data structure depends only on theimplementation of the Java Virtual Machine, and the memory for these structurescan be allocated simultaneously on method invocation
2014-08-16 10:15:30 +08:00
回复了 newstar 创建的主题 问与答 大家都用什么工具写离线博客?
scribefire,浏览器扩展
2014-03-02 10:20:58 +08:00
回复了 ryanking8215 创建的主题 程序员 golang 里 xml 的处理问题
godom?
https://code.google.com/p/godom/
支持golang 1.2的版本
https://bitbucket.org/qiyi/godom
简单使用:
golang 以 dom 方式解析 xml
http://isouth.org/archives/353.html
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2249 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 18ms · UTC 04:37 · PVG 12:37 · LAX 21:37 · JFK 00:37
Developed with CodeLauncher
♥ Do have faith in what you're doing.