Buckets:
| typedef struct { | |
| PyObject_VAR_HEAD | |
| Py_DEPRECATED(3.11) Py_hash_t ob_shash; | |
| char ob_sval[1]; | |
| /* Invariants: | |
| * ob_sval contains space for 'ob_size+1' elements. | |
| * ob_sval[ob_size] == 0. | |
| * ob_shash is the hash of the byte string or -1 if not computed yet. | |
| */ | |
| } PyBytesObject; | |
| PyAPI_FUNC(int) _PyBytes_Resize(PyObject **, Py_ssize_t); | |
| /* Macros and static inline functions, trading safety for speed */ | |
| static inline char* PyBytes_AS_STRING(PyObject *op) | |
| { | |
| return _PyBytes_CAST(op)->ob_sval; | |
| } | |
| static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) { | |
| PyBytesObject *self = _PyBytes_CAST(op); | |
| return Py_SIZE(self); | |
| } | |
| /* _PyBytes_Join(sep, x) is like sep.join(x). sep must be PyBytesObject*, | |
| x must be an iterable object. */ | |
| PyAPI_FUNC(PyObject*) _PyBytes_Join(PyObject *sep, PyObject *x); | |
Xet Storage Details
- Size:
- 1.18 kB
- Xet hash:
- 6abe146dca779087193cffbd4c5a9ad4410852cc930f3be5325f04458029869f
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.