代码搜索:queue
找到约 10,000 项符合「queue」的源代码
代码结果 10,000
www.eeworm.com/read/133875/14019317
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/133875/14019699
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/133875/14019787
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/133875/14019980
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/133807/14022593
txt 已完成.txt
01-ErrorShow
04-ProcessInfo
07-SchedLab
09-Handshake
09-Queue
www.eeworm.com/read/133806/14022691
txt 已完成.txt
01-ErrorShow
04-ProcessInfo
07-SchedLab
09-Handshake
09-Queue
10-Optex
10-SWMRG
10-WaitForMultExp
www.eeworm.com/read/133571/14035765
c widthfirst.c
#include
#include
#include
#define MAX 20
#define LEN sizeof(struct queue)
struct Lnode{//边(弧)结点的类型定义
int ver; //边(弧)的另一顶点的在数组中的位置
struct Lnode *link; //指下一
www.eeworm.com/read/132667/14080340
h gw-prioqueue.h
/* ====================================================================
* The Kannel Software License, Version 1.0
*
* Copyright (c) 2001-2004 Kannel Group
* Copyright (c) 1998-2001 WapIT Ltd
www.eeworm.com/read/204559/15336866
cpp main7.cpp
// Section 16.7
// $ CC main7.cpp
/*
< 0 3 6 9 >
< 2 4 6 8 10 >
*/
#include "Queue.h"
#include "Queue.cpp"
using std::cout;
#include
using std::vector;
int main()
{
www.eeworm.com/read/204479/15337787
c sort_radix.c
/* 基数排序的算法源程序*/
#include
#define D 3 /* D为排序码的最大位数 */
#define R 10 /* R为基数 */
typedef int KeyType;
typedef int DataType;
struct Node