资源简介
server.rar

代码片段和文件信息
/*
* This file was taken from pth-1.40/aclocal.m4
* The original copyright is below.
*
* GNU Pth - The GNU Portable Threads
* Copyright (c) 1999-2001 Ralf S. Engelschall
*
* This file is part of GNU Pth a non-preemptive thread scheduling
* library which can be found at http://www.gnu.org/software/pth/.
*
* This file is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License or (at your option) any later version.
*
* This file is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this file; if not write to the Free Software
* Foundation Inc. 59 Temple Place Suite 330 Boston MA 02111-1307
* USA or contact Marc Lehmann .
*/
#include
#include
#include
#if defined(TEST_sigstack) || defined(TEST_sigaltstack)
#include
#include
#include
#endif
#if defined(TEST_makecontext)
#include
#endif
union alltypes {
long l;
double d;
void *vp;
void (*fp)(void);
char *cp;
};
static volatile char *handler_addr = (char *)0xDEAD;
#if defined(TEST_sigstack) || defined(TEST_sigaltstack)
static volatile int handler_done = 0;
void handler(int sig)
{
char garbage[1024];
int i;
auto int dummy;
for (i = 0; i < 1024; i++)
garbage[i] = ‘X‘;
handler_addr = (char *)&dummy;
handler_done = 1;
return;
}
#endif
#if defined(TEST_makecontext)
static ucontext_t uc_handler;
static ucontext_t uc_main;
void handler(void)
{
char garbage[1024];
int i;
auto int dummy;
for (i = 0; i < 1024; i++)
garbage[i] = ‘X‘;
handler_addr = (char *)&dummy;
swapcontext(&uc_handler &uc_main);
return;
}
#endif
int main(int argc char *argv[])
{
FILE *f;
char *skaddr;
char *skbuf;
int sksize;
char result[1024];
int i;
sksize = 32768;
skbuf = (char *)malloc(sksize*2+2*sizeof(union alltypes));
if (skbuf == NULL)
exit(1);
for (i = 0; i < sksize*2+2*sizeof(union alltypes); i++)
skbuf[i] = ‘A‘;
skaddr = skbuf+sizeof(union alltypes);
#if defined(TEST_sigstack) || defined(TEST_sigaltstack)
{
struct sigaction sa;
#if defined(TEST_sigstack)
struct sigstack ss;
#elif defined(TEST_sigaltstack) && defined(HAVE_STACK_T)
stack_t ss;
#else
struct sigaltstack ss;
#endif
#if defined(TEST_sigstack)
ss.ss_sp = (void *)(skaddr + sksize);
ss.ss_o
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1219 2018-01-05 09:18 server\.vscode\launch.json
文件 96 2018-01-05 09:18 server\.vscode\settings.json
文件 113 2018-01-05 09:18 server\1.account_server.bat
文件 110 2018-01-05 09:18 server\2.hall_server.bat
文件 6801 2018-01-05 09:18 server\account_server\account_server.js
文件 286 2018-01-05 09:18 server\account_server\app.js
文件 1475 2018-01-05 09:18 server\account_server\dealer_api.js
文件 3509 2018-01-14 19:02 server\configs_win.js
文件 3352 2018-01-05 09:18 server\configs_win_bak.js
文件 2259 2018-01-05 09:18 server\DB\managers\accountDBMgr.js
文件 2086 2018-01-05 09:18 server\DB\managers\archiveDBMgr.js
文件 2100 2018-01-05 09:18 server\DB\managers\archiveDBMgr_SSP.js
文件 3010 2018-01-05 09:18 server\DB\managers\gamesDBMgr.js
文件 894 2018-01-05 09:18 server\DB\managers\messageDBMgr.js
文件 4947 2018-01-05 09:18 server\DB\managers\roomDBMgr.js
文件 5018 2018-01-05 09:18 server\DB\managers\sspRoomDBMgr.js
文件 5162 2018-01-14 18:51 server\DB\managers\sssRoomDBMgr.js
文件 8386 2018-01-05 09:18 server\DB\managers\userDBMgr.js
文件 5018 2018-01-05 09:18 server\DB\managers\wskRoomDBMgr.js
文件 807 2018-01-05 09:18 server\DB\sqlClient.js
文件 319 2018-01-05 09:18 server\hall_server\app.js
文件 12558 2018-01-05 09:18 server\hall_server\client_service.js
文件 6932 2018-01-05 09:18 server\hall_server\room_service.js
文件 2955 2018-01-05 09:18 server\lib\ba
文件 2550 2018-01-05 09:18 server\lib\emitter.js
文件 101709 2018-01-05 09:18 server\node_modules\express\History.md
文件 235 2018-01-05 09:18 server\node_modules\express\index.js
文件 14845 2018-01-05 09:18 server\node_modules\express\lib\application.js
文件 2057 2018-01-05 09:18 server\node_modules\express\lib\express.js
文件 788 2018-01-05 09:18 server\node_modules\express\lib\middleware\init.js
............此处省略1503个文件信息
- 上一篇:尚硅谷_前端_面试题
- 下一篇:2018批量获取(mpgflvts)视频信息工具
相关资源
- PID_AutoTune_v0.rar
- vspd7.2.308.zip
- 价值2k的H漫画小说系统
- Pythonamp;课堂amp;笔记(高淇amp;400;集第
- ddos压力测试工具99657
- UML建模大全
- 开源1A锂电池充电板TP4056原理图+PCB
- m1卡 ic卡可选择扇区初始化加密软件
- TSCC.exe
- FTP课程设计(服务端+客户端)
- 计算机图形学 边填充算法实现代码
- 电力系统潮流计算程序集合
- oracle数据迁移项目实施方案
- Web Api 通过文件流 文件到本地
- Visio图标-最新最全的网络通信图标库
- Spire API文档
- OpenGL参考手册
- Python中Numpy库最新教程
- SPD博士V5.3.exe
- 直流无刷电机方波驱动 stm32 例程代码
- layui后台管理模板
- 仿知乎界面小程序源代码
- 云平台-阿里云详细介绍
- photoshop经典1000例
- scratch垃圾分类源码(最终版本).sb
- IAR ARM 7.8破解
- TI CCS V5.4 安装步骤及破解文件
- 松下plc FP-XH的驱动
- 局域网硬件信息收集工具
- 加快Windows XP操作系统开机速度
评论
共有 条评论