Secure Programming Cookbook for C and C++ is an important new resource for developers serious about writing secure code for Unix(including Linux) and Windows environments. This essential code companion covers a wide range of topics, including safe initialization, access control, INPUT validation, symmetric and public key cryptography, cryptographic hashes and MACs, authentication and key exchange, PKI, random numbers, and anti-tampering.
标签: Programming developers for important
上传时间: 2015-09-03
上传用户:gundan
Implemented BFS, DFS and A* To compile this project, use the following command: g++ -o search main.cpp Then you can run it: ./search The INPUT is loaded from a INPUT file in.txt Here is the format of the INPUT file: The first line of the INPUT file shoud contain two chars indicate the source and destination city for breadth first and depth first algorithm. The second line of INPUT file shoud be an integer m indicate the number of connections for the map. Following m lines describe the map, each line represents to one connection in this form: dist city1 city2, which means there is a connection between city1 and city2 with the distance dist. The following INPUT are for A* The following line contains two chars indicate the source and destination city for A* algorithm. Then there is an integer h indicate the number of heuristic. The following h lines is in the form: city dist which means the straight-line distance from the city to B is dist.
标签: Implemented following compile command
上传时间: 2014-01-01
上传用户:lhc9102
* CONSTRAINTS * This module does not handle data which is considered out of range by the * application(i.e. fixed constants which represent error condition) * * Maximum weight value must be limited to 128 to prevent an overflow * condition during the calculation. * * The internal data type must be large enough to handle the calculations. * The maximum possible internal value * = Max INPUT Value * (weight - 1) + Max INPUT Value * If a maximum weight of 128 is used, the internal data type should be 2 * times the size of the INPUT data type.
标签: CONSTRAINTS considered module handle
上传时间: 2015-09-07
上传用户:qunquan
本程序分为界面和控制器核心两部分 一、界面部分功能主要有: (1)显示控制器核心数据和参数 (2)与用户交互,可以调节初始输入温度值,并将温度变化率清零以便进行新一轮的模拟。 界面使用了定时器。开启模拟时候,每隔一秒,触发一次计时器消息,完成下列工作: 1. 将界面上的当前温度映射为模糊控制器的输入温度 2. 输出当前温度,当前温度变化率 3. 调用模糊控制,得到控制器输出值,将其乘以m_fFuelEffect (燃料输出对温度变化率的影响率,目前设置为0.3),得到变化率的变化,加到当前温度变化率上,得到新的变化率。 4. 更新变化率,更新温度。将结果映射到界面上。 5. 记录相关数据并以图形、数字方式输出。 二、控制器核心用到的类有 (1)Rule_Func_Single 将简单的函数包装成类,方便后面使用。实现了 NB, NS, ZO, PS, PB 等梯形函数,以及常值函数。 (2)Grading_Func 继承自Rule_Func_Single类,比基类增加一个输入参数,指明梯形函数属于INPUT, Delta或者Output 。 (3)Rule_Function 将两个Grading_Func结合在一起,进行模糊与或模糊或等模糊逻辑操作,并输出结果。
上传时间: 2014-11-01
上传用户:Yukiseop
(1) This pin may function as either a JTAG port or a user I/O pin. If the device is configured to use the JTAG ports for in-system programming, this pin is not available as a user I/O pin. (2) The user I/O pin count includes dedicated INPUT pins and all I/O pins.
标签: configured pin function either
上传时间: 2014-01-27
上传用户:qwe1234
一个简单的SPI IP核,SPI Core Specifications 可以从说明文档中找到! The simple Serial Peripheral Interface core is an enhanced version of the Serial Peripheral Interface found on Motorola s M68HC11 family of CPUs. The Serial Peripheral Interface is a serial, synchronous communication protocol that requires a minimum of 3 wires. FEATURES: · Compatible with Motorola’s SPI specifications · Enhanced M68HC11 Serial Peripheral Interface · 4 entries deep read FIFO · 4 entries deep write FIFO · Interrupt generation after 1, 2, 3, or 4 transferred bytes · 8 bit WISHBONE RevB.3 Classic interface · Operates from a wide range of INPUT clock frequencies · Static synchronous design · Fully synthesizable
标签:
上传时间: 2015-09-17
上传用户:TRIFCT
this m file can Find a (near) optimal solution to the Traveling Salesman Problem (TSP) by setting up a Genetic Algorithm (GA) to search for the shortest path (least distance needed to travel to each city exactly once) Notes: 1. INPUT error checking included 2. INPUTs can be specified in any order, so long as the parameter pairs are specified as a parameter , value
标签: Traveling Salesman solution Problem
上传时间: 2013-12-22
上传用户:ruixue198909
This code was used for making the practical measurements in section 2.3 of my thesis. This Matlab code allows an OFDM signal to be generated based on an INPUT data file. The data can be random data, a grey scale image, a wave file, or any type of file. The generated OFDM signal is stored as a windows wave file, allowing it to be viewed, listened to and manipulated in other programs. The modified wave file can then be decoded by the receiver software to extract the original data. This code was developed for the experiments that I performed in my honours thesis, and thus has not been fully debugged. This is the original code developed for the thesis and so has several problems with it. The BER performance given by the simulations is infact Symbol Error Rate.
标签: This measurements practical section
上传时间: 2015-09-20
上传用户:tedo811
This software designs the document management system may replace the tedious low effect the manual management, has used the c language programming, realized the document INPUT to loan, the information management and the data compilation three big cores function
标签: the management software document
上传时间: 2013-12-20
上传用户:yt1993410
Preparation of a function, even to the importation of n, the function call seeking +1/n 1/2+1/4+ .... When n is odd INPUT, the function call 1/1+1/3+ ... +1/n (using function pointer)
标签: function Preparation importation the
上传时间: 2014-01-21
上传用户:semi1981