码迷,mamicode.com
首页 >  
搜索关键字:pri    ( 1072个结果
ElasticSearch的各种服务的URL
1.curl192.168.106.58:9200/_cat/health?v 集群健康查看epoch timestamp cluster status node.total node.data shards pri relo init unassign1400639131 10:25:3...
分类:Web程序   时间:2015-01-06 13:31:33    阅读次数:285
python super
class?A(object):????#?A?must?be?new-style?class ??def?__init__(self):???print?"enter?A" ???print?"leave?A"class?B(C):?????#?A?-->?C ??def?__init__(self):???pri...
分类:编程语言   时间:2014-12-31 16:35:23    阅读次数:192
用c语言写一个函数把十进制转换成十六进制(转)
#include"stdio.h"intmain(){intnum=0;inta[100];inti=0;intm=0;intyushu;charhex[16]={'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'};pri...
分类:编程语言   时间:2014-12-30 16:53:42    阅读次数:347
C语言:链表
#include #include struct LNode{ int data; struct LNode *next;};void create(struct LNode *L);//创建链表void clearlist(struct LNode *L);//清除链表void pri...
分类:编程语言   时间:2014-12-29 10:20:52    阅读次数:213
python.re模块
#python正则表达式 import re if __name__=="__main__": subPattern= "(([a-zA-Z]+)\.)*" subPattern2= "([a-zA-Z]+)" pattern= "%s%s@%s%s" % (subPattern, subPattern2, subPattern,subPattern2) pri...
分类:编程语言   时间:2014-12-22 18:01:19    阅读次数:293
HBase源码阅读资源
HBase MemStoreFlusher 虽与最新版0.98.7的实现已经有差异,但分析的比较好 MemeStoreFlusher在HRegionServer类中初始化。 HRegionServer实现了Runnable接口,在run方法中针对MemeStoreFlusher进行了初始化 ?pri...
分类:其他好文   时间:2014-12-22 16:26:49    阅读次数:150
S.O.L.I.D
S.O.L.I.D.是一组面对面向对象设计的最佳实践的设计原则。术语来自Robert C.Martin的著作Agile Principles, Patterns, and Practices in C#,代表了下面五个设计原则: 1. SRP(Single Responsibility Pri...
分类:其他好文   时间:2014-12-22 10:52:44    阅读次数:184
C# 获取网页数据、获取本机IP
说明: (1) http://www.3322.org/dyndns/getip 这个网址可以获取本机IP,读取的内容就是本机IP (2)方法经测试,可以实现。 (3)参考:http://www.cnblogs.com/ceachy/articles/CSharp_Retrive_Page_Document.html 两种方法: (1)使用WebClient         pri...
分类:Windows程序   时间:2014-12-16 15:06:15    阅读次数:254
Android -- ImageView通过Bitmap得到网上的图片资源
1. 效果图2. 实现代码 1. 配置权限吧 最容易忘记的一件事情 2. 布局文件 3. java文件public class MainActivity extends Activity { private List urlList = new ArrayList(); pri...
分类:移动开发   时间:2014-12-14 11:50:46    阅读次数:195
c语言循环结构
循环结构:1.goto无条件转移语句//goto//无条件转移语句////label://goto label;//goto 结合if语句使用//尽量不要使用goto//只能在当前函数内跳转int main(int argc, const char * argv[]){ int i=0;pri...
分类:编程语言   时间:2014-12-13 14:57:30    阅读次数:180
1072条   上一页 1 ... 92 93 94 95 96 ... 108 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!