text
string
label
int64
{'name': 'SensorHandler.validate_arming_event@custom_components/alarmo/sensors.py', 'description': 'check whether all sensors have the correct state prior to arming.', 'signature': 'def validate_arming_event(self, area_id: str, target_state: str = None, **kwargs):'}</s>PUSH_EVENT = "mobile_app_notification_action"
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': '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': 'test_face_areas_compute_face_areas_geoflow_small@test/test_grid.py', 'description': 'Checks if the GeoFlow Small can generate a face areas output.', 'signature': 'def test_face_areas_compute_face_areas_geoflow_small():'}</s>{'name': '_populate_face_edge_connectivity@uxarray/grid/connectivity.py', 'description...
0
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>{'name': 'fpSub@src/api/python/z3/z3.py', 'descripti...
0
{'name': 'TestManager.test_custom_manager2@modeltranslation/tests/tests.py', 'description': 'Test if user-defined queryset is still working', 'signature': 'def test_custom_manager2(self):'}</s>{'name': 'autodiscover@modeltranslation/models.py', 'description': 'Auto-discover INSTALLED_APPS translation.py modules and fai...
0
{'name': 'associate_all@Pose2Sim/personAssociation.py', 'description': "For each frame,\n- Find all possible combinations of detected persons\n- Triangulate 'tracked_keypoint' for all combinations\n- Reproject the point on all cameras\n- Take combination with smallest reprojection error\n- Write json file with only one...
1
{'name': 'GTestBreakOnFailureUnitTest.testEnvVar@googletest/test/googletest-break-on-failure-unittest.py', 'description': 'Tests using the GTEST_BREAK_ON_FAILURE environment variable.', 'signature': 'def testEnvVar(self):'}</s>environ = gtest_test_utils.environ
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>MQRC_OBJECT_DAMAGED = 2101
0
{'name': 'check_scenarios@premise/new_database.py', 'description': 'Check that the scenarios are properly formatted and that\nall the necessary info is given.', 'signature': 'def check_scenarios(scenario: dict, key: bytes) -> dict:'}</s>FILEPATH_BIOFUEL_INVENTORIES = INVENTORY_DIR / "lci-biofuels.xlsx"
0
{'name': 'generate_routes_go@swagger_to/go_server.py', 'description': 'Generate the file which defines the router and the routes.\n\n:param package: name of the package\n:param routes: routes that the router will handle.\n:return: Golang code', 'signature': 'def generate_routes_go(package: str, routes: List[Route]) -> ...
0
{'name': 'TestSnmp1.testGetMacAddress@tests/test_snmp.py', 'description': 'Get a MAC address', 'signature': 'def testGetMacAddress(self):'}</s>_lastError = None
0
{'name': 'HTTPConnectionPool.is_same_host@src/ahip/connectionpool.py', 'description': 'Check if the given ``url`` is a member of the same host as this\nconnection pool.', 'signature': 'def is_same_host(self, url):'}</s>{'name': 'assertRegex@src/ahip/packages/six.py', 'description': 'DOCSTRING', 'code': 'def assertRegex...
0
{'name': 'ClockSkewDaemon.__init__@packages/python-google-compute-engine/google_compute_engine/clock_skew/clock_skew_daemon.py', 'description': 'Constructor.\n\nArgs:\n debug: bool, True if debug output should write to the console.', 'signature': 'def __init__(self, debug=False):'}</s>{'name': 'MetadataWatcher@package...
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': 'SequenceEnqueuer.stop@libs/cifar10_lib.py', 'description': 'Stops running threads and wait for them to exit, if necessary.\n\nShould be called by the same thread which called `start()`.\n\n# Arguments\n timeout: maximum time to wait on `thread.join()`', 'signature': 'def stop(self, timeout=None):'}</s>{'na...
0
{'name': 'tell_cma_strategy@07_neuroevolution/cma_es_toy.py', 'description': 'Update the surrogate ES model. ', 'signature': 'def tell_cma_strategy(x, fitness, params, memory):'}</s>{'name': 'update_p_c@07_neuroevolution/cma_es_toy.py', 'description': 'Update evolution path for sigma/stepsize. ', 'code': 'def update_p_...
1
{'name': 'lprint@art/functions.py', 'description': 'Print a grid (length X height) of the given character.\n\n:param length: the grid length\n:type length: int\n:param height: the grid height\n:type height: int\n:param char: target character\n:type char: str\n:return: None', 'signature': "def lprint(length=15, height=1...
0
{'name': 'rmtree@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/distlib/_backport/shutil.py', 'description': 'Recursively delete a directory tree.\n\nIf ignore_errors is set, errors are ignored; otherwise, if onerror\nis set, it is called to handle the error with arguments (func,\npath, exc_info) where func is...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQSO_SCOPE_QMGR = 67108864
0
{'name': 'receive_offline_message@bauhinia_push.py', 'description': '等待100ms,批量发送推送', 'signature': 'def receive_offline_message():'}</s>{'name': 'get_package_name@models/application.py', 'description': 'DOCSTRING', 'code': 'def get_package_name(mysql, appid):\n for i in range(2):\n try:\n sql = \'\...
0
{'name': 'CombinedMultiblockFunction.step@parsimony/functions/multiblock/losses.py', 'description': 'The step size to use in descent methods.\n\nFrom the interface "StepSize".\n\nParameters\n----------\nw : list of numpy arrays\n The point at which to determine the step size.\n\nindex : int\n Non-negative integer...
0
{'name': '_makeTags@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'CaselessLiteral@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor...
0
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i...
0
{'name': 'demo@src/doitlive/cli.py', 'description': 'Run a demo doitlive session.', 'signature': 'def demo(quiet, shell, speed, prompt, commentecho):'}</s>{'name': 'play@src/doitlive/cli.py', 'description': 'Play a session file.', 'code': 'def play(quiet, session_file, shell, speed, prompt, commentecho):\n """Play a...
0
{'name': 'configured_instances@custom_components/mikrotik_router/config_flow.py', 'description': 'Return a set of configured instances.', 'signature': 'def configured_instances(hass):'}</s>CONF_SENSOR_NETWATCH_TRACKER = "sensor_netwatch_tracker"
0
{'name': 'test_merged_dup_stream_blocks@maf/impl/naiveLiftUp.py', 'description': 'Check merged_dup_stream behavior on Blocks.', 'signature': 'def test_merged_dup_stream_blocks():'}</s>{'name': 'lift_region@maf/impl/naiveLiftUp.py', 'description': 'Lift a given region on the reference using the provided Alignment.', 'co...
0
{'name': 'TestObjectsE2E.test_host_record_ea_inheritance@e2e_tests/test_objects.py', 'description': 'Checks if EA inheritance for record:host object\nworks as expected', 'signature': 'def test_host_record_ea_inheritance(self):'}</s>{'name': 'LdapEamapping@infoblox_client/objects.py', 'description': 'DOCSTRING', 'base_c...
0
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>CPAL032_PASTEL2 = 134
0
{'name': 'MetalAPI.get_position@uarm/wrapper/metal_api.py', 'description': "Get the position\n:param wait: True/False, default is True\n:param timeout: timeout, default is use the default cmd timeout\n:param callback: callback, default is None\n:return: [x, y, z] or 'TIMEOUT' if wait is True else None", 'signature': 'd...
0
{'name': 'create_app@baymax/app.py', 'description': 'Create a Flask app.', 'signature': 'def create_app(config=None, app_name=None, blueprints=None):'}</s>{'name': 'User@baymax/user/models.py', 'description': 'DOCSTRING', 'base_classes': ['db.Model'], 'methods': [{'name': 'User.check_password@baymax/user/models.py', 'd...
0
{'name': 'Retry.increment@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/urllib3/util/retry.py', 'description': 'Return a new Retry object with incremented retry counters.\n\n:param response: A response object, or None, if the server did not\n return a response.\n:type response: :class:`~urllib3.response.HT...
0
{'name': 'convert_generation_model@onnxruntime/python/tools/transformers/convert_generation.py', 'description': 'Convert model according to command line arguments.\n\nArgs:\n args (argparse.Namespace): arguments parsed from command line', 'signature': 'def convert_generation_model('}</s>{'name': '_attribute_to_pair@...
0
{'name': 'homogeneous_to_cartesian_vectors@src/ikpy/utils/geometry.py', 'description': 'Convert an homogeneous vector to cartesian vector', 'signature': 'def homogeneous_to_cartesian_vectors(homogeneous_vector):'}</s>{'name': 'rz_matrix@src/ikpy/utils/geometry.py', 'description': 'Rotation matrix around the Z axis', 'c...
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': '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': 'CAsyncDBHandler.ExecuteParameters@bin/spa/clientside/asyncdbhandler.py', 'description': 'Process a complex SQL statement which may be combined with multiple basic SQL statements asynchronously\n:param vParam: an array of parameter data which will be bounded to previously prepared parameters\n:param handler: a...
0
{'name': 'make_combined_mosaics@grizli/pipeline/auto_script.py', 'description': 'Drizzle combined mosaics\n\nmosaic_driz_cr_type : int\n (mosaic_driz_cr_type & 1) : flag CRs on all IR combined\n (mosaic_driz_cr_type & 2) : flag CRs on IR filter combinations\n (mosaic_driz_cr_type & 4) : flag CRs on all OPT com...
0
{'name': 'categoricals_pop@util.py', 'description': 'Assume that the last dim of probs contains the probability vectors,\ni.e. np.sum(probs, axis=-1) == ones', 'signature': 'def categoricals_pop(probs, precision):'}</s>{'name': 'generate_beta_binomial_probs@util.py', 'description': 'DOCSTRING', 'code': 'def generate_be...
0
{'name': 'ParseNolintSuppressions@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Updates the global list of line error-suppressions.\n\nParses any NOLINT comments on the current line, updating the global\nerror_suppressions store. Reports an error if the NOLINT comment\nwas malformed.\n\nArgs:\n filename: s...
0
{'name': 'NewDatabase.__import_inventories@premise/new_database.py', 'description': 'This method will trigger the import of a number of pickled inventories\nand merge them into the database dictionary.', 'signature': 'def __import_inventories(self) -> List[dict]:'}</s>IAM_OUTPUT_DIR = DATA_DIR / "iam_output_files"
0
{'name': 'PdfPreviewBuilderPopplerUtils.build_jpeg_preview@preview_generator/preview/builder/pdf__poppler_utils.py', 'description': 'generate the pdf small preview', 'signature': 'def build_jpeg_preview('}</s>{'name': 'executable_is_available@preview_generator/utils.py', 'description': 'Check if an executable is availa...
0
{'name': 'View.update_pick_info_long@picasso/gui/render.py', 'description': 'Called when evaluating picks statistics in Info Dialog. ', 'signature': 'def update_pick_info_long(self):'}</s>VERSION_NO = "0.7.5"
0
{'name': 'optimize_png@optimize_images/img_optimize_png.py', 'description': 'Try to reduce file size of a PNG image.\n\nExpects a Task object containing all the parameters for the image processing.\n\nIf file reduction is successful, this function will replace the original\nfile with the optimized version and return so...
1
{'name': 'go@grizli/pipeline/auto_script.py', 'description': 'Run the full pipeline for a given target\n\nParameters\n----------\nroot : str\n Rootname of the `mastquery` file.\n\nextract_maglim : [min, max]\n Magnitude limits of objects to extract and fit.', 'signature': "def go(root='j010311+131615', "}</s>GALE...
0
{'name': 'sinc@metrics/equivariance.py', 'description': 'Applies the `sinc` function.', 'signature': 'def sinc(x):'}</s>{'name': 'setup_filter@third_party/stylegan3_official_ops/upfirdn2d.py', 'description': 'Convenience function to setup 2D FIR filter for `upfirdn2d()`.\n\nArgs:\n f: Torch tensor, numpy a...
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': 'AHK.win_wait_not_active@ahk/_sync/engine.py', 'description': 'Analog for `WinWaitNotActive <https://www.autohotkey.com/docs/commands/WinWaitActive.htm>`_', 'signature': 'def win_wait_not_active('}</s>{'name': 'MsgBoxModality@ahk/_utils.py', 'description': 'DOCSTRING', 'base_classes': ['enum.IntEnum'], 'method...
0
{'name': 'NestingState.Update@tools/cpplint.py', 'description': 'Update nesting state with current 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 call with any errors found.', ...
0
{'name': 'TrainCtx.__init__@persia/ctx.py', 'description': 'Arguments:\n embedding_optimizer (persia.embedding.optim.Optimizer): optimizer for the\n embedding parameters.\n dense_optimizer (torch.optim.Optimizer): optimizer for dense parameters.\n grad_scalar_update_factor (float, optional): update fact...
0
{'name': 'send_confirmation@flask_security/views.py', 'description': 'View function which sends confirmation instructions.', 'signature': 'def send_confirmation():'}</s>{'name': 'change_password@flask_security/views.py', 'description': 'View function which handles a change password request.', 'code': 'def change_passwo...
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': 'Sortlist@infoblox_client/objects.py', 'description': 'DOCSTRING', 'base_class...
0
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24...
0
{'name': 'check_Markovian_uncertainty@msppy/utils/statistics.py', 'description': 'Check Markovian uncertainty is in the right form. Return\nthe dimension of MC.', 'signature': 'def check_Markovian_uncertainty(Markovian_uncertainty, T):'}</s>{'name': 'MA@msppy/utils/statistics.py', 'description': 'DOCSTRING', 'code': "d...
0
{'name': 'extract_data@ytmdl/main.py', 'description': 'Extract the arguments and act accordingly.', 'signature': 'def extract_data():'}</s>{'name': 'pre_checks@ytmdl/main.py', 'description': 'Run some checks in order to make sure the basic things are\nworking all right.', 'code': 'def pre_checks(args):\n """Run some...
1
{'name': 'ZWaveServices.register@custom_components/zwave_mqtt/services.py', 'description': 'Register all our services.', 'signature': 'def register(self):'}</s>EVENT_SCENE_ACTIVATED = f"{DOMAIN}.scene_activated"
0
{'name': 'writeSuites@cxxtest/cxxtestgen.py', 'description': 'Write all TestDescriptions and SuiteDescriptions', 'signature': 'def writeSuites(output):'}</s>noStaticInit = None
0
{'name': 'LambdaSupportTest.assert_contains_lambda_expression_in_m@baseline_tokenization/javalang/test/test_java_8_syntax.py', 'description': 'asserts that the given tree contains a method with the supplied\nmethod name containing a lambda expression.', 'signature': 'def assert_contains_lambda_expression_in_m('}</s>{'n...
0
{'name': 'plugin_loaded@xpath.py', 'description': 'When the plugin is loaded, clear all variables and cache xpaths for current view if applicable.', 'signature': 'def plugin_loaded():'}</s>{'name': 'getSGMLRegions@xpath.py', 'description': 'Find all xml and html scopes in the specified view.', 'code': 'def getSGMLRegio...
0
{'name': 'port_bind@kuryr/lib/binding/drivers/veth.py', 'description': 'Binds the Neutron port to the network interface on the host.\n\n:param endpoint_id: the ID of the endpoint as string\n:param port: the container Neutron port dictionary as returned by\n python-neutronclient\n:param sub...
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': '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': 'Model.initialize_templates@wobble/model.py', 'description': 'Initialize spectral templates for all components. \n\n*NOTE:* this will initialize each subsequent component from the residuals \nof the previous, so make sure you have added the components in order of \nlargest to smallest contribution to the net s...
0
{'name': 'RobocrysFeaturizer.featurize@robocrys/featurize/featurizer.py', 'description': 'Featurizes a structure using robocrystallographer.\n\nArgs:\n s: A structure.\n\nReturns:\n The robocrystallographer features.', 'signature': 'def featurize(self, s: Structure) -> Sequence[float | bool | str]:'}</s>_cns = ra...
1
{'name': 'is_torrent_complete@src/ptpapi/scripts/ptp_reseed.py', 'description': "This returns a sort of horrible ternary: None if the torrent\ndoes not exist, True if it's complete, and false otherwise.", 'signature': 'def is_torrent_complete(infohash: str, client=None) -> Union[bool, None]:'}</s>{'name': 'match_by_gue...
0
{'name': 'assign_confidence@mokapot/confidence.py', 'description': 'Assign confidence to PSMs, peptides, and optionally proteins.\n\nParameters\n----------\ndatasets : list[PsmDataset]\n A collection of PSMs.\nscores_list : list[numpy.ndarray[float]] | None, optional\n The scores by which to rank the PSMs. Usuall...
0
{'name': 'PPOTrainer._eval_checkpoint@ss_baselines/av_nav/ppo/ppo_trainer.py', 'description': 'Evaluates a single checkpoint.\n\nArgs:\n checkpoint_path: path of checkpoint\n writer: tensorboard writer object for logging to tensorboard\n checkpoint_index: index of cur checkpoint for logging\n\nReturns:\n No...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCACF_CF_STRUC_NAMES = 3095
0
{'name': 'non_max_suppression@yolov3/utils/utils.py', 'description': "Removes detections with lower object confidence score than 'conf_thres'\nNon-Maximum Suppression to further filter detections.\nReturns detections with shape:\n (x1, y1, x2, y2, object_conf, conf, class)", 'signature': 'def non_max_suppression(pre...
0
{'name': 'XPRESS_PY.actualSolve@pulp/apis/xpress_api.py', 'description': 'Solve a well formulated lp problem', 'signature': 'def actualSolve(self, lp, prepare=None):'}</s>LpSenses = {LpMaximize: "Maximize", LpMinimize: "Minimize"}
0
{'name': 'release_segmentation_id@kuryr/lib/segmentation_type_drivers/__init__.py', 'description': 'Releases the segmentation ID.', 'signature': 'def release_segmentation_id(id):'}</s>{'name': 'AddressInUseException@kuryr/lib/exceptions.py', 'description': 'Exception represents the requested ip address is used.\n\nThis...
0
{'name': 'XCSAlgorithm.cover@xcs/algorithms/xcs.py', 'description': 'Return a new classifier rule that can be added to the match set,\nwith a condition that matches the situation of the match set and an\naction selected to avoid duplication of the actions already\ncontained therein. The match_set argument is a MatchSet...
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_COD_NOT_VALID_FOR_XCF_Q = 2106
0
{'name': 'handle_no_HAR_file_exception@website/web/genericapi.py', 'description': 'The capture has no HAR file, it failed for some reason.', 'signature': 'def handle_no_HAR_file_exception(error: Any) -> Response:'}</s>{'name': 'HostnameInfo@website/web/genericapi.py', 'description': 'DOCSTRING', 'base_classes': ['Resou...
0
{'name': 'BL3Profile.set_vaultcard3_keys@bl3save/bl3profile.py', 'description': 'Sets the number of Vault Card 3 keys to `num_keys`', 'signature': 'def set_vaultcard3_keys(self, num_keys):'}</s>sdu_to_eng = { SDU_BACKPACK: 'Backpack', SDU_AR: 'AR', SDU_PISTOL: 'Pistol', SDU_SNIPER: 'Snip...
0
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>CSR_HPMCOUNTER7 = 3079
0
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i...
0
{'name': 'AltFS._write_block@AltFS.py', 'description': 'Writes the given Block instance to the given value_id.\n\nOverrides the existing one.\nReturns the value ID to which the block was written.\n\nNote: if the given value ID is None, a new value is created in the\ngiven bucket, and the block is written to it\n\nRaise...
0
{'name': 'assertrepr_compare@tests/_lib_vendors/_pytest/assertion/util.py', 'description': 'Return specialised explanations for some operators/operands', 'signature': 'def assertrepr_compare(config, op, left, right):'}</s>{'name': '_compare_eq_dict@tests/_lib_vendors/_pytest/assertion/util.py', 'description': 'DOCSTRIN...
1
{'name': 'QPath.search@qt4c/qpath.py', 'description': '根据qpath和root查找控件\n\n:type root: 实例类型\n:param root: 查找开始的控件\n:return: 返回找到的控件列表', 'signature': 'def search(self, root=None):'}</s>{'name': 'TextBox@qt4c/wincontrols.py', 'description': '编辑控件\n ', 'base_classes': ['Control'], 'methods': []}
0
{'name': 'ProcessFileData@runtimes/compiler-rt/lib/sanitizer_common/scripts/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:...
0
{'name': 'Forwarder._forward_logs@aws/logs_monitoring/forwarder.py', 'description': 'Forward logs to Datadog', 'signature': 'def _forward_logs(self, logs, key=None):'}</s>EXCLUDE_AT_MATCH = get_env_var("EXCLUDE_AT_MATCH", default=None)
1
{'name': 'generate@code/html/generate_static_website.py', 'description': 'Regenerates the whole static website given an already imported set of entries, inspirations and developers.\nThese datasets must be valid for each other, i.e. each inspiration listed in entries must also have an\nentry in inspirations and the sam...
1
{'name': 'preprocess@grizli/pipeline/auto_script.py', 'description': 'Preprocessing script\n\nParameters\n----------\nfield_root : str\n Basename of the exposure group processed together\n\nHOME_PATH : str\n Base path for file processing\n\nmaster_radec : str\n Force use this radec file for astrometric alignme...
0
{'name': 'fix_json@skll/config/utils.py', 'description': 'Fix incorrectly formatted quotes and capitalized booleans in JSON string.\n\nParameters\n----------\njson_string : str\n A JSON-style string.\n\nReturns\n-------\nstr\n The normalized JSON string.', 'signature': 'def fix_json(json_string: str) -> str:'}</s...
0
{'name': '_http_info_changed@custom_components/meross_cloud/__init__.py', 'description': 'Tells when a new device is discovered among the known ones', 'signature': 'def _http_info_changed(known: Collection[HttpDeviceInfo], discovered: Collection[HttpDeviceInfo]) -> bool:'}</s>CONF_HTTP_ENDPOINT = "http_api_endpoint"
0
{'name': 'routing@Chapter10/helper_functions.py', 'description': 'This function performs the routing algorithm as mentioned in the paper\n:parameter u: Input tensor with [batch_size, num_caps_input_layer=1152, 1, caps_dim_input_layer=8, 1] shape.\n NCAPS_CAPS1: num capsules in the PrimaryCaps layer l\n ...
0
{'name': 'MaskedArray.__imul__@venv/Lib/site-packages/numpy/ma/core.py', 'description': 'Multiply self by other in-place.', 'signature': 'def __imul__(self, other):'}</s>{'name': 'dump@venv/Lib/site-packages/numpy/ma/core.py', 'description': 'Pickle a masked array to a file.\n\nThis is a wrapper around ``cPickle.dump``...
0
{'name': 'get_scheduler@upit/models/junyanz.py', 'description': "Return a learning rate scheduler\n\nParameters:\n optimizer -- the optimizer of the network\n opt (option class) -- stores all the experiment flags; needs to be a subclass of BaseOptions.\u3000\n opt.lr_policy is th...
0
{'name': 'MPEServiceCommand.publish_proto_in_ipfs@snet/cli/commands/mpe_service.py', 'description': 'Publish proto files in ipfs and print hash ', 'signature': 'def publish_proto_in_ipfs(self):'}</s>{'name': 'publish_proto_in_filecoin@snet/cli/utils/ipfs_utils.py', 'description': 'Create a tar archive from protodir/*.p...
0
{'name': 'TestBaseGrandCanonicalMonteCarloSampler.test_report@grand/tests/test_samplers.py', 'description': 'Make sure the BaseGrandCanonicalMonteCarloSampler.report() method works correctly', 'signature': 'def test_report(self):'}</s>{'name': 'TestStandardGCMCSphereSampler@grand/tests/test_samplers.py', 'description':...
0
{'name': 'wasm_vec_to_list@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a vector or a POINTER(vector) to a list\nvector of type pointers -> list of type pointers', 'signature': 'def wasm_vec_to_list(vec):'}</s>{'name': 'wasm_globaltype_vec_new_uninitialized@language-bindings/python/src/w...
0
{'name': 'print_line@module/message.py', 'description': 'prints out any string ', 'signature': 'def print_line(value):'}</s>{'name': 'write@module/message.py', 'description': 'prints out any message', 'code': "def write(description, value):\n '''prints out any message'''\n try:\n sys.stdout.write(str(descr...
1
{'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_MQINQ_ARRAY = [b"I", b"N", b"Q", b" "]
0
{'name': 'LatLonFix.longitude@pynmea2/nmea_utils.py', 'description': 'Longitude in signed degrees (python float)', 'signature': 'def longitude(self):'}</s>{'name': 'ValidGGAFix@pynmea2/nmea_utils.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'ValidGGAFix.is_valid@pynmea2/nmea_utils.p...
0
{'name': 'get_deltas@k8s_snapshots/rule.py', 'description': 'Helper annotation-deltas-getter\n\nParameters\n----------\nannotations\n\nReturns\n-------', 'signature': 'def get_deltas(annotations: Dict, deltas_annotation_key: str) -> List[timedelta]:'}</s>{'name': 'get_backend_for_rule@k8s_snapshots/rule.py', 'descripti...
0
{'name': 'parse_capture_filter@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': '"Parse given capture filter', 'signature': 'def parse_capture_filter(capture_filter):'}</s>CTRL_KEY_TYPE_ADD_ADDR = 6
0
{'name': 'EnumMeta.__getattr__@plugins/sublime/enum-dist/enum/__init__.py', 'description': "Return the enum member matching `name`\n\nWe use __getattr__ instead of descriptors or inserting into the enum\nclass' __dict__ in order to support `name` and `value` being both\nproperties for enum members (which live in the cl...
0
{'name': 'isData@src/util/util.py', 'description': 'Checks if given name represents correct mod folder or not', 'signature': 'def isData(name):'}</s>{'name': 'getKey@src/util/util.py', 'description': 'Helper function for the mod list', 'code': "def getKey(item):\n '''Helper function for the mod list'''\n return i...
0
{'name': 'Message._postprocess_single@src/betterproto/__init__.py', 'description': 'Adjusts values after parsing.', 'signature': 'def _postprocess_single('}</s>PACKED_TYPES = [ TYPE_ENUM, TYPE_BOOL, TYPE_INT32, TYPE_INT64, TYPE_UINT32, TYPE_UINT64, TYPE_SINT32, TYPE_SINT64, TYPE_FLOA...
0