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

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)

src/s/p/spoonrpc-0.1.1/spoon/ber/stream.py   spoonrpc(Download)
 
from common import BERException, deflate_long, inflate_long
from common import UNIVERSAL, APPLICATION, CONTEXT, PRIVATE
from tag import Tag
 
UNIVERSAL_LIST = 16
 
EOF_TYPE = Tag(UNIVERSAL, 0, 0)
NULL_TYPE = Tag(UNIVERSAL, UNIVERSAL_NULL)
BOOL_TYPE = Tag(UNIVERSAL, UNIVERSAL_BOOL)
INT_TYPE = Tag(UNIVERSAL, UNIVERSAL_INT)

src/s/p/spoonrpc-0.1.1/spoon/ber/tag.py   spoonrpc(Download)
 
from common import BERException, inflate_long, deflate_long
from common import UNIVERSAL, APPLICATION, CONTEXT, PRIVATE
 
 
_class_name = { UNIVERSAL: 'UNIVERSAL', APPLICATION: 'APPLICATION',
        indefinite-length sequences (type 0, length 0).
        """
        return (self._tag_class == UNIVERSAL) and not self._container and (self._tag == 0) and \
               self._size == 0
 

src/s/p/spoonrpc-0.1.1/spoon/ber/__init__.py   spoonrpc(Download)
from cStringIO import StringIO
 
from common import UNIVERSAL, APPLICATION, CONTEXT, PRIVATE
from common import BERException