Home
last modified time | relevance | path

Searched refs:bytesWanted (Results 1 – 25 of 26) sorted by relevance

12

/dports/devel/raknet/raknet-3.9.2_10,1/Source/
H A DDS_BytePool.cpp27 unsigned char *BytePool::Allocate(int bytesWanted, const char *file, unsigned int line) in Allocate() argument
30 return rakMalloc_Ex(bytesWanted, __FILE__, __LINE__); in Allocate()
33 if (bytesWanted <= 127) in Allocate()
45 if (bytesWanted <= 511) in Allocate()
57 if (bytesWanted <= 2047) in Allocate()
69 if (bytesWanted <= 8191) in Allocate()
82 out = (unsigned char*) rakMalloc_Ex(bytesWanted+1, __FILE__, __LINE__); in Allocate()
H A DDS_BytePool.h29 unsigned char* Allocate(int bytesWanted, const char *file, unsigned int line);
/dports/games/scourge/scourge/src/io/
H A Dzipfile.cpp140 int bytesWanted = size * count; in read() local
141 while ( bytesWanted > 0 ) { in read()
155 int willCopy = ( bytesWanted <= bytesHave ? bytesWanted : bytesHave ); in read()
157 bytesWanted -= willCopy; in read()
/dports/www/squid/squid-4.15/src/
H A Ddelay_pools.cc72 virtual int bytesWanted (int min, int max) const;
143 virtual int bytesWanted (int min, int max) const;
232 virtual int bytesWanted (int min, int max) const;
436 Aggregate::AggregateId::bytesWanted (int min, int max) const in bytesWanted() function in Aggregate::AggregateId
438 return theAggregate->theBucket.bytesWanted(min, max); in bytesWanted()
718 VectorPool::Id::bytesWanted (int min, int max) const in bytesWanted() function in VectorPool::Id
720 return theVector->buckets.values[theIndex].bytesWanted (min, max); in bytesWanted()
870 ClassCHostPool::Id::bytesWanted (int min, int max) const in bytesWanted() function in ClassCHostPool::Id
872 return theClassCHost->buckets.values[theNet].individuals.values[theHost].bytesWanted (min, max); in bytesWanted()
H A DDelayVector.cc101 DelayVector::Id::bytesWanted (int minimum, int maximum) const in bytesWanted() function in DelayVector::Id
107 nbytes = min (nbytes, (*pos)->bytesWanted(minimum, nbytes)); in bytesWanted()
H A DDelayId.cc132 DelayId::bytesWanted(int minimum, int maximum) const in bytesWanted() function in DelayId
143 nbytes = compositeId->bytesWanted(minimum, nbytes); in bytesWanted()
H A DDelayTagged.cc164 DelayTagged::Id::bytesWanted (int min, int max) const in bytesWanted() function in DelayTagged::Id
166 return theBucket->theBucket.bytesWanted(min,max); in bytesWanted()
H A DDelayUser.cc176 DelayUser::Id::bytesWanted (int min, int max) const in bytesWanted() function in DelayUser::Id
178 return theBucket->theBucket.bytesWanted(min,max); in bytesWanted()
H A DNullDelayId.h22 virtual int bytesWanted (int minimum, int maximum) const {return max(minimum,maximum);} in bytesWanted() function
H A DDelayIdComposite.h27 virtual int bytesWanted (int min, int max) const =0;
H A DDelayBucket.h30 int bytesWanted (int min, int max) const;
H A DDelayId.h34 int bytesWanted(int min, int max) const;
H A DDelayBucket.cc34 DelayBucket::bytesWanted(int minimum, int maximum) const in bytesWanted() function in DelayBucket
H A DDelayTagged.h65 virtual int bytesWanted (int min, int max) const;
H A DDelayUser.h65 virtual int bytesWanted (int min, int max) const;
H A DDelayVector.h43 virtual int bytesWanted (int min, int max) const;
H A DStore.h65 virtual size_t bytesWanted(Range<size_t> const aRange, bool ignoreDelayPool = false) const;
339 virtual size_t bytesWanted(Range<size_t> const aRange, bool) const { return aRange.end; } in bytesWanted() function
H A DMemObject.cc431 return largestAllowance.bytesWanted(0, max); in mostBytesWanted()
495 j = sc->delayId.bytesWanted(0, sc->copyInto.length); in mostBytesAllowed()
H A Dtunnel.cc139 int bytesWanted(int lower=0, int upper = INT_MAX) const;
342 TunnelStateData::Connection::bytesWanted(int lowerbound, int upperbound) const in bytesWanted() function in TunnelStateData::Connection
345 return delayId.bytesWanted(lowerbound, upperbound); in bytesWanted()
816 int bw = from.bytesWanted(1, SQUID_TCP_SO_RCVBUF); in copyRead()
836 server.bytesWanted(1, connectRespBuf->spaceSize()), call); in readConnectResponse()
H A Dstore.cc204 size_t amountToRead = bytesWanted(Range<size_t>(0, len)); in delayAwareRead()
228 StoreEntry::bytesWanted (Range<size_t> const aRange, bool ignoreDelayPools) const in bytesWanted() function in StoreEntry
248 return (bytesWanted(Range<size_t>(0,INT_MAX)) == 0); in checkDeferRead()
H A Dgopher.cc752 read_sz = delayId.bytesWanted(1, read_sz); in gopherReadReply()
H A Dclient_side_request.cc2086 const size_t spaceAvailable = storeEntry()->bytesWanted(Range<size_t>(0,contentSize)); in noteMoreBodyDataAvailable()
/dports/www/squid/squid-4.15/src/tests/
H A Dstub_store.cc32 size_t StoreEntry::bytesWanted(Range<size_t> const, bool) const STUB_RETVAL(0) in checkDeferRead()
/dports/emulators/dgen-sdl/dgen-sdl-1.33/dz80/
H A Ddissz80.c1724 BYTE* AllocateMap(DISZ80 *d, char *errorStr, unsigned int bytesWanted) in AllocateMap() argument
1728 pMap = (BYTE *)malloc(bytesWanted); in AllocateMap()
1733 memset(pMap, 0, bytesWanted); in AllocateMap()
/dports/www/squid/squid-4.15/src/clients/
H A DClient.cc771 const size_t spaceAvailable = entry->bytesWanted(Range<size_t>(0, contentSize), true); in handleMoreAdaptedBodyAvailable()

12