Did I find the right examples for you? yes no

All Samples(7)  |  Call(2)  |  Derive(0)  |  Import(5)
Stores utility code to add during code generation.

See GlobalState.put_utility_code.

hashes/equals by instance

proto           C prototypes
impl            implemenation code
init            code to call on module initialization
requires        utility code dependencies(more...)

src/c/y/Cython-0.20.1/Cython/Compiler/Buffer.py   Cython(Download)
from Cython.Compiler.Visitor import CythonTransform
from Cython.Compiler.ModuleNode import ModuleNode
from Cython.Compiler.Errors import CompileError
from Cython.Compiler.UtilityCode import CythonUtilityCode
from Cython.Compiler.Code import UtilityCode, TempitaUtilityCode
        static Py_ssize_t __Pyx_minusones[] = {%s};
    """) % (", ".join(["0"] * max_ndim), ", ".join(["-1"] * max_ndim))
    return UtilityCode(proto=code)
 
empty_bufstruct_utility = get_empty_bufstruct_code(Options.buffer_max_dims)

src/c/y/cython-HEAD/Cython/Compiler/Buffer.py   cython(Download)
from Cython.Compiler.Visitor import CythonTransform
from Cython.Compiler.ModuleNode import ModuleNode
from Cython.Compiler.Errors import CompileError
from Cython.Compiler.UtilityCode import CythonUtilityCode
from Cython.Compiler.Code import UtilityCode, TempitaUtilityCode
        static Py_ssize_t __Pyx_minusones[] = {%s};
    """) % (", ".join(["0"] * max_ndim), ", ".join(["-1"] * max_ndim))
    return UtilityCode(proto=code)
 
empty_bufstruct_utility = get_empty_bufstruct_code(Options.buffer_max_dims)

src/c/y/Cython-0.20.1/Cython/Compiler/ParseTreeTransforms.py   Cython(Download)
from Cython.Compiler.StringEncoding import EncodedString
from Cython.Compiler.Errors import error, warning, CompileError, InternalError
from Cython.Compiler.Code import UtilityCode
 
import copy

src/c/y/cython-HEAD/Cython/Compiler/ParseTreeTransforms.py   cython(Download)
from Cython.Compiler.StringEncoding import EncodedString
from Cython.Compiler.Errors import error, warning, CompileError, InternalError
from Cython.Compiler.Code import UtilityCode
 
import copy

src/c/y/CythonCTypesBackend-HEAD/Cython/Compiler/ParseTreeTransforms.py   CythonCTypesBackend(Download)
from Cython.Compiler.StringEncoding import EncodedString
from Cython.Compiler.Errors import error, warning, CompileError, InternalError
from Cython.Compiler.Code import UtilityCode
 
import copy