text
string
label
int64
{'name': 'graph_from_xml@osmnx/graph.py', 'description': "Create a graph from data in an OSM XML file.\n\nDo not load an XML file previously generated by OSMnx: this use case is\nnot supported and may not behave as expected. To save/load graphs to/from\ndisk for later use in OSMnx, use the `io.save_graphml` and\n`io.lo...
0
{'name': 'get_arguments@train_s4GAN_wrn38.py', 'description': 'Parse all the arguments provided from the CLI.\n\nReturns:\n A list of parsed arguments.', 'signature': 'def get_arguments():'}</s>start = timeit.default_timer()
0
{'name': 'TestThresholdBased.test_basic@verif/tests/test_metric.py', 'description': 'Test the basic threshold-based metrics ', 'signature': 'def test_basic(self):'}</s>{'name': 'YulesQ@verif/metric.py', 'description': 'DOCSTRING', 'base_classes': ['Contingency'], 'methods': [{'name': 'YulesQ.compute_from_abcd@verif/met...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIA_QMGR_CFCONLOS = 245
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': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ...
0
{'name': 'CallbackHandlerTest.test_callback_handler@tests/framework/test_callback_handler.py', 'description': 'Test CallbackHandler with all of the hooks on Callback', 'signature': 'def test_callback_handler(self) -> None:'}</s>{'name': 'Lambda@torchtnt/framework/callbacks/lambda_callback.py', 'description': "A callbac...
0
{'name': 'buildable_env@test/test_builders.py', 'description': 'Set up a temporary directory with everything needed to run the EmulatedDockerBuildStage.', 'signature': 'def buildable_env(request, tmpdir):'}</s>PipelineStageOptions = NamedTuple( 'PipelineStageOptions', [ ('skip_rosdep_keys', List[str]), ...
0
{'name': 'RangeTransfer._parse_headers@wfdb/io/_url.py', 'description': 'Parse the headers of the response object.\n\nParameters\n----------\nmethod : str\n The HTTP method used for the request.\nresponse : requests.Response\n The resulting response object.\n\nReturns\n-------\nN/A\n\nNotes\n-----\n- response_url...
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': 'ZiGate.__haddr@zigate/core.py', 'description': 'convert int addr to hex ', 'signature': 'def __haddr(self, int_addr, length=4):'}</s>ZIGATE_DEVICE_ADDRESS_CHANGED = "ZIGATE_DEVICE_ADDRESS_CHANGED"
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>MQNXP_CURRENT_VERSION = 2
0
{'name': 'createTrackDb@assemblyHub/halGenerateComparisonHub.py', 'description': 'Create the trackDb.txt for a specific genome.', 'signature': 'def createTrackDb(target, genome, genomes, hals, labels, hubDir):'}</s>{'name': 'subtractBed@assemblyHub/halGenerateComparisonHub.py', 'description': 'Subtract intervals covere...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQZAD_CURRENT_LENGTH = MQZAD_LENGTH_2
0
{'name': 'Win32Serial._reconfigurePort@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Set communication parameters on opened port.', 'signature': 'def _reconfigurePort(self):'}</s>XOFF = to_bytes([19])
1
{'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': '_Renderer.from_dict@neurodocker/reproenv/renderers.py', 'description': 'Instantiate a new renderer from a dictionary of instructions.', 'signature': 'def from_dict(cls, d: Mapping) -> _Renderer:'}</s>_jinja_env = jinja2.Environment(undefined=jinja2.StrictUndefined)
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': 'font_size_splitter@art/utils.py', 'description': 'Split fonts to 4 category (small,medium,large,xlarge) by maximum length of letter in each font.\n\n:param font_map: input fontmap\n:type font_map : dict\n:return: splitted fonts as dict', 'signature': 'def font_size_splitter(font_map):'}</s>MEDIUM_WIZARD_FONT ...
0
{'name': 'ImputationKernel.impute_new_data@miceforest/imputation_kernel.py', 'description': 'Impute a new dataset\n\nUses the models obtained while running MICE to impute new data,\nwithout fitting new models. Pulls mean matching candidates from\nthe original data.\n\nsave_models must be > 0. If save_models == 1, the l...
1
{'name': 'GWRResults.cooksD@stwr/gwr.py', 'description': 'Influence: leading diagonal of S Matrix\n\nMethods: p216, (9.11),\nFotheringham, A. S., Brunsdon, C., & Charlton, M. (2002).\nGeographically weighted regression: the analysis of spatially varying\nrelationships.\nNote: in (9.11), p should be tr(S), that is, the ...
0
{'name': 'edit_income@web/views.py', 'description': 'edit an income ', 'signature': 'def edit_income(request):'}</s>{'name': 'submit_expense@web/views.py', 'description': 'submit an expense ', 'code': 'def submit_expense(request):\n """ submit an expense """\n\n # TODO: revise validation for the amount\n this_...
0
{'name': 'run_eruption_env@self_organising_systems/biomakerca/extensions/eruption.py', 'description': 'Create a video running Eruption.', 'signature': 'def run_eruption_env('}</s>{'name': 'add_eruption_lava_f@self_organising_systems/biomakerca/extensions/eruption.py', 'description': 'Lava operation specific to the Erup...
1
{'name': 'HostRecordV6.ipv6addrs@infoblox_client/objects.py', 'description': ':meta private:', 'signature': 'def ipv6addrs(self):'}</s>{'name': 'Ruleset@infoblox_client/objects.py', 'description': 'Ruleset: DNS Ruleset object.\nCorresponds to WAPI object \'ruleset\'\n\nRepresents a Ruleset object, which is a collection...
0
{'name': 'build_script_generator@tools/ipp_custom_library_tool_python/tool/generators.py', 'description': 'Generates script for building custom dynamic library\n:return: String that represents script', 'signature': 'def build_script_generator():'}</s>LIB_THREAD_TYPE_SUBDIR = { DirLayout.NEW: { SINGLE_THREAD...
0
{'name': 'clear_message@mail_panel/views.py', 'description': 'Clears a message from the cache', 'signature': 'def clear_message(request, message_id):'}</s>{'name': 'load_outbox@mail_panel/utils.py', 'description': 'Returns a dictionary of cached mail.', 'code': 'def load_outbox():\n """\n Returns a dictionary of ...
1
{'name': 'parse_int_list@boltons/strutils.py', 'description': "Returns a sorted list of positive integers based on\n*range_string*. Reverse of :func:`format_int_list`.\n\nArgs:\n range_string (str): String of comma separated positive\n integers or ranges (e.g. '1,2,4-6,8'). Typical of a custom\n page r...
0
{'name': 'document@libscanbuild/report.py', 'description': 'Generates cover report and returns the number of bugs/crashes. ', 'signature': 'def document(args):'}</s>{'name': 'Crash@libscanbuild/report.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Crash.__init__@libscanbuild/report.py', 'des...
1
{'name': 'sign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'varname,ctype,atype\ninit,init.r,init.i,pytype\nvardebuginfo,vardebugshowvalue,varshowvalue\nvarrfromat\nintent', 'signature': 'def sign2map(a, var):'}</s>{'name': 'getargs2@venv/Lib/site-packages/numpy/f2py/auxfuncs.py', 'description':...
0
{'name': 'init@slackcli/slack.py', 'description': 'This function must be called prior to any use of the Slack API.', 'signature': 'def init(user_token=None, team=None):'}</s>{'name': 'save_team@slackcli/token.py', 'description': 'DOCSTRING', 'code': 'def save_team(token, team):\n ensure_directory_exists(TOKEN_PATH)\...
0
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>{'name': 'Type@python/google/protobuf/internal/api_implementation.py', 'description': 'DOCSTRING', 'code': 'def Type():\n return...
0
{'name': 'DebPkgToolsTestCase.test_package_building@deb_pkg_tools/tests.py', 'description': 'Test building of Debian binary packages.', 'signature': 'def test_package_building(self, repository=None, overrides={}, contents={}):'}</s>{'name': 'ArchiveEntry@deb_pkg_tools/package.py', 'description': 'A named tuple with the...
0
{'name': 'cached_download@gdown/cached_download.py', 'description': 'Cached download from URL.\n\nParameters\n----------\nurl: str\n URL. Google Drive URL is also supported.\npath: str, optional\n Output filename. Default is basename of URL.\nmd5: str, optional\n Expected MD5 for specified file. Deprecated in ...
0
{'name': 'RepeatChart.interactive@altair/vegalite/v3/api.py', 'description': 'Make chart axes scales interactive\n\nParameters\n----------\nname : string\n The selection name to use for the axes scales. This name should be\n unique among all selections within the chart.\nbind_x : boolean, default True\n If tru...
0
{'name': 'scale_matrix@utils/transformations.py', 'description': 'Return matrix to scale by factor around origin in direction.\n\nUse factor -1 for point symmetry.\n\n>>> v = (numpy.random.rand(4, 5) - 0.5) * 20\n>>> v[3] = 1\n>>> S = scale_matrix(-1.234)\n>>> numpy.allclose(numpy.dot(S, v)[:3], -1.234*v[:3])\nTrue\n>>...
0
{'name': 'Logger.level_matches@bootstrap.py', 'description': '>>> l = Logger([])\n>>> l.level_matches(3, 4)\nFalse\n>>> l.level_matches(3, 2)\nTrue\n>>> l.level_matches(slice(None, 3), 3)\nFalse\n>>> l.level_matches(slice(None, 3), 2)\nTrue\n>>> l.level_matches(slice(1, 3), 1)\nTrue\n>>> l.level_matches(slice(2, 3), 1)...
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': 'configure_vxlan@src/vxlan.py', 'description': 'Configure a VXLAN tunnel\n:param url: base url\n:param values: List of Informations needed for VXLAN configuration\n:param cookie: Cookie value\n:return: Request Status Code\n.. note: A configuration template in Jinja2 format needs to be used.\n:Example:\n\nresul...
0
{'name': 'TestDecode.testDecodeBadUTF8@src/tests/testXmlEncodingDecode.py', 'description': 'Ensure bad UTF-8 is flagged as such, but still decoded.', 'signature': 'def testDecodeBadUTF8(self):'}</s>{'name': 'InvalidBooleanAttribute@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['InvalidValu...
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': 'View.save_pick_properties@picasso/gui/render.py', 'description': "Saves picks' properties in a given channel to path.\n\nProperties include number of locs, mean and std of all locs\ndtypes (x, y, photons, etc) and others.\n\nParameters\n----------\npath : str \n Path for saving picks' properties.\nchannel ...
0
{'name': 'TestCachedOrderedDict.test_setdefault@tests/test_cache.py', 'description': 'Ensure setdefault() sets the key iff the key does not exist.', 'signature': 'def test_setdefault(self, default):'}</s>{'name': 'TestCachedOrderedDict@tests/test_cache.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'...
1
{'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': 'HubConnectionBuilder.build@signalrcore/hub_connection_builder.py', 'description': 'Configures the connection hub\n\nRaises:\n TypeError: Checks parameters an raises TypeError\n if one of them is wrong\n\nReturns:\n [HubConnectionBuilder]: [self object for fluent interface purposes]', 'signature':...
1
{'name': 'test_compile_query_debug@tests/test_connection.py', 'description': 'Validates that the query is printed to stdout\nwhen the debug flag is enabled.', 'signature': 'def test_compile_query_debug(caplog):'}</s>_dialect = get_dialect()
0
{'name': 'send_reset_password_instructions@flask_security/recoverable.py', 'description': 'Sends the reset password instructions email for the specified user.\n\n:param user: The user to send the instructions to', 'signature': 'def send_reset_password_instructions(user):'}</s>{'name': 'reset_password_token_status@flask...
0
{'name': 'insert_json@cr8/insert_json.py', 'description': 'Insert JSON lines from a file or stdin into a CrateDB cluster.\n\nIf no hosts are specified the statements will be printed.\n\nArgs:\n table: Target table name.\n bulk_size: Bulk size of the insert statements.\n concurrency: Number of operations to run...
0
{'name': 'logout@n26/cli.py', 'description': 'Logout ', 'signature': 'def logout():'}</s>{'name': 'limits@n26/cli.py', 'description': 'Show n26 account limits ', 'code': 'def limits():\n """ Show n26 account limits """\n _limits()'}
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': 'BoxToSeg.forward@rising/transforms/utility.py', 'description': 'Forward input\n\nArgs:\n **data: input data\n\nReturns:\n dict: transformed data', 'signature': 'def forward(self, **data) -> dict:'}</s>{'name': 'SegToBox@rising/transforms/utility.py', 'description': 'Convert instance segmentation to boun...
0
{'name': 'PostgresNode.restart@testgres/node.py', 'description': 'Restart this node using pg_ctl.\n\nArgs:\n params: additional arguments for pg_ctl.\n\nReturns:\n This instance of :class:`.PostgresNode`.', 'signature': 'def restart(self, params=[]):'}</s>testgres_config = GlobalConfig()
0
{'name': 'get_versions@src/harvesters_gui/_version.py', 'description': 'Get version information or return default if unable to do so.', 'signature': 'def get_versions():'}</s>{'name': 'render_pep440@src/harvesters_gui/_version.py', 'description': 'Build up version string, with post-release "local version identifier".\n...
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>{'name': 'get_resource_type_from_class@fhirpy/base/resource_protocol.py', 'description': 'DOCSTRING',...
0
{'name': '_Selector._freeze_relations@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Freeze relation.', 'signature': 'def _freeze_relations(self, relations):'}</s>FLG_OUT_OF_RANGE = 256
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': 'XpathListener@xpath.py', 'description': 'DOCSTRING', 'base_classes': ['sublime_plugin.EventListener'], 'methods': [{'name...
0
{'name': 'mat2d.set_row_strlabs@src/python_scripts/afnipy/lib_mat2d_base.py', 'description': 'input a list of strings; must match number of mat rows', 'signature': 'def set_row_strlabs(self, L):'}</s>{'name': 'is_matrix_square@src/python_scripts/afnipy/afni_util.py', 'description': 'return {0|1} about matrix being squa...
0
{'name': 'List.extend@nbtlib/tag.py', 'description': 'Override ``list.extend`` to include ``isinstance`` check and auto conversion.', 'signature': 'def extend(self, iterable):'}</s>{'name': 'write_numeric@nbtlib/tag.py', 'description': 'Write a numeric value to a file-like object.', 'code': 'def write_numeric(fmt, valu...
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': 'is_bv_value@src/api/python/z3/z3.py', 'description': "Return `True` if `a` is a Z3 bit-vector numeral value.\n\n>>> b = BitVe...
0
{'name': 'ProcessFileData@tools/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 representing a li...
0
{'name': 'writePreamble@cxxtest/cxxtestgen.py', 'description': 'Write the CxxTest header (#includes and #defines)', 'signature': 'def writePreamble( output ):'}</s>{'name': 'addLineToBlock@cxxtest/cxxtestgen.py', 'description': 'Append the line to the current CXXTEST_CODE() block', 'code': "def addLineToBlock( suite, l...
0
{'name': 'modify_descendants_for_jackknife_fast@operations.py', 'description': 'Gets the columns for leaf Metrics and modify them for fast Jackknife SQL.\n\nSee the doc of get_jackknife_data_fast() first. Here we\n1. collects the LOO columns for all Sum and Count.\n2. Modify them in-place so when we generate SQL later,...
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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQQSOT_ALL = 1
0
{'name': 'sign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'varname,ctype,atype\ninit,init.r,init.i,pytype\nvardebuginfo,vardebugshowvalue,varshowvalue\nvarrfromat\nintent', 'signature': 'def sign2map(a, var):'}</s>{'name': 'isintent_nothide@venv/Lib/site-packages/numpy/f2py/auxfuncs.py', 'descr...
0
{'name': 'ReplaceByFeeTest.test_too_many_replacements@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that evict too many transactions are rejected', 'signature': 'def test_too_many_replacements(self):'}</s>OP_PUSHDATA4 = CScriptOp(0x4e)
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_UNKNOWN_CHANNEL_NAME = 2540
0
{'name': 'parsemakesyntax@build/pymake/pymake/parser.py', 'description': 'Given Data, parse it into a data.Expansion.\n\n@param stopon (sequence)\n Indicate characters where toplevel parsing should stop.\n\n@param iterfunc (generator function)\n A function which is used to iterate over d, yielding (char, offset, ...
0
{'name': 'Lexer.default_initialization@sqlparse/lexer.py', 'description': 'Initialize the lexer with default dictionaries.\nUseful if you need to revert custom syntax settings.', 'signature': 'def default_initialization(self):'}</s>DML = Keyword.DML
0
{'name': 'Locale.year_abbreviation@arrow/locales.py', 'description': 'Returns the year for specific locale if available\n\n:param year: the ``int`` year (4-digit)', 'signature': 'def year_abbreviation(self, year: int) -> str:'}</s>{'name': 'SlovenianLocale@arrow/locales.py', 'description': 'DOCSTRING', 'base_classes': ...
0
{'name': 'make_entry@docs/doxygen/update_pydoc.py', 'description': "Create a docstring key/value pair, where the key is the object name.\n\nobj - a doxyxml object from which documentation will be extracted.\nname - the name of the C object (defaults to obj.name())\ntempl - an optional template for the docstring contain...
1
{'name': 'PathConverter.convert@util/py_lib/seqan/dox/write_html.py', 'description': 'Return None, None on failure path, title otherwise.', 'signature': 'def convert(self, name):'}</s>{'name': 'RawSection@util/py_lib/seqan/dox/raw_doc.py', 'description': 'Represents one section or subsection.\n\n@ivar level An int with...
0
{'name': 'p_member_declarator@ctypesgen/parser/cgrammar.py', 'description': 'member_declarator : declarator gcc_attributes\n| COLON constant_expression gcc_attributes\n| declarator COLON constant_expression gcc_attributes', 'signature': 'def p_member_declarator(p):'}</s>{'name': 'p_declarator@ctypesgen/parser/cgrammar....
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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQMEDIMGLOGLN_OFF = 0
0
{'name': 'IMAP.email@imapy/imap.py', 'description': 'Helper function for self.emails(). Returns email by its\nsequence number', 'signature': 'def email(self, sequence_number: int) -> Optional[EmailMessage]:'}</s>{'name': 'utf7_to_unicode@imapy/utils.py', 'description': 'Convert string in utf-7 to unicode', 'code': 'def...
0
{'name': 'on_set_race_format@src/server/server.py', 'description': 'set current race_format ', 'signature': 'def on_set_race_format(data):'}</s>_DB_URI = 'sqlite:///' + os.path.join(DATA_DIR, DB_FILE_NAME)
0
{'name': 'test_db_error_logging_to_stderr@test/io/test_io.py', 'description': 'verify that DB errors are logged to stderr', 'signature': 'def test_db_error_logging_to_stderr(level, defaultenv, metapostgrest):'}</s>{'name': 'test_schema_cache_startup_load_with_in_db_config@test/io/test_io.py', 'description': 'verify tha...
0
{'name': 'ProblemCache.__enter__@cameo/util.py', 'description': 'Allows problem cache to be used with a _with_ statement.\n\nExamples\n--------\nYou want to run room/lmoma for every single knockout.\n>>> with ProblemCache(model) as cache:\n>>> for reaction in reactions:\n>>> reaction.knock_out()\n>>> ...
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>MQIAMO_EXIT_TIME_MAX = 718
0
{'name': 'WebApplicationScanner._detect_cms@raccoon_src/lib/web_app.py', 'description': 'Detect CMS using whatcms.org.\nHas a re-try mechanism because false negatives may occur\n:param tries: Count of tries for CMS discovery', 'signature': 'def _detect_cms(self, tries=0):'}</s>{'name': 'StorageExplorer@raccoon_src/lib/...
0
{'name': 'TransfoXLCorpus.from_pretrained@07_train/bertviz/bertviz/transformers_neuron_view/tokenization_transfo_xl.py', 'description': 'Instantiate a pre-processed corpus.', 'signature': 'def from_pretrained(cls, pretrained_model_name_or_path, cache_dir=None, *inputs, **kwargs):'}</s>{'name': 'TransfoXLTokenizer@07_tr...
1
{'name': 'GuiItinerary.addNewItinerary@guiItinerary.py', 'description': 'Runs dialog to add new itinerary', 'signature': 'def addNewItinerary(self):'}</s>{'name': 'validateOnlyInt@globalData.py', 'description': 'Preserve to enter numbers specified keys into entry not longer than maxCount digits ', 'code': 'def validate...
0
{'name': 'test_multiple_backends_https_h1@test/integration/test_integration_basics.py', 'description': 'Test that we can load-test multiple backends on https.\n\nRuns the CLI configured to use HTTP/1 with TLS against multiple test servers, and sanity\nchecks statistics from both client and server.', 'signature': 'def t...
0
{'name': '_NamespaceInfo.CheckEnd@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check end of namespace comments.', 'signature': 'def CheckEnd(self, filename, clean_lines, linenum, error):'}</s>_LEGACY_ERROR_CATEGORIES = [ 'readability/streams', 'readability/function', ]
0
{'name': 'on_download_logs@src/server/server.py', 'description': 'Download logs (as .zip file).', 'signature': 'def on_download_logs(data):'}</s>{'name': 'connect_handler@src/server/server.py', 'description': 'Starts the interface and a heartbeat thread for rssi.', 'code': "def connect_handler(auth):\n '''Starts the...
0
{'name': 'StorageKey.generate@substrateinterface/storage.py', 'description': 'Generate a storage key for current specified pallet/function/params\n\nReturns\n-------\nbytes', 'signature': 'def generate(self) -> bytes:'}</s>{'name': 'blake2_128@substrateinterface/utils/hasher.py', 'description': 'Helper function to calc...
1
{'name': 'info_for_entire_history@ascmhl/commands.py', 'description': 'ROOT_PATH: the root path to use for the asc mhl history', 'signature': 'def info_for_entire_history(root_path, verbose):'}</s>{'name': 'seal_file_path@ascmhl/commands.py', 'description': 'Generates hashes for a file path.\nCompares the generated has...
0
{'name': 'Watchdog._check_in_progress@.ci/watchdog/Watchdog.py', 'description': "Check if CI build succesfully started.\n\nChecks if build started within designated time threshold, and job is\ncurrently running - it didn't cross the time threshold.\n\n:param pr: Single PR being currently checked\n:para...
1
{'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': 'Designmap.set_style_mapping_node@src/simple_idml/components.py', 'description': 'Do it only if self.style_mapping_node is None.', 'signature': 'def set_style_mapping_node(self):'}</s>{'name': 'XMLElement@src/simple_idml/components.py', 'description': 'A proxy over the etree.Element to represent XMLElement nod...
0
{'name': 'BertConfig.to_json_string@purifier/modeling_purifier.py', 'description': 'Serializes this instance to a JSON string.', 'signature': 'def to_json_string(self):'}</s>logger = logging.getLogger(__name__)
0
{'name': 'RelDetection.predict@network.py', 'description': 'Same code works for both pairwise or pointwise', 'signature': 'def predict(self, ques, paths, paths_rel1,paths_rel2, device):'}</s>trim = lambda x : x[:, :(x.shape[1] - torch.min(torch.sum(x.eq(0).long(), dim=1))).item()]
0
{'name': 'User.signup@toggl/api/models.py', 'description': 'Creates brand new user. After creation confirmation email is sent to him.\n\n:param email: Valid email of the new user.\n:param password: Password of the new user.\n:param timezone: Timezone to be associated with the user. If empty, than timezone from config i...
0
{'name': 'error_screen@displays/papiruszero2in.py', 'description': 'Error screen\n ', 'signature': 'def error_screen(message="ERROR"):'}</s>error_screen_1 = "Errore:"
1
{'name': 'ctype2ext@meza/convert.py', 'description': "Converts an http content type to a file extension.\n\nArgs:\n content_type (str): Output file path or directory.\n\nReturns:\n str: file extension\n\nExamples:\n >>> ctype2ext('/csv;') == 'csv'\n True\n >>> ctype2ext('/xls;') == 'xls'\n True\n >...
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': 'get_or_create_manual_transaction_type_id@capone/models.py', 'description': 'Callable for getting or creating the default `TransactionType` id.', 'signature': 'def get_or_create_manual_transaction_type_id():'}</s>{'name': 'Ledger@capone/models.py', 'description': 'A group of `LedgerEntries` all debiting or cre...
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': 'SeqFoldLeftI@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def SeqFoldLeftI(f, i, a, s):\n ctx = _get_ctx2(f, s)\n s = _coerce_seq(s, ct...
0
{'name': 'simple_search@MurrCard/views.py', 'description': 'Filter murrs by search query and pass queryser to murr_list view ', 'signature': 'def simple_search(request):'}</s>{'name': 'murr_detail@MurrCard/views.py', 'description': 'Show single murr ', 'code': 'def murr_detail(request, slug):\n """ Show single murr ...
0
{'name': '_GetTextInside@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': "Retrieves all the text between matching open and close parentheses.\n\nGiven a string of lines and a regular expression string, retrieve all the text\nfollowing the expression and between opening punctuation symbols like\n(, [, or {, ...
0