码迷,mamicode.com
首页 >  
搜索关键字:runtime runloop    ( 6171个结果
Leetcode: Single Number II
Given an array of integers, every element appears three times except for one. Find that single one.Note:Your algorithm should have a linear runtime co...
分类:其他好文   时间:2014-06-28 13:44:09    阅读次数:188
c#实现Form窗体始终在桌面最前端显示
方法一://调用API[System.Runtime.InteropServices.DllImport("user32", CharSet = System.Runtime.InteropServices.CharSet.Auto, ExactSpelling = true)]public sta...
分类:Windows程序   时间:2014-06-28 12:36:54    阅读次数:582
C#.NET使用AnimateWindow制作淡入淡出特殊效果的窗体
使用AnimateWindow制作淡入淡出效果的窗体命名空间:using System.Runtime.InteropServices;API函数:[DllImport("user32")]private static extern bool AnimateWindow(IntPtr whnd,in...
分类:Windows程序   时间:2014-06-28 12:06:04    阅读次数:294
code
public T Clone(T RealObject){ using (System.IO.Stream objectStream = new System.IO.MemoryStream()) { System.Runtime.Serialization.IFormatter formatter...
分类:其他好文   时间:2014-06-26 23:06:46    阅读次数:218
LeetCode——Single Number
Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it without using e...
分类:其他好文   时间:2014-06-24 23:30:08    阅读次数:278
MAC COCOA一个简单的多线程程序[2]
MAC COCOA一个简单的多线程程序[2] 使用RUNLOOP计数,实现一个时间计数器和事件at the same time 运行。 STEP 1 H CODE: // // EDUAppDelegate.h // test_runloop_multithread // // Created by DMD on 23/6/14. // Copyright (c) 2014 ED...
分类:编程语言   时间:2014-06-24 19:50:33    阅读次数:292
LeetCode——Single Number II
Given an array of integers, every element appears three times except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it without u...
分类:其他好文   时间:2014-06-24 15:52:58    阅读次数:222
Manifest 与TypeTag
Manifest和TypeTag是要解决什么问题?As with other JVM languages, Scala’s types are erased at compile time. This means that if you were to inspect the runtime typ...
分类:其他好文   时间:2014-06-24 12:49:07    阅读次数:187
leetcode——Search for a Range 排序数组中寻找目标下标范围(AC)
Given a sorted array of integers, find the starting and ending position of a given target value. Your algorithm's runtime complexity must be in the order of O(log n). If the target is not found ...
分类:其他好文   时间:2014-06-22 21:47:15    阅读次数:269
读《程序员的自我修养》感受
这书不错,链接-装载-库 我觉得是很底层的东西。比如很多人闭着眼睛都能写出来的hello world(当然不包括brianfuck,如果你会,你真的闹残了吗= =), 其实链接编译器做了很多,不然就哪来的printf,这IO初始化也是CRT(c runtime)库完成的。堆栈的初始化,还有系统装载让程序运行等等。涉及很多。 书里后面就讲了一个CRT库,自己写一个,感觉不错,学了很多。比如mall...
分类:其他好文   时间:2014-06-22 06:46:27    阅读次数:337
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!