码迷,mamicode.com
首页 >  
搜索关键字:space    ( 18273个结果
Space Shooter 太空射击
1、控制玩家移动 public float speed = 10f; public float xMin = -6.5f; public float xMax = 6.5f; public float zMin = -4.5f; public float zMax = ...
分类:其他好文   时间:2015-06-10 01:03:09    阅读次数:197
ART GC介绍
学习了Android 4.4 ART的Mark-Sweep(MS)GC。到了Android 5.0,ART增加了对Compacting GC的支持,包括Semi-Space(SS)、Generational Semi-Space(GSS)和Mark-Compact (MC)三种。 总体来说,Compacting GC和Mark-Sweep GC各有优劣。所谓Compacting GC,就...
分类:其他好文   时间:2015-06-09 17:33:54    阅读次数:125
pre 随变化的样式
测试 white-space: pre-wrap; /* css-3 */ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ white-space: -pre-wrap; /* Opera 4-6 */ white-...
分类:其他好文   时间:2015-06-09 16:51:38    阅读次数:86
python 遍历删除日志
#! /usr/bin/python2.6#-*- encoding:UTF-8 -*-import osimport os.pathimport timeroot_dir = os.getcwd()seperator = os.sepmax_used_space = 60*1024*1024*10...
分类:编程语言   时间:2015-06-09 16:32:45    阅读次数:132
Leetcode[119]-Pascal's Triangle II
Given an index k, return the kth row of the Pascal’s triangle.For example, given k = 3, Return [1,3,3,1].Note: Could you optimize your algorithm to use only O(k) extra space?分析:通过递归设置vector的值,变量i表示当前...
分类:其他好文   时间:2015-06-09 13:51:09    阅读次数:96
Leetcode[88]-Merge Sorted Array
Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array.Note: You may assume that nums1 has enough space (size that is greater or equal to m + n) to hold additional...
分类:其他好文   时间:2015-06-09 13:47:46    阅读次数:114
Leetcode[26]-Remove Duplicates from Sorted Array
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not allocate extra space for another array, you must do this in place with cons...
分类:其他好文   时间:2015-06-09 11:58:43    阅读次数:86
eclipse 快捷键
1几个最重要的快捷键代码助手:Ctrl+Space(简体中文操作系统是Alt+/)快速修正:Ctrl+1单词补全:Alt+/打开外部Java文档:Shift+F2显示搜索对话框:Ctrl+H快速Outline:Ctrl+O打开资源:Ctrl+Shift+R打开类型:Ctrl+Shift+T显示重构菜...
分类:系统相关   时间:2015-06-08 18:54:52    阅读次数:131
Leetcode题解(5):L58/Length of Last Word
L58: Length of Last Word Given a string s consists of upper/lower-case alphabets and empty space characters ’ ‘, return the length of last word in the string. If the last word does not exist, retur...
分类:其他好文   时间:2015-06-08 17:27:49    阅读次数:145
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!