Buckets:
MisterAI/LocalAI_Demo_backends / cpu-diffusers.upgrade-tmp /venv /lib /python3.10 /site-packages /sympy /codegen /cutils.py
| from sympy.printing.c import C99CodePrinter | |
| def render_as_source_file(content, Printer=C99CodePrinter, settings=None): | |
| """ Renders a C source file (with required #include statements) """ | |
| printer = Printer(settings or {}) | |
| code_str = printer.doprint(content) | |
| includes = '\n'.join(['#include <%s>' % h for h in printer.headers]) | |
| return includes + '\n\n' + code_str | |
Xet Storage Details
- Size:
- 383 Bytes
- Xet hash:
- fd7fc830eb11f6f130dee9383e51d9b601d44563d36b98d886c92362d46d4645
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.