text
string
label
int64
{'name': 'CheckBraces@third_party/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 call with ...
0
{'name': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p...
0
{'name': 'Box3dEvaluator.evaluate@cityscapesscripts/evaluation/evalObjectDetection3d.py', 'description': 'Main evaluation routine.', 'signature': 'def evaluate(self):'}</s>MATCHING_MODAL = 1
0
{'name': 'BluetoothServer.start@bluedot/btcomm.py', 'description': 'Starts the Bluetooth server if its not already running. The server needs to be started before\nconnections can be made.', 'signature': 'def start(self):'}</s>{'name': 'BluetoothServer@bluedot/btcomm.py', 'description': 'Creates a Bluetooth server which...
1
{'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': 'ColNameCollisions.test_all_colnames_match_with_id@tests/test_colnames.py', 'description': 'Adding two numbers should give the correct answer', 'signature': 'def test_all_colnames_match_with_id(self):'}</s>right_1_path = "./data/right_1.csv"
0
{'name': 'SessionRedirectMixin.resolve_redirects@src/requests/sessions.py', 'description': 'Receives a Response. Returns a generator of Responses or Requests.', 'signature': 'def resolve_redirects('}</s>{'name': 'to_key_val_list@src/requests/utils.py', 'description': "Take an object and test to see if it can be represe...
0
{'name': 'attribute_remove_cmd@cjio/cjio.py', 'description': "Remove an attribute. \nIf it's not present nothing is done.\nThat's it. \n\n $ cjio myfile.city.json attribute_remove roofType info", 'signature': 'def attribute_remove_cmd(attr):'}</s>{'name': 'metadata_update_cmd@cjio/cjio.py', 'description': 'Update...
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': 'Schema._compile_dict@voluptuous/schema_builder.py', 'description': 'Validate a dictionary.\n\nA dictionary schema can contain a set of values, or at most one\nvalidator function/type.\n\nA dictionary schema will only validate a dictionary:\n\n >>> validate = Schema({})\n >>> with raises(er.MultipleInval...
0
{'name': 'file_count_check@buildtest/buildsystem/checks.py', 'description': 'This method is used to perform file count check when ``file_count`` property is specified\nin status check. This method will evaluate the number of files in a directory and compare it\nwith the reference specified via ``count``. The comparison...
0
{'name': 'product@cartridge/shop/views.py', 'description': 'Display a product - convert the product variations to JSON as well as\nhandling adding the product to either the cart or the wishlist.', 'signature': 'def product('}</s>{'name': 'default_order_handler@cartridge/shop/checkout.py', 'description': 'Default order ...
0
{'name': 'parse_feed@feeds/utils_internal.py', 'description': 'Process the queue of feeds that need polling.\n\n:param max_feeds: The maximum number of feeds to read from the queue (default 3).\n:type max_feeds: int\n\n:param output: A file-like object where logging messages will be written.\n:type output: TextIO', 'si...
0
{'name': 'NodeRedTime.update_discovery_config@custom_components/nodered/time.py', 'description': 'Update the entity config.', 'signature': 'def update_discovery_config(self, msg):'}</s>CONF_CONFIG = "config"
1
{'name': 'wait_on_last_job@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/ordering.py', 'description': 'wait on a bigquery job or raise informative exception.\n\nArgs:\n gcs_client: storage.Client\n bq_client: bigquery.Client\n lock_blob: storage.Blob _bqlock blob\n backfill_blob: sto...
1
{'name': 'deploy@deployment/model_deploy.py', 'description': 'Deploys a Slim-constructed model across multiple clones.\n\nThe deployment options are specified by the config object and support\ndeploying one or several clones on different GPUs and one or several replicas\nof such clones.\n\nThe argument `model_fn` is ca...
0
{'name': 'update_self@backend/app/routers/me.py', 'description': 'Endpoint to allow a user to update *their own* profile.', 'signature': 'def update_self('}</s>{'name': 'get_self@backend/app/routers/me.py', 'description': "Endpoint to get current user's data. This includes projects, skills, etc", 'code': 'def get_self(...
0
{'name': 'MultiEvalModule.forward@encoding/models/sseg/base.py', 'description': 'Mult-size Evaluation', 'signature': 'def forward(self, image):'}</s>{'name': 'batch_intersection_union@encoding/utils/metrics.py', 'description': 'Batch Intersection of Union\nArgs:\n predict: input 4D tensor\n target: label 3D tenso...
0
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils subclasses used by Versioneer.\n\nIf the package uses a different cmdclass (e.g. one from numpy), it\nshould be provide as an argument.', 'signature': 'def get_cmdclass(cmdclass=None):'}</s>{'name': 'scan_setup_py@versioneer.py',...
0
{'name': 'A1DInterface.process_data@src/python_scripts/scripts/1d_tool.py', 'description': 'return None on completion, else error code (0 being okay)', 'signature': 'def process_data(self):'}</s>{'name': 'get_3dinfo@src/python_scripts/afnipy/afni_util.py', 'description': 'run 3dinfo, possibly -verb or -VERB\nif lines, ...
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': 'cmd_base@lib/charliecloud.py', 'description': 'Run a command to completion. If not fail_ok, exit with a fatal error if\nthe command fails (i.e., doesn’t exit with code zero). Return the\nCompletedProcess object.\n\nThe command’s stderr is suppressed unless (1) logging is DEBUG or higher\nor (2) fail_ok is Fal...
0
{'name': 'make_cases_obj@marching_cubes_3d.py', 'description': 'Writes obj files demonstrating the main cases of marching cubes', 'signature': 'def make_cases_obj():'}</s>{'name': 'V3@utils_3d.py', 'description': 'A vector in 3D space', 'base_classes': [], 'methods': [{'name': 'V3.__init__@utils_3d.py', 'description': ...
1
{'name': 'add_implicit_resolver@strictyaml/ruamel/main.py', 'description': 'Add an implicit scalar detector.\nIf an implicit scalar value matches the given regexp,\nthe corresponding tag is assigned to the scalar.\nfirst is a sequence of possible initial characters or None.', 'signature': 'def add_implicit_resolver('}<...
0
{'name': 'ppo@fireup/algos/ppo/ppo.py', 'description': "Args:\n env_fn : A function which creates a copy of the environment.\n The environment must satisfy the OpenAI Gym API.\n\n actor_critic: The agent's main model which is composed of\n the policy and value function model, where the policy takes\...
1
{'name': 'CScriptOp.decode_op_n@test/functional/test_framework/script.py', 'description': 'Decode a small integer opcode, returning an integer', 'signature': 'def decode_op_n(self):'}</s>OP_3 = CScriptOp(0x53)
0
{'name': 'decode@ddparser/parser/model.py', 'description': 'Decode function', 'signature': 'def decode(args, s_arc, s_rel, mask):'}</s>{'name': 'loss_function@ddparser/parser/model.py', 'description': 'Loss function', 'code': 'def loss_function(s_arc, s_rel, arcs, rels, mask):\n """Loss function"""\n arcs = nn.ma...
0
{'name': 'find_on_path@scripts/pdns/lib/python2.7/site-packages/pkg_resources/__init__.py', 'description': 'Yield distributions accessible on a sys.path directory', 'signature': 'def find_on_path(importer, path_item, only=False):'}</s>{'name': 'parse_version@scripts/pdns/lib/python2.7/site-packages/pkg_resources/__init...
0
{'name': '_split@esm/inverse_folding/gvp_modules.py', 'description': 'Splits a merged representation of (s, V) back into a tuple. \nShould be used only with `_merge(s, V)` and only if the tuple \nrepresentation cannot be used.\n\n:param x: the `torch.Tensor` returned from `_merge`\n:param nv: the number of vector chann...
0
{'name': 'gen_invalid_vectors@contrib/testgen/gen_base58_test_vectors.py', 'description': 'Generate invalid test vectors', 'signature': 'def gen_invalid_vectors():'}</s>PUBKEY_ADDRESS_TEST = 139
0
{'name': 'calc_validate@geetest_offline/geetest_offline.py', 'description': '计算validate值', 'signature': 'def calc_validate(challenge):'}</s>{'name': 'query_keyword@geetest_offline/geetest_offline.py', 'description': '使用session, 查询keyword, 更新session.token', 'code': "def query_keyword(session, keyword, token):\n '''使用...
0
{'name': 'DomainOptionsFlowHandler.__init__@custom_components/hpprinter/config_flow.py', 'description': 'Initialize domain options flow.', 'signature': 'def __init__(self, config_entry: ConfigEntry):'}</s>{'name': 'DomainFlowHandler@custom_components/hpprinter/config_flow.py', 'description': 'Handle a domain config flo...
0
{'name': 'CreateDatatypes@src/api/python/z3/z3.py', 'description': "Create mutually recursive Z3 datatypes using 1 or more Datatype helper objects.\n\nIn the following example we define a Tree-List using two mutually recursive datatypes.\n\n>>> TreeList = Datatype('TreeList')\n>>> Tree = Datatype('Tree')\n>>> # Tre...
0
{'name': 'from_object@muspy/inputs/wrappers.py', 'description': 'Return an outside object as a Music object.\n\nParameters\n----------\nobj\n Object to convert. Supported objects are `music21.Stream`,\n :class:`mido.MidiTrack`, :class:`pretty_midi.PrettyMIDI`, and\n :class:`pypianoroll.Multitrack` objects.\n**...
0
{'name': 'export_error_cases@src/eval.py', 'description': 'Export indices of examples to which the top-1 prediction is incorrect.', 'signature': 'def export_error_cases(examples, scores, all_answers, output_path):'}</s>{'name': 'hits_at_k@src/eval.py', 'description': 'Hits at k metrics.\n:param examples: List of triple...
0
{'name': 'test_repr@voluptuous/tests/tests.py', 'description': 'Verify that __repr__ returns valid Python expressions', 'signature': 'def test_repr():'}</s>{'name': 'test_number_when_precision_none_n_valid_scale_case1_yield_decimal_true@voluptuous/tests/tests.py', 'description': 'Test with Number with no precision and ...
0
{'name': '_NoThreadingLIFOQueue.get@src/pybnb/priority_queue.py', 'description': 'Removes and returns the next item in the\nqueue. If the queue is empty, returns None.', 'signature': 'def get(self):'}</s>{'name': 'DepthFirstPriorityQueue@src/pybnb/priority_queue.py', 'description': 'A priority queue implementation that...
0
{'name': 'add_participant_record@bidskit/translate.py', 'description': 'Copied from heudiconv, this solution is good b/c it checks if the same subject ID already exists\n:param studydir:\n:param subject:\n:param age:\n:param sex:\n:return:', 'signature': 'def add_participant_record(studydir, subject, age, sex):'}</s>{'...
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': 'type_inference@06_prepare/data-wrangler/data_wrangler_antje.py', 'description': 'Core type inference logic\n\nArgs:\n df: spark dataframe\n\nReturns: dict a schema that maps from column name to mohave datatype', 'signature': 'def type_inference(df): # noqa: C901 # pylint: disable=R0912'}</s>{'name': 'broa...
0
{'name': '_fit@diffxpy/testing/tests.py', 'description': ':param noise_model: str, noise model to use in model-based unit_test. Possible options:\n\n - \'nb\': default\n:param design_loc: Design matrix of location model.\n:param design_loc: Design matrix of scale model.\n:param constraints_loc: : Constraints for loc...
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': 'humanbytes@resources/lib/util.py', 'description': 'Return the given bytes as a human friendly KB, MB, GB, or TB string', 'signature': 'def humanbytes(B):'}</s>{'name': 'get_streamurl_ut@resources/lib/util.py', 'description': 'DOCSTRING', 'code': 'def get_streamurl_ut(streamurl):\n\tPLog(\'get_streamurl_ut:\')...
0
{'name': 'TestMommyCreatesAssociatedModels.test_create_many_to_many_with_through_option@tests/test_mommy.py', 'description': 'This does not works', 'signature': 'def test_create_many_to_many_with_through_option(self):'}</s>{'name': 'gen_multi_line_string@model_mommy/random_gen.py', 'description': 'DOCSTRING', 'code': "...
0
{'name': 'PolarityTagger.__init__@trove/contrib/labelers/clinical/polarity.py', 'description': 'label_reduction: or|mv', 'signature': "def __init__(self, targets, data_root, label_reduction='mv'):"}</s>{'name': 'match_regex@trove/contrib/labelers/clinical/helpers.py', 'description': 'Return Span object for regex match...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCFACCESS_SUSPENDED = 1
0
{'name': 'EmbeddingLayer.project@nematus/transformer_layers.py', 'description': "Projects the transformer decoder's output into the vocabulary space. ", 'signature': 'def project(self, dec_out):'}</s>{'name': 'MaskedCrossEntropy@nematus/transformer_layers.py', 'description': 'Implements the cross-entropy loss with opti...
0
{'name': 'MessageSender.send@uamqp/sender.py', 'description': 'Add a single message to the internal pending queue to be processed\nby the Connection without waiting for it to be sent.\n\n:param message: The message to send.\n:type message: ~uamqp.message.Message\n:param callback: The callback to be run once a dispositi...
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': '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': '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': 'AlbanianLocale@arrow/locales.py', 'description': 'DOCSTRING', 'base_classes': [...
0
{'name': 'get_ngrok_process@pyngrok/ngrok.py', 'description': "Get the current ``ngrok`` process for the given config's ``ngrok_path``.\n\nIf ``ngrok`` is not installed at :class:`~pyngrok.conf.PyngrokConfig`'s ``ngrok_path``, calling this method\nwill first download and install ``ngrok``.\n\nIf ``ngrok`` is not runnin...
0
{'name': 'CM.close_application@src/preferences.py', 'description': 'Closes the application.\n\nParameters:\n- _widget: The widget that triggered the close event.\n\nReturns:\nNone', 'signature': 'def close_application(self, _widget):'}</s>{'name': 'get_selected_value_in_combo@src/preferences.py', 'description': 'Get th...
0
{'name': 'write@code/html/generate_static_website.py', 'description': 'Writes a generated HTML page to a file, but checks with a HTML parser before.\n:param text:\n:param file:', 'signature': 'def write(text, path):'}</s>{'name': 'folder_size@code/utils/utils.py', 'description': 'DOCSTRING', 'code': 'def folder_size(pa...
0
{'name': 'get_arm_tools_prefix_path@puncover/puncover.py', 'description': "Try to find and return the arm tools triple prefix path, like this:\n /usr/local/gcc-arm-none-eabi-9-2019-q4-major/bin/arm-none-eabi-\n\nIt's used to invoke the other tools, like objdump/nm.\n\nNote that we could instead use the '-print-prog-na...
0
{'name': 'patch_with_extra_methods@cli/rpc2socks/utils/vendor/loggex.py', 'description': 'Patch a `logging.Logger` or a `logging.LoggerAdapter` derived **object** or\n**type**.', 'signature': 'def patch_with_extra_methods(something):'}</s>_PYTHON38 = _mod_sys.version_info >= (3, 8)
0
{'name': 'PrintFormatCommand.do_invoke@gef.py', 'description': 'Default value for print-format command.', 'signature': 'def do_invoke(self, _: list[str], **kwargs: Any) -> None:'}</s>{'name': 'file_lookup_name_path@gef.py', 'description': 'Look up a file by name and path.\nReturn a Zone object if found, None otherwise....
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': 'Blog._init@src/ablog/blog.py', 'description': 'Instantiate Blog.', 'signature': 'def _init(self, app):'}</s>__all__ = ["Blog", "Post", "Collection", "BlogPageMixin", "Catalog"]
0
{'name': '_check_em_conversion@unyt/unit_object.py', 'description': "Check to see if the units contain E&M units\n\nThis function supports unyt's ability to convert data to and from E&M\nelectromagnetic units. However, this support is limited and only very\nsimple unit expressions can be readily converted. This functio...
0
{'name': 'Board.get_money_score@rts/src/Board.py', 'description': '1. of 3 functions that define elo rating of specified player. This one takes into account only players money count\n:param player: player that requires to know his money count\n:return: money count for specified player', 'signature': 'def get_money_scor...
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': 'field_psf@grizli/pipeline/auto_script.py', 'description': 'Generate PSFs for the available filters in a given field', 'signature': "def field_psf(root='j020924-044344', PREP_PATH='../Prep', RAW_PATH='../RAW', EXTRACT_PATH='../Extractions', factors=[1, 2, 4], get_drizzle_scale=True, subsample=256, size=6, get_...
0
{'name': 'User.initialize@src/astrobotany/models.py', 'description': 'Register a new player.', 'signature': 'def initialize(cls, username: str) -> User:'}</s>badge_277 = Badge("bowl with spoon", series=3, number=77, symbol="🥣")
0
{'name': 'Analytics.active_entities@twitter_ads/analytics.py', 'description': "Returns the details about which entities' analytics metrics\nhave changed in a given time period.", 'signature': 'def active_entities(klass, account, start_time, end_time, **kwargs):'}</s>ENTITY = enum( ACCOUNT='ACCOUNT', FUNDING_INS...
0
{'name': 'update_hospitalisations_qc_csv@refreshdata.py', 'description': 'Takes data_qc_manual_date.csv and extracts historic hospitalisation data.\n\ndata_qc_hospitalisations.csv file will be overwritten with the new updated file.\n\nParameters\n----------\nsources_dir : str\n Absolute path of sources dir.\nprocess...
0
{'name': 'do_setup@versioneer.py', 'description': 'Do main VCS-independent setup function for installing Versioneer.', 'signature': 'def do_setup() -> int:'}</s>{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools subclasses used by Versioneer.\n\nIf the package uses a different cmdclass (e....
0
{'name': 'PiApplication.find_print_event@pibooth/booth.py', 'description': 'Return the first found event if found in the list.\n ', 'signature': 'def find_print_event(self, events):'}</s>DEFAULT = { 'br': { 'intro': "Tirar foto", 'intro_print': 'Ainda tem como\nimprimir esta\nfoto', '...
0
{'name': 'unflatten@sklearn_pmml_model/tree/tree.py', 'description': 'Convert a `multiSplit` into a `binarySplit` decision tree which is expressively equivalent.\n\nParameters\n----------\nnode : eTree.Element\n XML Node element representing the current node.\n\nReturns\n-------\nnode : eTree.Element\n Modified XML...
0
{'name': 'geticmptypebynumber@pf/_utils.py', 'description': 'Return the ICMP type as a string.', 'signature': 'def geticmptypebynumber(type, af):'}</s>PFR_FLAG_DUMMY = 2
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': 'write_schema@singer/messages.py', 'description': "Write a schema message.\n\nstream = 'test'\nschema = {'properties': {'id': {'type': 'integer'}, 'email': {'type': 'string'}}} # nopep8\nkey_properties = ['id']\nwrite_schema(stream, schema, key_properties)", 'signature': 'def write_schema(stream_name, schema,...
0
{'name': 'PipelineParallelTransformerModel.build_model_base@fairseq/model_parallel/models/pipeline_parallel_transformer/model.py', 'description': 'Build a new model instance.', 'signature': 'def build_model_base(cls, args, task):'}</s>{'name': 'buffered_arange@fairseq/utils.py', 'description': 'DOCSTRING', 'code': 'def...
0
{'name': 'test_imputer_duplicate_encoder_output_columns@test/test_imputer.py', 'description': 'Tests Imputer with sequential, bag-of-words and categorical variables as inputs\nthis could be run as part of integration test suite.', 'signature': 'def test_imputer_duplicate_encoder_output_columns(test_dir, data_frame):'}<...
0
{'name': 'test_put_get_delete_replication@ut/test.py', 'description': '设置、获取、删除跨园区复制配置', 'signature': 'def test_put_get_delete_replication():'}</s>{'name': 'test_ci_super_resolution_process@ut/test.py', 'description': '图片超分下载时处理', 'code': 'def test_ci_super_resolution_process():\n """图片超分下载时处理"""\n if TEST_CI != ...
0
{'name': 'AdversarialLearner.build_aug_test_graph@models/adversarial_learner.py', 'description': 'This graph will be used for the generation of the results\nwith multiple crop of the images.\nThis improves the results while doing ensembling.\nRequires batch size to be one (automatically handled)', 'signature': 'def bui...
1
{'name': 'Formula.__new__@pysat/formula.py', 'description': 'Factory-like formula constructor, which avoids creating duplicated\nformulas if we are currently using a context. Otherwise, simply\ncreates a formula object of a given type, without duplicate\nchecking.', 'signature': 'def __new__(cls, *args, **kwargs):'}</s...
1
{'name': 'FileInfo.RepositoryName@third_party/cpplint/cpplint.py', 'description': 'FullName after removing the local path to the repository.\n\nIf we have a real absolute path name here we can try to do something smart:\ndetecting the root of the checkout and truncating /path/to/checkout from\nthe name so that we get h...
0
{'name': 'parseItem@python_v2/label_data_utils.py', 'description': '_summary_\n\nArgs:\n item (LabelItem): _description_\n map_item (Map<string, LabelItem>): _description_', 'signature': 'def parseItem(item, map_item):'}</s>{'name': 'processLabelItems@python_v2/label_data_utils.py', 'description': '_summary_\n\nA...
0
{'name': 'writeFileTree@fwtool.py', 'description': 'Writes a list of UnixFiles to the disk, unpacking known archive files', 'signature': 'def writeFileTree(files, path):'}</s>{'name': 'DoubleAesCrypter@fwtool/sony/fdat.py', 'description': 'Decrypts a block from a 3rd gen firmware image using AES', 'base_classes': ['Aes...
0
{'name': 'ingest_to_adx@databricks-adx-integration/src/code/functions/adxingestp2/__app__/dataingest/__init__.py', 'description': 'Trigger ADX to ingest the specified file in Azure Data Lake\nPrepare ADX ingestion meta-data\n:param file_path: The full path of blob file\n:param file_size: The full size of blob file\n:pa...
0
{'name': 'test_print_full@tests/test_main.py', 'description': 'Test --print option for different types of inputs.', 'signature': 'def test_print_full(tmp_path: Path, capsys) -> None:'}</s>{'name': '__call_conda_env_update@src/conda_devenv/devenv.py', 'description': 'DOCSTRING', 'code': 'def __call_conda_env_update(\n ...
0
{'name': 'make_events@lib/event.py', 'description': 'Controls event creation and writing for each gene', 'signature': 'def make_events(events, my_genome, input_name, output_name, edge_len, logger, b_type, th):'}</s>{'name': 'process_events@lib/event.py', 'description': 'Generates specified event occurrences in gene and...
1
{'name': 'uberenv_create_mirror@scripts/llnl_scripts/llnl_lc_build_tools.py', 'description': 'Calls uberenv to create a spack mirror.', 'signature': 'def uberenv_create_mirror(prefix, spec, project_file, mirror_path):'}</s>{'name': 'get_repo_dir@scripts/llnl_scripts/llnl_lc_build_tools.py', 'description': 'DOCSTRING', ...
0
{'name': 'process_query@da/compiler/incgen.py', 'description': "Generates stub and hook for 'query'.", 'signature': 'def process_query(query, state):'}</s>STUB_ASSIGN_JB_SET = " def {1}(_{0}): {0}.copy_update(_{0}) return {0} "
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>{'nam...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCTES_BACKOUT = 4352
0
{'name': 'SegWitTest.test_max_witness_push_length@test/functional/p2p_segwit.py', 'description': 'Should only allow up to 520 byte pushes in witness stack ', 'signature': 'def test_max_witness_push_length(self):'}</s>OP_CHECKSIGVERIFY = CScriptOp(0xad)
0
{'name': '_make_json_entry@s2e_env/commands/execution_trace.py', 'description': "Combine a trace entry header and item into a single JSON-serializable\nentry. Return this entry as a ``dict``.\n\nSome things to note:\n * The header's ``size`` field is removed - it is not required in the\n JSON\n * Enums are r...
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': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo...
0
{'name': 'CheckForNonConstReference@tools/caffe-sphereface/scripts/cpp_lint.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 in...
0
{'name': 'nestedExpr@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and\nclosing delimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list\n (default= ``"("``); can also ...
0
{'name': 'Box3dEvaluator.evaluate@cityscapesscripts/evaluation/evalObjectDetection3d.py', 'description': 'Main evaluation routine.', 'signature': 'def evaluate(self):'}</s>{'name': 'calcIouMatrix@cityscapesscripts/evaluation/objectDetectionHelpers.py', 'description': 'Calculates the pairwise Intersection Over Union (Io...
0
{'name': 'ContributeView.post@app/views.py', 'description': 'POST a tutorial', 'signature': 'def post(self, request):'}</s>{'name': 'Tutorial@app/models.py', 'description': 'tutorials have a title, a URL, a set of tags, a category and creation date', 'base_classes': ['models.Model'], 'methods': [{'name': 'Tutorial.__st...
1
{'name': 'generate_main_html@nhentai/utils.py', 'description': 'Generate a main html to show all the contains doujinshi.\nWith a link to their `index.html`.\nDefault output folder will be the CLI path.', 'signature': "def generate_main_html(output_dir=f'.{PATH_SEPARATOR}'):"}</s>FAV_URL = f'{BASE_URL}/favorites/'
0
{'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': 'api@da/common.py', 'description'...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQOT_PROCESS = 3
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>{'name': '_ExternCInfo@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Stores information about an \'extern...
0
{'name': 'convert_2bpp_to_png@tools/gfx/gfx.py', 'description': 'Convert a planar 2bpp graphic to png.', 'signature': 'def convert_2bpp_to_png(image, **kwargs):'}</s>{'name': 'interleave_tiles@tools/gfx/gfx.py', 'description': 'DOCSTRING', 'code': 'def interleave_tiles(image, width):\n return connect(interleave(get_...
1