首页 > 其他
Objective-C中的属性(property)
Objective-C中的属性(property)它组合了新的预编译指令和新的属性访问的语法,新的属性功能显著减少了必须编写的冗长代码的数量。下面我们来比较下面的代码//第一种声明方法-(void)setRainHandling:(float) rainHanding;-(float) rainHa...
分类:其他   时间:2014-06-04 19:56:36    收藏:0  评论:0  赞:0  阅读:478
云计算之路-阿里云上:什么是“黑色1秒”?
为了更好地分享我们解决“黑色1秒”问题的过程,在这篇博文中我们专门描述一下“黑色1秒”问题的表现。“黑色1秒”是我们使用阿里云以来继“黑色10秒”之后遭遇的最奇特、最诡异、最难以捉摸、最有戏剧性的问题。
分类:其他   时间:2014-06-04 19:55:52    收藏:0  评论:0  赞:0  阅读:694
<meta>标签的作用
所有浏览器都支持 标签。在 HTML 中, 标签没有结束标签;在 XHTML 中, 标签必须被正确地关闭。meta主要为分HTTP标头信息(HTTP-EQUIV)和页面描述信息(NAME)。http-equiv: 与content属性共同组成一个http头部字段,作为http头部的成分传递。nam....
分类:其他   时间:2014-06-04 19:54:35    收藏:0  评论:0  赞:0  阅读:360
[011]默认实参
在一般的函数定义中,都是定义类似的函数。int foo(int v1, int v2);在调用foo函数的时候,将实参传进去就可以使用foo了。但是,我们也可以直接在函数定义的时候就给形参赋值。如:int foo(int v1 = 1, int v2 = 2);这样定义之后,可以这样使用:foo()...
分类:其他   时间:2014-06-04 19:54:03    收藏:0  评论:0  赞:0  阅读:358
N-Queens
Then-queens puzzle is the problem of placingnqueens on ann×nchessboard such that no two queens attack each other.Given an integern, return all distinc...
分类:其他   时间:2014-06-04 19:57:13    收藏:0  评论:0  赞:0  阅读:417
SEDA工作笔记(一)
摘要在普遍认知中,软件开发实践是一项充满不确定性的工作,这是由于编码工作占据了其绝大部分的工作,而编码本身就是具有极大不确定性的。同样,计算机科学被视作一门门槛低,基于经验,而无理论意义的纯工程类学科。这种观念不仅为广泛非本专业内人士所共持,即便本门师生,从业人员也偶有赞同。本文试图通过一次对SED...
分类:其他   时间:2014-06-04 19:59:54    收藏:0  评论:0  赞:0  阅读:530
Combinations
Given two integersnandk, return all possible combinations ofknumbers out of 1 ...n.For example,Ifn= 4 andk= 2, a solution is:[ [2,4], [3,4], [2,3], [1...
分类:其他   时间:2014-06-04 19:58:38    收藏:0  评论:0  赞:0  阅读:410
Subsets
Given a set of distinct integers,S, return all possible subsets.Note: Elements in a subset must be in non-descending order. The solution set m...
分类:其他   时间:2014-06-04 19:57:58    收藏:0  评论:0  赞:0  阅读:446
Spiral Matrix
Given a matrix ofmxnelements (mrows,ncolumns), return all elements of the matrix in spiral order.For example,Given the following matrix:[ [ 1, 2, 3 ]....
分类:其他   时间:2014-06-04 20:02:37    收藏:0  评论:0  赞:0  阅读:441
照相机滤镜使用,优化解码和滤镜导致的预览卡屏现象
这几天看到亚瑟boy的技术连载,也试着做了下带滤镜特效的照相机,效果也出来了,但是发现添加滤镜特效后的预览窗口卡屏现象很严重,于是自己索性 试着尝试修改,在亚瑟和其他网友的代码中基本上都是对于照相机data视频流先进行解码,然后对解码出的帧Bitmap进行滤镜算法处理,这个是必走的流 程,而每一帧在...
分类:其他   时间:2014-05-30 13:35:44    收藏:0  评论:0  赞:0  阅读:524
Search Insert Position
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or...
分类:其他   时间:2014-06-04 20:05:15    收藏:0  评论:0  赞:0  阅读:360
数字公仔设计蔚为风尚 马路科技打造《魔兽世界》典藏级公仔
公仔是否具有收藏价值?除了公仔本身所代表的作品意义外,最重要的项目之一就是制作的精细程度,然而以往手工公仔设计的过程中充满了许多制作上的变量,因此数字公仔设计已经是许多许多企业的首选方式。马路科技结合了专业人因设计工具FreeForm自由造型系统以及三維打印,不仅迅速的完成了多项公仔设计服务工作,更...
分类:其他   时间:2014-06-04 20:04:39    收藏:0  评论:0  赞:0  阅读:326
Text Justification
Given an array of words and a lengthL, format the text such that each line has exactlyLcharacters and is fully (left and right) justified.You should p...
分类:其他   时间:2014-06-04 20:04:03    收藏:0  评论:0  赞:0  阅读:366
Insert Interval
Given a set ofnon-overlappingintervals, insert a new interval into the intervals (merge if necessary).You may assume that the intervals were initially...
分类:其他   时间:2014-06-04 20:05:54    收藏:0  评论:0  赞:0  阅读:386
Combination Sum
Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesamerepeated num...
分类:其他   时间:2014-06-04 20:10:43    收藏:0  评论:0  赞:0  阅读:429
Combination Sum II
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Each number ...
分类:其他   时间:2014-06-04 20:10:05    收藏:0  评论:0  赞:0  阅读:434
First Missing Positive
Given an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm should ru...
分类:其他   时间:2014-06-04 20:09:25    收藏:0  评论:0  赞:0  阅读:433
设计师眼中功能强大的Xcode
作为设计师,不仅要能创造出移动为先的新产品,更要了解能创造出优秀移动作品的工具。这个实现过程可以让我们的设计更加优秀。 过去两个月,我每天在 Xcode 上花费的时间大约有 10 个小时,我学到了很多完全改变我的工作流程的技术。Xcode 是一款成熟的工具包含了很多强有力的但没被经常使用的功能。如....
分类:其他   时间:2014-06-04 20:08:41    收藏:0  评论:0  赞:0  阅读:443
Edit Distance
Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You have the fol...
分类:其他   时间:2014-06-04 20:07:57    收藏:0  评论:0  赞:0  阅读:394
Scramble String
Given a strings1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representation...
分类:其他   时间:2014-06-04 20:07:16    收藏:0  评论:0  赞:0  阅读:435
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!