Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - h.3
Search - h.3 - List
LibTorrent is a BitTorrent library written in C++ for *nix, with a focus on high performance and good code. The library differentiates itself from other implementations by transfering directly from file pages to the network stack. On high-bandwidth connections it is able to seed at 3 times the speed of the official client. The client uses ncurses and is ideal for use with screen or dtach. It supports saving of sessions and allows the user to add and remove torrents. -LibTorrent is a BitTorrent library writte n in C for * nix. with a focus on high performance and good code. T he library differentiates itself from other im plementations by transferring directly from fi le pages to the network stack. On high-bandwidt h connections it is able to seed at three times the spe ed of the official client. The client uses ncurs es and is ideal for use with screen or dtach. It su pports saving of sessions and allows the user to add and remove torrents.
Date : 2008-10-13 Size : 473.8kb User : Kimi Chen

本驱动程序在linux2.6.17中测试通过。yangxing msn:lelma_yx@hotmail.com 希望对SPI操作的朋友有所帮助。 一、工作方式: 从设备:SPI为MASTER模式 S3C2410:SPI为SLAVE模式+DMA 二、工作流程 1.S3C2410从接收:当从设备发送数据时,S3C2410利用DMA方式收数,收到指定长度的数据,则进入DMA中断,将接收的数据拷出。 2.S3C2410从发送:当S3C2410需要发送,首先由RTS请求发送,然后等待从设备应答CTS,当从设备应答CTS时,进入外部中断,启动DMA发送,发送完成,再次进入从接收状态。 三、文件位置 spi_dma_slave.c spi_dma_slave.h circular_buf.c circular_buf.h 等文件存放入driver/char/目录 dma.c存放于arch/arm/mach-s3c2410/目录 dma.h存放于include/arm-asm/mach-s3c2410/目录 四、使用环境 1.arm-linux-gcc-3.4.1-the driver linux2.6.17 in which the test. Yangxing msn : lelma_yx@hotmail.com hope to operate SPI friends help. 1, mode of work : from equipment : SPI for the S3C2410 MASTER mode : SPI for SLAVE + DMA mode 2, workflow 1.S3C2410 from receiving : When sending data from the device, using DMA S3C2410 debt, the length of the designated data DMA will enter the interruption will receive unfettered access to the data. 2.S3C2410 from this : When S3C2410 need this, the first request sent by the RTS, Then wait for the response from CTS equipment, when the equipment response from CTS, access to external interrupt start DMA sent, Send completed, re-entered, from receiving state. 3. Position papers spi_dma_slave.c spi_dma_slave.h circul ar_buf.c circular_buf.h documents onto the driver / char / Contents
Date : 2008-10-13 Size : 16.96kb User : y

