先看table.insert调用的C函数:
static int tinsert (lua_State *L) {
int e = aux_getn(L, 1) + 1; /* first empty element */
int pos; /* where to insert new element */
switch (lua_gettop(L)) {
case 2:...
分类:
其他好文 时间:
2015-04-06 21:52:42
阅读次数:
213
127.0.0.1?googleads.g.doubleclick.net
127.0.0.1?cb.baidu.com
127.0.0.1?eclick.baidu.com
127.0.0.1?pos.baidu.com
127.0.0.1?cpro.baidustatic.com
127.0.0.1?cbjslog.baidu.com
127.0.0.1?static.ac...
分类:
其他好文 时间:
2015-04-05 22:03:38
阅读次数:
216
引言 在现在的前端页面中,尤其是移动端,经常会需要将或者是模块悬浮出来,跟随页面的滑动保持定位在页面的最上方或者是最下方,如下图所示。 “回复主题”模块,就是跟随页面的浮动一直悬浮在页面的最下方,代码结构如下。1 ...2 3 回复主题4 5 ... 实现这样的功能当然是利用pos...
分类:
其他好文 时间:
2015-04-05 01:02:29
阅读次数:
259
const QByteArray searchqstring= "*********";
QFile file("/opt/***");
file.open(QFile::ReadOnly);
while(1)
{
QByteArray array = file.read(1024);
file.seek(file.pos()-6);...
分类:
系统相关 时间:
2015-04-04 10:47:33
阅读次数:
349
原创 ziwen@beebeeto 转载请保留本行个人感觉 国外的安全方面对社工的了解和防范并不是很好 即使他们使用社工的时间比我们要长很多比如 他们的visa在pos机上使用是不需要密码的 而且经过验证的商家只需要你的VISA卡号就可以盗刷你的钱 连刷卡都不需要前一阵子在TDbank办了一张储蓄卡...
分类:
数据库 时间:
2015-04-03 17:02:40
阅读次数:
164
1.配置 (1) 房产局 (2) 银联端 2.运行 (1) 房产端 右击BizMAPSSP项目---Run As—run congfigurations—Java Application—选择BizMAPSSP---Run(快速运行方法:点...
分类:
其他好文 时间:
2015-04-03 11:12:53
阅读次数:
213
一、项目设想 1.1?系统展望 产品应用场景:书店的销售管理软件, 用户:书店的工作人员、管理人员、收银员等 系统范围:包括书店POS机系统的销售模块、书本录入模块 基本目标:能够支持采购人员和管理人员对书本...
分类:
其他好文 时间:
2015-04-03 07:00:21
阅读次数:
188
题意: 给定一个1~n的排列(nusing namespace std;const int MAXN = 3009;int f[MAXN], g[MAXN], pos[MAXN];int n, m, ans, sum, t;int main() { scanf ("%d", &n); ...
分类:
其他好文 时间:
2015-04-02 23:49:02
阅读次数:
215
不是什么难题,但也算自己写的第一个树形DP,留个纪念吧= =
状态方程(dp[0][i]代表不选i人参加聚会时候的最大值,dp[1][i]代表选)
dp[0][pos] = max(dp[0][pos],max(dp[0][e] + dp[0][pos],dp[1][e] + dp[0][pos]));
dp[1][pos] = max(dp[1][pos],dp[1][pos] + dp[0...
分类:
其他好文 时间:
2015-04-02 20:54:46
阅读次数:
132
Exec_Master_Log_Pos: The position of the last event executed by the SQL thread from the master's binary log (Relay_Master_Log_File). (Relay_Master_L.....
分类:
数据库 时间:
2015-04-02 18:31:50
阅读次数:
134