Did I find the right examples for you? yes no

All Samples(22)  |  Call(0)  |  Derive(0)  |  Import(22)
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)
            'gid'    : info[stat.ST_GID],
            'size'   : info[stat.ST_SIZE],
            'atime'  : info[stat.ST_ATIME],
            'mtime'  : info[stat.ST_MTIME],
            'ctime'  : info[stat.ST_CTIME],
        statrec[stat.ST_SIZE] = len(self.stream.getvalue())
 
        statrec[stat.ST_ATIME] = atime
        statrec[stat.ST_MTIME] = atime
        statrec[stat.ST_CTIME] = atime
 
        if attr == 'atime':
            return self[stat.ST_ATIME]
 
        if attr == 'mtime':
            return self[stat.ST_ATIME]
 
        if attr == 'ctime':
            return self[stat.ST_ATIME]

src/s/h/shastity-HEAD/src/shastity/filesystem.py   shastity(Download)
        props['gid']                 = statinfo[stat.ST_GID]
        props['size']                = statinfo[stat.ST_SIZE]
        props['atime']               = statinfo[stat.ST_ATIME]
        props['mtime']               = statinfo[stat.ST_MTIME]
        props['ctime']               = statinfo[stat.ST_CTIME]

src/l/o/LODGrefine-HEAD/lod2-google-refine/extensions/jython/module/MOD-INF/lib/jython/os.py   LODGrefine(Download)
      ('st_gid', _stat.ST_GID),
      ('st_size', _stat.ST_SIZE),
      ('st_atime', _stat.ST_ATIME),
      ('st_mtime', _stat.ST_MTIME),
      ('st_ctime', _stat.ST_CTIME),

src/o/p/openvault-core-HEAD/hydra-jetty/webapps/media/WEB-INF/lib/Lib/os.py   openvault-core(Download)
      ('st_gid', _stat.ST_GID),
      ('st_size', _stat.ST_SIZE),
      ('st_atime', _stat.ST_ATIME),
      ('st_mtime', _stat.ST_MTIME),
      ('st_ctime', _stat.ST_CTIME),

src/p/o/poky-HEAD/bitbake/lib/bb/utils.py   poky(Download)
        os.utime(dest, (newmtime, newmtime))
    else:
        os.utime(dest, (sstat[stat.ST_ATIME], sstat[stat.ST_MTIME]))
        newmtime = sstat[stat.ST_MTIME]
    return newmtime
            if srcchown:
                os.chmod(src, sstat[stat.ST_MODE])
                os.utime(src, (sstat[stat.ST_ATIME], sstat[stat.ST_MTIME]))
 
    else:
        os.utime(dest, (newmtime, newmtime))
    else:
        os.utime(dest, (sstat[stat.ST_ATIME], sstat[stat.ST_MTIME]))
        newmtime = sstat[stat.ST_MTIME]
    return newmtime

src/b/i/bitbake-HEAD/lib/bb/utils.py   bitbake(Download)
        os.utime(dest, (newmtime, newmtime))
    else:
        os.utime(dest, (sstat[stat.ST_ATIME], sstat[stat.ST_MTIME]))
        newmtime = sstat[stat.ST_MTIME]
    return newmtime
            if srcchown:
                os.chmod(src, sstat[stat.ST_MODE])
                os.utime(src, (sstat[stat.ST_ATIME], sstat[stat.ST_MTIME]))
 
    else:
        os.utime(dest, (newmtime, newmtime))
    else:
        os.utime(dest, (sstat[stat.ST_ATIME], sstat[stat.ST_MTIME]))
        newmtime = sstat[stat.ST_MTIME]
    return newmtime

src/l/f/lfm-2.3/lfm/files.py   lfm(Download)
    else:
        return (st[stat.ST_NLINK], st[stat.ST_UID], st[stat.ST_GID],
                st[stat.ST_ATIME], st[stat.ST_MTIME], st[stat.ST_CTIME],
                st[stat.ST_DEV], st[stat.ST_INO])
 

src/r/d/rdiff-backup-HEAD/rdiff_backup/rpath.py   rdiff-backup(Download)
		# mtimes on symlinks and dev files don't work consistently
		data['mtime'] = long(statblock[stat.ST_MTIME])
		data['atime'] = long(statblock[stat.ST_ATIME])
		data['ctime'] = long(statblock[stat.ST_CTIME])
	return data

src/p/y/pyJasper-HEAD/pyjasper/backend/lib/Lib/os.py   pyJasper(Download)
      ('st_gid', _stat.ST_GID),
      ('st_size', _stat.ST_SIZE),
      ('st_atime', _stat.ST_ATIME),
      ('st_mtime', _stat.ST_MTIME),
      ('st_ctime', _stat.ST_CTIME),

src/c/o/com.pittypanda.plugins.couch-HEAD/couchapp/Lib/os.py   com.pittypanda.plugins.couch(Download)
      ('st_gid', _stat.ST_GID),
      ('st_size', _stat.ST_SIZE),
      ('st_atime', _stat.ST_ATIME),
      ('st_mtime', _stat.ST_MTIME),
      ('st_ctime', _stat.ST_CTIME),

  1 | 2 | 3 | 4 | 5 | 6  Next