码迷,mamicode.com
首页 >  
搜索关键字:副本集 replica sets    ( 2350个结果
Python学习笔记(1)(Data Types)
Data Types1,list 2,tuple 3,sets 4,dictionary,
分类:编程语言   时间:2014-05-09 03:21:50    阅读次数:244
hdu3836之强联通缩点
Equivalent Sets Time Limit: 12000/4000 MS (Java/Others)    Memory Limit: 104857/104857 K (Java/Others) Total Submission(s): 2526    Accepted Submission(s): 857 Problem Description To prove...
分类:移动开发   时间:2014-05-09 02:22:42    阅读次数:439
《linux 内核完全剖析》 sys.c 代码分析
sys.c 代码分析     setregid /* * This is done BSD-style, with no consideration of the saved gid, except * that if you set the effective gid, it sets the saved gid too. This * makes it possib...
分类:系统相关   时间:2014-05-09 02:13:12    阅读次数:621
Apache DataFu: LinkedIn开源的Pig UDF库
Apache DataFu分两部分,本文介绍的是其Pig UDF的部分。代码在Github上开源。 DataFu里面是一些Pig的UDF,主要包括这些方面的函数: bags、geo、hash、linkanalysis、random、sampling、sessions、sets、stats、urls 每方面都对应一个package。 我把所有的函数源码都浏览了一遍。其实本身对这些UDF的使用,官方的文档上都有介绍,而且源码的注释里也些的很清晰。所以使用本身是很简单的。 从实现角度看,继承自Pig Ev...
分类:其他好文   时间:2014-05-09 01:14:25    阅读次数:436
CKSUM文件
CKSUM文件的内容是用cksum命令直接生成的:[tortoise@sea sets]$ cat CKSUM1301919688 13493973 base.tgz3312742217 6125601 comp.tgz3524588402 53334 etc.tgz282697710 313498...
分类:其他好文   时间:2014-05-08 20:12:15    阅读次数:197
运行时中给一个对象绑定另外一个对象
运行时中给一个对象绑定另外一个对象category中,如果想要添加一个属性,通常的做法是不可能的.我们都知道,category只能增加方法,不能增加属性.但在运行时中我们可以动态的绑定一个对象.有以下两个方法来绑定以及获取绑定的对象:objc_setAssociatedObject Sets an ...
分类:其他好文   时间:2014-05-08 14:08:55    阅读次数:280
关于mongodb读写分离 及 日志切换
mongodb的读写分离使用Replica Sets来实现对于replica set 中的secondary 节点默认是不可读的。在写多读少的应用中,使用Replica Sets来实现读写分离。通过在连接时指定或者在主库指定slaveOk,由Secondary来分担读的压力,Primary只承担写操...
分类:数据库   时间:2014-05-07 09:31:37    阅读次数:531
codeforces A. Array题解
Vitaly has an array of n distinct integers. Vitaly wants to divide this array into three non-empty sets so as the following conditions hold: The product of all numbers in the first set is less ...
分类:其他好文   时间:2014-05-03 23:51:19    阅读次数:621
[转]SSIS Execute SQL Task : Mapping Parameters And Result Sets
本文转自:http://www.programmersedge.com/post/2013/03/05/ssis-execute-sql-task-mapping-parameters-and-result-sets.aspx#.U18_6PmSxBkA very common scenario i...
分类:移动开发   时间:2014-04-30 18:34:53    阅读次数:548
Pat(Advanced Level)Practice--1063(Set Similarity)
Pat1063代码 题目描述: Given two sets of integers, the similarity of the sets is defined to be Nc/Nt*100%, where Nc is the number of distinct common numbers shared by the two sets, and Nt is the to...
分类:其他好文   时间:2014-04-29 13:44:20    阅读次数:325
2350条   上一页 1 ... 233 234 235
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!