Changeset e2afced in git for Singular/Cache.h
- Timestamp:
- Oct 8, 2009, 12:11:57 PM (15 years ago)
- Branches:
- (u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
- Children:
- 0a52b49fcfbb9270ac1d60e85d52e30fd24bbd96
- Parents:
- 967a9d48cc1d702f106bf47d327d87adbaf6833c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/Cache.h
r967a9d re2afced 90 90 list<ValueClass> _value; 91 91 92 list< long> _weights;92 list<int> _weights; 93 93 94 94 mutable typename list<KeyClass>::const_iterator _itKey; … … 100 100 * i.e., over all cached values. 101 101 */ 102 long_weight;102 int _weight; 103 103 104 104 /** … … 114 114 * see Cache::shrink (const KeyClass&) and Cache::deleteLast (). 115 115 */ 116 long_maxWeight;116 int _maxWeight; 117 117 118 118 /** … … 179 179 * @param maxWeight the (positive) maximal weight of the cache 180 180 */ 181 Cache (const int maxEntries, const longmaxWeight);181 Cache (const int maxEntries, const int maxWeight); 182 182 183 183 /** … … 190 190 * @see MinorValue::getWeight () const 191 191 */ 192 longgetWeight () const;192 int getWeight () const; 193 193 194 194 /** … … 221 221 * @see Cache::Cache (const int, const int) 222 222 */ 223 longgetMaxWeight () const;223 int getMaxWeight () const; 224 224 225 225 /**
Note: See TracChangeset
for help on using the changeset viewer.