original_docstring: Fonction qui retourne l'offset
docstring: Fonction qui retourne l'offset
docstring_tokens: Fonction qui retourne l ' offset
code: def return_offset(n,i,offset_list):
      """Fonction qui retourne l'offset"""
      o = 0
      if(("Output" in i["tagname"]) and ("Binary" in n.tagName)):
          o = offset_list.get("BitOutputOffset",0)
      if(("Input" in i["tagname"]) and ("Binary" in n.tagName)):
          o = offset_list.get("BitInputOffset",0)
      if(("Output" in i["tagname"]) and (("Analogue" in n.tagName) or ("Int" in n.tagName))):
          o = offset_list.get("NumericOutputOffset",0)
      if(("Input" in i["tagname"]) and (("Analogue" in n.tagName) or ("Int" in n.tagName))):
          o = offset_list.get("NumericInputOffset",0)
      return o
code_tokens: def return_offset ( n , i , offset_list ) : o = 0 if ( ( "Output" in i [ "tagname" ] ) and ( "Binary" in n . tagName ) ) : o = offset_list . get ( "BitOutputOffset" , 0 ) if ( ( "Input" in i [ "tagname" ] ) and ( "Binary" in n . tagName ) ) : o = offset_list . get ( "BitInputOffset" , 0 ) if ( ( "Output" in i [ "tagname" ] ) and ( ( "Analogue" in n . tagName ) or ( "Int" in n . tagName ) ) ) : o = offset_list . get ( "NumericOutputOffset" , 0 ) if ( ( "Input" in i [ "tagname" ] ) and ( ( "Analogue" in n . tagName ) or ( "Int" in n . tagName ) ) ) : o = offset_list . get ( "NumericInputOffset" , 0 ) return o
short_docstring: Fonction qui retourne l'offset
short_docstring_tokens: Fonction qui retourne l ' offset
comment: """Fonction qui retourne l'offset"""