码迷,mamicode.com
首页 >  
搜索关键字:zero clipboard    ( 2343个结果
大型网站架构系列:消息队列(二)
本文是大型网站架构系列:消息队列(二),主要分享JMS消息服务,常用消息中间件(Active MQ,Rabbit MQ,Zero MQ,Kafka)。【第二篇的内容大部分为网络资源的整理和汇总,供大家学习总结使用,最后有文章来源】 本次分享大纲 消息队列概述(见第一篇:大型网站架构系列:分布式消息队 ...
分类:Web程序   时间:2016-06-16 20:09:37    阅读次数:259
Android中ExpandableListView的使用
ExpandableListView是Android中可以实现下拉list的一个控件,具体的实现方法如下: 首先:在layout的xml文件中定义一个ExpandableListView view plain copy to clipboard print ? < LinearLayout andr ...
分类:移动开发   时间:2016-06-14 22:18:01    阅读次数:182
linux 测试硬盘的读写速度
利用/dev/zero和/dev/null测试硬盘读写速度工具/原料ubuntu14.04dd百度经验:jingyan.baidu.com方法/步骤1首先我们需要先了解/dev/null和/dev/zero两个文件,我们分别打开两个文件,步骤阅读2由图可以看出null是个空文件,而zero是个无显示的无限输入文件,永远无尽头,这就代表..
分类:系统相关   时间:2016-06-14 16:17:17    阅读次数:259
shell编程test测试命令
可以使用$man test查看 数值测试 如 -gt, --大于则为真 字符串测试 如 -z STRING, --字符串长度伪则为真,the length of STRING is zero. 文件测试 如 -f FILE, --如果文件存在且为普通文件则为真,FILE exists and is ...
分类:系统相关   时间:2016-06-14 08:51:16    阅读次数:159
select() and pselect()
NAME select, pselect, FD_ZERO, FD_SET, FD_ISSET - Synchronous I/O Multiplexing. SYNOPSIS /*according to earlier standards*/ #include <sys/types.h> #in ...
分类:其他好文   时间:2016-06-12 18:20:38    阅读次数:157
[LeetCode][10]Regular Expression Matching解析 -Java实现
Q: Implement regular expression matching with support for '.' and '*'. '.' Matches any single character. '*' Matches zero or more of the preceding element. The matching should cover the entire ...
分类:编程语言   时间:2016-06-11 18:57:56    阅读次数:207
linux网络编程:select()函数以及FD_ZERO、FD_SET、FD_CLR、FD_ISSET(转)
从别人的博客中转载过来了这一篇文章,经过重新编辑排版之后展现于此,做一个知识点保存与学习。 select函数用于在非阻塞中,当一个套接字或一组套接字有信号时通知你,系统提供select函数来实现多路复用输入/输出模型,原型: int select(int maxfd,fd_set *rdset,fd ...
分类:系统相关   时间:2016-06-11 18:50:30    阅读次数:200
【CodeVS1225】八数码难题
Description Description Description Yours和zero在研究A*启发式算法.拿到一道经典的A*问题,但是他们不会做,请你帮他们.问题描述在3×3的棋盘上,摆有八个棋子,每个棋子上标有1至8的某一数字。棋盘中留有一个空格,空格用0来表示。空格周围的棋子可以移到空格 ...
分类:其他好文   时间:2016-06-11 11:58:02    阅读次数:191
Subarray Sum Closet
Given an integer array, find a subarray with sum closest to zero. Return the indexes of the first number and last number. Given [-3, 1, 1, -3, 5], ret ...
分类:其他好文   时间:2016-06-09 22:19:04    阅读次数:243
异步套接字基础:select函数以及FD_ZERO、FD_SET、FD_CLR、FD_ISSET
select函数: 系统提供select函数来实现多路复用输入/输出模型。原型: #include <sys/time.h> #include <unistd.h> int select(int nfds, fd_set *readset, fd_set *writeset,fd_set* exce ...
分类:其他好文   时间:2016-06-08 15:59:00    阅读次数:1773
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!