代码搜索:Capacity
找到约 2,190 项符合「Capacity」的源代码
代码结果 2,190
www.eeworm.com/read/140673/5784678
h stack.h
#ifndef STACK_H__
#define STACK_H__
#include "Vector.h"
template
class Stack {
private:
Vector vec_;
public:
/* 将元素e压栈
*/
void push(const T&e) {
vec_.pushBa
www.eeworm.com/read/140673/5784685
h stack.h
#ifndef STACK_H__
#define STACK_H__
#include "Vector.h"
template
class Stack {
private:
Vector vec_;
public:
/* 将元素e压栈
*/
void push(const T&e) {
vec_.pushBa
www.eeworm.com/read/140673/5784687
h queue.h
#ifndef QUEUE_H__
#define QUEUE_H__
#include "Vector.h"
template
class Queue {
private:
Vector vec_;
public:
/* 将元素e放入队列
*/
void push(const T&e) {
vec_.push
www.eeworm.com/read/140673/5784697
h stack.h
#ifndef STACK_H__
#define STACK_H__
#include "Vector.h"
template
class Stack {
private:
Vector vec_;
public:
/* 将元素e压栈
*/
void push(const T&e) {
vec_.pushBa
www.eeworm.com/read/131315/5940561
cc tvec.cc
/*
test/demo of Vecs, AVecs
*/
#include
#include "iVec.h"
#include "iAVec.h"
int int_compare(int a, int b)
{
return a - b;
}
int plus(int a, int b)
{
return a + b;
}
int inc(int a)
www.eeworm.com/read/131315/5940943
ccp avec.ccp
// This may look like C code, but it is really -*- C++ -*-
/*
Copyright (C) 1988 Free Software Foundation
written by Doug Lea (dl@rocky.oswego.edu)
This file is part of the GNU C++ Library. Thi
www.eeworm.com/read/124567/6045489
java~ bytebuffer.java~
/*
* ByteBuffer.java
*
* Created on July 12, 2003, 8:30 AM
*/
package com.heaton.bot;
import java.io.*;
/**
*
* @author jheaton
*/
public class ByteBuffer {
public static final int
www.eeworm.com/read/123117/6063237
java alarmclock.java
public class AlarmClock {
private static final int MAX_CAPACITY = 10;
private static final int UNUSED = -1;
private static final int NOROOM = -1;
private Sleeper[] sleepers = new Sle
www.eeworm.com/read/123117/6063245
java alarmclock.java
public class AlarmClock {
static final int MAX_CAPACITY = 10;
static final int UNUSED = -1;
static final int NOROOM = -1;
private Sleeper[] sleepers = new Sleeper[MAX_CAPACITY];
www.eeworm.com/read/113176/6135923
java oscacheprovider.java
//$Id: OSCacheProvider.java,v 1.1.2.7 2003/11/29 07:55:15 oneovthafew Exp $
package net.sf.hibernate.cache;
import java.util.Properties;
import net.sf.hibernate.util.PropertiesHelper;
import n