text
string
label
int64
{'name': 'data_generator.__iter__@examples/task_reading_comprehension_by_seq2seq.py', 'description': '单条样本格式:[CLS]篇章[SEP]问题[SEP]答案[SEP]\n ', 'signature': 'def __iter__(self, random=False):'}</s>batch_size = 32
1
{'name': 'Metric.compute_on_sql_sql_mode@metrics.py', 'description': 'Executes the query from to_sql() and process the result.', 'signature': 'def compute_on_sql_sql_mode(self, table, split_by=None, execute=None):'}</s>{'name': 'Quantile@metrics.py', 'description': 'Quantile estimator.\n\nAttributes:\n var: Column to ...
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': 'Client.get_player_verify@clashroyale/royaleapi/client.py', 'description': "Check the API Key of a player.\nThis endpoint has been **restricted** to\ncertain members of the community\n\nParameters\n----------\ntag: str\n A valid tournament tag. Minimum length: 3\n Valid characters: 0289PYLQGRJCUV\napikey...
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': 'pure@funcparserlib/parser.py', 'description': "Wrap any object into a parser.\n\nType: `(A) -> Parser[A, A]`\n\nA pure parser doesn't touch the tokens sequence, it just returns its pure `x`\nvalue.\n\nAlso known as `return` in Haskell.", 'signature': 'def pure(x: _A) -> Parser[Any, _A]:'}</s>__all__ = [ "...
0
{'name': 'test_second_hoisted_setting_is_applied@test/io/test_io.py', 'description': 'test that statement_timeout is applied and work_mem is not applied', 'signature': 'def test_second_hoisted_setting_is_applied(defaultenv):'}</s>{'name': 'test_change_statement_timeout@test/io/test_io.py', 'description': 'Statement tim...
0
{'name': 'Display.grab_server@Monika After Story/game/python-packages/Xlib/display.py', 'description': 'Disable processing of requests on all other client connections\nuntil the server is ungrabbed. Server grabbing should be avoided\nas much as possible.', 'signature': 'def grab_server(self, onerror = None):'}</s>Clien...
0
{'name': 'AGraph.successors_iter@pygraphviz/agraph.py', 'description': 'Return iterator over successor nodes of n.\n\nNote: modifying the graph structure while iterating over\nnode successors may produce unpredictable results. Use\nsuccessors() as an alternative.', 'signature': 'def successors_iter(self, n):'}</s>{'na...
0
{'name': 'load_excel@src/attributecode/util.py', 'description': 'Read XLSX at `location`, return a list of ordered dictionaries, one\nfor each row.', 'signature': 'def load_excel(location, worksheet=None):'}</s>{'name': 'unique@src/attributecode/util.py', 'description': 'Return a list of unique items found in sequence....
0
{'name': 'get_test_file@django_afip/factories.py', 'description': 'Helper to get test files.', 'signature': 'def get_test_file(filename: str, mode: str = "r") -> Path:'}</s>{'name': 'DocumentType@django_afip/models.py', 'description': "An AFIP document type.\n\nSee the AFIP's documentation for details on each document ...
0
{'name': 'safe_run2@amptk/process_illumina_folder.py', 'description': 'Call run(), catch exceptions.', 'signature': 'def safe_run2(*args, **kwargs):'}</s>{'name': 'PEsanitycheck@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': 'def PEsanitycheck(R1, R2):\n R1count = line_count(R1)\n R2count = line_count(R2...
0
{'name': 'mutate_fix_var_filter@gp_learner.py', 'description': 'Filters results of fix var mutation in-place.\n\nExcludes:\n- too long literals\n- URIs with encoding errors (real world!)\n- BNode results (they will not be fixed but stay SPARQL vars)\n- NaN or INF literals (Virtuoso bug\n https://github.com/openlink/...
0
{'name': 'BaseRequest.query@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'The :attr:`query_string` parsed into a :class:`FormsDict`. These\nvalues are sometimes called "URL arguments" or "GET parameters", but\nnot to be confused with "URL wildcards" as they are provided by the\n:class:`Router`. ', 's...
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>MQOO_ALTERNATE_USER_AUTHORITY = 4096
0
{'name': 'parse_python_interpreter@onlinejudge_command/subcommand/submit.py', 'description': ':param description: must be for Python', 'signature': 'def parse_python_interpreter(description: str) -> str:'}</s>{'name': '_tokenize_str@onlinejudge_command/pretty_printers.py', 'description': 'DOCSTRING', 'code': "def _toke...
0
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'BVSNegNoOverflow@src/api/python/z3/z3.py', 'description': 'A predicate the determines that bit-vector unary negation does not...
0
{'name': 'nvstrings.rindex@python/nvstrings.py', 'description': 'Same as rfind but throws an error if arg is not found in all strings.\n\nParameters\n----------\nsub : str\n String to find\nstart : int\n Beginning of section to search from.\n Default is 0 (beginning of each string).\nend : int\n End of sect...
0
{'name': 'post_add_arguments@awsume/awsumepy/hookspec.py', 'description': 'post add_arguments hook', 'signature': 'def post_add_arguments(config: dict, arguments: argparse.Namespace, parser: argparse.ArgumentParser):'}</s>{'name': 'get_credentials_with_saml@awsume/awsumepy/hookspec.py', 'description': 'DOCSTRING', 'cod...
0
{'name': 'apply_along_axis@venv/Lib/site-packages/numpy/ma/extras.py', 'description': '(This docstring should be overwritten)', 'signature': 'def apply_along_axis(func1d, axis, arr, *args, **kwargs):'}</s>sqrt = _MaskedUnaryOperation(umath.sqrt, 0.0, _DomainGreaterEqual(0.0))
0
{'name': 'p_identifier_list@ctypesgen/parser/cgrammar.py', 'description': 'identifier_list : IDENTIFIER\n| identifier_list COMMA IDENTIFIER', 'signature': 'def p_identifier_list(p):'}</s>{'name': 'p_abstract_declarator@ctypesgen/parser/cgrammar.py', 'description': 'abstract_declarator : pointer\n| direct_abstract_decla...
0
{'name': '_download_args@ez_setup.py', 'description': 'Return args for download_setuptools function from cmdline args.', 'signature': 'def _download_args(options):'}</s>{'name': 'has_curl@ez_setup.py', 'description': 'DOCSTRING', 'code': "def has_curl():\n cmd = ['curl', '--version']\n with open(os.path.devnull, ...
0
{'name': 'eGetRawS@src/LabJackPython.py', 'description': 'Function not yet implemented.\n\nFor Windows only.', 'signature': 'def eGetRawS(Handle, pIOType, Channel, pValue, x1):'}</s>LJE_STREAM_NOT_RUNNING = 9
0
{'name': 'qald_run@utils/data_preparation_rdf_type.py', 'description': "'\n\nIf the query contains only rdf constraint and no other triple, it will push the rdf type to the\nconstraint candidate and there will be no positive or negative path in the query.\n\n'path_id': [u'+25212']", 'signature': 'def qald_run(test = T...
0
{'name': '_htmlentity_transform@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Transforms an HTML entity to a character.', 'signature': 'def _htmlentity_transform(entity_with_semicolon):'}</s>{'name': 'decode_png@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'DOCSTRING', 'code': ...
0
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>{'name': 'pfioc_qstats@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []}
0
{'name': 'PumpEvents@comtypes/client/_events.py', 'description': "This following code waits for 'timeout' seconds in the way\nrequired for COM, internally doing the correct things depending\non the COM appartment of the current thread. It is possible to\nterminate the message loop by pressing CTRL+C, which will raise\...
0
{'name': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>{'name': 'Float128@src/api/python/z3/z3.py', 'description': 'Floating-point 128-bit (quadruple) sort.', 'code': 'def Float128(ctx=None):\n """Floating-point 128-bit (...
0
{'name': 'get_reader@meza/io.py', 'description': "Gets the appropriate reader for a given file extension.\n\nArgs:\n extension (str): The file extension.\n\nReturns:\n func: The file reading function\n\nSee also:\n `meza.io.read`\n\nRaises:\n TypeError: If unable to find a suitable reader.\n\nExamples:\n ...
0
{'name': 'CrawlResource.render_POST@scrapyrt/resources.py', 'description': ':param request:\n body should contain JSON\n\nRequired keys in JSON posted:\n\n:spider_name: string\n name of spider to be scheduled.\n\n:request: json object\n request to be scheduled with spider.\n Note: request must contain url f...
0
{'name': 'TestSequences.test_increment_for_numbers_2@tests/test_recipes.py', 'description': 'This test is a repeated one but it is necessary to ensure Sequences atomicity', 'signature': 'def test_increment_for_numbers_2(self):'}</s>{'name': 'SmallDogRecipe@tests/generic/mommy_recipes.py', 'description': 'DOCSTRING', 'b...
0
{'name': 'demean@src/python_scripts/afnipy/afni_util.py', 'description': 'demean the vector (in place), from index ibot to index itop\n\n if ibot == -1, ibot will be 0\n if itop == -1, itop will be len-1\n\nreturn 0 on success, 1 on error', 'signature': 'def demean(vec, ibot=-1, itop=-1):'}</s>{'name': 'get_next_indent...
0
{'name': 'run_commands@rf/batch.py', 'description': 'Load files, apply commands and write result files.', 'signature': 'def run_commands(command, commands=(), events=None, inventory=None,'}</s>{'name': 'ParseError@rf/batch.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': []}
1
{'name': 'estimate_fao56@cfg/hass/custom_components/wb_irrigation/sensor.py', 'description': 'Estimate fao56 from weather ', 'signature': 'def estimate_fao56(day_of_year,'}</s>{'name': 'sol_dec@cfg/hass/custom_components/wb_irrigation/pyeto/fao.py', 'description': 'Calculate solar declination from day of the year.\n\n...
1
{'name': 'sys_tags@blockchain-env/lib/python3.7/site-packages/packaging/tags.py', 'description': 'Returns the sequence of tag triples for the running interpreter.\n\nThe order of the sequence corresponds to priority order for the\ninterpreter, from most to least important.', 'signature': 'def sys_tags():'}</s>{'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': 'test_list_validation_messages@voluptuous/tests/tests.py', 'description': 'Make sure useful error messages are available', 'signature': 'def test_list_validation_messages():'}</s>{'name': 'test_schema_decorator_unmatch_with_args@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': 'def test_schema_d...
0
{'name': 'PDFDocument.read_xref_from@pdfminer3/pdfdocument.py', 'description': 'Reads XRefs from the given location.', 'signature': 'def read_xref_from(self, parser, start, xrefs):'}</s>{'name': 'nunpack@pdfminer3/utils.py', 'description': 'Unpacks 1 to 4 or 8 byte integers (big endian).', 'code': 'def nunpack(s, defau...
0
{'name': 'networkd_netdevs@kayobe/plugins/filter/networkd.py', 'description': 'Return a dict representation of networkd NetDev configuration.\n\nThe format is compatible with the systemd_networkd_netdev variable in the\nstackhpc.linux.systemd_networkd role.\n\n:param context: a Jinja2 Context object.\n:param names: Lis...
0
{'name': 'ECKey.sign_ecdsa@test/functional/test_framework/key.py', 'description': 'Construct a DER-encoded ECDSA signature with this key.\n\nSee https://en.wikipedia.org/wiki/Elliptic_Curve_Digital_Signature_Algorithm for the\nECDSA signer algorithm.', 'signature': 'def sign_ecdsa(self, msg, low_s=True, rfc6979=False):...
0
{'name': 'NestingState.Update@scripts/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': '_adjusted_local_rust_target@setuptools_rust/build.py', 'description': "Returns the local rust target for the given `plat_name`, if it is\nnecessary to 'force' a specific target for correctness.", 'signature': 'def _adjusted_local_rust_target(plat_name: str, env: Env) -> Optional[str]:'}</s>{'name': 'Strip@set...
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>MQCACF_CORREL_ID = 3033
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQDCC_SOURCE_ENC_NORMAL = py23long(0x00000010)
0
{'name': 'PytestAsyncioFunction._can_substitute@pytest_asyncio/plugin.py', 'description': 'Returns whether the specified function can be replaced by this class', 'signature': 'def _can_substitute(item: Function) -> bool:'}</s>_MARKER_SCOPE_KWARG_DEPRECATION_WARNING = "The "scope" keyword argument to the asyncio marker ...
0
{'name': 'get_geo_data@emissionsapi/web.py', 'description': "Get data in GeoJSON format.\n\n:param session: SQLAlchemy session\n:type session: sqlalchemy.orm.session.Session\n:param wkt: Well-known text representation of geometry, defaults to None.\n\n:type wkt: string, optional\n:param distance: Distance as defined in...
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': '_AppHandler.__init__@jupyterlab/commands.py', 'description': 'Create a new _AppHandler object', 'signature': 'def __init__(self, options):'}</s>{'name': 'ensure_app@jupyterlab/commands.py', 'description': 'Ensure that an application directory is available.\n\nIf it does not exist, return a list of messages to...
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': 'MsgView._collect_msgs_to_draw@tg/views.py', 'description': 'Tries to collect list of messages that will satisfy `min_msg_padding`\ntheshold. Long messages could prevent other messages from displaying on\nthe screen. In order to prevent scenario when *selected* message moved\nout from the visible area of the s...
1
{'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': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>{'name': 'pfsync_state_key@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []}
0
{'name': '_analyze_directory_for_import@signac/import_export.py', 'description': 'Prepare the data space located at the root directory for import into project.\n\nParameters\n----------\nroot : str\n Path of the root directory.\nproject : :class:`~signac.Project`\n The signac project.\nschema : str, callable, or ...
0
{'name': 'OSClientManager.clean_snapshot@freezer/openstack/osclients.py', 'description': 'Deletes snapshot\n:param snapshot: snapshot name', 'signature': 'def clean_snapshot(self, snapshot):'}</s>{'name': 'alter_proxy@freezer/utils/utils.py', 'description': 'Read proxy option from dictionary and alter the HTTP_PROXY an...
0
{'name': 'on_restart_server@src/server/server.py', 'description': 'Re-execute the current process.', 'signature': 'def on_restart_server():'}</s>{'name': 'on_set_race_format@src/server/server.py', 'description': 'set current race_format ', 'code': 'def on_set_race_format(data):\n \'\'\' set current race_format \'\'\...
0
{'name': 'View.viewconf@src/higlass/api.py', 'description': 'Consumes the current View into a top-level view config.\n\nReturns\n-------\nviewconf : A top-level HiGlass Viewconf.', 'signature': 'def viewconf(self, **kwargs):'}</s>{'name': 'gather_plugin_urls@src/higlass/api.py', 'description': 'Inspect tracks and extra...
0
{'name': 'processPEreads@amptk/process_illumina_folder.py', 'description': 'function for multiprocessing of the data, so take file list as input, need global forward/reverse list available', 'signature': 'def processPEreads(input, args=False):'}</s>{'name': 'DemuxIllumina4SRA@amptk/amptklib.py', 'description': 'DOCSTRI...
0
{'name': 'delPluginFile@app/plugin/pluginlist.py', 'description': '删除文件\n因为这里的文件名是安全的,所以直接进行删除', 'signature': 'def delPluginFile(filename):'}</s>CELERY_RESULT_BACKEND = 'redis://127.0.0.1:6379/0' if platform.system().lower()=="windows" else 'redis://redis:6379/0'
0
{'name': 'strategy2mealy@tulip/synth.py', 'description': 'Convert strategy to Mealy transducer.\n\nNote that the strategy is a deterministic game graph,\nbut the input `A` is given as the contraction of\nthis game graph.\n\n@param A:\n strategy', 'signature': 'def strategy2mealy('}</s>{'name': '_env_trans_from_env_t...
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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_ADAPTER_NOT_AVAILABLE = 2204
0
{'name': 'ParallelCounter._select_polygons@transit-network-analysis-tools/parallel_cpap.py', 'description': 'Select the subset of polygons for this FacilityID/FromBreak/ToBreak combo and return the layer.', 'signature': 'def _select_polygons(self):'}</s>FIELDS_TO_PRESERVE = [FACILITY_ID_FIELD, NAME_FIELD, FROM_BREAK_FI...
0
{'name': 'wind_deg_to_uv@pymeteo/dynamics.py', 'description': 'Converts direction and speed into u,v wind\n\n:param direction: wind direction (mathmatical angle)\n:param speed: wind magnitude\n:returns: u and v wind components', 'signature': 'def wind_deg_to_uv(direction, speed):'}</s>km2m = 1000.0
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>app_throttling_tier = ""
0
{'name': 'ReplaceByFeeTest.test_too_many_replacements@test/functional/feature_rbf.py', 'description': 'Replacements that evict too many transactions are rejected', 'signature': 'def test_too_many_replacements(self):'}</s>OP_ROLL = CScriptOp(0x7a)
0
{'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>ATTR_USE_ENTRY_DELAY = "use_entry_delay"
0
{'name': 'test_hanning@tests/test_matlab_python.py', 'description': 'Compare scipy and Matlab hanning window.\nMatlab returns a N+2 size window without first and last samples', 'signature': 'def test_hanning():'}</s>{'name': 'test_nnresample@tests/test_matlab_python.py', 'description': 'Compare matlab and nnresample re...
0
{'name': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>ICMP_PHOTURIS_DECRYPT_FAILED = 3
0
{'name': 'HindcastEnsemble.remove_bias@src/climpred/classes.py', 'description': 'Remove bias from :py:class:`.HindcastEnsemble`.\n\nBias is grouped by ``seasonality`` set via\n:py:class:`~climpred.options.set_options`. When wrapping\n:py:class:`xclim.sdba.adjustment.TrainAdjust` use ``group`` instead.\n\nArgs:\n ali...
0
{'name': 'design_carfac@python/np/carfac.py', 'description': "This function designs the CARFAC filterbank.\n\nCARFAC is a Cascade of Asymmetric Resonators with Fast-Acting Compression);\nthat is, it take bundles of parameters and computes all the filter\ncoefficients needed to run it.\n\nSee other functions for designi...
1
{'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': 'encrypt_password@flask_security/utils.py', 'description': 'Encrypt the specified plaintext password.\n\nIt uses the configured encryption options.\n\n.. deprecated:: 2.0.2\n Use :func:`hash_password` instead.\n\n:param password: The plaintext password to encrypt', 'signature': 'def encrypt_password(password...
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': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQEPH_STRUC_LENGTH_FIXED = 68
0
{'name': 'splittag@bleach/_vendor/parse.py', 'description': "splittag('/path#tag') --> '/path', 'tag'.", 'signature': 'def splittag(url):'}</s>{'name': 'urlparse@bleach/_vendor/parse.py', 'description': "Parse a URL into 6 components:\n<scheme>://<netloc>/<path>;<params>?<query>#<fragment>\nReturn a 6-tuple: (scheme, n...
0
{'name': 'Parser.add_element@marko/parser.py', 'description': 'Add an element to the parser.\n\n:param element: the element class.\n\n.. note:: If one needs to call it inside ``__init__()``, please call it after\n ``super().__init__()`` is called.', 'signature': 'def add_element(self, element: ElementType) -> None:...
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': 'IUController.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this controller as a dict', 'signature': 'def as_dict(self, extended=False) -> OrderedDict:'}</s>ATTR_FINAL_DURATION = "final_duration"
0
{'name': 'SimpleScrapingLocator._fetch@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/distlib/locators.py', 'description': 'Get a URL to fetch from the work queue, get the HTML page, examine its\nlinks for download candidates and candidates for further scraping.\n\nThis is a handy method to run in a thread.', ...
0
{'name': 'AioConnection.__init__@aioprocessing/connection.py', 'description': 'Initialize the AioConnection.\n\nobj - a multiprocessing.Connection object.', 'signature': 'def __init__(self, obj):'}</s>{'name': 'run_in_executor@aioprocessing/util.py', 'description': 'DOCSTRING', 'code': 'def run_in_executor(executor, ca...
0
{'name': 'Dataset._get_records@qcportal/collections/dataset.py', 'description': 'Runs a query based on an indexer which is index : molecule_id\n\nParameters\n----------\nindexer : Dict[str, ObjectId]\n A key/value index of molecules to query\nquery : Dict[str, Any]\n A results query\ninclude : Optional[List[str]]...
0
{'name': 'eGetRawS@src/LabJackPython.py', 'description': 'Function not yet implemented.\n\nFor Windows only.', 'signature': 'def eGetRawS(Handle, pIOType, Channel, pValue, x1):'}</s>LJ_ioGET_DIGITAL_BIT = 30
0
{'name': 'TestRemoveDeclaration.testNotRemoved@src/tests/testXmlEncodingDecode.py', 'description': "Make sure that invalid, or missing, declarations aren't affected.", 'signature': 'def testNotRemoved(self):'}</s>{'name': 'ValidDate@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['ValidValue...
0
{'name': 'dictOf@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper to easily and clearly define a dictionary by specifying the respective patterns\nfor the key and value. Takes care of defining the C{L{Dict}}, C{L{ZeroOrMore}}, and C{L{Group}} tokens\nin the proper order. The key pattern ...
0
{'name': 'user_can_push@src/oca_github_bot/manifest.py', 'description': 'Check if the user is maintainer of all modified addons.\n\nAssuming, addons_dir is a git clone of an addons repository,\nreturn true if username is declared in the maintainers key\non the target branch, for all addons modified in the current branc...
0
{'name': 'compute_Xb@tensorqtl/susie.py', 'description': 'Compute Xb with column standardized X', 'signature': 'def compute_Xb(X_t, b_t, cm_t, csd_t):'}</s>{'name': 'calculate_maf@tensorqtl/core.py', 'description': 'Calculate minor allele frequency', 'code': 'def calculate_maf(genotype_t, alleles=2):\n """Calculate ...
0
{'name': 'build_inlinepatterns@source-builder/sb/markdown/inlinepatterns.py', 'description': 'Build the default set of inline patterns for Markdown. ', 'signature': 'def build_inlinepatterns(md_instance, **kwargs):'}</s>{'name': 'DoubleTagPattern@source-builder/sb/markdown/inlinepatterns.py', 'description': 'Return a E...
1
{'name': 'is_distributed_model@django_multitenant/utils.py', 'description': 'If model has tenant_field, it is distributed model and returns True', 'signature': 'def is_distributed_model(model):'}</s>{'name': 'unset_current_tenant@django_multitenant/utils.py', 'description': 'DOCSTRING', 'code': 'def unset_current_tenan...
0
{'name': 'create_train_input_fn@object_detection/inputs.py', 'description': 'Creates a train `input` function for `Estimator`.\n\nArgs:\n train_config: A train_pb2.TrainConfig.\n train_input_config: An input_reader_pb2.InputReader.\n model_config: A model_pb2.DetectionModel.\n\nReturns:\n `input_fn` for `Estimator`...
0
{'name': 'test_iterator_passthrough@ncnn-20210525-full-source/python/pybind11/tests/test_sequences_and_iterators.py', 'description': '#181: iterator passthrough did not compile', 'signature': 'def test_iterator_passthrough():'}</s>{'name': 'test_sliceable@ncnn-20210525-full-source/python/pybind11/tests/test_sequences_a...
0
{'name': 'control_read_initial_values@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Read initial control values', 'signature': 'def control_read_initial_values(sniffer):'}</s>ERROR_ARG = 1
0
{'name': 'read_pw_output@mcu/qe/qe_io.py', 'description': 'Read the output generated by pw.x', 'signature': 'def read_pw_output(filename): '}</s>{'name': 'read_pdos_output@mcu/qe/qe_io.py', 'description': 'Read the dos files generated by projwfc.x\n\nref: https://www.quantum-espresso.org/Doc/INPUT_PROJWFC.html\nOrbita...
0
{'name': 'integrate_budget@src/falwa/xarrayinterface.py', 'description': 'Compute the integrated LWA budget terms for the given data.\n\nIntegrates the LWA tendencies from equation (2) of `NH18\n<https://doi.org/10.1126/science.aat0721>`_ in time (over the time interval\ncovered by the input data). The residual (term I...
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': '_normalize_playtime@src/stats.py', 'description': "All known games has 'unit': 'Seconds' in for time fields\nChampions of Anteria is exception, it has 'Hours' for playtime, but uses miliseconds in fact\nThat is why we assume Seconds everywhere\n:param card statistic card with 'format': 'LongTimespan'\n:re...
0
{'name': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': 'FuncDecl@src/api/python/z3/z3types.py', 'description': 'DOCSTRING', 'base_classes': ['ctypes.c_void_p'], 'method...
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': 'Upstream2D.__init__@oggm/core/sia2d.py', 'description': "Create a new 2D model from gridded data.\n\nParameters\n----------\nbed_topo : 2d array\n the topography\ninit_ice_thick : 2d array (optional)\n the initial ice thickness (default is zero everywhere)\ndx : float\n map resolution (m)\ndy : float...
0
{'name': 'conv3x3@Codes/TTQ/models/ttq_resnet.py', 'description': '3x3 convolution with padding ', 'signature': 'def conv3x3(in_planes, out_planes, stride=1, thresh_factor=0.05):'}</s>{'name': 'resnet1001_cifar@Codes/TTQ/models/ttq_resnet.py', 'description': 'DOCSTRING', 'code': 'def resnet1001_cifar(**kwargs):\n mo...
0
{'name': 'loadConfig@apim-traffic-tool/lib/traffic-tool/src/python/multi_tenant_create_scenario.py', 'description': 'This function will load and set the configuration data\n:return: None', 'signature': 'def loadConfig():'}</s>gateway_protocol = ""
1