代码搜索:预置数
找到约 10,000 项符合「预置数」的源代码
代码结果 10,000
www.eeworm.com/read/393242/8302813
cpp 多级调度.cpp
#include
#include
#define getpch(type) (type *)malloc(sizeof(type))
#define NULL 0
using namespace std;
const int que_num = 5; //就绪队列数
struct pcb{ //进程控制块
char nam
www.eeworm.com/read/174062/9610173
c ch1_3.c
/*CH1_3*/
/*比较两个数的大小,并输出最大的数*/
#include
int max(int x,int y);
main() /*主函数*/
{
int a,b,c; /*声明部分,定义变量*/
scanf ("
www.eeworm.com/read/269549/11094689
c coreutils.c
/* coreutils.c :
* 内核系统核心函数, C语言函数部分.
*
* Copyright(c) 2007, Alex P.Wonder
* phoenixwonder@gmail.com
*
*/
#include "coreutils.h"
static unsigned long int next=1;
/* 随机数 */
int
www.eeworm.com/read/413260/11160739
h matrix.h
#ifndef _MATRIX_H
#define _MATRIX_H
enum Fill_Way{crs,row,col,all};
class Matrix{ //仅为方阵!!
private:
int dimension;
int cross;
double **elements;
public:
Matrix(int d=1); //仅指定维数
www.eeworm.com/read/267744/11165261
m example5_42.m
function ObjVal = objharv(Chrom,sswitch);
% 目标函数的维数
Dim = 20;
% 参数设置
a = 1.1;
x0 = 100;
xend = x0;
XENDWEIGHT = 0.4/(Dim^0.6);
% 种群的大小
[Nind,Nvar] = size(Chrom);
% 种
www.eeworm.com/read/265958/11248098
h huffman.h
const unsigned int n=256; //字符数
const unsigned int m=256*2-1; //结点总数
struct HTNode{ //压缩用Huffman树结点
unsigned long weight; //字符频度(权值)
unsigned int parent,lchild,rchild;
};
www.eeworm.com/read/411168/11253429
m dsspsp.m
% function [BER]=DSSpSp(SNRindB)
%Diect Squence Spread Spectrum
%编程产生信号:直扩m码BPSK调制,
clear
clc
SNRindB=10;
Num=5000; %传输bit数
Lc=20; %处理增益
SNRline=10^(SNRindB/10);
sigma=1; %
www.eeworm.com/read/249743/12477029
m example5_42.m
function ObjVal = objharv(Chrom,sswitch);
% 目标函数的维数
Dim = 20;
% 参数设置
a = 1.1;
x0 = 100;
xend = x0;
XENDWEIGHT = 0.4/(Dim^0.6);
% 种群的大小
[Nind,Nvar] = size(Chrom);
% 种
www.eeworm.com/read/334453/12599153
c function.c
#include "Function.h"
#include "SCI.h"
//UpBtn:向移按钮功能函数--------------------------------------------------*
//功 能:将LCD屏幕中的光标向下移一行 *
//参 数:当前光标所在行号CurrentRow(取