During tea-drinking, princess, amongst other things, asked why has such a good-natured and cute Dragon imprisoned Lpl in the Castle? Dragon smiled eni ...
分类:
其他好文 时间:
2018-09-04 23:32:05
阅读次数:
212
During tea-drinking, princess, amongst other things, asked why has such a good-natured and cute Dragon imprisoned Lpl in the Castle? Dragon smiled eni ...
分类:
其他好文 时间:
2018-09-04 19:09:58
阅读次数:
406
记录锁的功能:当一个进程正在读或修改文件的某个部分是,它可以阻止其他进程修改同一文件区。对于这个功能阐述我认为有三点要解释的: 记录锁不仅仅可以用来同步不同进程对同一文件的操作,还可以通过对同一文件加记录锁,来同步不同进程对某一共享资源的访问,如共享内存,I/O设备。 对于劝告性上锁,当一个进程通过 ...
分类:
其他好文 时间:
2018-09-03 02:38:58
阅读次数:
186
If an event handler is specific to a component (that is, not shared by other components), there is no need to declare a class to handle the event. The ...
分类:
其他好文 时间:
2018-09-02 23:47:02
阅读次数:
181
可变参数 在Python函数中,还可以定义可变参数。顾名思义,可变参数就是传入的参数个数是可变的,可以是1个、2个到任意个,还可以是0个。 我们以数学题为例子,给定一组数字a,b,c……,请计算a2 + b2 + c2 + ……。 要定义出这个函数,我们必须确定输入的参数。由于参数个数不确定,我们首 ...
分类:
编程语言 时间:
2018-09-02 11:57:28
阅读次数:
156
目录 1. 核心概念 2. executor.h 1. Executor 2. NewLocalExecutor 3. ExecutorBarrier 3. executor.cc 1. structs 2. GraphView 3. ExecutorImpl 4. ExecutorState 5. ...
分类:
其他好文 时间:
2018-09-02 02:11:10
阅读次数:
250
ACM ICPC 2018 南京赛区网络预赛 Lpl and Energy saving Lamps 线段树 [TOC] 题面 During tea drinking, princess, amongst other things, asked why has such a good natured ...
分类:
其他好文 时间:
2018-09-01 23:56:43
阅读次数:
234
People on Mars count their numbers with base 13: Zero on Earth is called "tret" on Mars. The numbers 1 to 12 on Earch is called "jan, feb, mar, apr, m ...
分类:
其他好文 时间:
2018-09-01 20:37:42
阅读次数:
174
AC Challenge 30.04% 1000ms 128536K Dlsj is competing in a contest with n (0 < n \le 20)n(0<n≤20) problems. And he knows the answer of all of these pro ...
分类:
其他好文 时间:
2018-09-01 20:25:53
阅读次数:
281
一、弹出窗口Session丢失问题 弹出窗口Session丢失使用window.showModalDialog进行信息的提示,相当方便,也容易控制外观和布局。但是存在一个严重的问题,就是Session丢失。当在A页面进行showModalDialog时,弹出的模态窗口open新页面或new dial ...
分类:
其他好文 时间:
2018-08-31 10:53:18
阅读次数:
152