代码搜索:Capacity
找到约 2,190 项符合「Capacity」的源代码
代码结果 2,190
www.eeworm.com/read/216506/15005447
cpp stack.cpp
/* Copyright 2007 Stefan Webb
This file is part of Burstsort.
Burstsort is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
www.eeworm.com/read/214167/15112008
h d_ksack.h
#ifndef KNAPSACK_PROBLEM
#define KNAPSACK_PROBLEM
#include
#include
#include
#include "d_matrix.h"
using namespace std;
// specifies the size and value of
www.eeworm.com/read/214167/15112307
cpp prg15_5.cpp
// File: prg15_5.cpp
// the program demonstrates the dynamic programming solution
// to the knapsack problem. the vector itemList contains
// five items, each with a specified size and value. after
www.eeworm.com/read/210671/15193754
cpp fig19_05.cpp
// Fig. 19.5: fig19_05.cpp
// Demonstrating functions related to size and capacity
#include
using std::cout;
using std::endl;
using std::cin;
#include
using std::strin
www.eeworm.com/read/205546/15313376
java vectortest.java
/*源程序清单6-3*/
package test;
import java.util.*;
import java.awt.*;
public class VectorTest
{
Vector sam=new Vector(15,3);
public VectorTest()
{
System.out.println("The vector
www.eeworm.com/read/172141/5389491
java intlist.java
package com.hongsoft.res.util;
public class IntList {
int [] elements;
int capacity;
int size;
/**
* Creates a new list of long values with a default capacity of 50.
www.eeworm.com/read/172141/5389499
java longlist.java
package com.hongsoft.res.util;
public class LongList {
long [] elements;
int capacity;
int size;
/**
* Creates a new list of long values with a default capacity of 50.
www.eeworm.com/read/170572/5403661
java segmentbuffer.java
/*
* SegmentBuffer.java - A Segment you can append stuff to
* :tabSize=8:indentSize=8:noTabs=false:
* :folding=explicit:collapseFolds=1:
*
* Copyright (C) 2001 Slava Pestov
*
* This program is
www.eeworm.com/read/167562/5457485
h qdatabuffer_p.h
/****************************************************************************
**
** Copyright (C) 1992-2006 Trolltech ASA. All rights reserved.
**
** This file is part of the QtGui module of the Qt To
www.eeworm.com/read/165570/5480888
java openadrhashtableuos.java
/* OpenAdrHashTableUos.java
* ---------------------------------------------
* Copyright (c) 2001 University of Saskatchewan
* All Rights Reserved
* --------------------------------------------