代码搜索:queue
找到约 10,000 项符合「queue」的源代码
代码结果 10,000
www.eeworm.com/read/151705/12180156
m msgcount.m
function num = msgcount(r, channelName)
%MSGCOUNT Get number of messages in specified 'read' configured channel queue.
% MSGCOUNT(R, CHANNEL) returns an integer value denoting the number of data
www.eeworm.com/read/253831/12184041
cpp 表达式求值(c++).cpp
#include
using namespace std;
typedef struct queue
{//队列的元素节点
int sign;//记录当前节点中存储数据的类型
union item//节点中存储的数据
{
float num;
char oper;
}item;
struct queue *next;
}queue;
c
www.eeworm.com/read/151608/12188171
m exm08943_2.m
%exm08943_2.m
clc,echo on
AA=' 继承性 '; %“生成字符串”指令
ST=stack(AA) %“堆栈对象的创建”指令
class(ST) %“类别检查”指令
isa(ST,'stack') %“检查是否堆栈”指令
isa(ST,'queue') %“检查是否队列”指令
%由于设计中采用了继承性,所以"是堆栈,
www.eeworm.com/read/151608/12188593
m comein.m
function q=comein(p,varargin)
% @QUEUE\COMEIN a variable comes to the end of a queue.
% 调用格式
% comein(p,a,b,...) 使输入宗量a,b等排在p之后形成新队列,
% 其名沿用p位置上的输入队列名.
% q=comein(p,a,b,...) 使输入宗量a,
www.eeworm.com/read/151608/12188712
m stack.m
function ST=stack(v)
% 调用格式
% ST=stack 创建一个"空"堆栈对象.
% ST=stack(v) 创建包含变量v的堆栈对象。
if nargin>1;error('Too many arguments.');end;
if nargin==0 % 没有输入宗量情况
Q=queue;
s.value=[];
www.eeworm.com/read/151608/12188977
m exm0892_2.m
%exm0892_2.m
clear,clc,echo on
%(1)创建一个队列对象,并显示。
qe='Hello! 你好 !'; %“生成字符串”指令
Q=queue(qe) %“生成队列对象Q,并显示”指令
pause,%按任意键,继续。
%(2)类别检查和是否对象判断
class(Q) %“类别检查”指令
isobject
www.eeworm.com/read/339941/12193810
cpp maze.cpp
#include
#define m 3 /* 行数*/
#define n 2 /*列数*/
#define MAXSIZE 24
struct mazetype
{
int x,y,pre;
} queue[MAXSIZE];
int maze[m+2][n+2];
int dx[8],dy[8];
void printp
www.eeworm.com/read/339858/12200442
bak 24c02program_opt.bak
### uVision2 Project, (C) Keil Software
### Do not modify !
cExt (*.c)
aExt (*.s*; *.src; *.a*)
oExt (*.obj)
lExt (*.lib)
tExt (*.txt; *.h; *.inc)
pExt (*.plm)
CppX (*.cpp)
DaveTm {
www.eeworm.com/read/339858/12200455
opt 24c02program.opt
### uVision2 Project, (C) Keil Software
### Do not modify !
cExt (*.c)
aExt (*.s*; *.src; *.a*)
oExt (*.obj)
lExt (*.lib)
tExt (*.txt; *.h; *.inc)
pExt (*.plm)
CppX (*.cpp)
DaveTm {