码迷,mamicode.com
首页 >  
搜索关键字:depth    ( 1433个结果
linux 查看文件夹大小 du -h --max-depth=1 ./
du:查询文件或文件夹的磁盘使用空间 如果当前目录下文件和文件夹很多,使用不带参数du的命令,可以循环列出所有文件和文件夹所使用的空间。这对查看究竟是那个地方过大是不利的,所以得指定深入目录的层数,参数:--max-depth=,这是个极为有用的参数!如下,注意使用“*”,可以得到文件的使用空间大小...
分类:系统相关   时间:2014-12-12 11:15:03    阅读次数:653
保持SVN仓库结构只checkout部分子目录
有时整个svn目录太过于庞大,不想整个checkout下来,但又想维持整个目录结构以方便后续使用,那么可以使用subversion1.5之后的–depth参数来只checkout需要的子目录。#先checkout空目录svnco--depthemptysvnLocationlocalDir#对需要的子目录递归checkoutsvnupdate--set-depthi..
分类:其他好文   时间:2014-12-12 01:32:12    阅读次数:147
iSlider手机平台JS滑动组件
iSlider手机平台JS滑动组件,无任何插件依赖。它能够处理任何元素,例如图片或者DOM元素。它有如下特性:能够自定义动画,自带的动画包括default, rotate, flip 和 depth你能够简易地添加回调函数(onslidestart, onslide, onslideend, ons...
分类:移动开发   时间:2014-12-10 19:46:58    阅读次数:240
[LeetCode]Sum Root to Leaf Numbers
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf path 1->2->3 which represents the number 123. Find the tota...
分类:其他好文   时间:2014-12-09 17:47:47    阅读次数:196
JPDA 架构研究8 - Agent利用环境指针访问VM(堆栈管理篇)
引入:上篇文章讲解了Agent利用环境指针访问VM的线程组操作,这里讨论下堆栈操作。分类4:堆栈操作a.GetStackTrace.获取某线程的堆栈。jvmtiError GetStackTrace(jvmtiEnv*env, jthreadthread, jintstart_depth, jintmax_frame_count, jvmtiFrameInfo*frame_buffer, jint*count..
分类:其他好文   时间:2014-12-09 02:00:00    阅读次数:158
TortoiseSVN 更新时忽略指定文件夹
命令行可以这么来svn update –set-depth=exclude 文件夹那么TortoiseSVN客户端呢?在文件夹右键中的”更新至版本(U)”更新深度选”排除”,确定,搞定下次更新就不会再更新此目录要恢复的话在上级目录做相同操作,只是更新深度选择”全递归”TortoiseSVN 1.6以...
分类:其他好文   时间:2014-12-08 15:14:10    阅读次数:466
【 D3.js 进阶系列 — 3.2 】 分区图的函数
分区图的布局比较简单,本章介绍一下分区图的参数。分区图布局为:d3.layout.partition()其函数有6个。nodes()将根数据传入后,得到的节点的数组,每个节点添加8个参数:parent - 父节点children - 子节点value - 表示节点的大小,由下面 value() 函数指定的值,父节点的值等于子节点值的和depth - 节点的深度x - 节点的x方向的坐标(不一定指x...
分类:Web程序   时间:2014-12-07 16:30:16    阅读次数:237
Leetcode: 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 le...
分类:其他好文   时间:2014-12-05 21:07:13    阅读次数:167
[LeetCode]Construct Binary Tree from Inorder and Postorder Traversal
Given inorder and postorder traversal of a tree, construct the binary tree. Note: You may assume that duplicates do not exist in the tree. 基本思想和知道前序与中序的思想一样,中序的某一节点的左节点一定是该节点的左子树,而后序遍历的某一节点的左节点一定...
分类:其他好文   时间:2014-12-05 17:36:45    阅读次数:116
[LeetCode]Convert Sorted Array to Binary Search Tree
Given an array where elements are sorted in ascending order, convert it to a height balanced BST. 深搜+递归 /** * Definition for binary tree * public class TreeNode { * int val; * Tree...
分类:其他好文   时间:2014-12-05 17:34:59    阅读次数:169
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!