-
自己编写的Linux下myls命令
Linux环境下用C语言实现类似ls命令功能的myls函数,实现了-a,-l,-i,-R,-d,-t六个选项
- 2023-02-18 12:15:03下载
- 积分:1
-
串口封装基类,支持linux,windows
封装好的串口控制操作基类,可直接继承使用,已经过多个项目测试,支持linux或者windows。使用注意windows与linux 设备符号区别
- 2022-08-16 14:41:44下载
- 积分:1
-
drivers/input/touchscreen/ft5x0x_ts.c
/** drivers/input/touchscreen/ft5x0x_ts.c **/
/**FocalTech ft5x0x TouchScreen driver. **/
/** Copyright (c) 2010 Focal tech Ltd. **/
/** This software is licensed under the terms of the GNU General Public **/
/** License version 2, as pu
- 2022-03-06 17:35:52下载
- 积分:1
-
linux下的简单文件传输源码
Linux下实现的文件传输源码, 服务器和客户机代码在同一个文件上,可以支持大文件,不支持断点续传,可以作为学习linux下网络编程的教程
- 2022-04-22 06:06:06下载
- 积分:1
-
仿照UNIX的find命令,实现myfind指令
资源描述
仿照unix操作系统中的find命令,在实现一个myfind命令。myfind命令从指定的目录下开始,递归地查找指定文件。其命令格式如下:
myfind PATH -option 参数 [-print]
[-exec 命令 {} ;]
PATH:查找的起始目录。
-option 参数:用来控制搜索方式,具体如下(以下只给我常用的):
-name "文件":指定要查找的文件名,可以有通配符?*等。
-prune 目录:指出搜索时不搜索该目录。
-mtime +n或-n:按时间搜索,+n:表示n天之前修改过的文件;-n:表示今天到n天前之间修改过的文件。
-ctime +n或-n:也是按时间查找,+n:表示n天之前创建的文件;-n:表示今天到n天前之间创建的文件。
- 2022-02-02 05:43:35下载
- 积分:1
-
u-boot-1.0.0
FPGA和ARM进行了总线和其它方式的通信方式连接,因此在板上进行FPGA和ARM的数据传输测试。
- 2023-04-22 22:15:03下载
- 积分:1
-
vi 命令大全
对LINUX系统下的vi编辑器及终端的命令,做了全面的总结,可以使得初学者容易查找并加以练习
非常全,很好用!
- 2022-02-06 18:56:09下载
- 积分:1
-
ZeroMQ高级发布订阅模式
Clone server, Model Six (clonesrv6.c): main task setupint main (int argc, char *argv []){clonesrv_t *self = (clonesrv_t *) zmalloc (sizeof (clonesrv_t));if (argc == 2 && streq (argv [1], "-p")) {zclock_log ("I: primary active, waiting for backup (passive)");self->bstar = bstar_new (BSTAR_PRIMARY, "tcp://*:5003","tcp://localhost:5004");bstar_voter (self->bstar, "tcp://*:5556", ZMQ_ROUTER, s_snapshots, self);self->port = 5556;self->peer = 5566;self->primary = TRUE;}elseif (argc == 2 && streq (argv [1], "-b")) {zclock_log ("I: backup passive, waiting for primary (active)");self->bstar = bstar_new (BSTAR_BACKUP, "tcp://*:5004","tcp://localhost:5003");bstar_voter (self->bstar, "tcp://*:5566", ZMQ_ROUTER, s_snapshots, self);self->port = 5566;
- 2022-07-10 22:25:19下载
- 积分:1
-
maximum entropy
Yet Another Small MaxEnt Toolkit: YASMET
This is a tiny toolkit for performing training of maximum entropy models. It is a generic toolkit, which is applicable to conditional maximum entropy models. A special feature of this program is that it is written only in 132 lines of code (can be printed on one sheet of paper ...). It includes training of model parameters, evaluation, perplexity and error rate computation, count-based feature reduction, Gaussian priors, feature count normalization. In addition, it is easy to use and efficient enough to deal with millions of features.
- 2022-12-05 23:30:03下载
- 积分:1
-
管道通信
int main(int argc, char **argv){ int pipefds[2],pipefds2[2]; pid_t pid; int i,j; char buffer[255]; if(pipe(pipefds) < 0) //第一个管道 { printf("error
"); } pid=fork(); if(pid
- 2022-12-15 02:55:04下载
- 积分:1