DL : 0
在sco unix 下显示前n天或后n天日期的处理程序。 printf(\"功能: 时间戳与时间格式字符串的转换程序\\n\") printf(\" -i 输入的参数为时间戳\\n\") printf(\" -s 输入的参数为格式化时间\\n\") printf(\" -t 输入的时间取当前系统时间\\n\") printf(\" -x 输入的时间增加或减少的天数\\n\") printf(\" -o 输出的时间为时间戳格式\\n\") printf(\" -O 输出的时间为格式化时间\\n\") printf(\" -h 帮助文件-查看[format]如何定义,例 %s -h\\n\",procname) printf(\"范例:1 取当前日期的前2天的时间显示 %s -t -x -2\\n\",procname) printf(\" 2 取20030101的前5天的时间显示 %s -s 20030101000000 -x -5\\n\",procname) printf(\" 3 取20031231的后5天的时间显示 %s -s 20031231000000 -x 5 -O \\\"%%D %%T\\\"\\n\",procname) printf(\" 4 取时间戳为1089619417的时间显示 %s -i 1089619417 \\n\",procname) printf(\" 5 取时间戳为1089619417的后4天的时间显示 %s -i 1089619417 -x 4 \\n\",procname) -in sco unix under the former n n days or days after the date of processing. Printf ( "function : timestamp and time format string conversion program \\ n ") printf (" - i input parameters timestamp \\ n ") printf (" - s input parameters for formatting time \\ n ") printf (" - t input the time for the current system time \\ n ") printf (" - x importation time increase or decrease the number of days \\ n " ) printf ( "- o output format for timestamp \\ n") printf ( "- O when output time for the inter-formatted \\ n ") printf (" - h Help-View [format] definition , the cases% s-h \\ n ", procname) printf (" Examples : a date from the current two days before the time displayed% s-t-2 x \\ n ", procname) printf ( &q
Date : 2008-10-13 Size : 2.5kb User : yux

在bmp.h中定制其功能 1:bmp图像格式之间的转换,包换了bmp565->888,bmp888->565。 2:bmp格式图像的旋转 3:bmp格式图像裸码流的生成 -bmp.h in which a customized functions : bmp image format conversion between, shifting the bmp565 -
Date : 2008-10-13 Size : 3.28kb User : asdkliuxiang

程序主要功能:linux 下通过串口控制智能系统,zo-b8l5a 5a八通道双值输出模块。一、 对应文件:ebus_module.tar.gz(包含三个文件ebus.cc、ebus.h、ebus_test.cc) 其中ebus.h是包含class E_bus的定义和声明的头文件;ebus.cc主要是类里面的函数;ebus_test.cc主要是类的使用,完成了循环依次关闭8路输出,打开8路输出的功能。二、 E_bus类的接口说明:打开或者关闭输出口,只需要函数int E_bus::ebus_control(string on_off,int out_n) 其中参数on_off代表打开还是关闭,对应值“on”、“off”。参数out_n代表的操作第几路,对应值 1、2、3、4、5、6、7、8;ebus_control的返回值:如果操作成功返回0,如果失败,返回负值。举例说明,E_bus abc; int c=abc.ebus_control(“off”,1) 如果c=0,说明第一路关闭成功。 -The main function of the program: linux serial control intelligent systems, the the zo-b8l5a 5a eight-channel double the value of output module. The a corresponding files: ebus_module.tar.gz (contains three files ebus.cc the ebus.h ebus_test.cc) which ebus.h header files contain the class E_bus definition statement ebus.cc class inside the a function ebus_test.cc mainly is the use of the class to complete the looping off the 8-channel output, open 8-channel output. Two, E_bus class interface description: Open or close the output port, only need to function int E_bus :: ebus_control (string on_off the int out_n) which parameters on_off represents the open or closed, the corresponding value " on" and " off" . On behalf of the operating parameters out_n few road, the corresponding value of 1, 2, 3, 4, 5, 6, 7, 8 ebus_control return value: If the operation is successful returns 0 if it fails to return a negative. For example, E_bus abc int c = abc.ebus_control (“off”,
Date : 2025-12-16 Size : 2kb User : zhang

LibTorrent is a BitTorrent library written in C++ for *nix, with a focus on high performance and good code. The library differentiates itself from other implementations by transfering directly from file pages to the network stack. On high-bandwidth connections it is able to seed at 3 times the speed of the official client. The client uses ncurses and is ideal for use with screen or dtach. It supports saving of sessions and allows the user to add and remove torrents. -LibTorrent is a BitTorrent library writte n in C for* nix. with a focus on high performance and good code. T he library differentiates itself from other im plementations by transferring directly from fi le pages to the network stack. On high-bandwidt h connections it is able to seed at three times the spe ed of the official client. The client uses ncurs es and is ideal for use with screen or dtach. It su pports saving of sessions and allows the user to add and remove torrents.
Date : 2025-12-16 Size : 474kb User : Kimi Chen

DL : 0
在sco unix 下显示前n天或后n天日期的处理程序。 printf("功能: 时间戳与时间格式字符串的转换程序\n") printf(" -i 输入的参数为时间戳\n") printf(" -s 输入的参数为格式化时间\n") printf(" -t 输入的时间取当前系统时间\n") printf(" -x 输入的时间增加或减少的天数\n") printf(" -o 输出的时间为时间戳格式\n") printf(" -O 输出的时间为格式化时间\n") printf(" -h 帮助文件-查看[format]如何定义,例 %s -h\n",procname) printf("范例:1 取当前日期的前2天的时间显示 %s -t -x -2\n",procname) printf(" 2 取20030101的前5天的时间显示 %s -s 20030101000000 -x -5\n",procname) printf(" 3 取20031231的后5天的时间显示 %s -s 20031231000000 -x 5 -O \"%%D %%T\"\n",procname) printf(" 4 取时间戳为1089619417的时间显示 %s -i 1089619417 \n",procname) printf(" 5 取时间戳为1089619417的后4天的时间显示 %s -i 1089619417 -x 4 \n",procname) -in sco unix under the former n n days or days after the date of processing. Printf ( "function : timestamp and time format string conversion program \ n ") printf ("- i input parameters timestamp \ n ") printf ("- s input parameters for formatting time \ n ") printf ("- t input the time for the current system time \ n ") printf ("- x importation time increase or decrease the number of days \ n " ) printf ( "- o output format for timestamp \ n") printf ( "- O when output time for the inter-formatted \ n ") printf ("- h Help-View [format] definition , the cases% s-h \ n ", procname) printf (" Examples : a date from the current two days before the time displayed% s-t-2 x \ n ", procname) printf ( &q
Date : 2025-12-16 Size : 2kb User : yux

在bmp.h中定制其功能 1:bmp图像格式之间的转换,包换了bmp565->888,bmp888->565。 2:bmp格式图像的旋转 3:bmp格式图像裸码流的生成 -bmp.h in which a customized functions : bmp image format conversion between, shifting the bmp565-
Date : 2025-12-16 Size : 3kb User : asdkliuxiang

certi 是开源的HLA-rti软件,现在向windows过渡-certi is HLA-rti open source software, and now the transition to the windows
Date : 2025-12-16 Size : 2.47mb User : 周德召

基于SDL实现的GUI,很好的展现了GUI实现原理。-SDL based on the realization of the GUI, well demonstrated the realization of the principle of GUI.
Date : 2025-12-16 Size : 659kb User : zhangfee

一个基于GTK+的单词数值计算器,1、 按照规则计算单词的值,如果 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 26个字母(全部用大写)的值分别为 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26,如: WINJACK这个单词的值就为:W+I+N+J+A+C+K=23+9+14+1+3+11=71% HARDWORK=H+A+R+D+W+O+R+D=8+1+18+4+23+15+18+11=98% LOVE=L+O+V+E=12+15+22+5=54% LUCK=L+U+C+K=12+21+3+11=47% ATTITUDE= A+T+T+I+T+U+D+E=1+20+20+9+20+24+4+5=100% 2、对程序的界面布局参考如下图所示,在第一个单行文本框输入一个单词,点击“计算”按钮,按照以上算法计算出该单词的值。 3、如果在最下面的单行文本框输入一个文件路径,此文件每行记录一个单词,那么经过程序计算出各个单词的值,并把结果输出到当前目录下result.txt文件中。如果文件不存在,应该提示错误。 -err
Date : 2025-12-16 Size : 1kb User :

DL : 0
UNIX下编程:目录树的遍历。包含文件:apue.h、error2e.c、pathalloc.c、3.c-Under UNIX Programming: the traversal tree. Include file: apue.h, error2e.c, pathalloc.c, 3.c
Date : 2025-12-16 Size : 5kb User : yy

Ekiga (formely known as GnomeMeeting) is an open source VoIP and video conferencing application for GNOME. Ekiga uses both the H.323 and SIP protocols. It supports many audio and video codecs, and is interoperable with other SIP compliant software and also with Microsoft NetMeeting
Date : 2025-12-16 Size : 5.48mb User : Kukacka

DL : 0
1.数码相机主程序:OS:coach8 2.AEOPen.c 3.main.c 4.AFOPEN.C-main program
Date : 2025-12-16 Size : 37kb User : kangyunsi

Fairly straightforward port. Only a few changes: 1. Changed man1 to man.1, etc in Makefile to conform to SCO convention. 2. Added -Dsco to Makefile for following checks: a. We don t want stdio.h in file.h b. We do want stdio.h in internat.c I see the warning "file.c", line 346: warning: argument is incompatible with prototype: arg #2 When I run the make. I ignored it. That s about all. -Fairly straightforward port. Only a few changes: 1. Changed man1 to man.1, etc in Makefile to conform to SCO convention. 2. Added-Dsco to Makefile for following checks: a. We don' t want stdio.h in file . h b. We do want stdio.h in internat.c I see the warning " file.c" , line 346: warning: argument is incompatible with prototype: arg# 2 When I run the make. I ignored it. That' s about all.
Date : 2025-12-16 Size : 148kb User : lwj

Fairly straightforward port. Only a few changes: 1. Changed man1 to man.1, etc in Makefile to conform to SCO convention. 2. Added -Dsco to Makefile for following checks: a. We don t want stdio.h in file.h b. We do want stdio.h in internat.c I see the warning "file.c", line 346: warning: argument is incompatible with prototype: arg #2 When I run the make. I ignored it. That s about all. -Fairly straightforward port. Only a few changes: 1. Changed man1 to man.1, etc in Makefile to conform to SCO convention. 2. Added-Dsco to Makefile for following checks: a. We don' t want stdio.h in file . h b. We do want stdio.h in internat.c I see the warning " file.c" , line 346: warning: argument is incompatible with prototype: arg# 2 When I run the make. I ignored it. That' s about all.
Date : 2025-12-16 Size : 75kb User : lwj

Fairly straightforward port. Only a few changes: 1. Changed man1 to man.1, etc in Makefile to conform to SCO convention. 2. Added -Dsco to Makefile for following checks: a. We don t want stdio.h in file.h b. We do want stdio.h in internat.c I see the warning "file.c", line 346: warning: argument is incompatible with prototype: arg #2 When I run the make. I ignored it. That s about all. -Fairly straightforward port. Only a few changes: 1. Changed man1 to man.1, etc in Makefile to conform to SCO convention. 2. Added-Dsco to Makefile for following checks: a. We don' t want stdio.h in file . h b. We do want stdio.h in internat.c I see the warning " file.c" , line 346: warning: argument is incompatible with prototype: arg# 2 When I run the make. I ignored it. That' s about all.
Date : 2025-12-16 Size : 823kb User : lwj

适用于数字电视环境DVB-H,计算某些参数-Environment for digital TV DVB-H, calculated some parameters
Date : 2025-12-16 Size : 181kb User : yrmlyf

DL : 1
概述一下原理和每个类的作用 (1): CTask 一个任务基类,作为线程的参数用 (2): CWorkThread:工作线程类,轮询检测参数是否可用,如果可用的话, 就去调用参数CTask的执 行函数Execute,如果参数不可用就等待 (3): CWorkQueue:是一个任务队列,里面装载CTask子类的对象,是一个对象的容器 (4): CWorkThreadPool:工作线程池,其中包含了工作线程组,调度线程,调度线程不停的检测 任务队列中是否有可用任务对象,如过取到一个有效的任务对象,就从工作线程组中查找出来 一个空闲的工作线程,把这个任务交给这个空闲的线程去执行,如果没有空闲线程则创建新 的工作线程并添加到工作线程组中。 (1),(2),(3),(4)组成了库的核心,可以稍加修改进行应用 其他附属类: (5):CSimpleUDP 一个简易的封装的UDP通讯类 (6):CLogHelper 一个线程安全的日志类,将日志存储到指定文件并能打印到标准输出 特点:支持windows和Linux平台 -Outline the principles and the role of each class (1): CTask a task base class, as arguments to thread (2): CWorkThread: Class of worker threads, polling detection parameters are available, if available, Go to the implementation of the function call parameters CTask Execute, if the parameter is not available to wait (3): CWorkQueue: a task queue, which loaded CTask subclass object is a container object (4): CWorkThreadPool: worker thread pool, which contains the group of worker threads, scheduling threads, thread scheduling non-stop testing Task queue is available in the task object, such as over the task of taking to a valid object, the thread from the Working Group to find out An idle worker thread, this task to the idle thread to execute, if no idle thread is to create a new The work of the thread and added to the thread group. (1), (2), (3), (4) form the core of the library, can be modified for application Other sub categories: (5): CSim
Date : 2025-12-16 Size : 38kb User : 金建业

Linux 系统串口使用代码 /* * Program: serial.c * Author: Paul Dean * Version: 0.0.3 * Date: 2002-02-19 * Description: To provide underlying serial port function, * for high level applications. * */ #include <termios.h> /* tcgetattr, tcsetattr */ #include <stdio.h> /* perror, printf, puts, fprintf, fputs */ #include <unistd.h> /* read, write, close */ #include <fcntl.h> /* open */ #include <sys/signal.h> #include <sys/types.h> #include <string.h> /* bzero, memcpy */ #include <limits.h> /* CHAR_MAX */ #include "vardef.h" /* INT32, INT16, INT8, UINT32, UINT16, UINT8 */ #include "serial.h"-This directory contains the version 0.0.4 release of the Serial Debugger (SDB). The SDB is free software. If you think it is useful in your applications or solutions, you are admitted to use this source code with the declaration of Copyright to the original author, now Ding Baohua. Install procedure is referred to INSTALL file.
Date : 2025-12-16 Size : 8kb User : zhangxiaojun
« 12 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.