text
string
label
int64
{'name': 'get_corp_query_geetest_validate_input@geetest_online/geetest_online.py', 'description': '[105,102,40,33,104,97,115,86,97,108,105,100,41,123,98,114,111,119,115,101,\n114,95,118,101,114,115,105,111,110,40,123,32,118,97,108,117,101,58,32,53,\n48,48,49,56,49,48,56,53,125,41,59,104,97,115,86,97,108,105,100,61,\n11...
0
{'name': '_import_xml@contrib/xml/xmlio.py', 'description': 'Returns the Tulip data structure contained in a parsed XML file.', 'signature': 'def _import_xml('}</s>maybe_float = float | None
0
{'name': 'CheckForNonConstReference@third_party/cpplint/cpplint.py', 'description': 'Check for non-const references.\n\nSeparate from CheckLanguage since it scans backwards from current\nline, instead of scanning forward.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance conta...
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': 'TopLevelMixin.transform_fold@altair/vegalite/v5/api.py', 'description': 'Add a FoldTransform to the spec.\n\nParameters\n----------\nfold : List(string)\n An array of data fields indicating the properties to fold.\nas : [string, string]\n The output field names for the key and value properties produced ...
0
{'name': 'ListingManager.__and__@material/plugins/tags/structure/listing/manager/__init__.py', 'description': 'Iterate over the tag references for the mapping.\n\nArguments:\n mapping: The mapping.\n\nYields:\n The current tag reference.', 'signature': 'def __and__(self, mapping: Mapping) -> Iterator[TagReference...
0
{'name': 'process_value@rivalcfg/handlers/rgbgradient.py', 'description': 'Called by the :class:`rivalcfg.mouse.Mouse` class when processing a\n"rgbgradient" type setting.\n\n:param dict setting_info: The information dict of the setting from the\n device profile.\n:param str,tuple,list,dict col...
1
{'name': 'expr_value@tools/kconfig_new/kconfiglib.py', 'description': "Evaluates the expression 'expr' to a tristate value. Returns 0 (n), 1 (m),\nor 2 (y).\n\n'expr' must be an already-parsed expression from a Symbol, Choice, or\nMenuNode property. To evaluate an expression represented as a string, use\nKconfig.eval_s...
0
{'name': 'call@linodecli/plugins/obj/__init__.py', 'description': 'This is called when the plugin is invoked', 'signature': 'def call('}</s>{'name': 'CLI@linodecli/cli.py', 'description': 'Responsible for loading or baking a spec and handling incoming commands', 'base_classes': [], 'methods': [{'name': 'CLI.__init__@li...
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>MQ_SSL_HANDSHAKE_STAGE_LENGTH = 32
0
{'name': 'test_make_pod_with_scheduler_name@tests/test_objects.py', 'description': 'Test specification of the simplest possible pod specification with non-default scheduler name', 'signature': 'def test_make_pod_with_scheduler_name():'}</s>{'name': 'test_bad_pod_security_context_container@tests/test_objects.py', 'descr...
0
{'name': 'IUZone.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this zone as a dict', 'signature': 'def as_dict(self, extended=False) -> OrderedDict:'}</s>MONTHS = [ "jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "o...
0
{'name': 'CortexM.read_core_registers_raw@pyocd/coresight/cortex_m.py', 'description': 'Read one or more core registers\n\nRead core registers in reg_list and return a list of values.\nIf any register in reg_list is a string, find the number\nassociated to this register in the lookup table CORE_REGISTER.', 'signature':...
0
{'name': 'ToysCalculator.ntoysnull@src/hepstats/hypotests/calculators/basecalculator.py', 'description': 'Set the number of toys generated for the null hypothesis.\n\nArgs:\n n: number of toys', 'signature': 'def ntoysnull(self, n: int):'}</s>{'name': 'HypotestsObject@src/hepstats/hypotests/hypotests_object.py', 'de...
0
{'name': 'main@run.py', 'description': 'Main function ', 'signature': 'def main():'}</s>ROCKET = " . .d$ . d$$ : .$$$ :$$$ : Download multiple courses $$$$ : at a time, just paste all the $$$$ : urls in Bulk ...
1
{'name': 'DebugCmd.list_source@DebugLibrary/debugcmd.py', 'description': 'List source code.', 'signature': 'def list_source(self, longlist=False):'}</s>{'name': 'get_builtin_libs@DebugLibrary/robotlib.py', 'description': 'Get robotframework builtin library names.', 'code': 'def get_builtin_libs():\n """Get robotfram...
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]) -> ...
1
{'name': 'babel_extract@blockchain-env/lib/python3.7/site-packages/jinja2/ext.py', 'description': 'Babel extraction method for Jinja templates.\n\n.. versionchanged:: 2.3\n Basic support for translation comments was added. If `comment_tags`\n is now set to a list of keywords for extraction, the extractor will\n ...
0
{'name': 'format_table@aegea/util/printing.py', 'description': 'Table pretty printer. Expects tables to be given as arrays of arrays::\n\n print(format_table([[1, "2"], [3, "456"]], column_names=[\'A\', \'B\']))', 'signature': 'def format_table(table, column_names=None, column_specs=None, max_col_width=32, auto_col_...
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': 'PacketFilter.set_limit@pf/filter.py', 'description': "Set hard limits on the memory pools used by Packet Filter.\n\n'limit' can be either one of the PF_LIMIT_* constants or a string; a\n'value' of UINT_MAX means unlimited. Raise PFError if the current pool\nsize exceeds the requested hard limit.", 'signature'...
0
{'name': '_NestingState.UpdatePreprocessor@compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Update preprocessor stack.\n\nWe need to handle preprocessors due to classes like this:\n #ifdef SWIG\n struct ResultDetailsPageElementExtensionPoint {\n #else\n struct ResultDetailsPageElementExtensionP...
0
{'name': 'Win32Serial._reconfigurePort@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Set communication parameters on opened port.', 'signature': 'def _reconfigurePort(self):'}</s>EscapeCommFunction = _stdcall_libraries['kernel32'].EscapeCommFunction
0
{'name': 'prepare_prior@bambi/model_components.py', 'description': 'Helper function to correctly set default priors and auto scaling\n\nParameters\n----------\nprior : Prior or None\n The prior.\nkind : string\n Accepted values are: `"intercept"`, `"common"`, or `"group_specific"`.\nauto_scale : bool\n Whether...
0
{'name': 'LibcxxMultiMapDataFormatterTestCase.test_with_run_command@lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py', 'description': 'Test that that file and class static variables display correctly.', 'signature': 'def test_with_ru...
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': 'Numeral.__rgt__@src/api/python/z3/z3num.py', 'description': 'Return True if `other > self`.\n\n>>> 2 > Numeral(Sqrt(2))\nTrue', 'signature': 'def __rgt__(self, other):'}</s>{'name': 'CheckSatResult@src/api/python/z3/z3.py', 'description': 'Represents the result of a satisfiability check: sat, unsat, unknown.\...
0
{'name': 'phenotypic_phase_plane@cameo/flux_analysis/analysis.py', 'description': "Phenotypic phase plane analysis [1].\n\nImplements a phenotypic phase plan analysis with interpretation same as\nthat presented in [1] but calculated by optimizing the model for all\nsteps of the indicated variables (instead of using sha...
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': 'skosify@skosify/skosify.py', 'description': 'Convert, extend, and check SKOS vocabulary.', 'signature': 'def skosify(*sources, **config):'}</s>{'name': 'Config@skosify/config.py', 'description': 'Internal class to store and access configuration.', 'base_classes': ['object'], 'methods': [{'name': 'Config.__ini...
1
{'name': 'resnet18@src/models/resnet.py', 'description': 'Constructs a ResNet-18 model.\n\nArgs:\n pretrained (bool): If True, returns a model pre-trained on ImageNet', 'signature': 'def resnet18(pretrained=False, **kwargs):'}</s>{'name': 'BasicBlock@src/models/resnet.py', 'description': 'DOCSTRING', 'base_classes':...
1
{'name': 'initialize_runtime_options@da/common.py', 'description': "Sets and sanitizes runtime options.\n\n'options' should be a dict-like object containing mappings from options\nnames to corresponding values.", 'signature': 'def initialize_runtime_options(options=None):'}</s>{'name': 'pid_of_node@da/common.py', 'desc...
0
{'name': 'wrap_element@python/basix/ufl.py', 'description': 'Wrap a Basix element as a Basix UFL element.', 'signature': 'def wrap_element(element: _basix.finite_element.FiniteElement) -> _ElementBase:'}</s>{'name': '_ElementBase@python/basix/ufl.py', 'description': 'A base wrapper to allow elements to be used with UFL...
1
{'name': 'GeneratedProtocolMessageType.__init__@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': "Here we perform the majority of our work on the class.\nWe add enum getters, an __init__ method, implementations\nof all Message methods, and properties for all field...
0
{'name': '_DecodeUnknownField@python/google/protobuf/internal/decoder.py', 'description': 'Decode a unknown field. Returns the UnknownField and new position.', 'signature': 'def _DecodeUnknownField('}</s>{'name': 'UnpackTag@python/google/protobuf/internal/wire_format.py', 'description': 'The inverse of PackTag(). Giv...
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': 'test_multimodal_predict_on_public_models@tests/public_models/test_public_models_predicts.py', 'description': 'Test multimodal models.\nCurrently supporting only text and image inputs.', 'signature': 'def test_multimodal_predict_on_public_models(channel):'}</s>{'name': 'add_V2Servicer_to_server@clarifai_grpc/g...
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': 'test_c@tests/models/weng_lin/test_thurstone_mosteller_full.py', 'description': 'Ensure the c function from Thurstone-Mosteller Full Pairing works as expected.', 'signature': 'def test_c() -> None:'}</s>{'name': '_gamma@openskill/models/weng_lin/thurstone_mosteller_full.py', 'description': "Default gamma funct...
0
{'name': 'extcap_interfaces@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'List available interfaces to capture from', 'signature': 'def extcap_interfaces():'}</s>{'name': 'listToString@tools/ble_sniffer/extcap/SnifferAPI/Devices.py', 'description': 'DOCSTRING', 'code': 'def listToString(list):\n str ...
0
{'name': 'render_report@sc_scripts_demo/bin/check_jobs.py', 'description': 'Build a text report for the jobs with errors\n ', 'signature': 'def render_report(jobs_with_error):'}</s>{'name': 'is_job_newer_than@sc_scripts_demo/bin/check_jobs.py', 'description': 'DOCSTRING', 'code': "def is_job_newer_than(job, since_ti...
0
{'name': 'noncritical@PFERD/crawl/crawler.py', 'description': "Catches and logs a few noncritical exceptions occurring during the function\ncall, mainly CrawlWarning.\n\nIf any exception occurs during the function call, the crawler's error_free\nvariable is set to False. This includes noncritical exceptions.\n\nWarning...
1
{'name': 'unpackCommand@fwtool.py', 'description': 'Extracts the input file to the specified directory', 'signature': 'def unpackCommand(file, outDir):'}</s>{'name': '_findDecryptFunc@fwtool/sony/dslr.py', 'description': 'DOCSTRING', 'code': 'def _findDecryptFunc(file):\n file.seek(0)\n data = file.read(DslrFirmwareHea...
0
{'name': 'CheckStyle@tools/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces inside code, etc.\n\nArgs:\n f...
0
{'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': 'crackline@venv/Lib/site-packages/numpy/f2py/crackfortran.py', 'description': 'reset=-1 --- initialize\nreset=0 --- crack the line\nreset=1 --- final check if mismatch of blocks occurred\n\nCracked data is saved in grouplist[0].', 'signature': 'def crackline(line, reset=0):'}</s>{'name': 'islong_double@ve...
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': 'FakeProcess.register@pytest_subprocess/fake_process.py', 'description': 'Main method for registering the subprocess instances.\n\nArgs:\n command: register the command that will be faked\n stdout: value of the standard output\n stderr: value of the error output\n returncode: return code of the fak...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQACTT_UNIX_NUMERIC_ID = b'\x06'
0
{'name': 'WXPush.send_template@wx_push.py', 'description': '向用户发送模板消息', 'signature': 'def send_template(wx_appid, wx_app_secret, token, template_id, openid, title, text):'}</s>{'name': 'get_pushkit_p12@models/application.py', 'description': 'DOCSTRING', 'code': 'def get_pushkit_p12(mysql, appid):\n for i in range(2)...
0
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>{'name': 'pf_queue_fqspec@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []}
0
{'name': 'on_set_race_format@src/server/server.py', 'description': 'set current race_format ', 'signature': 'def on_set_race_format(data):'}</s>{'name': 'on_cluster_message_ack@src/server/server.py', 'description': 'Received message acknowledgement from primary. ', 'code': "def on_cluster_message_ack(data):\n ''' Re...
0
{'name': 'LayoutViewSet.create@vulfocus-api/layout_image/views.py', 'description': '创建编排环境信息', 'signature': 'def create(self, request, *args, **kwargs):'}</s>{'name': 'download_layout_image@vulfocus-api/layout_image/views.py', 'description': 'DOCSTRING', 'code': 'def download_layout_image(request):\n user = request....
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIACF_APPL_IMMOVABLE_COUNT = 1432
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_CBL2 = 85
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': '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': 'ImmediateManager.startup@marrow/mailer/manager/immediate.py', 'description': 'Perform startup actions.\n\nThis just chains down to the transport layer.', 'signature': 'def startup(self):'}</s>{'name': 'TransportPool@marrow/mailer/manager/util.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'metho...
0
{'name': 'FletcherBaseArray.__array_ufunc__@fletcher/base.py', 'description': 'Apply a NumPy ufunc on the ExtensionArray.', 'signature': 'def __array_ufunc__(self, ufunc, method: str, *inputs, **kwargs):'}</s>{'name': 'StringSupportingExtensionArray@fletcher/string_mixin.py', 'description': 'DOCSTRING', 'base_classes':...
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': 'buildTreesForView@xpath.py', 'description': 'Create an xml tree for each XML region in the specified view.', 'signature': 'def buildTreesForView(view):'}</s>settings = None
0
{'name': 'PollingFuture._invoke_callbacks@stream/clients/python/bookkeeper/common/future/polling.py', 'description': 'Invoke all done callbacks.', 'signature': 'def _invoke_callbacks(self, *args, **kwargs):'}</s>{'name': 'BadRequest@stream/clients/python/bookkeeper/common/exceptions.py', 'description': 'Exception mappi...
0
{'name': '_populate_face_centerpoints@uxarray/grid/coordinates.py', 'description': "Calculates the face centerpoints using Welzl's algorithm. It is a\nrandomized algorithm for finding the center and radius of the smallest\ncircle that encloses a set of points. It is here adapted to work on a unit\nsphere. Also, this al...
0
{'name': 'evaluate_scan@lndrest.py', 'description': 'Evaluates the scanned qr code for Lightning invoices.\n ', 'signature': 'def evaluate_scan(qrcode):'}</s>{'name': 'decode_request@lndrest.py', 'description': 'Decodes a BOLT11 invoice\n ', 'code': 'def decode_request(payment_request):\n """Decodes a BOLT11 i...
0
{'name': 'CScript.GetSigOpCount@qa/rpc-tests/test_framework/script.py', 'description': 'Get the SigOp count.\n\nfAccurate - Accurately count CHECKMULTISIG, see BIP16 for details.\n\nNote that this is consensus-critical.', 'signature': 'def GetSigOpCount(self, fAccurate):'}</s>OP_SUB = CScriptOp(0x94)
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>{'name': 'DvzImageFlags@datoviz/__in...
0
{'name': '_insert_newlines@n26/cli.py', 'description': 'Inserts a newline into the given text every n characters.\n:param text: the text to break\n:param n:\n:return:', 'signature': 'def _insert_newlines(text: str, n=40):'}</s>BASIC_AUTH_HEADERS = {"Authorization": "Basic bmF0aXZld2ViOg=="}
0
{'name': 'TestDefiningRecipes.test_prepare_recipes_with_args@tests/test_recipes.py', 'description': 'Overriding some fields values at recipe execution', 'signature': 'def test_prepare_recipes_with_args(self):'}</s>{'name': 'get_required_values@model_mommy/mommy.py', 'description': 'Gets required values for a generator ...
0
{'name': 'FootnoteExtension.extendMarkdown@source-builder/sb/markdown/extensions/footnotes.py', 'description': 'Add pieces to Markdown. ', 'signature': 'def extendMarkdown(self, md, md_globals):'}</s>{'name': 'isBlockLevel@source-builder/sb/markdown/util.py', 'description': 'Check if the tag is a block level HTML tag.'...
0
{'name': 'main@verify_security_groups.py', 'description': 'Main Python function to attach security group to ENIs. Responsible for:\n1. Identifying current account id, region.\n2. Importing CSV file and loading into state.\n3. Comparing CSV ARN entry with AWS current ID and Region.\n4. Identifying Security Group ID and ...
1
{'name': '_generate_and_predict@run/mutate_lemon.py', 'description': 'Generate models using mutate operators and store them', 'signature': 'def _generate_and_predict(res_dict, filename, mutate_num, mutate_ops, test_size, exp, backends):'}</s>{'name': 'MCMC@scripts/tools/mutator_selection_logic.py', 'description': 'DOCS...
0
{'name': 'FletcherBaseArray.__array_ufunc__@fletcher/base.py', 'description': 'Apply a NumPy ufunc on the ExtensionArray.', 'signature': 'def __array_ufunc__(self, ufunc, method: str, *inputs, **kwargs):'}</s>{'name': 'extract_isnull_bytemap@fletcher/_algorithms.py', 'description': 'Extract the valid bitmaps of a (chun...
0
{'name': 'LossModel.load_model_parameters@pelicun/model/loss_model.py', 'description': 'Load loss model parameters.\n\nParameters\n----------\ndata_paths: list of (string | DataFrame)\n List of paths to data or files with loss model\n information. Default XY datasets can be accessed as\n PelicunDefault/XY. Ord...
0
{'name': 'walk_async_stack@folly/coro/scripts/co_bt.py', 'description': 'Walks the async stack and returns the next normal stack and async stack\naddresses to walk.', 'signature': 'def walk_async_stack('}</s>{'name': 'info@folly/coro/scripts/co_bt.py', 'description': 'DOCSTRING', 'code': 'def info():\n return f"""Pr...
0
{'name': 'prometheus_metrics@emissionsapi/web.py', 'description': 'Return metrics in OpenMetrics format for Prometheus.\nMetrics are collected using the collectors from `emissionsapi.metrics`.\n\n:return: OpenMetrics data\n:rtype: werkzeug.wrappers.response.Response', 'signature': 'def prometheus_metrics():'}</s>{'name...
0
{'name': 'pairwise@diffxpy/testing/tests.py', 'description': 'Perform pairwise differential expression test between two groups on adata object\nfor each gene for all combinations of pairs of groups.\n\nThis function wraps the selected statistical test for the scenario of\na two sample comparison. All unit_test offered ...
0
{'name': 'CheckComment@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Checks for common mistakes in TODO comments.\n\nArgs:\n comment: The text of the comment from the line in question.\n filename: The name of the current file.\n linenum: The number of the line to check.\n error: The function to call ...
0
{'name': 'HTTPConnectionPool._make_request@Retired Content/MimeCast/SumoLogic-Mimecast-Data-Collection/requests/packages/urllib3/connectionpool.py', 'description': 'Perform a request on a given urllib connection object taken from our\npool.\n\n:param conn:\n a connection from one of our connection pools\n\n:param ti...
0
{'name': '_draw_text_bbox@src/mplhep/plot.py', 'description': "Draw legend() and fetch it's bbox", 'signature': 'def _draw_text_bbox(ax):'}</s>{'name': 'ErrorBarArtists@src/mplhep/plot.py', 'description': 'DOCSTRING', 'base_classes': ['NamedTuple'], 'methods': []}
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>MATCH_SCALL = 115
0
{'name': 'prepare_sample_table_for_atlas@atlas/init/atlas_init.py', 'description': 'Write the file `samples.tsv` and complete the sample names and paths for all\nfiles in `path`.\nArgs:\n path_to_fastq (str): fastq/fasta data directory', 'signature': 'def prepare_sample_table_for_atlas('}</s>{'name': 'validate_s...
1
{'name': 'search@app/twitter_proxy.py', 'description': 'Search for tweets matching the given search text.', 'signature': 'def search(search_text, since_id=None):'}</s>SSM = boto3.client('ssm')
0
{'name': 'overwrites_mem@panoramix/simplify.py', 'description': "for a given line, returns True if it potentially\noverwrites *any part* of memory index, False if it *for sure* doesn't", 'signature': 'def overwrites_mem(line, mem_idx):'}</s>{'name': 'while_uses_mem@panoramix/simplify.py', 'description': 'DOCSTRING', 'c...
0
{'name': 'main_branch_bot_actions@src/oca_github_bot/tasks/main_branch_bot.py', 'description': "Run main branch bot actions on a local git checkout.\n\n'cwd' is the directory containing the root of a local git checkout.", 'signature': 'def main_branch_bot_actions(org, repo, branch, cwd):'}</s>{'name': 'is_addons_dir@sr...
0
{'name': 'Fock@doc/BookChapters/Programs/NeutronMatterCCD_Ladders.py', 'description': 'Fock matrix of momentum pvec in hh space\nparam pvec: 3-component numpy array in inverse fm\nparam s: spin as +/- 1 of state\nparam_sp_basis, Nocc, dk, Lbox : parameters of s.p. basis and system\n\nreturn: Fock matrix element = kinet...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCAMO_LAST_USED = 2715
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>AVX512BW = "avx512bw"
0
{'name': 'verify_flyway_index@config/presubmits.py', 'description': 'Verifies that the Flyway index file is in sync with the directory.', 'signature': 'def verify_flyway_index():'}</s>FLYWAY_FILE_RX = re.compile(r'V(\d+)__.*')
0
{'name': 'plot_cum_error_dist@nelpy/plotting/decoding.py', 'description': 'Plot (and optionally compute) the cumulative distribution of\ndecoding errors, evaluated using a cross-validation procedure.\n\nSee Fig 3.(b) of "Analysis of Hippocampal Memory Replay Using Neural\n Population Decoding", Fabian Kloosterman, 2...
0
{'name': 'CombinedFunction.add_penalty@parsimony/functions/combinedfunctions.py', 'description': 'Add a penalty, i.e. a constraint on the Lagrange form.\n\nParameters\n----------\npenalty : Penalty\n A function that penalises the objective function.\n\naccepts_params : 2-tuple or list of 2-tuples\n The outer func...
0
{'name': 'merge_blocks_job@maf/impl/naiveLiftUp.py', 'description': "Combine the lifted blocks and add in the current genome's sequence.", 'signature': 'def merge_blocks_job(job, genome, child_names, block_ids, hal_id, opts):'}</s>{'name': 'find_split_point@maf/impl/naiveLiftUp.py', 'description': 'Find the position at...
0
{'name': 'Tracker.render_window@predict.py', 'description': '@ob2cam: 4x4 mat ob in opencv cam', 'signature': 'def render_window(self, ob2cam):'}</s>{'name': 'makeCanvas@Utils.py', 'description': '@imgs: list of images, assume same sizes\n@flipBR: flip B and R channel for opencv', 'code': "def makeCanvas(imgs, flipBR=T...
0
{'name': 'reconstruction@Chapter10/helper_functions.py', 'description': 'This function is used to reconstruct sample images for analysis\n:param x: Images\n:param y: Labels\n:param decoder_output: output from decoder\n:param y_pred: predictions from the model\n:param n_samples: num images\n:return: saves the reconstruc...
0
{'name': 'TinyCore._parse_prstatus@tracer/tinycore.py', 'description': 'Parse out the prstatus, accumulating the general purpose register values. Supports X86 and MIPS32 at the moment.\n\n:param prstatus: a note object of type NT_PRSTATUS.', 'signature': 'def _parse_prstatus(self, prstatus):'}</s>{'name': 'TinyCore@tra...
1
{'name': 'FxSwapRateHelperTest.build_curves@test/test_rate_helpers.py', 'description': 'Build all the curves in one call for a specified quote date\n:param quote_date: date for which quotes are valid,\n e.g. Date(26, 8, 2016)', 'signature': 'def build_curves(self, quote_date):'}</s>{'name': 'RateHelpersTestCase@test...
0
{'name': 'ImportErrorTests.test_no_module@didyoumean/didyoumean_sugg_tests.py', 'description': "Should be 'math'.", 'signature': 'def test_no_module(self):'}</s>MEMORYERROR = (MemoryError, '')
0
{'name': 'Pdf.Render@reference/ThinkDSP/code/thinkstats2.py', 'description': 'Generates a sequence of points suitable for plotting.\n\nIf options includes low and high, it must also include n;\nin that case the density is evaluated an n locations between\nlow and high, including both.\n\nIf options includes xs, the den...
0
{'name': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>ICMP_ECHOREPLY = 0
0
{'name': 'create_dataset_pairwise@data_loader.py', 'description': ' This file is meant to create data for core-chain ranking ONLY.\n\n:param file: id_big_data file\n:param max_sequence_length: for padding/cropping\n:param relations: the relations file to backtrack and look up shit.\n:return:\n\nschema decides the ki...
0
{'name': 'load_mnist@Chapter13/ch13.py', 'description': 'Load MNIST data from `path`', 'signature': "def load_mnist(path, kind='train'):"}</s>y_test_pred = model.predict_classes(X_test_centered, verbose=0)
0