码迷,mamicode.com
首页 >  
搜索关键字:end    ( 30778个结果
PHP SPL神器实现堆排序
之前学习过内部排序的八大算法,也一一写过代码实现。其中堆排序的原理是将一颗二叉树初始化为堆依次将最后一个结点与堆顶结点交换。然后调整堆顶元素位置,重置堆。将二叉树初始化为堆可以看做从最后一个非叶子结点开始,依次调整子堆的堆顶元素,重置堆是指重置堆顶元素。这种算法的实现如下:= 0; $end--) ...
分类:编程语言   时间:2015-01-08 19:36:04    阅读次数:286
【Mood-17】 github中在本地进行上传的时候出现ERROR: Repository not found. fatal: The remote end hung up unexpectedly
一开始出现这个错误的时候还感觉很奇怪,我明明在在本地中相应的库文件夹命令中输入: vim ./git/config 将文件中的 [remote “origin"]部分去掉!
分类:Web程序   时间:2015-01-08 17:31:43    阅读次数:180
uiwebview 屏幕自适应 -- 根据 内容适应或者 webview适应
#import @interface ViewController : UIViewController{ UIWebView *webView; UISearchBar *searchBar;} @end -(void)loadView{ [super ...
分类:Web程序   时间:2015-01-08 15:09:05    阅读次数:198
第三十六篇:WinUSB调试实例
有人问我,前面列出x 0: kd> lm vm winusb start             end                 module name fffff800`caab5000 fffff800`caace000   WinUSB     (pdb symbols)          c:\e\symcache\winusb.pdb\661781CAB404408...
分类:Windows程序   时间:2015-01-08 13:26:52    阅读次数:1483
Linux 常用命令
查看连接数netstat-nat|grep-i"80"|wc-l半开连接数netstat-an|awk‘/^tcp/{++S[$NF]}END{for(ainS)printa,S[a]}‘查询来源ip排序netstat-antp|greptcp|awk‘{print$5}‘|grep-v‘::‘|cut-d:-f1|sort|uniq-c|sort-nr|lessnetstat-antp|grep‘8080‘|awk‘{print$5}‘|grep-v‘::‘|cut-d:-f..
分类:系统相关   时间:2015-01-08 11:32:47    阅读次数:217
Share folders on remote Linux PC to your local Windows PC
With samba on Linux PC already installedOn Linux PC:1. vi /etc/samba/smb.confadd the following text in the end, NOTE, there are SPACEs before those op...
分类:Windows程序   时间:2015-01-08 10:52:54    阅读次数:231
IOS-绘图
#import @interface RQHdrawView : UIView//在xib的关联view;@end--------------------------------------------------------------#import "RQHdrawView.h"@impleme...
分类:移动开发   时间:2015-01-08 09:33:13    阅读次数:189
VB6高精度计时类模块
创建一个类模块,粘贴如下代码: '大整数结构体 Private Type LARGE_INTEGER LowPart As Long HighPart As Long End Type '获取时间计数器计数值 Private Declare Function QueryPerformanceCounter _ Lib "kernel32" (...
分类:其他好文   时间:2015-01-08 00:56:56    阅读次数:273
C++自学笔记_重载运算符_《C++ Primer》
#include #include using namespace std;class CheckedPtr{public: CheckedPtr(int *b,int *e,int *c): beg(b),end(e),curr(c){ } CheckedPtr(cons...
分类:编程语言   时间:2015-01-07 22:03:06    阅读次数:191
PL/SQL基础2(笔记)
1 第一个PL/SQL的程序DECLAREBEGIN DBMS_OUTPUT.PUT_LINE('Hello World!');END;/--2一个简单的PL/SQL程序DECLARE v_num NUMBER;BEGIN v_num:=30; dbms_output.put_line('v_num...
分类:数据库   时间:2015-01-07 20:48:03    阅读次数:236
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!