text
string
label
int64
{'name': 'Template.runTemplate@qds_sdk/template.py', 'description': 'Run an existing Template and waits for the Result.\nPrints result to stdout. \n\nArgs:\n `id`: ID of the template to run\n `data`: json data containing the input_vars\n\nReturns: \n An integer as status (0: success, 1: failure)', 'signature'...
0
{'name': 'FHfilter.Check_AlphaScreen_FHs@scopy/ScoFH/fh_filter_Lib.py', 'description': 'Check molecule under Check_AlphaScreen_FHs Filter,\nwhich presents a compound may be alphascreen frequent hitters.\nThere are 6 SMARTS in this endpoint.\n \n:return: a list of dictionary\n:rtype: list', 'signature': 'def Check_Al...
1
{'name': 'draw_dry_adiabat@pymeteo/skewt.py', 'description': 'Plot dry adiabats on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function calculates dry adiabats\nand plots these lines. Adiabats are calculated \nevery 10 K', 'signature': 'def draw_dry_adiabat(axes):'}</s...
0
{'name': 'Zeroconf.checkService@stino/pyarduino/base/zeroconf.py', 'description': 'Checks the network for a unique service name, modifying the\nServiceInfo passed in if it is not unique.', 'signature': 'def checkService(self, info):'}</s>_TYPE_SOA = 6
0
{'name': 'Paystack.__init__@paystackapi/paystack.py', 'description': 'Instantiate Basic Classes to call here.', 'signature': 'def __init__(self, secret_key=None):'}</s>{'name': 'Paystack@paystackapi/paystack.py', 'description': 'Base class defined for PayStack Instance Method.', 'base_classes': ['PayStackBase'], 'metho...
1
{'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_MHPMEVENT4 = 804
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_objfloatparam...
0
{'name': 'answer_question@onefile.py', 'description': 'Uses everything to do everyhing for one data instance (one question, subgraph etc).', 'signature': 'def answer_question(qa, index, data, relations, parameter_dict):'}</s>{'name': 'is_clean_url@utils/natural_language_utilities.py', 'description': '!!!! ATTENTION !!!...
0
{'name': 'Scriv.fragments_to_combine@src/scriv/scriv.py', 'description': 'Get the list of fragments to combine.', 'signature': 'def fragments_to_combine(self) -> list[Fragment]:'}</s>{'name': '_new_fragment_content@src/scriv/scriv.py', 'description': 'Produce the initial content of a scriv fragment.', 'code': 'def _new...
0
{'name': 'validate@fairseq_cli/train.py', 'description': 'Evaluate the model on the validation set(s) and return the losses.', 'signature': 'def validate('}</s>{'name': 'all_gather@fairseq/distributed/utils.py', 'description': 'Perform an all-gather operation.', 'code': 'def all_gather(tensor, group, return_tensor=Fals...
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>MQIACF_CLEAR_SCOPE = 1306
0
{'name': 'attrib@vendor/attr/_make.py', 'description': "Create a new attribute on a class.\n\n.. warning::\n\n Does *not* do anything unless the class is also decorated with\n `attr.s`!\n\n:param default: A value that is used if an ``attrs``-generated ``__init__``\n is used and no value is passed while instan...
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>CMAP_CET_CBL1 = 84
0
{'name': 'BL3Save.set_max_sdus@bl3save/bl3save.py', 'description': 'Sets the specified SDUs (or all SDUs that we know about) to be at the max level', 'signature': 'def set_max_sdus(self, sdulist=None):'}</s>mayhem_lvl_to_part = {v: k for k, v in mayhem_part_to_lvl.items()}
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': 'RobotFileParser.can_fetch@src/future/backports/urllib/robotparser.py', 'description': 'using the parsed robots.txt decide if useragent can fetch url', 'signature': 'def can_fetch(self, useragent, url):'}</s>{'name': 'BaseHandler@src/future/backports/urllib/request.py', 'description': 'DOCSTRING', 'base_classe...
0
{'name': 'init_mp_pool@oggm/workflow.py', 'description': 'Necessary because at import time, cfg might be uninitialized', 'signature': 'def init_mp_pool(reset=False):'}</s>{'name': '_line_extend@oggm/core/centerlines.py', 'description': 'Adds a downstream line to a flowline\n\nParameters\n----------\nuline: a shapely.ge...
0
{'name': 'Control.__init__@wntr/network/controls.py', 'description': 'Parameters\n----------\ncondition: ControlCondition\n The condition that should be used to determine when the actions need to be activated. When the condition\n evaluates to True, the then_actions are activated. When the condition evaluates to ...
0
{'name': 'TrimmedMatchDesignTest.testReportCandidateDesignWithNoResponseDuringEval@trimmed_match/design/tests/trimmed_match_design_test.py', 'description': 'Checks the calculation with no response during evaluation period.', 'signature': 'def testReportCandidateDesignWithNoResponseDuringEval(self):'}</s>{'name': 'time_...
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': 'test_org_admin_get_mitre_org@test-http/src/test/org_user_tests/org_as_org_admin.py', 'description': 'services api rejects requests for secretariat by non-secretariat users ', 'signature': 'def test_org_admin_get_mitre_org(org_admin_headers):'}</s>{'name': 'test_org_get_bad_user_page@test-http/src/test/org_use...
0
{'name': 'get_child_access3@Inventory_Modules.py', 'description': "- faws_acct is a custom class (account_class.aws_acct_access)\n- fChildAccount expects an AWS account number (ostensibly of a Child Account)\n- rRegion expects a string representing one of the AWS regions ('us-east-1', 'eu-west-1', etc.)\n- fRoleList ex...
0
{'name': 'build_evaluation@rdk/template/runtime/python3.7/rule_code.py', 'description': 'Form an evaluation as a dictionary. Usually suited to report on scheduled rules.\n\nKeyword arguments:\nresource_id -- the unique id of the resource to report\ncompliance_type -- either COMPLIANT, NON_COMPLIANT or NOT_APPLICABLE\ne...
0
{'name': 'dict_to_cluster@cblaster/helpers.py', 'description': 'Creates a mock Cluster from a sequence dictionary.', 'signature': 'def dict_to_cluster(sequences, spacing=500):'}</s>{'name': 'get_sequences@cblaster/helpers.py', 'description': 'Convenience function to get dictionary of query sequences from file or IDs.\n...
0
{'name': 'train_model@cello/cello.py', 'description': 'Train a CellO model based on the genes of an \ninput dataset.\n\nParameters\n----------\n\nad : AnnData object\n Expression matrix of n cells by m genes\n\nalgo : String\n The name of the algorithm used to train the model. \'IR\' \n trains a model using is...
0
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
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>MQS_STATUS_ALLOCFAIL = 5
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCA_AUTO_REORG_START_TIME = 2090
0
{'name': 'athena_source@05_explore/data-wrangler/99_GENERATED_Python_Code.py', 'description': 'Represents a source that handles Athena.\n\nNote: Input dataset_definition is a Mohave specific dataset definition and is different from Processing Job\ndataset definition.', 'signature': 'def athena_source(spark, mode, datas...
0
{'name': '_get_resource_type_from_ref@fhirpy/base/resource_protocol.py', 'description': '>>> _get_resource_type_from_ref("Patient/id")\n\'Patient\'', 'signature': 'def _get_resource_type_from_ref(ref: str) -> str:'}</s>TResource = TypeVar("TResource", bound=ResourceProtocol)
0
{'name': 'serve_qr_code_image@qr_code/views.py', 'description': 'Serve an image that represents the requested QR code.\n\nIMPORTANT NOTE: Each boolean option mentioned below (value True/False) must be passed as `<option name>=1` for\n`True`, respectively `<option name>=0` for `False`.\n\nYou may pass any argument avail...
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': 'CosS3Client.ci_auditing_image_batch@qcloud_cos/cos_client.py', 'description': "图片同步批量审核接口 https://cloud.tencent.com/document/product/436/63593\n\n:param Bucket(string): 存储桶名称.\n:param Input(dict array): 需要审核的图片信息,每个array元素为dict类型,支持的参数如下:\n Object: 存储在 COS 存储桶中的图片文件名称,例如在目录 test 中的文件 image....
0
{'name': 'matchOnlyAtCol@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining parse actions that require matching at a specific\ncolumn in the input text.', 'signature': 'def matchOnlyAtCol(n):'}</s>{'name': '_defaultStartDebugAction@tests/_lib_vendors/pkg_resources/_vendor...
0
{'name': 'process_assignments_and_deletions@da/compiler/incgen.py', 'description': 'Generate stub and hook for assignments and deletions.\n\nThis should be called after the query parameters have been accumulated.', 'signature': 'def process_assignments_and_deletions(state):'}</s>{'name': 'pyCall@da/compiler/pygen.py', ...
0
{'name': 'GefCommand.load_extra_plugins@gef.py', 'description': 'Load the plugins from the gef-extras setting. Returns the number of new plugins added.', 'signature': 'def load_extra_plugins(self, extra_plugins_dir: pathlib.Path | None = None) -> int:'}</s>{'name': 'GlibcHeapSetArenaCommand@gef.py', 'description': 'Set...
0
{'name': 'CheckHeaderFileIncluded@tools/cpplint.py', 'description': 'Logs an error if a source file does not include its header.', 'signature': 'def CheckHeaderFileIncluded(filename, include_state, error):'}</s>{'name': 'CloseExpression@tools/cpplint.py', 'description': "If input points to ( or { or [ or <, finds the p...
0
{'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': 'GTestHelpTest.TestHelpFlag@Engine/lib/assimp/contrib/googletest/googletest/test/gtest_help_test.py', 'description': 'Verifies correct behavior when help flag is specified.\n\nThe right message must be printed and the tests must\nskipped when the given flag is specified.\n\nArgs:\n flag: A flag to pass to th...
1
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
0
{'name': 'pipe.__gt__@syntax_sugar/_pipe.py', 'description': "pipe > 'filename'", 'signature': 'def __gt__(self, rhs):'}</s>process_syntax = ProcessSyntax()
0
{'name': 'Telnet.process_rawq@soundrts/batteries/telnetlib.py', 'description': "Transfer from raw queue to cooked queue.\n\nSet self.eof when connection is closed. Don't block unless in\nthe midst of an IAC sequence.", 'signature': 'def process_rawq(self):'}</s>EC = bytes([247])
0
{'name': 'TransformerDecoder.output_layer@fairseq/models/hubert/hubert_asr.py', 'description': 'Project features to the vocabulary size.', 'signature': 'def output_layer(self, features, **kwargs):'}</s>{'name': 'FileContentsAction@fairseq/utils.py', 'description': 'DOCSTRING', 'base_classes': ['argparse.Action'], 'meth...
0
{'name': 'PostArticleCtrl.new_post_action@back/controller/posts.py', 'description': '添加博文\n:param author_id: int,\n:param category_id: int,\n:param all_tags_for_new_post: list\n:param title: str,\n:param raw_slug: str,\n:param body_id: int\n:param weight:\n:return: post对象', 'signature': 'def new_post_action(self, autho...
0
{'name': 'BareValidator._error@cerberus/validator.py', 'description': "Creates and adds one or multiple errors.\n\n:param args: Accepts different argument's signatures.\n\n *1. Bulk addition of errors:*\n\n - :term:`iterable` of\n :class:`~cerberus.errors.ValidationError`-instances...
1
{'name': 'Swagger.as_dict@flask_restx/swagger.py', 'description': 'Output the specification as a serializable ``dict``.\n\n:returns: the full Swagger specification in a serializable format\n:rtype: dict', 'signature': 'def as_dict(self):'}</s>DEFAULT_RESPONSE = {"description": DEFAULT_RESPONSE_DESCRIPTION}
0
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inline=False):'}</s>...
0
{'name': 'AdbDevice._clse@adb_shell/adb_device.py', 'description': "Send a ``b'CLSE'`` message and then read a ``b'CLSE'`` message.\n\n.. warning::\n\n This is not to be confused with the :meth:`AdbDevice.close` method!\n\n\nParameters\n----------\nadb_info : _AdbTransactionInfo\n Info and settings for this ADB tr...
0
{'name': 'Scheduler.check_task_status@spider/core/scheduler.py', 'description': '检查任务状态 预警', 'signature': 'def check_task_status(self):'}</s>PARSER_TASK_COUNT = 1
0
{'name': 'vae@graphlearning/weightmatrix.py', 'description': "Variational Autoencoder Embedding\n======\n\nEmbeds a dataset via a two layer variational autoencoder (VAE) latent representation. The VAE\nis essentially the original one from [1].\n\nParameters\n----------\ndata : numpy array\n (n,d) array of n datapoin...
0
{'name': 'test_imf3@tests/tests.py', 'description': 'Make sure that changing the (upper) imf changes the parameter dirtiness\nand also the SSP spectrum', 'signature': 'def test_imf3(pop_and_params):'}</s>{'name': 'test_filters@tests/tests.py', 'description': 'Test all the filters got transmission data loaded.', 'code':...
0
{'name': 'assign_thumbor_url@django_thumbor/templatetags/thumbor_tags.py', 'description': 'Allows assigning the generated url to a template variable.\n\n{% assign_thumbor_url image_url="/test/pic.jpg" width=300 as thumbnail %}', 'signature': 'def assign_thumbor_url(image_url, **kwargs):'}</s>has_assignment_tag = hasatt...
0
{'name': 'document@llvm-12.0.0-project/clang/tools/scan-build-py/libscanbuild/report.py', 'description': 'Generates cover report and returns the number of bugs/crashes. ', 'signature': 'def document(args):'}</s>{'name': 'commonprefix@llvm-12.0.0-project/clang/tools/scan-build-py/libscanbuild/report.py', 'description': ...
0
{'name': 'CheckPrintf@tools/cpplint.py', 'description': 'Check for printf related issues.\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.', 'signature': 'd...
0
{'name': 'Type.get_ref_qualifier@llvm-12.0.0-project/clang/bindings/python/clang/cindex.py', 'description': 'Retrieve the ref-qualifier of the type.', 'signature': 'def get_ref_qualifier(self):'}</s>{'name': 'CCRStructure@llvm-12.0.0-project/clang/bindings/python/clang/cindex.py', 'description': 'DOCSTRING', 'base_clas...
0
{'name': 'provider_group_factory@notifiers_cli/core.py', 'description': 'Dynamically generate provider groups for all providers, and add all basic command to it', 'signature': 'def provider_group_factory():'}</s>{'name': '_resources@notifiers_cli/utils/callbacks.py', 'description': 'Callback func to display provider re...
1
{'name': 'InputsTest.test_error_with_bad_eval_model_config@object_detection/inputs_test.py', 'description': 'Tests that a TypeError is raised with improper eval model config.', 'signature': 'def test_error_with_bad_eval_model_config(self):'}</s>{'name': '_maybe_update_config_with_key_value@object_detection/utils/config...
0
{'name': 'Connection.is_writeable@runner/tez/apache-hive-0.13.0.2.1.0.0-92-bin/lib/py/thrift/server/TNonblockingServer.py', 'description': 'Returns True if connection should be added to write list of select.', 'signature': 'def is_writeable(self):'}</s>{'name': 'Worker@runner/tez/apache-hive-0.13.0.2.1.0.0-92-bin/lib/p...
0
{'name': 'buildTreesForView@xpath.py', 'description': 'Create an xml tree for each XML region in the specified view.', 'signature': 'def buildTreesForView(view):'}</s>{'name': 'remove_item_from_xpath_query_history@xpath.py', 'description': 'If the given query exists in the history for the given key, remove it.', 'code'...
0
{'name': 'taproot_construct@test/functional/test_framework/script.py', 'description': 'Construct a tree of Taproot spending conditions\n\npubkey: a 32-byte xonly pubkey for the internal pubkey (bytes)\nscripts: a list of items; each item is either:\n - a (name, CScript or bytes, leaf version) tuple\n - ...
0
{'name': 'test_system_generator@openmoltools/tests/test_forcefield_generators.py', 'description': 'Test SystemGenerator.', 'signature': 'def test_system_generator():'}</s>{'name': 'gaffTemplateGenerator@openmoltools/forcefield_generators.py', 'description': 'OpenMM ForceField residue template generator for GAFF/AM1-BCC...
0
{'name': 'rdf_type_candidates@utils/query_graph_to_sparql.py', 'description': ' Takes in path ID (continous IDs, not glove vocab).\n And return type candidates (in continous IDs)\n based on whether we want URI or X candidates\n:param data:\n:param path_id:\n:param relations:\n:param reverse_vocab:\n:param ...
0
{'name': 'YAML.__init__@strictyaml/ruamel/main.py', 'description': "_kw: not used, forces keyword arguments in 2.7 (in 3 you can do (*, safe_load=..)\ntyp: 'rt'/None -> RoundTripLoader/RoundTripDumper, (default)\n 'safe' -> SafeLoader/SafeDumper,\n 'unsafe' -> normal/unsafe Loader/Dumper\n 'base' ->...
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': '_coerce_seq@src/api/python/z3/z3.py', 'des...
0
{'name': 'field_rgb@grizli/pipeline/auto_script.py', 'description': "RGB image of the field mosaics\n\nParameters\n----------\n\nroot : str\n Field rootname\n\nxsize : float\n Figure size\n\noutput_dpi : int\n Figure DPI\n\nHOME_PATH : str\n Path to look for mosaic files\n\nshow_ir : bool\n Clip around W...
0
{'name': 'Hist@reference/ThinkDSP/code/thinkplot.py', 'description': "Plots a Pmf or Hist with a bar plot.\n\nThe default width of the bars is based on the minimum difference\nbetween values in the Hist. If that's too small, you can override\nit by providing a width keyword argument, in the same units\nas the values.\...
0
{'name': 'main@selection_pipeline/multipipeline.py', 'description': 'Main function for multi_population\n\nReads config and options and runs the multi_population\npipeline', 'signature': 'def main():'}</s>{'name': 'check_executables_and_scripts_exist@selection_pipeline/multipipeline.py', 'description': 'Check the execu...
1
{'name': 'Metafunc.parametrize@tests/_lib_vendors/_pytest/python.py', 'description': "Add new invocations to the underlying test function using the list\nof argvalues for the given argnames. Parametrization is performed\nduring the collection phase. If you need to setup expensive resources\nsee about setting indirect...
0
{'name': 'GenericSimpleClauseState.getEntry@util/py_lib/seqan/dox/dox_parser.py', 'description': 'Returns the Entry for the brief clause.', 'signature': 'def getEntry(self):'}</s>{'name': 'BriefState@util/py_lib/seqan/dox/dox_parser.py', 'description': 'Handler for the @brief clause.', 'base_classes': ['GenericSimpleCl...
0
{'name': 'Expression.statement@da/compiler/dast.py', 'description': 'The first statement parent of this expression, if any.\n\n ', 'signature': 'def statement(self):'}</s>{'name': 'IfStmt@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['CompoundStmt'], 'methods': [{'name': 'IfStmt.__init__@da/...
0
{'name': 'server@lib/ycmd_handler.py', 'description': 'return singleton server instance and load extra configuration.', 'signature': 'def server(filepath=None):'}</s>{'name': 'MsgTemplates@lib/msgs.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': []}
1
{'name': 'SAMLIdentityProvider.get_user_details@third_party/social_core/backends/saml.py', 'description': 'Given the SAML attributes extracted from the SSO response, get\nthe user data like name.', 'signature': 'def get_user_details(self, attributes):'}</s>OID_GIVEN_NAME = "urn:oid:2.5.4.42"
1
{'name': 'ProcessFileData@third_party/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, each rep...
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': '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': 'minimize_constrained@ipsolver/_minimize_constrained.py', 'description': 'Minimize scalar function subject to constraints.\n\nParameters\n----------\nfun : callable\n The objective function to be minimized.\n\n fun(x) -> float\n\n where x is an array with shape (n,).\nx0 : ndarray, shape (n,)\n ...
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>MQBALSTATE_OK = 2
0
{'name': 'TrimmedMatchDesignTest.testOutputCandidateDesignWithMissingObservation@trimmed_match/design/tests/trimmed_match_design_test.py', 'description': 'Checks that no error is raised if missing observation are present.', 'signature': 'def testOutputCandidateDesignWithMissingObservation(self):'}</s>{'name': 'calculat...
0
{'name': 'User.christmas_mode@src/astrobotany/models.py', 'description': 'Return if the user is in "christmas" mode.\n\nCache the results because this is a relatively expensive query that\nwill be checked multiple times per request.', 'signature': 'def christmas_mode(self) -> bool:'}</s>green_petal = Petal("green")
0
{'name': 'define@vendor/attr/_next_gen.py', 'description': 'Define an ``attrs`` class.\n\nDifferences to the classic `attr.s` that it uses underneath:\n\n- Automatically detect whether or not *auto_attribs* should be `True`\n (c.f. *auto_attribs* parameter).\n- If *frozen* is `False`, run converters and validators whe...
0
{'name': 'render_newline@lookatme/render/markdown_block.py', 'description': 'Render a newline\n\nSee :any:`lookatme.tui.SlideRenderer.do_render` for argument and return\nvalue descriptions.', 'signature': 'def render_newline(token, body, stack, loop):'}</s>{'name': 'flatten_text@lookatme/utils.py', 'description': 'Retu...
0
{'name': 'FittedMultiCompartmentModel.peaks_cartesian@dmipy/core/fitted_modeling_framework.py', 'description': 'Returns the cartesian peak unit vectors of the model.', 'signature': 'def peaks_cartesian(self):'}</s>{'name': 'estimate_spherical_mean_multi_shell@dmipy/utils/spherical_mean.py', 'description': 'Estimates th...
0
{'name': 'main@vaxrank/cli.py', 'description': 'Script to generate vaccine peptide predictions from somatic cancer variants,\npatient HLA type, and tumor RNA-seq data.\n\nExample usage:\n vaxrank\n --vcf somatic.vcf --bam rnaseq.bam --vaccine-peptide-length 25 --output-csv ...
1
{'name': 'get_color@src/czml3/types.py', 'description': 'Determines if the input is a valid color', 'signature': 'def get_color(color) -> list[float] | None:'}</s>{'name': 'CartographicRadiansListValue@src/czml3/types.py', 'description': 'A list of geodetic, WGS84 positions specified as [Longitude, Latitude, Height, Lo...
0
{'name': 'TranscriptionEvaluationMixin.compute_wer@montreal_forced_aligner/transcription/transcriber.py', 'description': 'Evaluates the transcripts if there are reference transcripts\n\nRaises\n------\n:class:`~montreal_forced_aligner.exceptions.KaldiProcessingError`\n If there were any errors in running Kaldi binar...
1
{'name': 'untar@scripts/test/support.py', 'description': 'Returns True if untar content differs from pre-existing outdir content.', 'signature': 'def untar(tarfile, outdir):'}</s>{'name': 'split_wast@scripts/test/support.py', 'description': 'DOCSTRING', 'code': 'def split_wast(wastFile):\n # if it\'s a binary, leave...
0
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
0
{'name': 'Downsampling.forward@models/blocks.py', 'description': ':param pos: (B, N, 3)\n:param x: (B, N, d)\n:return (B, rN, d)', 'signature': 'def forward(self, pos, x):'}</s>{'name': 'get_knn_idx@models/utils.py', 'description': ':param pos: (B, N, F)\n:param query: (B, M, F)\n:return knn_idx: (B, ...
0
{'name': 'test_marker_hashable@voluptuous/tests/tests.py', 'description': 'Verify that you can get schema keys, even if markers were used', 'signature': 'def test_marker_hashable():'}</s>{'name': 'test_range_no_upper_limit@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': 'def test_range_no_upper_limit():...
0
{'name': '_mvbuf@lmdb/cffi.py', 'description': 'Convert a MDB_val cdata to a CFFI buffer object.', 'signature': 'def _mvbuf(mv):'}</s>{'name': 'MemoryError@lmdb/cffi.py', 'description': 'Out of memory.', 'base_classes': ['Error'], 'methods': []}
0
{'name': 'swaggerCheck@apim-traffic-tool/lib/traffic-tool/src/python/create_api_scenario.py', 'description': 'This function will check if the swagger definitions exist for all APIs\n:return: True if exists. False otherwise', 'signature': 'def swaggerCheck():'}</s>{'name': 'removeUserSOAP@apim-traffic-tool/lib/traffic-t...
0
{'name': '_covhelper@venv/Lib/site-packages/numpy/ma/extras.py', 'description': 'Private function for the computation of covariance and correlation\ncoefficients.', 'signature': 'def _covhelper(x, y=None, rowvar=True, allow_masked=True):'}</s>{'name': '_recursive_guard@venv/Lib/site-packages/numpy/core/arrayprint.py', ...
0
{'name': 'ZiGate.write_attribute_request@zigate/core.py', 'description': 'Write Attribute request\nattribute could be a tuple of (attribute_id, attribute_type, data)\nor a list of tuple (attribute_id, attribute_type, data)', 'signature': 'def write_attribute_request(self, addr, endpoint, cluster, attributes,'}</s>{'nam...
0
{'name': 'leap@src/convertdate/persian.py', 'description': 'Is a given year a leap year in the Persian calendar ?', 'signature': 'def leap(year):'}</s>{'name': 'equinox_jd@src/convertdate/persian.py', 'description': 'Calculate Julian day during which the March equinox, reckoned from the\nTehran meridian, occurred for a...
0
{'name': 'InstanceGroupsAction.delete_instance_groups@qingcloud/iaas/actions/instance_groups.py', 'description': 'Delete the specific instance group.\n@param instance_groups: An id list contains the group(s) id which will be deleted.', 'signature': 'def delete_instance_groups(self, instance_groups,'}</s>ACTION_GET_DNS_...
0
{'name': 'GroupFLT.subtract_median_filter@grizli/multifit.py', 'description': 'Remove a median filter calculated along the dispersion axis.\n\nParameters\n----------\nfilter_size : int\n Size of the median filter.\n\nfilter_central : int\n Mask the central `filter_central` pixels of the filter.\n\nrevert : bool\n...
0
{'name': 'ClusterAction.start_clusters@qingcloud/iaas/actions/cluster.py', 'description': 'Start one or more clusters.\n@param clusters: the array of clusters IDs.', 'signature': 'def start_clusters(self, clusters,'}</s>ACTION_DELETE_SECURITY_GROUP_IPSETS = "DeleteSecurityGroupIPSets"
0
{'name': 'collect@cspreports/summary.py', 'description': 'Collect the CSP report.\n\n@returntype: CspReportSummary', 'signature': 'def collect(since, to, top=DEFAULT_TOP):'}</s>CSPReport = get_report_model()
1
{'name': '_mvbuf@lmdb/cffi.py', 'description': 'Convert a MDB_val cdata to a CFFI buffer object.', 'signature': 'def _mvbuf(mv):'}</s>{'name': 'NotFoundError@lmdb/cffi.py', 'description': 'No matching key/data pair found.\n\nNormally py-lmdb indicates a missing key by returning ``None``, or a\nuser-supplied default val...
0
{'name': 'declarative_validator@src/penn_chime/model/parameters.py', 'description': 'Validator.', 'signature': 'def declarative_validator(cast):'}</s>{'name': 'Rate@src/penn_chime/model/validators/validators.py', 'description': 'A rate in [0,1].', 'base_classes': ['Validator'], 'methods': [{'name': 'Rate.__init__@src/p...
0