Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
int(x=0) -> int or long
int(x, base=10) -> int or long

Convert a number or string to an integer, or return 0 if no arguments
are given.  If x is floating point, the conversion truncates towards zero.
If x is outside the integer range, the function returns a long instead.

If x is not a number or if base is given, then x must be a string or
Unicode object representing an integer literal in the given base.  The
literal can be preceded by '+' or '-' and be surrounded by whitespace.(more...)

src/l/i/lib-pyFreenet-staging-HEAD/fcp/freenetfs.py   lib-pyFreenet-staging(Download)
            mode |= stat.S_IFLNK
        if kw.get('issock', False):
            mode |= stat.S_IFSOCK
 
        path = kw['path']
            mode |= stat.S_IFLNK
        if kw.pop('issock', False):
            mode |= stat.S_IFSOCK
 
        # handle non-file-related keywords
        elif attr == 'issock':
            if val:
                self[stat.ST_MODE] |= stat.S_IFSOCK
            else:
                self[stat.ST_MODE] &= ~stat.S_IFSOCK

src/m/e/mercurial-2.9.1/mercurial/pure/osutil.py   Mercurial(Download)
        return statmod.S_IFIFO
    if statmod.S_ISSOCK(mode):
        return statmod.S_IFSOCK
    return mode
 

src/h/g/hg-HEAD/mercurial/pure/osutil.py   hg(Download)
        return statmod.S_IFIFO
    if statmod.S_ISSOCK(mode):
        return statmod.S_IFSOCK
    return mode
 

src/g/l/glusterflow-HEAD/translator/debugging_pieces/debug-trace.py   glusterflow(Download)
                type_bit = stat.S_IFIFO
        elif filetype == IA_IFSOCK:
                type_bit = stat.S_IFSOCK
        elif filetype == IA_INVAL:
                pass

src/s/a/salt-2014.1.3/salt/utils/find.py   salt(Download)
               'l': stat.S_IFLNK,
               'p': stat.S_IFIFO,
               's': stat.S_IFSOCK,
               stat.S_IFBLK: 'b',
               stat.S_IFCHR: 'c',
               stat.S_IFDIR: 'd',
               stat.S_IFREG: 'f',
               stat.S_IFLNK: 'l',
               stat.S_IFIFO: 'p',
               stat.S_IFSOCK: 's'}

src/s/a/salt-HEAD/salt/utils/find.py   salt(Download)
               'l': stat.S_IFLNK,
               'p': stat.S_IFIFO,
               's': stat.S_IFSOCK,
               stat.S_IFBLK: 'b',
               stat.S_IFCHR: 'c',
               stat.S_IFDIR: 'd',
               stat.S_IFREG: 'f',
               stat.S_IFLNK: 'l',
               stat.S_IFIFO: 'p',
               stat.S_IFSOCK: 's'}

src/f/o/FotoShareN9-HEAD/1.6.1/fotoshare/opt/FotoShareN9/plugins/sftp/libs/paramiko/sftp_attr.py   FotoShareN9(Download)
            elif kind == stat.S_IFLNK:
                ks = 'l'
            elif kind == stat.S_IFSOCK:
                ks = 's'
            else:

src/f/o/FotoShareN9-HEAD/1.6.1/fotoshare/opt/FotoShareN9/plugins/scp/libs/paramiko/sftp_attr.py   FotoShareN9(Download)
            elif kind == stat.S_IFLNK:
                ks = 'l'
            elif kind == stat.S_IFSOCK:
                ks = 's'
            else:

src/s/a/salt-thin-HEAD/salt/utils/find.py   salt-thin(Download)
               'l': stat.S_IFLNK,
               'p': stat.S_IFIFO,
               's': stat.S_IFSOCK,
               stat.S_IFBLK: 'b',
               stat.S_IFCHR: 'c',
               stat.S_IFDIR: 'd',
               stat.S_IFREG: 'f',
               stat.S_IFLNK: 'l',
               stat.S_IFIFO: 'p',
               stat.S_IFSOCK: 's'}

src/a/n/antisocial-HEAD/ve/lib/python2.7/site-packages/paramiko/sftp_attr.py   antisocial(Download)
            elif kind == stat.S_IFLNK:
                ks = 'l'
            elif kind == stat.S_IFSOCK:
                ks = 's'
            else:

  1 | 2 | 3 | 4 | 5  Next