码迷,mamicode.com
首页 >  
搜索关键字:depth    ( 1433个结果
Centos 查看硬盘空间
df -h du -ah --max-depth=1 目录深度为1 -h:以人类可读的方式显示 -a:显示目录占用的磁盘空间大小,还要显示其下目录和文件占用磁盘空间的大小 -s:显示目录占用的磁盘空间大小,不要显示其下子目录和文件占用的磁盘空间大小 -c:显示几个目录或文件占用的磁盘空间大小,还要统 ...
分类:其他好文   时间:2017-02-13 20:32:10    阅读次数:125
循环遍历二叉树
前序遍历 struct Node { Node*left; Node*right; int data; Node(){ func; } }; Node* create(Node*p, int depth) { if (p && depth) { p->left = new Node; p->righ ...
分类:其他好文   时间:2017-02-13 12:33:54    阅读次数:147
linux磁盘清理
释放Linux磁盘空间的一种方法 1、用df 检查发现/根目录可用空间为0 [root@/]#df -h df -i查看inode du+文件名 查看文件占用空间 2、用du检查发现 各目录占用的空间都很少,有约3G的空间莫名其妙地丢了。 [root@/]# du -m –max-depth=1 | ...
分类:系统相关   时间:2017-02-07 10:57:14    阅读次数:185
Leetcode: 104. 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 farthe ...
分类:其他好文   时间:2017-01-25 13:36:46    阅读次数:187
打印循环引用的JSON数据结构
var util = require("util"); /* req为一个很庞大的数据结构, req.params为undefined; req.baseUrl为undefined; depth:null没有层级,全部打印! */ console.log(req); console.log("req... ...
分类:Web程序   时间:2017-01-14 16:06:08    阅读次数:241
深入解析String.intern()方法
转载: http://tech.meituan.com/in_depth_understanding_string_intern.html 引言 在 JAVA 语言中有8中基本类型和一种比较特殊的类型String。这些类型为了使他们在运行过程中速度更快,更节省内存,都提供了一种常量池的概念。常量池就 ...
分类:其他好文   时间:2017-01-13 00:56:16    阅读次数:166
du--查看文件or目录占磁盘空间
duDIR:查看目录及目录下每个子目录和文件占磁盘空间的大小,都会一一显示出来options:-h以易读的方式显示-s只显示这个目录占磁盘空间的大小-b以byte方式显示大小,这时候是显示了文件or目录的真实大小--max-depth=num,只统计几级目录,1表示只统计该目录下的文件
分类:其他好文   时间:2017-01-09 00:55:32    阅读次数:176
ECMAScript Web APIs node.js
https://hacks.mozilla.org/2015/04/es6-in-depth-an-introduction/ What falls under the scope of ECMAScript? The JavaScript programming language is stand ...
分类:Windows程序   时间:2017-01-06 14:09:39    阅读次数:215
ES6 will change the way you write JS code.
https://hacks.mozilla.org/2015/04/es6-in-depth-an-introduction/ Counting to 6 The previous editions of the ECMAScript standard were numbered 1, 2, 3, ...
分类:Web程序   时间:2017-01-06 13:57:37    阅读次数:199
Lintcode 97.二叉树的最大深度
AC代码: 题目来源: http://www.lintcode.com/zh-cn/problem/maximum-depth-of-binary-tree/ ...
分类:其他好文   时间:2017-01-01 22:37:42    阅读次数:208
1433条   上一页 1 ... 61 62 63 64 65 ... 144 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!