首页 > 全部
Memcached 深度分析
Memcached是danga.com(运营LiveJournal的技术团队)开发的一套分布式内存对象缓存系统,用于在动态系统中减少数据库 负载,提升性能。关于这个东西,相信很多人都用过,本文意在通过对memcached的实现及代码分析,获得对这个出色的开源软件更深入的了解,并可以根 据我们的需要对...
分类:其他   时间:2014-02-07 10:25:19    收藏:0  评论:0  赞:0  阅读:449
C语言- 二分查找法实现(综合应用)
#include #include #include #include #include #define NOT_IN_MESSAGE "search %d not in %s\n "#define IN_MESSAGE "search %d in %s, that Index of array e...
分类:编程语言   时间:2014-02-07 10:24:29    收藏:0  评论:0  赞:0  阅读:411
[Leetcode]-- Unique Paths II
Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space i...
分类:其他   时间:2014-02-07 10:23:39    收藏:0  评论:0  赞:0  阅读:557
Memcached 搭建过程
原文链接:http://www.open-open.com/lib/view/open1324368235733.html安装 memcached 服务端 yum -y install libevent libevent-devel #需要 libevent 支持cd /opt rm -rf mem...
分类:其他   时间:2014-02-07 10:22:49    收藏:0  评论:0  赞:0  阅读:381
「2014-2-6」TokuMX and MongoDB related materials collection
简介参考 TokuMX 和 MongoDB 各自的官方站点。 ## Tokutek 最重要的特点和 marketing word 是所谓 fractal tree indexing technology,相关链接: 1. 由于 per-node buffer 的引入所导致的 ACID 里的 Dura...
分类:数据库技术   时间:2014-02-07 10:21:59    收藏:0  评论:0  赞:0  阅读:681
剑指Offer - 九度1524 - 复杂链表的复制
剑指Offer - 九度1524 - 复杂链表的复制2014-02-07 01:30题目描述:输入一个复杂链表(每个节点中有节点值,以及两个指针,一个指向下一个节点,另一个特殊指针指向任意一个节点)。输入:输入可能包含多个测试样例,输入以EOF结束。对于每个测试案例,输入的第一行为一个整数n (1 ...
分类:其他   时间:2014-02-07 10:21:09    收藏:0  评论:0  赞:0  阅读:405
[Leetcode]-- Jump Game II
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:其他   时间:2014-02-07 10:20:19    收藏:0  评论:0  赞:0  阅读:372
获得创建临时表的session id
通过sql server的default trace和tempdb中的sys.objects视图,你能够获得创建临时表的session id,下面是相应的sql语句:DECLARE @FileName VARCHAR(MAX)SELECT @FileName = SUBSTRING(path, 0,...
分类:其他   时间:2014-02-07 10:19:29    收藏:0  评论:0  赞:0  阅读:362
《剑指Offer》面试题-从头到尾打印链表
题目描述:输入一个链表,从尾到头打印链表每个节点的值。输入:每个输入文件仅包含一组测试样例。每一组测试案例包含多行,每行一个大于0的整数,代表一个链表的节点。第一行是链表第一个节点的值,依次类推。当输入到-1时代表链表输入完毕。-1本身不属于链表。输出:对应每个测试案例,以从尾到头的顺序输出链表每个...
分类:其他   时间:2014-02-07 10:17:49    收藏:0  评论:0  赞:0  阅读:355
C#中文转换成拼音英文
#region 0.1 中文转到英文 + static string GetPinYing(string characters) /// /// 中文转到英文 /// /// /// public static string GetPinYing(string characters) { if (c...
分类:其他   时间:2014-02-07 10:18:39    收藏:0  评论:0  赞:0  阅读:366
iPad mini Retina越狱小结
Update History2014年02月06日 - 初稿0.引言本来一直都没有苹果的产品除了第一代的iPod(没怎么使用最后大学送人了 @李清纯(255270520) ,巧合的是老妈学校发了一台iPad mini Retina正好赶上mini第2代,也算是比较成熟的产品了就顺手撸过来仔细体验一把...
分类:其他   时间:2014-02-07 10:16:59    收藏:0  评论:0  赞:0  阅读:425
剑指Offer - 九度1509 - 树中两个结点的最低公共祖先
剑指Offer - 九度1509 - 树中两个结点的最低公共祖先2014-02-07 01:04题目描述:给定一棵树,同时给出树中的两个结点,求它们的最低公共祖先。输入:输入可能包含多个测试样例。对于每个测试案例,输入的第一行为一个数n(0 7 #include 8 using namespace ...
分类:其他   时间:2014-02-07 10:15:19    收藏:0  评论:0  赞:0  阅读:407
[Leetcode]-- Jump Game
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:其他   时间:2014-02-07 10:14:29    收藏:0  评论:0  赞:0  阅读:435
【题解】【BT】【Leetcode】Populating Next Right Pointers in Each Node
Given a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLinkNode *next; }Populate each next pointer to point to its nex...
分类:其他   时间:2014-02-07 10:16:09    收藏:0  评论:0  赞:0  阅读:364
memcached +mysql+php 测试例子
最近看了看memcached 缓存 mysql,经过一段时间的研究·把自己测试方法写出来,给像我一样的初学者用~我的环境是nginx+ php-fpm + apc + mysql编译安装memcachedtar zxvf memcached-1.4.0.tar.gzcd memcached-1.4....
分类:数据库技术   时间:2014-02-07 10:13:39    收藏:0  评论:0  赞:0  阅读:449
Windows Phone 8初学者开发—第23部分:测试并向应用商店提交
原文Windows Phone 8初学者开发—第23部分:测试并向应用商店提交原文地址:http://channel9.msdn.com/Series/Windows-Phone-8-Development-for-Absolute-Beginners/Part-23-Testing-and-Sub...
分类:Windows开发   时间:2014-02-07 10:12:49    收藏:0  评论:0  赞:0  阅读:644
[转载]C# 判断字符是否中文还是英文
private static bool IsHanZi(string ch) { byte[] byte_len = System.Text.Encoding.Default.GetBytes(ch); if (byte_len.Length == 2) { return true; } retur...
分类:其他   时间:2014-02-07 10:11:59    收藏:0  评论:0  赞:0  阅读:251
ASP.NET MVC 3 Razor Views in SharePoint
http://tqcblog.com/2011/01/22/asp-net-mvc-3-razor-views-in-sharepoint/ASP.NET MVC 3 has just been released, and I really like the new Razor syntax for...
分类:Web开发   时间:2014-02-07 10:10:19    收藏:0  评论:0  赞:0  阅读:406
[转载]C# 中对html 标签过滤
private string FilterHTML(string html) { System.Text.RegularExpressions.Regex regex1 = new System.Text.RegularExpressions.Regex(@"标记 html = regex2.Rep...
分类:Web开发   时间:2014-02-07 10:09:29    收藏:0  评论:0  赞:0  阅读:377
剑指Offer - 九度1508 - 把字符串转换成整数
剑指Offer - 九度1508 - 把字符串转换成整数2014-02-06 23:46题目描述:将一个字符串转换成一个整数,要求不能使用字符串转换整数的库函数。输入:输入可能包含多个测试样例。对于每个测试案例,输入为一个合法或者非法的字符串,代表一个整数n(1 4 #include 5 #incl...
分类:其他   时间:2014-02-07 10:08:39    收藏:0  评论:0  赞:0  阅读:528
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!