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

All Samples(29)  |  Call(24)  |  Derive(0)  |  Import(5)

src/p/y/python-csp-0.1/csp/cchannels/tests/tokenring.py   python-csp(Download)
import sys
sys.path.append('../')
from CChannel import CChannel as Channel
del sys
 

src/p/y/python-csp-0.1/csp/cchannels/tests/simple.py   python-csp(Download)
from csp.csp import Par, process
 
import sys
sys.path.append('../')
from CChannel import CChannel as Channel
if __name__ == '__main__':
 
    c = Channel()
    p = Par(out(c),inn(c))
    p.start()

src/p/y/python-csp-0.1/csp/cchannels/tests/patterns.py   python-csp(Download)
from csp.csp import Par
 
from CChannel import CChannel as Channel
 
__all__ = ['TokenRing']
 
class TokenRing(Par):
    def __init__(self, func, size, numtoks=1):
        self.chans = [Channel() for channel in xrange(size)]

src/p/y/python-csp-0.1/csp/cchannels/tests/fulladder.py   python-csp(Download)
import sys
sys.path.append('../')
from CChannel import CChannel as Channel
del sys
 
    Based on Bjorndalen, Vinter & Anshus (2007).
    """
    Aa = Channel()
    Ab = Channel()
    Ba = Channel()
    Bb = Channel()

src/p/y/python-csp-0.1/csp/cchannels/tests/commstime.py   python-csp(Download)
import sys
sys.path.append('../')
from CChannel import CChannel as Channel
del sys
 
def CommsTimeBM():
    print('Creating channels now...')
    # Create channels
    a = Channel()
    b = Channel()
    c = Channel()
    d = Channel()