代码搜索:queue
找到约 10,000 项符合「queue」的源代码
代码结果 10,000
www.eeworm.com/read/388784/8576926
h queue.h
/*
* This file contains code from "C++ Primer, Fourth Edition", by Stanley B.
* Lippman, Jose Lajoie, and Barbara E. Moo, and is covered under the
* copyright and warranty notices given in that
www.eeworm.com/read/187929/8589816
h queue.h
// specification file for an unlimited queue for storing bytes
#ifndef CRYPTOPP_QUEUE_H
#define CRYPTOPP_QUEUE_H
#include "cryptlib.h"
NAMESPACE_BEGIN(CryptoPP)
// The queue is implemente
www.eeworm.com/read/187929/8589999
cpp queue.cpp
// queue.cpp - written and placed in the public domain by Wei Dai
#include "pch.h"
#include "queue.h"
#include "misc.h"
NAMESPACE_BEGIN(CryptoPP)
// this class for use by ByteQueue only
cl
www.eeworm.com/read/288910/8594404
h queue.h
#ifndef QUEUE_H
#define QUEUE_H
#include
using std::cerr;
using std::ostream;
#include
using std::exit;
// declaration of QueueItem
template class QueueIte
www.eeworm.com/read/288910/8594428
cpp queue.cpp
template
Queue::~Queue()
{
while ( ! is_empty() )
remove();
}
template
void Queue::add( const Type &val )
{
// allocate
www.eeworm.com/read/388617/8595025
h queue.h
// queue.h -- interface for a queue
#ifndef QUEUE_H_
#define QUEUE_H_
// This queue will contain Customer items
class Customer
{
private:
long arrive; // arrival time for customer
www.eeworm.com/read/388617/8595046
cpp queue.cpp
// queue.cpp -- Queue and Customer methods
#include "queue.h"
#include // (or stdlib.h) for rand()
// Queue methods
Queue::Queue(int qs) : qsize(qs)
{
front = rear = NULL
www.eeworm.com/read/388617/8596159
h queue.h
// queue.h -- interface for a queue
#ifndef QUEUE_H_
#define QUEUE_H_
// This queue will contain Customer items
class Customer
{
private:
long arrive; // arrival time for customer
www.eeworm.com/read/388617/8596180
cpp queue.cpp
// queue.cpp -- Queue and Customer methods
#include "queue.h"
#include // (or stdlib.h) for rand()
// Queue methods
Queue::Queue(int qs) : qsize(qs)
{
front = rear = NULL
www.eeworm.com/read/432517/8597892
c queue.c
/*
* Copyright (c) 2000-2008
* Author: Weiming Zhou
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without f