码迷,mamicode.com
首页 >  
搜索关键字:down    ( 10200个结果
【博文推荐】一篇关于memery leak的博文
本来在读jetty的一些源码,不小心跳进了几篇关于memory leak的链接,这篇看着不错就推荐一下,除开推销Plumbr的部分不谈,文章关于几个memery leak的内容还是好的。 https://plumbr.eu/blog/hunting-down-memory-leaks-a-case-study...
分类:其他好文   时间:2014-09-05 10:04:01    阅读次数:210
eth0,eth1,eth2,lo是什么,及临时配置网卡
eth0,eth1,eth2……代表网卡一,网卡二,网卡三……lo代表127.0.0.1,即localhost参考:Linux命令:ifconfig功能说明:显示或设置网络设备 语 法:ifconfig [网络设备][down up -allmulti -arp -promisc][add][de....
分类:其他好文   时间:2014-09-04 18:56:09    阅读次数:190
自己编译的openwrt在开机时一直打印jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found...的错误提示
具体的输入信息是这样的。uboot> httpLink down: eth0Ethernet mode (duplex/speed): 1/1000 MbpsHTTP server is starting at IP: 192.168.0.250HTTP server is ready!Reques...
分类:其他好文   时间:2014-09-04 18:31:59    阅读次数:266
android 玩愤怒小鸟等全屏游戏时TP失效
1.tp driver的tpd_down()和tpd_up()函数中不需要上报id号,上层会自动进行匹配; 2.tpd_up()函数中只需要上报BTN_TOUCH和mt_sync信息,其他信息不用上报,如下: static  void tpd_up(int x, int y,int *count)  {      input_report_key(tpd->dev, BTN_TOUCH, ...
分类:移动开发   时间:2014-09-04 09:47:07    阅读次数:283
一段android跳转到web界面的代码
代码是从git@oschina上down下来的,由于有点基础采用下载别人代码的方式温习。 @Override public?void?onClick(View?v)?{ if?(null?!=?pop?&&?pop.isShowing())?{ //?隐藏窗口,如...
分类:移动开发   时间:2014-09-02 23:01:25    阅读次数:419
Leetcode-Unique Paths
A robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right at any point ...
分类:其他好文   时间:2014-09-02 17:28:35    阅读次数:202
Maximum Depth of Binary Tree
问题描述 Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node. 解决方案 /** * Definition fo...
分类:其他好文   时间:2014-09-02 00:26:44    阅读次数:217
LeetCode 63 Minimum Path Sum
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path. Note: You can only move either down or right at...
分类:其他好文   时间:2014-09-01 22:52:23    阅读次数:217
网络编程中shut_down和close()函数的区别
在Linux C网络编程中,一共有两种方法来关闭一个已经连接好的网络通信,它们就是close函数和shutdown函数,它们的函数原型分别为: 1 #include 2 int close(int sockfd) 3 //返回:0——成功, 1——失败 4   ...
分类:其他好文   时间:2014-09-01 21:13:13    阅读次数:228
MIT:算法导论——15.动态规划
【设计一个动态规划算法的四个步骤】 1、刻画一个最优解的特征。 2、递归地定义最优解的值。 3、计算最优解的值,通常采用自底向上方法。 4、利用计算出的信息构造一个最优解。 【最优子结构(optimal substructure)】 问题的最优解由相关子问题的最优解组合而成,而这些子问题可以独立求解。 【动态规划两种等价实现方法】 1、 带备忘的自顶向下法(top-down...
分类:其他好文   时间:2014-08-30 15:12:29    阅读次数:219
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!