Searched refs:METADATA_PIECE_SIZE (Results 1 - 3 of 3) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/libtransmission/
H A Dtorrent-magnet.h25 METADATA_PIECE_SIZE = ( 1024 * 16 ) enumerator in enum:__anon7364
H A Dtorrent-magnet.c80 const int n = ( size + ( METADATA_PIECE_SIZE - 1 ) ) / METADATA_PIECE_SIZE;
167 const int o = piece * METADATA_PIECE_SIZE;
171 const int l = o + METADATA_PIECE_SIZE <= tor->infoDictLength
172 ? METADATA_PIECE_SIZE
175 if( 0<l && l<=METADATA_PIECE_SIZE )
202 const int offset = piece * METADATA_PIECE_SIZE;
H A Dpeer-msgs.c983 && ( msg_end - benc_end <= METADATA_PIECE_SIZE )
984 && ( piece * METADATA_PIECE_SIZE + (msg_end - benc_end) <= total_size ) )
1801 if( ( tr_peerIoGetWriteBufferSpace( msgs->peer->io, now ) >= METADATA_PIECE_SIZE )

Completed in 97 milliseconds