text
string
label
int64
{'name': 'show_settings@versions/speed-cam_13.07.py', 'description': 'Initialize and Display program variable settings from config.py', 'signature': 'def show_settings():'}</s>CAMLIST = ('usbcam', 'ipcam', 'pilibcam', 'pilegcam')
0
{'name': 'from_tk@discopy/quantum/tk.py', 'description': 'Translates from tket to discopy.', 'signature': 'def from_tk(tk_circuit):'}</s>ZERO_DISTANCE_CONTROLLED = "Zero-distance controlled gates are ill-defined."
0
{'name': '_export_xml@contrib/xml/xmlio.py', 'description': 'Exports Tulip data structures to XML structures for later import.\n\nThis function is called both internal\n\n@param data:\n the data structure to be exported into an XML tree.\n@return:\n `None` (if parent is not `None`), or\n an xml tree', 'signatu...
0
{'name': 'remove_slug@pages/phttp.py', 'description': "Return the remainin part of the path\n\n >>> remove_slug('/test/some/function/')\n test/some", 'signature': 'def remove_slug(path):'}</s>PAGE_UPLOAD_ROOT = getattr(settings, 'PAGE_UPLOAD_ROOT', 'upload')
0
{'name': 'TranslationFormView.query@rosetta/views.py', 'description': 'Strip and return the query (for searching the catalog) from the\nrequest, or None.', 'signature': 'def query(self):'}</s>post_save = dispatch.Signal()
0
{'name': 'ProcessFileData@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, ...
0
{'name': 'CBSAuthMixin.handle_token@uamqp/authentication/cbs_auth.py', 'description': "This function is called periodically to check the status of the current\ntoken if there is one, and request a new one if needed.\nIf the token request fails, it will be retried according to the retry policy.\nA token refresh will be ...
0
{'name': 'login_with_browser@onlinejudge_command/subcommand/login.py', 'description': ':raises ImportError: of Selenium\n:raises WebDriverException:', 'signature': 'def login_with_browser(service: Service, *, session: requests.Session) -> None:'}</s>{'name': 'webbrowser_register_explorer_exe@onlinejudge_command/utils.p...
0
{'name': 'localtime@tool/mkarchive.py', 'description': 'Return YYYY-mm-dd HH:MM.', 'signature': 'def localtime(stamp=0):'}</s>robot = "Google|bot|Yahoo|archiver|Wget|Crawler|Yeti|Baidu"
0
{'name': 'r6d2mat@fairnr/data/geometry.py', 'description': 'Converts 6D rotation representation by Zhou et al. [1] to rotation matrix\nusing Gram--Schmidt orthogonalisation per Section B of [1].\nArgs:\n d6: 6D rotation representation, of size (*, 6)\n\nReturns:\n batch of rotation matrices of size (*, 3, 3)\n\n[...
0
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQCFUNC_MQOPEN = b'OPEN'
0
{'name': 'convert_2bpp_to_png@tools/gfx/gfx.py', 'description': 'Convert a planar 2bpp graphic to png.', 'signature': 'def convert_2bpp_to_png(image, **kwargs):'}</s>{'name': 'connect@tools/gfx/gfx.py', 'description': 'Combine 8x8 tiles into a 2bpp image.', 'code': 'def connect(tiles):\n """\n Combine 8x8 tiles i...
0
{'name': '_get_parsed_spec@tests/conftest.py', 'description': 'Returns an OpenAPI object loaded from a file in the tests/fixtures directory\n\n:param filename: The filename to load. Must exist in tests/fixtures and\n include extension.\n:type filename: str', 'signature': 'def _get_parsed_spec(filename)...
0
{'name': 'upload@flickr_api/upload.py', 'description': 'Authentication:\n\n This method requires authentication with \'write\' permission.\n\nArguments:\n photo_file\n The file to upload.\n title (optional)\n The title of the photo.\n description (optional)\n A description of the photo....
0
{'name': 'ParseArguments@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'sign...
0
{'name': 'File._store@burpui/misc/parser/utils.py', 'description': 'Store the config', 'signature': 'def _store(self, data, dest=None, insecure=False):'}</s>{'name': 'OptionBool@burpui/misc/parser/utils.py', 'description': 'Option type Boolean\n\nExample:\n hardlinked_archive = 1', 'base_classes': ['Option'], 'metho...
0
{'name': 'AGraph.subgraph_parent@pygraphviz/agraph.py', 'description': 'Return parent graph of subgraph or None if graph is root graph.', 'signature': 'def subgraph_parent(self, nbunch=None, name=None):'}</s>{'name': 'agfstsubg@pygraphviz/graphviz.py', 'description': 'DOCSTRING', 'code': 'def agfstsubg(g):\n return ...
0
{'name': 'bytes_hash@lib/charliecloud.py', 'description': 'Return the hash of data, as a hex string with no leading algorithm tag.', 'signature': 'def bytes_hash(data):'}</s>{'name': 'ossafe@lib/charliecloud.py', 'description': 'Call f with args and kwargs. Catch OSError and other problems and fail\nwith a nice error m...
0
{'name': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>{'name': 'is_ge@src/api/python/z3/z3.py', 'description': "Return `True` if `a` is an expression of the form b >= c.\n\n>>> x, y = Ints('x y')\n>>> is_ge(x >= y)\nTrue\n>...
0
{'name': 'Client.__init__@ironicclient/v1/client.py', 'description': 'Initialize a new client for the Ironic v1 API.', 'signature': 'def __init__(self, endpoint_override=None, *args, **kwargs):'}</s>_RETRY_EXCEPTIONS = (exc.Conflict, exc.ServiceUnavailable, exc.ConnectionRefused, kexc.RetriableConn...
0
{'name': 'BIDSLayout.add_derivatives@src/bids/layout/layout.py', 'description': 'Add BIDS-Derivatives datasets to tracking.\n\nParameters\n----------\npath : str or list\n One or more paths to BIDS-Derivatives datasets.\n Each path can point to either a derivatives/ directory\n containing one or more pipeline ...
0
{'name': 'Command.check_next_arg@sievelib/commands.py', 'description': 'Argument validity checking\n\nThis method is usually used by the parser to check if detected\nargument is allowed for this command.\n\nWe make a distinction between required and optional\narguments. Optional (or tagged) arguments can be provided\nu...
1
{'name': 'CheckLanguage@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Checks rules from the 'C++ language rules' section of cppguide.html.\n\nSome of these rules are hard to test (function overloading, using\nuint32 inappropriately), but we do the best we can.\n\nArgs:\n filename: The name of the current fi...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCFUNC_MQINQ_ARRAY = [b"I", b"N", b"Q", b" "]
0
{'name': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>PFQS_FLOWQUEUE = 1
0
{'name': 'test_raise_error_for_unrealistic_kmax@tests/test_oopinterface.py', 'description': 'Error shall be raised if kmax is out of bound of the pressure grid provided in the input data\n\n.. versionadded:: 0.4.0', 'signature': 'def test_raise_error_for_unrealistic_kmax():'}</s>{'name': 'test_raise_error_for_unrealist...
0
{'name': 'Muse._handle_control@muselsl/muse.py', 'description': "Handle the incoming messages from the 0x000e handle.\n\nEach message is 20 bytes\nThe first byte, call it n, is the length of the incoming string.\nThe rest of the bytes are in ASCII, and only n chars are useful\n\nMultiple messages together are a json ob...
0
{'name': 'load_wikidata_vitals@torchkge/utils/datasets.py', 'description': 'Load knowledge graph extracted from Wikidata using the entities\ncorresponding to Wikipedia pages contained in Wikivitals. See `here\n<https://netset.telecom-paris.fr/>`__ for details on Wikivitals and\nWikivitals+ datasets.\n\nParameters\n----...
0
{'name': 'TypeAndTypeListTestCase.test@tools/lldb/packages/Python/lldbsuite/test/python_api/type/TestTypeList.py', 'description': 'Exercise SBType and SBTypeList API.', 'signature': 'def test(self):'}</s>{'name': 'is_thread_crashed@tools/lldb/packages/Python/lldbsuite/test/lldbutil.py', 'description': 'In the test suit...
0
{'name': 'writeWorld@cxxtest/cxxtestgen.py', 'description': 'Write the world definitions', 'signature': 'def writeWorld( output ):'}</s>noStaticInit = None
1
{'name': 'Win32Serial._reconfigurePort@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Set communication parameters on opened port.', 'signature': 'def _reconfigurePort(self):'}</s>EV_EVENT1 = 2048
0
{'name': 'random_sized_crop_list@models/SlowFast/slowfast/datasets/cv2_transform.py', 'description': 'Perform random sized cropping on the given list of images. Random crop with\n size 8% - 100% image area and aspect ratio in [3/4, 4/3].\nArgs:\n images (list): image to crop.\n size (int): size to crop.\n a...
0
{'name': 'MessageReceiver._message_received@uamqp/receiver.py', 'description': 'Callback run on receipt of every message. If there is\na user-defined callback, this will be called.\nAdditionally if the client is retrieving messages for a batch\nor iterator, the message will be added to an internal queue.\n\n:param mess...
0
{'name': 'TestObjectsE2E.test_create_alias_a_record@e2e_tests/test_objects.py', 'description': 'Create two A records with different names, but pointing to the same\nipv4addr', 'signature': 'def test_create_alias_a_record(self):'}</s>{'name': 'RangeTemplate@infoblox_client/objects.py', 'description': 'DOCSTRING', 'base_...
0
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be...
0
{'name': 'TDClient.preferences@tdameritrade/client.py', 'description': 'get preferences for account\n\nArgs:\n accountId (int): account to get preferences for', 'signature': 'def preferences(self, accountId=None):'}</s>CANCEL_ORDER = BASE + "accounts/{accountId}/orders/{orderId}"
0
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQIAMO_Q_TIME_MAX = 742
0
{'name': 'multihead_attention@tensor2tensor_envi/layers/common_attention.py', 'description': 'Multihead scaled-dot-product attention with input/output transformations.\n\nArgs:\n query_antecedent: a Tensor with shape [batch, length_q, channels]\n memory_antecedent: a Tensor with shape [batch, length_m, channels] or N...
1
{'name': '_makeTags@scripts/pdns/lib/python2.7/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'FollowedBy@scripts/pdns/lib/python2.7/site-packages/pkg_resource...
0
{'name': 'Merger.get_mod_edit_info@bcml/mergers/__init__.py', 'description': 'Gets a list of modified items in mod for this merger', 'signature': 'def get_mod_edit_info(self, mod: util.BcmlMod) -> set:'}</s>{'name': 'timed@bcml/util.py', 'description': 'DOCSTRING', 'code': 'def timed(func):\n def timed_function(*arg...
0
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be...
0
{'name': 'main@static/watool/utilities/Code/exportImportWAFR.py', 'description': 'Main program run ', 'signature': 'def main():'}</s>__credits__ = ["Eric Pullen"]
0
{'name': '_strict_random_crop_image@object_detection/core/preprocessor.py', 'description': 'Performs random crop.\n\nNote: Keypoint coordinates that are outside the crop will be set to NaN, which\nis consistent with the original keypoint encoding for non-existing keypoints.\nThis function always crops the image and is ...
0
{'name': '_config_create@dwave/cloud/cli.py', 'description': 'Full/simplified dwave create flows.', 'signature': 'def _config_create(config_file, profile, ask_full=False, auto_token=False, project=None):'}</s>{'name': '_login@dwave/cloud/cli.py', 'description': 'DOCSTRING', 'code': 'def _login(*, config_file, profile, ...
0
{'name': 'draw_isobars@pymeteo/skewt.py', 'description': 'Plot isobars on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function draws isobars at intervals of 2*dp.', 'signature': 'def draw_isobars(axes):'}</s>{'name': 'srh@pymeteo/dynamics.py', 'description': 'Calculates...
0
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ...
0
{'name': '_makeTags@venv/Lib/site-packages/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml,'}</s>hexnums = nums + "ABCDEFabcdef"
0
{'name': 'WebcamVideoStream.stop@versions/speed-cam_8.87.py', 'description': 'indicate that the thread should be stopped ', 'signature': 'def stop(self):'}</s>IM_SUBDIR_MAX_FILES = 2000
0
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name...
0
{'name': 'show_settings@versions/speed-cam_8.87.py', 'description': 'Initialize and Display program variable settings from config.py', 'signature': 'def show_settings():'}</s>IM_SHOW_TEXT_ON = True
0
{'name': 'uberenv_build@scripts/llnl_scripts/llnl_lc_build_tools.py', 'description': 'Calls uberenv to install tpls for a given spec to given prefix.', 'signature': 'def uberenv_build(prefix, spec, project_file, mirror_path):'}</s>{'name': 'get_specs_for_current_machine@scripts/llnl_scripts/llnl_lc_build_tools.py', 'de...
0
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im...
0
{'name': 'TextDataLoader.generator_creator@ddparser/parser/data_struct/data.py', 'description': 'Returns a generator, each iteration returns a batch of data', 'signature': 'def generator_creator(self):'}</s>bos = "<bos>"
0
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=...
0
{'name': 'RemoveMultiLineCommentsFromRange@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Clears a range of lines for multi-line comments.', 'signature': 'def RemoveMultiLineCommentsFromRange(lines, begin, end):'}</s>_NO_ASM = 0
0
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>__author__ = "rabsatt@google.com (Kevin Rabsatt)"
0
{'name': 'IUCoordinator.register_entity@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'A HA entity has been registered', 'signature': 'def register_entity('}</s>CONF_OUTPUT_EVENTS = "output_events"
0
{'name': 'WebSocket.close@vertx-web/src/test/sockjs-protocol/websocket/_core.py', 'description': 'Close Websocket object\n\nstatus: status code to send. see STATUS_XXX.\n\nreason: the reason to close. This must be string.\n\ntimeout: timeout until receive a close frame.\n If None, it will wait forever until receive ...
0
{'name': 'PacketFilter.get_queues@pf/filter.py', 'description': 'Retrieve the currently loaded queues.\n\nReturn a tuple of PFQueue objects.', 'signature': 'def get_queues(self):'}</s>PF_LOG_ALL = 2
0
{'name': 'parse_return_val@disdat/hyperframe.py', 'description': 'Interpret the return values and create an HFrame to wrap them.\nThis means setting the correct presentation bit in the HFrame so that\nwe call downstream tasks with parameters as the author intended.\n\nPOLICY / NOTE: An non-HF output is a Presentable.\...
0
{'name': 'pmt@venv/Lib/site-packages/numpy/lib/financial.py', 'description': "Compute the payment against loan principal plus interest.\n\nGiven:\n * a present value, `pv` (e.g., an amount borrowed)\n * a future value, `fv` (e.g., 0)\n * an interest `rate` compounded once per period, of which\n there are\n * `nper` t...
1
{'name': 'Win32Serial._reconfigurePort@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Set communication parameters on opened port.', 'signature': 'def _reconfigurePort(self):'}</s>MS_DSR_ON = 32
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIA_ADOPT_CONTEXT = 260
0
{'name': 'burn@supermercado/scripts/cli.py', 'description': 'Burn a stream of GeoJSONs into a output stream of the tiles they intersect for a given zoom.', 'signature': 'def burn(features, sequence, zoom):'}</s>{'name': 'get_zoom@supermercado/super_utils.py', 'description': 'DOCSTRING', 'code': 'def get_zoom(tiles):\n ...
0
{'name': 'ITypeComp.Bind@comtypes/typeinfo.py', 'description': 'Bind to a name', 'signature': 'def Bind('}</s>FUNCFLAG_FIMMEDIATEBIND = 4096
0
{'name': 'TestJavaobjV2.test_times@tests/test_v2.py', 'description': 'Tests the handling of java.time classes', 'signature': 'def test_times(self):'}</s>{'name': 'JavaRandomTransformer@tests/test_v2.py', 'description': 'DOCSTRING', 'base_classes': ['BaseTransformer'], 'methods': [{'name': 'JavaRandomTransformer.__init_...
0
{'name': 'Client.get_partitions_ps_with_auth@runner/tez/apache-hive-0.13.0.2.1.0.0-92-bin/lib/py/hive_metastore/ThriftHiveMetastore.py', 'description': 'Parameters:\n - db_name\n - tbl_name\n - part_vals\n - max_parts\n - user_name\n - group_names', 'signature': 'def get_partitions_ps_with_auth(self, db_name, tbl_name,...
0
{'name': '_walk@swagger_to/go_server.py', 'description': 'Walk the tree of nested type definitions as (nesting type definition, nested type definition).', 'signature': 'def _walk(typedef: Typedef, parent: Optional[Typedef] = None) -> Iterable[Tuple[Optional[Typedef], Typedef]]:'}</s>{'name': '_endpoint_to_route_path@sw...
0
{'name': 'CycleGANModel.__init__@models/cycle_gan_model.py', 'description': 'Initialize the CycleGAN class.\n\nParameters:\n opt (Option class)-- stores all the experiment flags; needs to be a subclass of BaseOptions', 'signature': 'def __init__(self, opt):'}</s>{'name': 'DRNSeg@metric/cityscapes_mIoU.py', 'descript...
1
{'name': '_Phase_Diff._calc_phasediff@CSIKit/visualization/metric.py', 'description': 'Calculates the phasediffs A->B, B->C\n ', 'signature': 'def _calc_phasediff(cls, entry: CsiEntry):'}</s>{'name': 'Phase_Diff_Std_err@CSIKit/visualization/metric.py', 'description': 'DOCSTRING', 'base_classes': ['TupleMetric', ...
0
{'name': 'buildmodule@venv/Lib/site-packages/numpy/f2py/rules.py', 'description': 'Return', 'signature': 'def buildmodule(m, um):'}</s>{'name': 'hasinitvalue@venv/Lib/site-packages/numpy/f2py/auxfuncs.py', 'description': 'DOCSTRING', 'code': "def hasinitvalue(var):\n return '=' in var"}
0
{'name': 'SymSpell.lookup@symspellpy/symspellpy.py', 'description': 'Finds suggested spellings for a given phrase word.\n\nArgs:\n phrase: The word being spell checked.\n verbosity: The value controlling the quantity/closeness of the\n returned suggestions.\n max_edit_distance: The maximum edit distance...
0
{'name': '_makeTags@scripts/pdns/lib/python2.7/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>stringEnd = StringEnd().setName("stringEnd")
0
{'name': 'PACT_Conv2d.__init__@nemo/quant/pact.py', 'description': 'Constructor. Supports all arguments supported by :py:class:`torch.nn.Conv2d` plus additional ones.\n\n:param quantize_x: if True, quantize input activations (default False).\n:type quantize_x: bool\n:param quantize_W: if True, quantize weights (defaul...
0
{'name': 'MapperTest.test_holiday_mode@tests/test_mapper.py', 'description': 'Test map holiday mode.', 'signature': 'def test_holiday_mode(self) -> None:'}</s>{'name': 'map_holiday_mode@pymultimatic/model/mapper.py', 'description': 'Map *holiday mode*.', 'code': 'def map_holiday_mode(json) -> HolidayMode:\n """Map *...
0
{'name': 'get_local_part@src/future/backports/email/_header_value_parser.py', 'description': 'local-part = dot-atom / quoted-string / obs-local-part\n\n ', 'signature': 'def get_local_part(value):'}</s>{'name': 'InvalidMultipartContentTransferEncodingDefect@src/future/backports/email/errors.py', 'description': 'An i...
0
{'name': 'subclasses_wrapper@didyoumean/didyoumean_internal.py', 'description': 'Wrapper around __subclass__ as it is not as easy as it should.', 'signature': 'def subclasses_wrapper(klass):'}</s>{'name': 'suggest_attribute_as_special_case@didyoumean/didyoumean_internal.py', 'description': 'Suggest that attribute could...
0
{'name': 'FloatValueChecker.CheckValue@python/google/protobuf/internal/type_checkers.py', 'description': 'Check and convert proposed_value to float.', 'signature': 'def CheckValue(self, proposed_value):'}</s>_FEATURESET_FIELD_PRESENCE_LEGACY_REQUIRED = 3
0
{'name': 'ProcessFileData@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, ...
0
{'name': 'init_training_model@lib/core.py', 'description': 'This function is meant to load the training model and optimizer, which expects\n./model/<conf.model>.py to be the pytorch model file.\n\nThe function copies the model file into the cache BEFORE loading, for easy reproducibility.', 'signature': 'def init_traini...
0
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be...
0
{'name': 'show_settings@versions/speed-cam_12.06.py', 'description': 'Initialize and Display program variable settings from config.py', 'signature': 'def show_settings():'}</s>{'name': 'filesToDelete@versions/speed-cam_12.06.py', 'description': 'Return a list of files to be deleted', 'code': 'def filesToDelete(mediaDir...
0
{'name': 'schedule_messages@sitemessage/toolbox.py', 'description': 'Schedules a message or messages.\n\n:param messages: str or MessageBase heir or list - use str to create PlainTextMessage.\n\n:param recipients: recipients addresses or Django User model heir instances\n If `None` Dispatches should be created befor...
1
{'name': 'HuaweiScanner.__init__@cfg/hass/custom_components/huawei_ws7200/device_tracker.py', 'description': 'Initialize the scanner.', 'signature': 'def __init__(self, config,cls,hass):'}</s>{'name': 'get_scanner@cfg/hass/custom_components/huawei_ws7200/device_tracker.py', 'description': 'Validate the configuration an...
0
{'name': 'ERAN.__init__@tf_verify/eran.py', 'description': "This constructor takes a reference to a TensorFlow Operation, TensorFlow Tensor, or Keras model. The two TensorFlow functions graph_util.convert_variables_to_constants and \ngraph_util.remove_training_nodes will be applied to the graph to cleanse it of any nod...
0
{'name': 'attrs@vendor/attr/_make.py', 'description': 'A class decorator that adds `dunder\n<https://wiki.python.org/moin/DunderAlias>`_\\ -methods according to the\nspecified attributes using `attr.ib` or the *these* argument.\n\n:param these: A dictionary of name to `attr.ib` mappings. This is\n useful to avoid t...
0
{'name': 'CheckBraces@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Looks for misplaced braces (e.g. at the end of line).\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to ca...
0
{'name': 'List.extend@nbtlib/tag.py', 'description': 'Override ``list.extend`` to include ``isinstance`` check and auto conversion.', 'signature': 'def extend(self, iterable):'}</s>{'name': 'List@nbtlib/tag.py', 'description': 'Nbt tag representing a list of other nbt tags.\n\nNbt lists are homogeneous and can only hol...
1
{'name': 'COCO.getCatIds@src/data/pycocotools/coco.py', 'description': 'filtering parameters. default skips that filter.\n:param catNms (str array) : get cats for given cat names\n:param supNms (str array) : get cats for given supercategory names\n:param catIds (int array) : get cats for given cat ids\n:return: ids ...
0
{'name': 'process_line@scripts/pdns/lib/python2.7/site-packages/pip/req/req_file.py', 'description': 'Process a single requirements line; This can result in creating/yielding\nrequirements, or updating the finder.\n\nFor lines that contain requirements, the only options that have an effect\nare from SUPPORTED_OPTIONS_R...
0
{'name': 'DebPkgToolsTestCase.test_repository_creation@deb_pkg_tools/tests.py', 'description': 'Test the creation of trivial repositories.', 'signature': 'def test_repository_creation(self, preserve=False):'}</s>{'name': 'PackageFile@deb_pkg_tools/package.py', 'description': "A named tuple with the result of :func:`par...
0
{'name': 'cli_activate@cli/cloe_launch/commands/activate.py', 'description': 'Launch shell with the correct environment from a profile.\n\nYou can then source or evaluate these commands to activate the\nenvironment:\n\n\x08\n1. source <(cloe-launch activate [options])\n2. eval $(cloe-launch activate [options])\n\nIf yo...
1
{'name': 'check_for_formatting_issues@tor/validation/formatting_validation.py', 'description': 'Check the transcription for common formatting issues.', 'signature': 'def check_for_formatting_issues(transcription: str) -> Set[FormattingIssue]:'}</s>FENCED_CODE_BLOCK_PATTERN = re.compile(r"```.*```", re.DOTALL)
0
{'name': '_convert_to_exclusive_op@self_organising_systems/biomakerca/env_logic.py', 'description': 'Process ExclusiveInterface to convert it to ExclusiveOp.\n\nThis also performs sanity checks and potentially rejects badly formed ops.', 'signature': 'def _convert_to_exclusive_op('}</s>{'name': 'make_empty_upd_state@se...
1
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_MSG_SEQ_NUMBER_ERROR = 3030
0
{'name': 'get_identity@guardian/utils.py', 'description': 'Get a tuple with the identity of the given input.\n\nReturns a tuple with one of the members set to `None` depending on whether the input is\na `Group` instance or a `User` instance.\nAlso accepts AnonymousUser instance but would return `User` instead.\nIt is c...
0
{'name': 'ProcessFileData@tools/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, each representing a li...
0
{'name': 'get_alignment_to_child@maf/impl/naiveLiftUp.py', 'description': 'Get a file representing maximal gapless alignment blocks between this child and its parent (referenced on the parent).', 'signature': 'def get_alignment_to_child(hal_path, child_genome, output_path):'}</s>{'name': 'test_block_to_maf@maf/impl/nai...
0
{'name': '_IsType@tools/cpplint.py', 'description': 'Check if expression looks like a type name, returns true if so.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n nesting_state: A NestingState instance which maintains information about\n the current stack of nested blocks bei...
0
{'name': 'GenericMeta.__new__@vendor/typing.py', 'description': 'Create a new generic class. GenericMeta.__new__ accepts\nkeyword arguments that are used for internal bookkeeping, therefore\nan override should pass unused keyword arguments to super().', 'signature': 'def __new__(cls, name, bases, namespace,'}</s>{'name...
0