PyMuPDF 1.12.2 documentation(centimeters), or mm (millimeters). Return type: float intersect(ir) The intersection (common rectangular area) of the current rectangle and ir is calculated and replaces the current rectangle. If either one is taken as the result - and hence also infinite if both rectangles were infinite. Parameters: ir (IRect) – Second rectangle. contains(x) Checks whether x is contained in the rectangle. It may be Geometry Objects. Examples Example 1: >>> ir = fitz.IRect(10, 10, 410, 610) >>> ir fitz.IRect(10, 10, 410, 610) >>> ir.height 600 >>> ir.width 400 >>> ir.getArea('mm') # calculate area in square0 码力 | 387 页 | 2.70 MB | 1 年前3
05. 李枫 用于 Linux 内核调试的 Python Toolchain LLVM eBPF backend firstly introduced in LLVM 3.7 release http://llvm.org/docs/CodeGenerator.html#the-extended- berkeley-packet-filter-ebpf-backend o $LLVM_SRC/lib/Target/BPF $LLVM_SRC/lib/Target/BPF http://cilium.readthedocs.io/en/latest/bpf/ LLVM 9.0 Released With Ability To Build The Linux x86_64 ed_with_eBPF_Offload.pdf int bpf(int cmd, union bpf_attr *attr, unsigned int size); llvm-objdump, llvm-mc… bpftool $KERNEL_SRC/tools/bpf /bpftool0 码力 | 63 页 | 4.07 MB | 1 年前3
MuPDF 1.23.0 DocumentationOpenBSD. libclang is not available from pypi.org, but we can instead use the system py3-llvm package. sudo pkg_add py3-llvm pip install swig cd mupdf && python scripts/mupdfwrap.py -b all 7.7.5 Building the OpenBSD. libclang is not available from pypi.org, but we can instead use the system py3-llvm package. sudo pkg_add py3-llvm cd mupdf && python scripts/mupdfwrap.py -b m01 7.7.6 Building the C# bindings • MacOS. Building the C# bindings on MacOS is not currently supported. • OpenBSD. sudo pkg_add py3-llvm mono pip install swig cd mupdf && python scripts/mupdfwrap.py -b --csharp all 7.7.7 Using the bindings0 码力 | 245 页 | 817.74 KB | 8 月前3
MuPDF 1.25.0 DocumentationOpenBSD. libclang is not available from pypi.org, but we can instead use the system py3-llvm package. sudo pkg_add py3-llvm pip install swig setuptools cd mupdf && python scripts/mupdfwrap.py -b all 8.7.6 OpenBSD. libclang is not available from pypi.org, but we can instead use the system py3-llvm package. sudo pkg_add py3-llvm pip install setuptools cd mupdf && python scripts/mupdfwrap.py -b m01 224 Chapter MacOS. Building the C# bindings on MacOS is not currently supported. • OpenBSD. sudo pkg_add py3-llvm mono pip install swig setuptools cd mupdf && python scripts/mupdfwrap.py -b --csharp all 8.7.8 Using0 码力 | 259 页 | 1.11 MB | 8 月前3
MuPDF 1.24.0 DocumentationOpenBSD. libclang is not available from pypi.org, but we can instead use the system py3-llvm package. sudo pkg_add py3-llvm pip install swig setuptools cd mupdf && python scripts/mupdfwrap.py -b all 7.7.6 OpenBSD. libclang is not available from pypi.org, but we can instead use the system py3-llvm package. sudo pkg_add py3-llvm pip install setuptools cd mupdf && python scripts/mupdfwrap.py -b m01 7.7.7 Building MacOS. Building the C# bindings on MacOS is not currently supported. • OpenBSD. sudo pkg_add py3-llvm mono pip install swig setuptools cd mupdf && python scripts/mupdfwrap.py -b --csharp all 7.7. Building0 码力 | 249 页 | 830.15 KB | 8 月前3
4 Python语法扩展框架Moshmosh和其上的CPython compatible JIT实现 thautwarmpiler/py_apis.py Intrinsics Intrinsics: RestrainJIT/src/py_apis.jl Intrinsics Passes: IR 优化不足 Passes: IR优化不足 THANK YOU github@thautwarm0 码力 | 30 页 | 8.04 MB | 1 年前3
PyArmor Documentation v8.1.9exe, it’s OK if it could be run in other path. Download and install Windows version of LLVM [https://releases.llvm.org] Download https://pyarmor.dashingsoft.com/downloads/tools/clang-9.0.zip, it’s about exe, it’s OK if it could be run in other path. Download and install Windows version of LLVM [https://releases.llvm.org] Download https://pyarmor.dashingsoft.com/downloads/tools/clang-9.0.zip, it’s about0 码力 | 131 页 | 111.00 KB | 1 年前3
3 Thautwarm 解放python的表达力 性能和安全性 语法和语义扩展 JIT 静态检查 同时有一个叫bytecode的库,解决了一些使用字节码的难题。 字节码长相如何? 演示 先把Python字节码翻译到一个精简版本, 便于分析 指令集这么大时准备追x86汇编了? 指令集减小到15以内 混合IR tmp = Call(x, (1, 2)) Python字节码 LOAD_FAST f LOAD_CONST (1, 2) CALL_FUNCTION 1 混合是指Stack Machine和 什么是terminate指令: Return, Jump, 等等,就是会 离开当前执行位置的指令。 几个Pass的效果 演示。 上述函数的Python字节码 Φ-Node生成 目前用于Cython代码生成的IR 其中 label 2: 1: drawback_21 = tmp-0 3: drawback_21 = tmp-5 意思是, 如果来自第1个block, 那么, drawback_21等于tmp-0;0 码力 | 43 页 | 10.71 MB | 1 年前3
PyArmor Documentation v8.5.10exe, it’s OK if it could be run in other path. Download and install Windows version of LLVM [https://releases.llvm.org] Download https://pyarmor.dashingsoft.com/downloads/tools/clang-9.0.zip, it’s about exe, it’s OK if it could be run in other path. Download and install Windows version of LLVM [https://releases.llvm.org] Download https://pyarmor.dashingsoft.com/downloads/tools/clang-9.0.zip, it’s about0 码力 | 193 页 | 154.05 KB | 1 年前3
Jupyter Notebook 6.4.4 DocumentationreYHT6/pZbSaHOIsMC1WuPfJRUv9zftuC66k4fmtIrKf40e43X+o3XdKb5gIEMZa6lrNdNX1EWp0zHhABhetURUY1rGcjK8IxR4IR46uhgAtN6/o2TiQWqZqdrWuq9kO+X0/DsDwDUgsJm372bIWea9muaxw+rvhHttmtpanHQ0dPWlsOB/IkY2SMsGz1o9u7j+UyKz2 xqTztBjkUMp3g0ZoLtB710B0Yqw3EVyUpAnH831baZV7TWvExfqr6QD2VqZz+WmGHjflOBbdRkkfMzbzW+g1g1uBqwZFHUtfP+6ir4hyDXONW5V7dGatbE+v6rqYj11zjXi5nXsNfSXr5/wB1WLIw61otYLfgK30JI3ysu40oxEb8pxK7q1s4/LX0gDtrViYv1Vssrdh 6/site-packages/ipykernel/resources bash /home/takluyver/.local/share/jupyter/kernels/bash ir /home/takluyver/.local/share/jupyter/kernels/ir There’s a special fallback for the Python kernel: if it doesn’t find a real0 码力 | 182 页 | 1.53 MB | 1 年前3
共 94 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10













