Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(10)  |  Call(5)  |  Derive(0)  |  Import(5)

src/b/i/BitTornado-HEAD/BitTornado/BT1/Storage.py   BitTornado(Download)
from BitTornado.piecebuffer import BufferPool
from threading import Lock
from time import strftime, localtime
import os
from os.path import exists, getsize, getmtime, basename
MAXLOCKRANGE = 3999999999L   # only lock first 4 gig of file
 
_pool = BufferPool()
PieceBuffer = _pool.new
 

src/o/w/OwnTube-HEAD/videoportal/BitTornadoABC/BitTornado/BT1/Storage.py   OwnTube(Download)
# Written by Bram Cohen
# see LICENSE.txt for license information
 
from BitTornado.piecebuffer import BufferPool
from threading import Lock
MAXLOCKRANGE = 3999999999L   # only lock first 4 gig of file
 
_pool = BufferPool()
PieceBuffer = _pool.new
 

src/f/r/FriendlyTorrent-HEAD/src/tornado/BitTornado/BT1/Storage.py   FriendlyTorrent(Download)
# Written by Bram Cohen
# see LICENSE.txt for license information
 
from BitTornado.piecebuffer import BufferPool
from threading import Lock
MAXLOCKRANGE = 3999999999L   # only lock first 4 gig of file
 
_pool = BufferPool()
PieceBuffer = _pool.new
 

src/h/e/Herd-HEAD/BitTornado/BT1/Storage.py   Herd(Download)
# Written by Bram Cohen
# see LICENSE.txt for license information
 
from BitTornado.piecebuffer import BufferPool
from threading import Lock
MAXLOCKRANGE = 3999999999L   # only lock first 4 gig of file
 
_pool = BufferPool()
PieceBuffer = _pool.new
 

src/s/w/swarm-HEAD/BitTornado/BT1/Storage.py   swarm(Download)
# Written by Bram Cohen
# see LICENSE.txt for license information
 
from BitTornado.piecebuffer import BufferPool
from threading import Lock
MAXLOCKRANGE = 3999999999L   # only lock first 4 gig of file
 
_pool = BufferPool()
PieceBuffer = _pool.new