The paper "Optimal Decoding of Linear Codes for
Minimizing Symbol Error Rate", which is the source of the BCJR decoding
algorithm, is my current obje....
分类:
其他好文 时间:
2014-06-11 07:35:20
阅读次数:
250
c# 获取相对路径,操作环境变量.
一、获取当前文件的路径
1. System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName
// Get the current directory.
string path = Directory.GetCurrentDirectory();
获取模块的完整...
分类:
其他好文 时间:
2014-06-10 15:07:12
阅读次数:
288
brk(addr)直接修改堆的大小。addr指定current->mm->brk的新值,返回值是线性区新的结束地址,这是一个系统调用。当用户态的进程调用brk()系统调用时,内核执行sys_brk(addr)函数。下面分析这个函数的执行流程:
1:检测addr参数是否位于进程代码段所在的线性区,如果是直接返回,因为堆不能与进程代码段所在的线性区重合。
mm=current->mm;
down_...
分类:
其他好文 时间:
2014-06-10 11:06:20
阅读次数:
284
1. 鼠标双击 void OnGUI() { Event Mouse = Event.current;
if (Mouse.isMouse && Mouse.type == EventType.MouseDown &&
Mouse.clickCount == 2) ...
分类:
其他好文 时间:
2014-06-09 18:40:28
阅读次数:
227
1. MySQL 获得当前时间戳函数:current_timestamp,
current_timestamp()mysql> select current_timestamp,
current_timestamp();+---------------------+-----------------...
分类:
数据库 时间:
2014-06-09 17:04:45
阅读次数:
248
As a so exciting dream, I would like set up my
owned web site which can be accessed anywhere nomatter from laptop/mobile phone
or tablet. Current now ...
分类:
Web程序 时间:
2014-06-09 13:00:33
阅读次数:
420
Using a list template to creating a list in
SubSItefunction CreateList(){ var clientContext = new SP.ClientContext(siteUrl);
var current...
分类:
其他好文 时间:
2014-06-09 00:18:39
阅读次数:
220
启动或显示 Sticky
Notes:Win+R--->StikyNot.exe备份Sticky Notes保存位置 :%AppData%\Microsoft\Sticky
Notes\打开删除警告:HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre...
后台: public static string TrendChart() {
HttpContext context = HttpContext.Current; ReturnStr strReturn = new
ReturnStr();...
分类:
其他好文 时间:
2014-06-08 19:12:12
阅读次数:
227
有时候我们展示给用户的表单中的checkbox,radio,selec等标签的一些项是默认选中的。比如:当用户修改文章的时候,如果对应的栏目为下拉框的话,那么它的默认选中值应该是原来的栏目位置。
可以使用jquery中的val()方法给select、checkbox、radio设置默认选中项。
对于multiple类型的select和checkbox还可以设置多个默认值。
效果图:
...
分类:
其他好文 时间:
2014-06-08 16:16:19
阅读次数:
233