text
string
label
int64
{'name': '_GHParam.from_input@src/ghhops-server-py/ghhops_server/params.py', 'description': 'Extract parameter data from serialized input', 'signature': 'def from_input(self, input_data):'}</s>hlogger = logging.getLogger("Hops")
0
{'name': 'update_payout_screen@displays/waveshare2in13v3.py', 'description': "Update the payout screen to reflect balance of deposited coins.\nScan the invoice??? I don't think so!", 'signature': 'def update_payout_screen():'}</s>lntxbot_balance_1 = "Succès!!"
0
{'name': '_read_csv@meza/io.py', 'description': "Helps read a csv file.\n\nArgs:\n f (obj): The csv file like object.\n header (Seq[str]): Sequence of column names.\n has_header (bool): Whether or not file has a header.\n\nKwargs:\n first_col (int): The first column (default: 0).\n\nYields:\n dict: A csv...
0
{'name': 'Commands.top_langs@python/modules/commands.py', 'description': 'Sends users top.', 'signature': 'def top_langs('}</s>{'name': 'karma_limit@python/modules/utils.py', 'description': 'Returns karma hours limit.\n ', 'code': 'def karma_limit(karma: int) -> int:\n """Returns karma hours limit.\n """\n ...
0
{'name': 'test_sorting@voluptuous/tests/tests.py', 'description': 'Expect alphabetic sorting', 'signature': 'def test_sorting():'}</s>{'name': 'Lower@voluptuous/util.py', 'description': "Transform a string to lower case.\n\n>>> s = Schema(Lower)\n>>> s('HI')\n'hi'", 'code': 'def Lower(v: str) -> str:\n """Transform ...
0
{'name': 'visualize_pdb@enzynet/visualization.py', 'description': 'Plots PDB in a volume and saves it in a file.', 'signature': 'def visualize_pdb(pdb_id: Text, p: int = 5, v_size: int = 32, num: int = 1,'}</s>ValueType = enum.Enum('ValueType', 'INT LIST_FLOAT LIST_INT LIST_STRING STRING')
0
{'name': 'main@emissionsapi/preprocess.py', 'description': 'Entrypoint for running this as a module or from the binary.\nTriggers the preprocessing of the data.', 'signature': 'def main():'}</s>{'name': 'list_ncfiles@emissionsapi/preprocess.py', 'description': 'list all nc files in storage.\n\n:param session: SQLAlchem...
1
{'name': 'TestSegwitAddress.test_invalid_checksum@tests/test_segwit_addr.py', 'description': 'Test validation of invalid checksums.', 'signature': 'def test_invalid_checksum(self):'}</s>{'name': 'TestSegwitAddress@tests/test_segwit_addr.py', 'description': 'Unit test class for segwit addressess.', 'base_classes': [], '...
1
{'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': '_predict@mokapot/brew.py', 'description': 'Return the new scores for the dataset\n\nParameters\n----------\ndatasets : Dict\n Contains all required info about the dataset to rescore\nmodels_idx : list of numpy.ndarray\n The indicies of the models to predict with\nmodels : list of Model\n The models f...
0
{'name': 'simxGetVisionSensorImage@7_Demo_youBotPickAndPlace/code/vrep/VREP_RemoteAPIs/sim.py', 'description': 'Please have a look at the function description/documentation in the CoppeliaSim user manual', 'signature': 'def simxGetVisionSensorImage(clientID, sensorHandle, options, operationMode):'}</s>sim_shapefloatpar...
0
{'name': 'write@code/html/generate_static_website.py', 'description': 'Writes a generated HTML page to a file, but checks with a HTML parser before.\n:param text:\n:param file:', 'signature': 'def write(text, path):'}</s>extended_alphabet_names = {k: k for k in alphabet}
0
{'name': 'ProcessLine@compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a l...
0
{'name': 'load_snapshots@k8s_snapshots/backends/google.py', 'description': 'Return the existing snapshots.', 'signature': 'def load_snapshots(ctx, label_filters: Dict[str, str]) -> List[Snapshot]:'}</s>{'name': 'supports_volume@k8s_snapshots/backends/google.py', 'description': 'DOCSTRING', 'code': "def supports_volume(...
0
{'name': 'GTestJsonOutputUnitTest._GetJsonOutput@Engine/lib/gtest/googletest/test/googletest-json-output-unittest.py', 'description': "Returns the JSON output generated by running the program gtest_prog_name.\n\nFurthermore, the program's exit code must be expected_exit_code.\n\nArgs:\n gtest_prog_name: Google Test bi...
0
{'name': 'safe_run2@amptk/process_illumina_folder.py', 'description': 'Call run(), catch exceptions.', 'signature': 'def safe_run2(*args, **kwargs):'}</s>{'name': 'faqual2fastq@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': "def faqual2fastq(fasta, qual, fastq):\n global skipCount\n from Bio.SeqIO.Qualit...
0
{'name': 'SpeechLSTMModel.build_model@espresso/models/speech_lstm.py', 'description': 'Build a new model instance.', 'signature': 'def build_model(cls, args, task):'}</s>{'name': 'buffered_arange@fairseq/utils.py', 'description': 'DOCSTRING', 'code': 'def buffered_arange(max):\n if not hasattr(buffered_arange, "buf"...
0
{'name': 'MessageSetItemEncoder@python/google/protobuf/internal/encoder.py', 'description': 'Encoder for extensions of MessageSet.\n\nThe message set message looks like this:\n message MessageSet {\n repeated group Item = 1 {\n required int32 type_id = 2;\n required string message = 3;\n }\n }', 'sign...
1
{'name': 'SignatureHash@qa/rpc-tests/test_framework/script.py', 'description': 'Consensus-correct SignatureHash\n\nReturns (hash, err) to precisely match the consensus-critical behavior of\nthe SIGHASH_SINGLE bug. (inIdx is *not* checked for validity)', 'signature': 'def SignatureHash(script, txTo, inIdx, hashtype):'}<...
0
{'name': 'looks_like_xml@lib/pygments/util.py', 'description': 'Check if a doctype exists or if we have some tags.', 'signature': 'def looks_like_xml(text):'}</s>{'name': 'make_analysator@lib/pygments/util.py', 'description': 'Return a static text analysation function that\nreturns float values.', 'code': 'def make_ana...
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': 'process_options@src/python_scripts/scripts/uber_subject.py', 'description': 'return status and VarsObject structs of subject and control variables\n\n - given list of valid options, read and process the user options\n - if terminal option or -no_gui, return 0 (successful quit)\n\nreturn 1 : on success and ...
1
{'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': 'patch_with_extra_methods@cli/rpc2socks/utils/vendor/loggex.py', 'description': 'Patch a `logging.Logger` or a `logging.LoggerAdapter` derived **object** or\n**type**.', 'signature': 'def patch_with_extra_methods(something):'}</s>fatal = _mod_logging.fatal
0
{'name': 'generate_distance_list@tools/calibration-96tof1/tof_calib/sweep_calibration.py', 'description': 'Generate the list of distance steps given a target. min, max and step. \nThe distance has to pivot based on the target_distance. \ne.g. target_distance = 10, min_dist = 3, max_dist = 15, dist_step = 3\nthen the re...
0
{'name': 'train_gensim_topicvec_sklearnclassifier@shorttext/classifiers/bow/topic/SkLearnClassification.py', 'description': 'Train the supervised learning classifier, with features given by topic vectors.\n\nIt trains a topic model, and with its topic vector representation, train a supervised\nlearning classifier. The ...
0
{'name': 'PythonModuleSourceFileGenerator._GenerateTypeSourceFileTypeObjectMethods@yaldevtools/source_generators/python_module.py', 'description': 'Generates the type object methods for a Python type source file.\n\nArgs:\n project_configuration (ProjectConfiguration): project configuration.\n template_mappings (dict...
0
{'name': 'build_datasets@chemprop/cli/train.py', 'description': 'build the train/val/test datasets, where :attr:`test_data` may be None', 'signature': 'def build_datasets(args, train_data, val_data, test_data):'}</s>{'name': 'GraphTransform@chemprop/nn/transforms.py', 'description': 'DOCSTRING', 'base_classes': ['nn.Mo...
0
{'name': 'Ty.assert_isadjoint@discopy/rigid.py', 'description': 'Raise ``AxiomError`` if two rigid types are not adjoints.\n\nParameters:\n other : The alleged right adjoint.', 'signature': 'def assert_isadjoint(self, other):'}</s>{'name': 'Functor@discopy/rigid.py', 'description': 'A rigid functor is a closed funct...
0
{'name': 'chaossChangeRequestsAccepted@python_v2/metrics/chaoss.py', 'description': '_summary_\n\nArgs:\n config (QueryConfig): _description_', 'signature': "def chaossChangeRequestsAccepted(config: QueryConfig, mode='outer') -> (List,str):"}</s>{'name': 'chaossInactiveContributors@python_v2/metrics/chaoss.py', 'des...
0
{'name': 'extcap_interfaces@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'List available interfaces to capture from', 'signature': 'def extcap_interfaces():'}</s>last_used_key_type = CTRL_KEY_TYPE_PASSKEY
0
{'name': 'Serial._update_dtr_state@serial/serialwin32.py', 'description': 'Set terminal status line: Data Terminal Ready', 'signature': 'def _update_dtr_state(self):'}</s>ONESTOPBIT = 0
0
{'name': 'relations_lookup@utils/data_preparation_rdf_type.py', 'description': ":param core_chain: corechain\n:return: converts core chain surface form to relations\n ['+', 'wife','of] -> ['+','http..../wifeOf']", 'signature': 'def relations_lookup(core_chain, core_chain_length):'}</s>GET_ENTITIES_OF_CLASS = "SE...
0
{'name': 'connect_to_usb_bitbox@py/send_message.py', 'description': 'Connects and runs the main menu on a BitBox02 connected\nover USB.', 'signature': 'def connect_to_usb_bitbox(debug: bool, use_cache: bool) -> int:'}</s>INIT = 0x80 | 0x06
0
{'name': 'StaticVariableTestCase.test_with_run_command@llvm-12.0.0-project/lldb/test/API/lang/cpp/class_static/TestStaticVariables.py', 'description': 'Test that file and class static variables display correctly.', 'signature': 'def test_with_run_command(self):'}</s>{'name': 'expectedFlakey@llvm-12.0.0-project/lldb/pac...
0
{'name': 'SubType.__init__@tools/system_design/xmlparser/type.py', 'description': 'Constructor\n\nKeyword Arguments:\nvalue -- type name\ntypes -- list of all available types', 'signature': 'def __init__(self, value, types):'}</s>{'name': 'get_description@tools/system_design/xmlparser/xml_utils.py', 'description': ...
0
{'name': 'NumbersUnread.get@feedreader/views.py', 'description': 'Count numbers of unread entries, return in json object', 'signature': 'def get(self, request, *args, **kwargs):'}</s>{'name': 'build_context@feedreader/utils.py', 'description': 'Find flag and id values in the request and use them\nto build a common cont...
0
{'name': '_serialize_single@src/betterproto/__init__.py', 'description': 'Serializes a single field and value.', 'signature': 'def _serialize_single('}</s>WIRE_LEN_DELIM_TYPES = [TYPE_STRING, TYPE_BYTES, TYPE_MESSAGE, TYPE_MAP]
1
{'name': 'NHC2HassThermostat.device_info@custom_components/nhc2/climate.py', 'description': 'Return the device info.', 'signature': 'def device_info(self):'}</s>FEATURE_LIST = SUPPORT_PRESET_MODE | SUPPORT_TARGET_TEMPERATURE
0
{'name': 'HyperFrameRecord.add_frames@disdat/hyperframe.py', 'description': "Add frames to the PB. If UUID, just add the UUID. If a FrameRecord,\nthen add both the UUID in the pb.frames map and the FrameRecord in the frame_cache.\n\nArgs:\n frames (:list:'FrameRecord' or :list:tuple:str,str): List of Frames to app...
0
{'name': '_get_wrapper@src/betterproto/__init__.py', 'description': 'Get the wrapper message class for a wrapped type.', 'signature': 'def _get_wrapper(proto_type: str) -> Type:'}</s>TYPE_SFIXED32 = "sfixed32"
0
{'name': 'find_all_links@boltons/urlutils.py', 'description': "This function uses heuristics to searches plain text for strings\nthat look like URLs, returning a :class:`list` of :class:`URL`\nobjects. It supports limiting the accepted schemes, and returning\ninterleaved text as well.\n\n>>> find_all_links('Visit https...
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': 'create_path@InteractiveHtmlBom/ecad/svgpath.py', 'description': 'Returns a path d-string.', 'signature': 'def create_path(lines, circles=[]):'}</s>{'name': 'clip@InteractiveHtmlBom/ecad/svgpath.py', 'description': 'DOCSTRING', 'code': 'def clip(a, a_min, a_max):\n return min(a_max, max(a_min, a))'}
0
{'name': '_parse_requested_output_file_names@pelicun/tools/DL_calculation.py', 'description': 'Parse the output file names from the output configuration.\n\nParameters\n----------\noutput_config : dict\n Configuration for output files.\n\nReturns\n-------\nset\n Set of requested output file names.', 'signature': ...
0
{'name': 'get_post_authorization_redirect_url@fandjango/utils.py', 'description': 'Determine the URL users should be redirected to upon authorization the application.\nIf request is non-canvas use user defined site url if set, else the site hostname.', 'signature': 'def get_post_authorization_redirect_url(request, canv...
1
{'name': 'combine4Role@code/parseJsontoFeatures.py', 'description': 'find features for role identification and add into dict', 'signature': 'def combine4Role(tokens,arglist,deptree,enh):'}</s>nermap = {'Person':['human','whistleblower','hacktivism','black hat','hacker group','security hacker'], 'Organization':['organiz...
0
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_MSG_TOO_BIG_FOR_CHANNEL = 2218
0
{'name': 'Separator.__call__@app/modules.py', 'description': 'Args:\n s_mixed_signals_pwr:\n tensor of shape [batch_size, length, feature_size]\n\n s_attractors:\n tensor of shape [num_attractor, embed_dims]\n\n s_embed_flat:\n tensor of shape [batch_size, num_signals, length, feature_size...
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': 'wide_resnet50_3@robustness/imagenet_models/resnet.py', 'description': 'Wide ResNet-50-3 model\nArgs:\n pretrained (bool): If True, returns a model pre-trained on ImageNet\n progress (bool): If True, displays a progress bar of the download to stderr', 'signature': 'def wide_resnet50_3(pretrained=False, p...
1
{'name': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p...
0
{'name': 'test_main_no_glyphs_in_common@tests/fonts2svg_test.py', 'description': 'The fonts have no glyphs in common; the default is intersection of names,\nso no SVGs should be saved.', 'signature': 'def test_main_no_glyphs_in_common(fixtures_dir, capsys, tmp_path):'}</s>{'name': 'test_main_g_opt_and_no_colors@tests/f...
0
{'name': 'set_timeout@aiorpc/server.py', 'description': 'Set the IO timeout\nUsage:\n >>> set_timeout(1)\n\n:param timeout: Timeout. Seconds.\n:return: None', 'signature': 'def set_timeout(timeout):'}</s>__all__ = ['register', 'msgpack_init', 'set_timeout', 'serve', 'register_class']
0
{'name': 'CheckLanguage@tools/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 file.\n clean_lines: A ...
1
{'name': 'Mixin.send_to_asana@alertlib/asana.py', 'description': 'Automatically create an Asana task for the alert.\n\nArguments (reference asana.com/developers/api-reference/tasks#create):\n\n project: string name of the project for this task.\n The project name must be a valid name of a project in\n ...
0
{'name': 'slice_off_constant_faces@phi/geom/_geom.py', 'description': 'Removes slices of `obj` where the boundary conditions fully determine the values.\n\nArgs:\n obj: Sliceable object of full\n boundary_slices: Boundary slices.\n boundary: `phiml.math.Extrapolation` implementing `determines_boundary_values()...
0
{'name': 'expanduser@pioinstaller/util.py', 'description': 'Be compatible with Python 3.8, on Windows skip HOME and check for USERPROFILE', 'signature': 'def expanduser(path):'}</s>log = logging.getLogger(__name__)
0
{'name': 'TestBulkLoader.test_batched_build@test/test_bulk_loader.py', 'description': 'Create a graph using many batches.\nReuses the inputs of test01_social_graph', 'signature': 'def test_batched_build(self):'}</s>{'name': 'TestBulkLoader@test/test_bulk_loader.py', 'description': 'DOCSTRING', 'base_classes': [], 'meth...
1
{'name': 'flatten_probas@solver/lov_softmax.py', 'description': 'Flattens predictions in the batch', 'signature': 'def flatten_probas(probas, labels, ignore=None):'}</s>{'name': 'lovasz_grad@solver/lov_softmax.py', 'description': 'Computes gradient of the Lovasz extension w.r.t sorted errors\nSee Alg. 1 in paper', 'cod...
0
{'name': 'main@tools/lldb/packages/Python/lldbsuite/test/dosep.py', 'description': 'Run dotest.py in inferior mode in parallel.\n\n@param num_threads the parsed value of the num-threads command line\nargument.\n\n@param test_subdir optionally specifies a subdir to limit testing\nwithin. May be None if the entire test ...
0
{'name': 'IUClock.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data', 'signature': 'def load(self, config: OrderedDict) -> "IUClock":'}</s>ATTR_DEFAULT_DURATION = "default_duration"
0
{'name': 'TopLevelMixin.repeat@altair/vegalite/v5/api.py', 'description': "Return a RepeatChart built from the chart\n\nFields within the chart can be set to correspond to the row or\ncolumn using `alt.repeat('row')` and `alt.repeat('column')`.\n\nParameters\n----------\nrepeat : list\n a list of data column names t...
0
{'name': 'prim_generate_maze_cell@Perfect Maze/Maze_AnFay_Cell.py', 'description': '根据Prim算法,遍历网格生成迷宫,并且动态展示迷宫的生成过程\n开始时所有的网格(表示路的,和表示墙的)均看作墙,\n:param a: 迷宫的行数\n:param b: 迷宫的列数\n:param path: 是否添加路径,默认为Ture\n:return: 表示迷宫的数组', 'signature': 'def prim_generate_maze_cell(a, b, path=False):'}</s>Outer_Coordinate = [Row-1, C...
1
{'name': 'ObjCDataFormatterTestCase.plain_data_formatter_commands@lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py', 'description': 'Test basic ObjC formatting behavior.', 'signature': 'def plain_data_formatter_commands(self):'}</s>{'name': 'expectedFailure...
0
{'name': 'csrgraph.random_walks@csrgraph/graph.py', 'description': "Create random walks from the transition matrix of a graph\n in CSR sparse format\n\nParameters\n----------\nT : scipy.sparse.csr matrix\n Graph transition matrix in CSR sparse format\nwalklen : int\n length of the random walks\nepochs : int\n ...
0
{'name': 'process_options@src/python_scripts/scripts/uber_subject.py', 'description': 'return status and VarsObject structs of subject and control variables\n\n - given list of valid options, read and process the user options\n - if terminal option or -no_gui, return 0 (successful quit)\n\nreturn 1 : on success and ...
0
{'name': 'create_post@post.py', 'description': 'Creates a new post from the given data.', 'signature': 'def create_post(thread: Thread, args: dict) -> Post:'}</s>{'name': 'refresh_captcha_cooldown@cooldown.py', 'description': 'DOCSTRING', 'code': 'def refresh_captcha_cooldown():\n if app.config.get("CAPTCHA_COOLDOWN...
0
{'name': 'test_kitti_3d@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': 'def test_kitti_3d(dataset_test, net, rpn_conf, results_path, test_path, has_rcnn=False):'}</s>{'name': 'loss_backprop@lib/core.py', 'description': 'DOCSTRING', 'code': "def loss_backprop(loss, n...
0
{'name': '_add_control_findings@archived/scc-inspec/reportParser/main.py', 'description': 'Creates/updates SCC findings for InSpec test results', 'signature': 'def _add_control_findings(scc, scc_source, control, current_findings):'}</s>gcs = None
0
{'name': 'parse_date@emissionsapi/web.py', 'description': 'Function wrapper replacing string date arguments with\ndatetime.datetime\n\n:param keys: keys to be parsed and replaced\n:type keys: list\n:return: wrapper function\n:rtype: func', 'signature': 'def parse_date(*keys):'}</s>{'name': 'AlembicVersion@emissionsapi/...
0
{'name': 'SegWitTest.test_max_witness_push_length@test/functional/p2p_segwit.py', 'description': 'Test that witness stack can only allow up to MAX_SCRIPT_ELEMENT_SIZE byte pushes.', 'signature': 'def test_max_witness_push_length(self):'}</s>MAX_SCRIPT_ELEMENT_SIZE = 520
1
{'name': 'AccountsDaemon.__init__@packages/python-google-compute-engine/google_compute_engine/accounts/accounts_daemon.py', 'description': "Constructor.\n\nArgs:\n groups: string, a comma separated list of groups.\n remove: bool, True if deprovisioning a user should be destructive.\n useradd_cmd: string, command to ...
0
{'name': 'process_ta_check@aws-inventory/lambda/inventory-trusted-advisor.py', 'description': 'Get the check results for each check', 'signature': 'def process_ta_check(target_account, client, c):'}</s>CATEGORIES = ['security', 'fault_tolerance', 'service_limits']
0
{'name': 'HomographyTransform.init_map_coordinate@util/homg_trans.py', 'description': 'Calculate the coordinates of the tiles on the map.\nTry swiping the map if it returns false.\nDependencies: init_homg_vars, load_color_screen\n:return: True if successfully initialize the coordinates of the tiles. False otherwise.', ...
1
{'name': 'SelectionPanel.remove_function@tools/ipp_custom_library_tool_python/gui/selection_panel.py', 'description': 'Removes function from left list', 'signature': 'def remove_function(self, function):'}</s>{'name': 'set_configs_dict@tools/ipp_custom_library_tool_python/tool/utils.py', 'description': 'DOCSTRING', 'co...
0
{'name': 'BeliefDDPPOTrainer.train@habitat_baselines/rl/ppo/belief_ddppo_trainer.py', 'description': 'Main method for training PPO.\n\nReturns:\n None', 'signature': 'def train(self, ckpt_path="", ckpt=-1, start_updates=0) -> None:'}</s>{'name': 'load_interrupted_state@habitat_baselines/rl/ddppo/algo/ddp_utils.py', ...
1
{'name': 'test_fail_matchers_error@responses/tests/test_matchers.py', 'description': 'Validate that Exception is raised if request does not match responses.matchers\n validate matchers.urlencoded_params_matcher\n validate matchers.json_params_matcher\n validate matchers.query_param_matcher\n validate matche...
0
{'name': 'simxGetVisionSensorImage@7_Demo_youBotPickAndPlace/code/vrep/VREP_RemoteAPIs/sim.py', 'description': 'Please have a look at the function description/documentation in the CoppeliaSim user manual', 'signature': 'def simxGetVisionSensorImage(clientID, sensorHandle, options, operationMode):'}</s>{'name': 'simxSet...
0
{'name': '_CppLintState.PrintErrorCounts@tools/cpplint.py', 'description': 'Print a summary of errors by category, and the total.', 'signature': 'def PrintErrorCounts(self):'}</s>{'name': 'CheckCStyleCast@tools/cpplint.py', 'description': 'Checks for a C-style cast by looking for the pattern.\n\nArgs:\n filename: The ...
0
{'name': 'P7M.is_expired@a38/crypto.py', 'description': 'Check if the signature has expired', 'signature': 'def is_expired(self) -> bool:'}</s>{'name': 'SignerCertificateError@a38/crypto.py', 'description': 'DOCSTRING', 'base_classes': ['SignatureVerificationError'], 'methods': []}
0
{'name': 'GtkydInfo.read_all_hdrs@src/python_scripts/afnipy/lib_gtkyd.py', 'description': 'go through all infiles and get header info. This populates a list\nof headers, one-for-one with the infiles', 'signature': 'def read_all_hdrs(self):'}</s>{'name': 'match_listA_str_in_listB_str@src/python_scripts/afnipy/afni_util....
0
{'name': 'list_to_carray@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a python list into a C array', 'signature': 'def list_to_carray(elem_type, *args):'}</s>{'name': 'wasm_memory_get_host_info@language-bindings/python/src/wamr/wasmcapi/binding.py', 'description': 'DOCSTRING', 'code': 'd...
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': 'test_https_h1@test/integration/test_integration_basics.py', 'description': 'Test h1 over https.\n\nRuns the CLI configured to use HTTP/1 over https against our test server, and sanity\nchecks statistics from both client and server.', 'signature': 'def test_https_h1(https_test_server_fixture):'}</s>{'name': 'a...
0
{'name': 'GoEl@MRT_FUNC_PY4_influxDB.py', 'description': 'Go to a specific elevation without changing azimuth', 'signature': 'def GoEl(elGe=None):'}</s>BDTX = b'BDTX\r\n'
0
{'name': '_build_simple_row@misc/tabulate.py', 'description': 'Format row according to DataRow format without padding.', 'signature': 'def _build_simple_row(padded_cells, rowfmt):'}</s>{'name': '_latex_row@misc/tabulate.py', 'description': 'DOCSTRING', 'code': 'def _latex_row(cell_values, colwidths, colaligns):\n de...
0
{'name': 'IULogger.log_service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Message that we have received a service call', 'signature': 'def log_service_call('}</s>DOMAIN = "irrigation_unlimited"
0
{'name': 'TopLevelMixin.save@altair/vegalite/v3/api.py', 'description': "Save a chart to file in a variety of formats\n\nSupported formats are json, html, png, svg, pdf; the last three require\nthe altair_saver package to be installed.\n\nParameters\n----------\nfp : string filename or file-like object\n file in whi...
0
{'name': 'randomAlpha@src/common/utils.py', 'description': "Returns a random alphabetic string of length 'length' ", 'signature': 'def randomAlpha(length):'}</s>{'name': 'extractNextWordInString@src/common/utils.py', 'description': 'Extract the word (space separated) following the one at current index', 'code': 'def ex...
0
{'name': 'resolve_symbol@tools/overlayhelpers/actor_symbols.py', 'description': 'Returns (overlay file path, file offset) from a given VRAM address', 'signature': 'def resolve_symbol(address):'}</s>script_dir = os.path.dirname(os.path.realpath(__file__))
0
{'name': 'assert_rank@baseline/bert/modeling.py', 'description': "Raises an exception if the tensor rank is not of the expected rank.\n\nArgs:\n tensor: A tf.Tensor to check the rank of.\n expected_rank: Python integer or list of integers, expected rank.\n name: Optional name of the tensor for the error message.\n\n...
0
{'name': 'test_db_error_logging_to_stderr@test/io/test_io.py', 'description': 'verify that DB errors are logged to stderr', 'signature': 'def test_db_error_logging_to_stderr(level, defaultenv, metapostgrest):'}</s>{'name': 'test_admin_live_good@test/io/test_io.py', 'description': 'Should get a success from the admin li...
0
{'name': 'build@tools/ipp_custom_library_tool_python/tool/core.py', 'description': 'Builds dynamic library\n\n:return: True if build was successful and False in the opposite case', 'signature': 'def build():'}</s>{'name': 'get_match@tools/ipp_custom_library_tool_python/tool/utils.py', 'description': 'DOCSTRING', 'code'...
0
{'name': 'nestedExpr@venv/Lib/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and closing\ndelimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list (default=C{"("}); can also be a pyparsing ex...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCSRV_DLQ_YES = 1
0
{'name': 'ReplaceByFeeTest.test_doublespend_chain@qa/rpc-tests/replace-by-fee.py', 'description': 'Doublespend of a long chain', 'signature': 'def test_doublespend_chain(self):'}</s>{'name': 'msg_cmpctblock@qa/rpc-tests/test_framework/mininode.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'n...
0
{'name': 'pspnet.load_pretrained_model@ptsemseg/models/pspnet.py', 'description': 'Load weights from caffemodel w/o caffe dependency\nand plug them in corresponding modules', 'signature': 'def load_pretrained_model(self, model_path):'}</s>_WINDOWDATAPARAMETER = _descriptor.Descriptor( name='WindowDataParameter', fu...
0
{'name': 'Device._buildReadRegisterPacket@src/LabJackPython.py', 'description': 'self._buildReadRegisterPacket(addr, numReg)\n\nBuilds a raw modbus "Read Register" packet to be written to a device\n\nReturns a tuple:\n(<Packet as a list>, <number of bytes to read>)', 'signature': 'def _buildReadRegisterPacket(self, add...
0