original_docstring: 
          Builds mock capabilities object and returns ctypes pointer
          to CPqosCap object.
          
docstring: Builds mock capabilities object and returns ctypes pointer
  to CPqosCap object.
docstring_tokens: Builds mock capabilities object and returns ctypes pointer to CPqosCap object .
code: def build(self):
          """
          Builds mock capabilities object and returns ctypes pointer
          to CPqosCap object.
          """
  
          self.build_capabilities()
          cap_arr = self.build_capability_array()
          num_cap = len(cap_arr)
          self.build_cap(num_cap)
  
          self.buf = (ctypes.c_char * self.cap.mem_size)()
          cap_size = ctypes.sizeof(self.cap)
          ctypes.memmove(self.buf, ctypes.addressof(self.cap), cap_size)
          ctypes.memmove(ctypes.byref(self.buf, cap_size),
                         ctypes.addressof(cap_arr), ctypes.sizeof(cap_arr))
  
          return ctypes.cast(ctypes.pointer(self.buf),
                             ctypes.POINTER(type(self.cap)))
code_tokens: def build ( self ) : self . build_capabilities ( ) cap_arr = self . build_capability_array ( ) num_cap = len ( cap_arr ) self . build_cap ( num_cap ) self . buf = ( ctypes . c_char * self . cap . mem_size ) ( ) cap_size = ctypes . sizeof ( self . cap ) ctypes . memmove ( self . buf , ctypes . addressof ( self . cap ) , cap_size ) ctypes . memmove ( ctypes . byref ( self . buf , cap_size ) , ctypes . addressof ( cap_arr ) , ctypes . sizeof ( cap_arr ) ) return ctypes . cast ( ctypes . pointer ( self . buf ) , ctypes . POINTER ( type ( self . cap ) ) )
short_docstring: Builds mock capabilities object and returns ctypes pointer
  to CPqosCap object.
short_docstring_tokens: Builds mock capabilities object and returns ctypes pointer to CPqosCap object .
comment: """
          Builds mock capabilities object and returns ctypes pointer
          to CPqosCap object.
          """