码迷,mamicode.com
首页 >  
搜索关键字:no write has been do    ( 38312个结果
c++ 快速排序
介绍给大家一个快速排序的方法: void sort(int  a[ ], int l, int r) { int i = l; int j = r; int mid = a[(i+j)/2];      do   {         while(a[i] while(a[j] >mid ) j--; if( i { swap( a[i], a[j] ); }...
分类:编程语言   时间:2014-06-20 13:15:03    阅读次数:292
[ LeetCode ] Longest Common Prefix
题目 Write a function to find the longest common prefix string amongst an array of strings. 原题链接 解题思想 给一个字符串数组,求这些字符串的最长公共前缀。 这个题应该是比较简单的,直接写代码,一次AC。解题思想是依次对数组中的字符串求最长公共前缀。 代码实现 class Sol...
分类:其他好文   时间:2014-06-20 12:25:09    阅读次数:247
leetcode--Maximum Subarray
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array[?2,1,?3,4,?1,2,1,...
分类:其他好文   时间:2014-06-20 08:59:38    阅读次数:235
JavaScript中模块“写法”
在JavaScript模块到底是什么event = function() { // do more return { bind: function() {}, unbind: function() {}, trigger: function() ...
分类:编程语言   时间:2014-06-20 08:50:47    阅读次数:408
MySQL参数DELAY_KEY_WRITE的详细说明
今天查看表以前系统表结构sql时看到一个DELAY_KEY_WRITE=1,以前没有接触过,于是查询相关资料以做了解。 MySQL参数DELAY_KEY_WRITE是指在表关闭之前,将对表的update操作指更新数据到磁盘,而不更新索引到磁盘,把对索引的更改记录在内存。这样MyISAM表可以使索.....
分类:数据库   时间:2014-06-13 14:00:53    阅读次数:337
[笔记]JAVA内存模型与线程
JAVA线程 工作内存 主内存java内存模型中的八种操作:lock unlock read load use assign store write八种基本操作必须满足的规则volatile当一个变量被定义成volatile之后,它将具备两种特性 一是保证此变量对所有线程的...
分类:编程语言   时间:2014-06-13 13:22:55    阅读次数:294
socket编程(一):简单回射C/S程序
服务端代码://echoSvr.c#include #include #include #include #include #include #include #include #include #define ERR_EXIT(m) \ do \ { \ perror(...
分类:其他好文   时间:2014-06-11 22:15:11    阅读次数:292
CnBlog客户端Windows Live Write安装方法
官方帮助http://space.cnblogs.com/forum/topic/8550 注:如果自动配置没有成功,需要手动配置: a) 在“Type of weblog that you are using”中选择“Custom(Metaweblog API)”。b) “Remote posti...
分类:Windows程序   时间:2014-06-11 22:04:58    阅读次数:388
分析和解决mnesia过载问题
mnesia在频繁写数据的过程可能会报错:** WARNING ** Mnesia is overloaded: {dump_log, write_threshold},可以看出,mnesia应该是过载了。这个警告在mnesia dump操作会发生这个问题,表类型为disc_only_copies 、disc_copies都可能会发生。文章将分析mnesia过载的原因,同时从mnesia dump数据角度来剖析这个问题,最后总结解决mnesia过载的方法和存在问题...
分类:其他好文   时间:2014-06-07 12:46:09    阅读次数:387
leetcode——String to Integer (atoi) 字符串转换为整型数(AC)
Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input ca...
分类:其他好文   时间:2014-06-07 12:21:30    阅读次数:284
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!