Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

        def put_acquire_arg_buffer(entry, code, pos):
    code.globalstate.use_utility_code(acquire_utility_code)
    buffer_aux = entry.buffer_aux
    getbuffer = get_getbuffer_call(code, entry.cname, buffer_aux, entry.type)

    # Acquire any new buffer
    code.putln("{")
    code.putln("__Pyx_BufFmt_StackElem __pyx_stack[%d];" % entry.type.dtype.struct_nesting_depth())
    code.putln(code.error_goto_if("%s == -1" % getbuffer, pos))
    code.putln("}")
    # An exception raised in arg parsing cannot be catched, so no
    # need to care about the buffer then.
    put_unpack_buffer_aux_into_scope(entry, code)
        


src/c/y/Cython-0.20.1/Cython/Compiler/Nodes.py   Cython(Download)
        for entry in lenv.arg_entries:
            if entry.type.is_buffer:
                Buffer.put_acquire_arg_buffer(entry, code, self.pos)
 
        if acquire_gil_for_var_decls_only:

src/c/y/cython-HEAD/Cython/Compiler/Nodes.py   cython(Download)
        for entry in lenv.arg_entries:
            if entry.type.is_buffer:
                Buffer.put_acquire_arg_buffer(entry, code, self.pos)
 
        if acquire_gil_for_var_decls_only:

src/c/y/CythonCTypesBackend-HEAD/Cython/Compiler/Nodes.py   CythonCTypesBackend(Download)
        for entry in lenv.arg_entries:
            if entry.type.is_buffer:
                Buffer.put_acquire_arg_buffer(entry, code, self.pos)
 
        if acquire_gil_for_var_decls_only:

src/e/s/essig-HEAD/vm/cython/Cython/Compiler/Nodes.py   essig(Download)
        for entry in lenv.arg_entries:
            if entry.type.is_buffer:
                Buffer.put_acquire_arg_buffer(entry, code, self.pos)
 
        # -------------------------

src/p/l/plexnet-HEAD/third_party/python/Cython/Compiler/Nodes.py   plexnet(Download)
        for entry in lenv.arg_entries:
            if entry.type.is_buffer:
                Buffer.put_acquire_arg_buffer(entry, code, self.pos)        
        # ----- Function body
        self.body.generate_execution_code(code)

src/p/y/pylibs-HEAD/Cython/Compiler/Nodes.py   pylibs(Download)
        for entry in lenv.arg_entries:
            if entry.type.is_buffer:
                Buffer.put_acquire_arg_buffer(entry, code, self.pos)        
        # ----- Function body
        self.body.generate_execution_code(code)