text string | label int64 |
|---|---|
{'name': 'create_estimator_and_inputs@object_detection/model_lib.py', 'description': "Creates `Estimator`, input functions, and steps.\n\nArgs:\n run_config: A `RunConfig`.\n hparams: A `HParams`.\n pipeline_config_path: A path to a pipeline config file.\n config_override: A pipeline_pb2.TrainEvalPipelineConfig tex... | 0 |
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=... | 0 |
{'name': 'ParseArguments@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'sign... | 0 |
{'name': 'make_predictions@exercises/part2/building-your-model/model_io.py', 'description': 'Make predictions using the given model and dataset reader.', 'signature': 'def make_predictions('}</s>serialization_dir = "model" | 0 |
{'name': 'inject_envoy_http_proxy_fixture@benchmarks/envoy_proxy.py', 'description': 'Injects an Envoy proxy in front of the test server.\n\nNOTE: Depends on the proxy_config fixture, which must be explicitly imported\ninto the consuming module when using this fixture.\n\nArgs:\n request: supplies the ip version.\n s... | 0 |
{'name': 'check_target_label_and_n_target_samples@self_paced_ensemble/utils/_validation_param.py', 'description': 'Jointly check `target_label` and `n_target_samples` parameters.', 'signature': 'def check_target_label_and_n_target_samples(y, target_label, n_target_samples, sampling_type):'}</s>VISUALIZER_ENSEMBLES_USAG... | 0 |
{'name': 'probit_assignment@Criticality/PCS/Criticality/network_lib/weighted_betweenness.py', 'description': "Function to do stochastic probit assignment on transport network. The weight of the transport network\nis sampled by normal distribution with the original link weight as the mean.\n\nParameters\n------------\nG... | 0 |
{'name': 'Translator.get_options_for_model@modeltranslation/translator.py', 'description': 'Thin wrapper around ``_get_options_for_model`` to preserve the\nsemantic of throwing exception for models not directly registered.', 'signature': 'def get_options_for_model(self, model: type[Model]) -> TranslationOptions:'}</s>{... | 0 |
{'name': 'fsn2uri@Monika After Story/game/python-packages/mutagen/_senf/_fsnative.py', 'description': "Args:\n path (fsnative): The path to convert to an URI\nReturns:\n `text`: An ASCII only URI\nRaises:\n TypeError: If no `fsnative` was passed\n ValueError: If the path can't be converted\n\nTakes a `fsnat... | 0 |
{'name': 'connect@trino/dbapi.py', 'description': 'Constructor for creating a connection to the database.\n\nSee class :py:class:`Connection` for arguments.\n\n:returns: a :py:class:`Connection` object.', 'signature': 'def connect(*args, **kwargs):'}</s>HEADER_USER = "X-Trino-User" | 0 |
{'name': 'GRRFlowTests.testDownloadFilesForFlow@tests/lib/collectors/grr_hosts.py', 'description': 'Test if results are downloaded to the correct directories.', 'signature': 'def testDownloadFilesForFlow(self, mock_Get):'}</s>hunt_pb = hunt_pb2.ApiHunt(
urn="hunts/12345",
hunt_id="F:12345",
state=1
) | 0 |
{'name': 'simxGetVisionSensorImage@7_Demo_youBotPickAndPlace/code/vrep/VREP_RemoteAPIs/sim.py', 'description': 'Please have a look at the function description/documentation in the CoppeliaSim user manual', 'signature': 'def simxGetVisionSensorImage(clientID, sensorHandle, options, operationMode):'}</s>sim_modelproperty... | 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': 'createParser@dicom2stl/utils/parseargs.py', 'description': 'Create the command line argument parser', 'signature': 'def createParser():'}</s>{'name': 'disableFilter@dicom2stl/utils/parseargs.py', 'description': 'Disable a filter', 'base_classes': ['argparse.Action'], 'methods': [{'name': 'disableFilter.__call... | 1 |
{'name': 'Metar._handleWind@metar/Metar.py', 'description': 'Parse the wind and variable-wind groups.\n\nThe following attributes are set:\n wind_dir [direction]\n wind_speed [speed]\n wind_gust [speed]\n wind_dir_from [int]\n wind_dir_to [int]', 'signature': 'def _... | 0 |
{'name': '_to_request@swagger_to/elm_client.py', 'description': 'Translate an endpoint to a client request function.\n\n:param endpoint: to be translated\n:param typedefs: table of Elm type definitions\n:return: representation of the request function suitable for generating Elm client code', 'signature': 'def _to_reque... | 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': '_main@tools/gfx/png.py', 'description': 'Run the PNG encoder with options from the command line.', 'signature': 'def _main(argv):'}</s>{'name': 'color_triple@tools/gfx/png.py', 'description': 'Convert a command line colour value to a RGB triple of integers.\nFIXME: Somewhere we need support for greyscale back... | 1 |
{'name': 'Device._buildReadRegisterPacket@src/LabJackPython.py', 'description': 'self._buildReadRegisterPacket(addr, numReg)\n\nBuilds a raw modbus "Read Register" packet to be written to a device\n\nReturns a tuple:\n(<Packet as a list>, <number of bytes to read>)', 'signature': 'def _buildReadRegisterPacket(self, add... | 0 |
{'name': 'optimize_column_ordering@scrapers/sis_scraper/util.py', 'description': 'Because we want the QuACS homepage to be as "square-like" as possible,\nwe need to re-order departments in such a way that once they\'re laid out\nin multiple columns, each column is a similar height.', 'signature': 'def optimize_column_o... | 0 |
{'name': 'exec_check_and_lint@check_lint.py', 'description': "Utility function to unconditionally execute 'SublimeHaskellCHeckAndLint.run()' without worrying\nabout the command's status.", 'signature': 'def exec_check_and_lint(view, fly_mode=False, continue_success=None, error_handler=None):'}</s>{'name': 'SublimeHaske... | 0 |
{'name': 'test_put_get_delete_bucket_domain_certificate@ut/test.py', 'description': '测试设置获取删除bucket自定义域名证书', 'signature': 'def test_put_get_delete_bucket_domain_certificate():'}</s>{'name': 'test_ci_put_image_style@ut/test.py', 'description': 'DOCSTRING', 'code': 'def test_ci_put_image_style():\n if TEST_CI != \'tru... | 0 |
{'name': 'KeysightM8190A.upload_waveform@src/auspex/instruments/keysight.py', 'description': 'Uploads the waveform to the device. Technically we should split the data into multiple chunks\nif we exceed the 999999999 Bytes, i.e. 1GB SCPI transfer limit.', 'signature': 'def upload_waveform(self, wf_data, segment_id, chan... | 0 |
{'name': 'update_amount_screen@displays/papiruszero2in.py', 'description': 'Update the amount screen to reflect new coins inserted\n ', 'signature': 'def update_amount_screen():'}</s>qr_request_1 = "Scansiona" | 0 |
{'name': 'convert_entries@code/html/generate_static_website.py', 'description': ':param entries:\n:param inspirations:\n:param developers:\n:return:', 'signature': 'def convert_entries(entries, inspirations, developers):'}</s>{'name': 'entry_iterator@code/utils/osg.py', 'description': ' ', 'code': 'def entry_iterato... | 0 |
{'name': 'genotype_call_with_read_pair@scripts/genotype_with_reference.py', 'description': 'Genotype call based on total depth of concordant and discordant reads a la\nHormozdiari et al. 2010 (Genome Research).', 'signature': 'def genotype_call_with_read_pair(concordant, discordant, std_depth):'}</s>CHROMOSOME = 0 | 0 |
{'name': 'get_intervals_to_process@emissionsapi/autoupdater.py', 'description': 'Get all intervals with associated product files to process.\nIntervals with existing data will be skipped.\n\n:param session: SQLAlchemy Session\n:type session: sqlalchemy.orm.session.Session\n:param table: Table to search for existing dat... | 0 |
{'name': 'draw_lnurl_qr@displays/waveshare2in13v3.py', 'description': 'Draw a lnurl qr code on the e-ink screen\n ', 'signature': 'def draw_lnurl_qr(qr_img):'}</s>amount_screen_1 = " sats" | 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>NOTSET = _mod_logging.NOTSET | 0 |
{'name': 'MarkMethodMixin.mark_text@altair/vegalite/v3/schema/mixins.py', 'description': "Set the chart's mark to 'text'\n\nFor information on additional arguments, see :class:`MarkDef`", 'signature': 'def mark_text(self, align=Undefined, angle=Undefined, baseline=Undefined, binSpacing=Undefined,'}</s>{'name': 'OrderFi... | 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': 'Ava._images_and_boxes_preprocessing@models/SlowFast/slowfast/datasets/ava_dataset.py', 'description': 'This function performs preprocessing for the input images and\ncorresponding boxes for one clip.\n\nArgs:\n imgs (tensor): the images.\n boxes (ndarray): the boxes for the current clip.\n\nReturns:\n ... | 0 |
{'name': 'fetch_rrlyrae_lc_params@gatspy/datasets/rrlyrae.py', 'description': 'Fetch data from table 2 of Sesar 2010\n\nThis table includes observationally-derived parameters for all the\nSesar 2010 lightcurves.', 'signature': 'def fetch_rrlyrae_lc_params(**kwargs):'}</s>{'name': 'RRLyraeTemplates@gatspy/datasets/rrlyr... | 0 |
{'name': 'imGrad@training_codes/utils/utils_model.py', 'description': 'Computes the discrete gradient of an input batch of images of size \nB x C x H x W. The output is of size B x 2*C x H x W where in the 2nd \ndimension from 0:C the gradient with respect to the y-axis of each channel\nof the image is stored, while in... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQEVO_MSG = 3 | 0 |
{'name': 'ConsensusML.best_combo@scripts/cm_work/consensus.py', 'description': 'compare kfold scores between different combinations of\n1) boruta\n2) boruta + gene_intersection\n3) boruta + kf_lasso\n4) boruta + kf_lasso + xgb_lasso\n5) gene_intersection + kf_lasso + xgb_lasso', 'signature': 'def best_combo(self, model... | 0 |
{'name': 'dashboard_export@api/project/__init__.py', 'description': 'Uses the opensearch dashboards API to export a dashboard. Also handles the _REPLACER strings\nas described in "Adding new visualizations and dashboards" at\nhttps://idaholab.github.io/Malcolm/docs/contributing-dashboards.html#DashboardsNewViz\n\nParam... | 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': 'ProxyPool.get_proxy_item@spider/network/proxy_pool.py', 'description': '获取代理对象\n:param proxy_id:\n:param proxies:\n:return:', 'signature': 'def get_proxy_item(self, proxy_id="", proxies=None):'}</s>TAB_FAILED_REQUSETS = "{table_folder}:z_failed_requsets" | 0 |
{'name': 'LongTypesExprTestCase.test_unsigned_long_type_from_block@llvm-project/lldb/test/API/types/TestLongTypesExpr.py', 'description': "Test that 'unsigned_long'-type variables are displayed correctly from a block.", 'signature': 'def test_unsigned_long_type_from_block(self):'}</s>{'name': 'skipUnlessAddressSanitize... | 0 |
{'name': 'num_procs@fireup/utils/mpi_tools.py', 'description': 'Count active MPI processes.', 'signature': 'def num_procs():'}</s>{'name': 'mpi_op@fireup/utils/mpi_tools.py', 'description': 'DOCSTRING', 'code': 'def mpi_op(x, op):\n x, scalar = ([x], True) if np.isscalar(x) else (x, False)\n x = np.asarray(x, dty... | 0 |
{'name': 'SchemaConverter._visit_pattern@examples/json_schema_to_grammar.py', 'description': 'Transforms a regular expression pattern into a GBNF rule.\n\nInput: https://json-schema.org/understanding-json-schema/reference/regular_expressions\nOutput: https://github.com/ggerganov/llama.cpp/blob/master/grammars/README.md... | 1 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQGUR_ENABLED = 1 | 0 |
{'name': 'Hist@reference/ThinkDSP/code/thinkplot.py', 'description': "Plots a Pmf or Hist with a bar plot.\n\nThe default width of the bars is based on the minimum difference\nbetween values in the Hist. If that's too small, you can override\nit by providing a width keyword argument, in the same units\nas the values.\... | 1 |
{'name': 'render_git_describe_long@versioneer.py', 'description': "TAG-DISTANCE-gHEX[-dirty].\n\nLike 'git describe --tags --dirty --always -long'.\nThe distance/hash is unconditional.\n\nExceptions:\n1: no tags. HEX[-dirty] (note: no 'g' prefix)", 'signature': 'def render_git_describe_long(pieces: Dict[str, Any]) -> ... | 0 |
{'name': 'CoCreateInstanceEx@comtypes/_post_coinit/misc.py', 'description': 'The basic windows api to create a COM class object and return a\npointer to an interface, possibly on another machine.\n\nPassing both "machine" and "pServerInfo" results in a ValueError.', 'signature': 'def CoCreateInstanceEx('}</s>_oleaut32 ... | 0 |
{'name': 'template@src/back/kite/bottle.py', 'description': 'Get a rendered template as a string iterator.\nYou can use a name, a filename or a template string as first parameter.\nTemplate rendering arguments can be passed as dictionaries\nor directly (as keyword arguments).', 'signature': 'def template(*args, **kwarg... | 0 |
{'name': 'analyze_enemy_ub@analyze.py', 'description': 'analyze enemy ub\n\n\nArgs\n time_count (int): count up after ub\n work_frame (ndarray): expand frame\n find_time (string): m:ss\n ub_data_enemy (list): found ub data with enemy ub\n\n\nReturns', 'signature': 'def analyze_enemy_ub(time_count, work_fram... | 0 |
{'name': 'PBES2.decrypt@blockchain-env/lib/python3.7/site-packages/Cryptodome/IO/_PBES.py', 'description': 'Decrypt a piece of data using a passphrase and *PBES2*.\n\nThe algorithm to use is automatically detected.\n\n:Parameters:\n data : byte string\n The piece of data to decrypt.\n passphrase : byte string\n ... | 0 |
{'name': 'HostRecordV6.ipv6addrs@infoblox_client/objects.py', 'description': ':meta private:', 'signature': 'def ipv6addrs(self):'}</s>{'name': 'Rir@infoblox_client/objects.py', 'description': "Rir: Regional Internet Registry object.\nCorresponds to WAPI object 'rir'\n\nAn RIR is an entity that manages the Internet num... | 0 |
{'name': 'Device.open@src/LabJackPython.py', 'description': 'Device.open(devType, Ethernet=False, firstFound = True, serial = None, localId = None, devNumber = None, ipAddress = None, handleOnly = False, LJSocket = None)\n\nOpen a device of type devType. ', 'signature': 'def open(self, devType, Ethernet=False, firstFou... | 0 |
{'name': '_CallbackContext.check_data@sounddevice.py', 'description': 'Check data and output mapping.', 'signature': 'def check_data(self, data, mapping, device):'}</s>{'name': 'sleep@sounddevice.py', 'description': "Put the caller to sleep for at least *msec* milliseconds.\n\nThe function may sleep longer than request... | 0 |
{'name': 'bustools_count@kb_python/count.py', 'description': 'Runs `bustools count`.\n\nArgs:\n bus_path: Path to BUS file to correct\n out_prefix: Prefix of the output files to generate\n t2g_path: Path to output transcript-to-gene mapping\n ecmap_path: Path to ecmap file, as generated by `kallisto bus`\n ... | 0 |
{'name': 'TestManager.test_custom_manager2@modeltranslation/tests/tests.py', 'description': 'Test if user-defined queryset is still working', 'signature': 'def test_custom_manager2(self):'}</s>{'name': 'ModelWithConstraint@modeltranslation/tests/models.py', 'description': 'DOCSTRING', 'base_classes': ['models.Model'], ... | 0 |
{'name': 'ReplaceByFeeTest.test_doublespend_chain@qa/rpc-tests/replace-by-fee.py', 'description': 'Doublespend of a long chain', 'signature': 'def test_doublespend_chain(self):'}</s>{'name': 'SegwitVersion1SignatureHash@qa/rpc-tests/test_framework/script.py', 'description': 'DOCSTRING', 'code': 'def SegwitVersion1Signa... | 0 |
{'name': 'FastMultiTemplatePeriodogram.autopower@ftperiodogram/modeler.py', 'description': 'Compute template periodogram at automatically-determined frequencies\n\nParameters\n----------\nsave_best_model : optional, bool (default = True)\n Save a TemplateModel instance corresponding to the best-fit model found\n**kw... | 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': 'conf@pymongo_inmemory/context.py', 'description': "Retrieve asked `option` if possible. There are number of places that are checked.\nIn the order of precedence,\n1. Environment variables\n2. setup.cfg in the root folder\n3. pymongo_inmemory.ini in the root folder\n4. `DEFAULT_CONF`\n\nRoot folder is where th... | 1 |
{'name': 'run@datasets/download_and_convert_cifar10.py', 'description': 'Runs the download and conversion operation.\n\nArgs:\n dataset_dir: The dataset directory where the dataset is stored.', 'signature': 'def run(dataset_dir):'}</s>{'name': 'image_to_tfexample@datasets/dataset_utils.py', 'description': 'DOCSTRING',... | 0 |
{'name': 'query_builds@buildtest/cli/history.py', 'description': 'This method is called when user runs `buildtest history query` which will\nreport the build.json and logfile.\n\nArgs:\n build_id (int): Build Identifier which is used for querying history file. The indentifier is an integer starting from 0\n log_o... | 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': 'DatasetReader.__init__@src/data/DatasetReader.py', 'description': ':param config:\n:param tokenizer:\n:param dataset:', 'signature': 'def __init__(self, config, tokenizer, dataset):'}</s>{'name': 'BoolQReader@src/data/BoolQReader.py', 'description': 'BoolQReader reads BoolQ dataset', 'base_classes': ['object'... | 1 |
{'name': 'GetQuasiSequenceOrder@PyBioMed/PyProtein/QuasiSequenceOrder.py', 'description': '###############################################################################\nComputing quasi-sequence-order descriptors for a given protein.\n\n[1]:Kuo-Chen Chou. Prediction of Protein Subcellar Locations by\n\nIncorporating ... | 1 |
{'name': 'FoundationTestCase2.test_more_expr_commands@tools/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods2.py', 'description': 'More expression commands for objective-c.', 'signature': 'def test_more_expr_commands(self):'}</s>{'name': 'skipUnlessSupportedTypeAttribute@tools/lldb/packages/Pyth... | 0 |
{'name': 'Device.close@src/LabJackPython.py', 'description': 'close()\n\nCloses the device.\n\nOn Windows, this method only sets the device handle to None but does\nnot close the device. Instead use the Close function from the\nLabJackPython module which closes all devices in the program, and is\nthe only device close ... | 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>IdPkgNS = "http://ns.adobe.com/AdobeInDesign/idml/1.0/packaging" | 1 |
{'name': 'geticmptypebynumber@pf/_utils.py', 'description': 'Return the ICMP type as a string.', 'signature': 'def geticmptypebynumber(type, af):'}</s>PFI_AFLAG_NETWORK = 1 | 0 |
{'name': 'versus_rest@diffxpy/testing/tests.py', 'description': 'Perform pairwise differential expression test between two groups on adata object\nfor each gene for each groups versus the rest of the data set.\n\nThis function wraps the selected statistical test for the scenario of\na two sample comparison. All unit_te... | 1 |
{'name': 'render_positive_time_period@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Resolve a template that specifies a timedelta', 'signature': 'def render_positive_time_period(data: dict, key: str) -> None:'}</s>{'name': 'IUSequenceQueue@custom_components/irrigation_unlimited/irriga... | 0 |
{'name': 'taproot_construct@test/functional/test_framework/script.py', 'description': 'Construct a tree of Taproot spending conditions\n\npubkey: a 32-byte xonly pubkey for the internal pubkey (bytes)\nscripts: a list of items; each item is either:\n - a (name, CScript or bytes, leaf version) tuple\n - ... | 0 |
{'name': 'test_copy_in_s3_file_with_remote@tests/bundles/test_file_bundle_api.py', 'description': 'Test copying in s3 file\nThe file should be copied into the remote context', 'signature': 'def test_copy_in_s3_file_with_remote(run_test):'}</s>{'name': 'push@disdat/api.py', 'description': 'Push a bundle to a remote repo... | 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.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': 'create_linux_export_file@tools/ipp_custom_library_tool_python/tool/generators.py', 'description': 'Creates Linux export file\n\n:param export_file:\n:param functions_list:\n:return:', 'signature': 'def create_linux_export_file(export_file, functions_list):'}</s>BUILD_SCRIPT = {
WINDOWS: r""":: Generates {... | 0 |
{'name': 'SymSpell._load_dictionary_stream@symspellpy/symspellpy.py', 'description': 'Loads multiple dictionary entries from a stream of word/frequency\ncount pairs.\n\n**NOTE**: Merges with any dictionary data already loaded.\n\nArgs:\n corpus_stream: A file object of the dictionary.\n term_index: The column pos... | 0 |
{'name': '_single_conversion@convert.py', 'description': "THIS WON'T WORK RIGHT NOW, USE THE WORLD CONVERSION LOOP IN MAIN\n\nCall only from __main__ section in this module. Generates sample converted\ninto each emotion.\n\n(str) filename - name.wav file to be converted\n(StarGAN-emo-VC1) model - pretrained model to pe... | 0 |
{'name': 'BitcoinTestFramework.main@test/functional/test_framework/test_framework.py', 'description': 'Main function. This should not be overridden by the subclass test scripts.', 'signature': 'def main(self):'}</s>TEST_EXIT_PASSED = 0 | 1 |
{'name': 'loadKeySecrets@apim-traffic-tool/lib/traffic-tool/src/python/multi_tenant_generate_tokens.py', 'description': 'This function will load b64 encrypted key:secret values for each application\n:return: None', 'signature': 'def loadKeySecrets():'}</s>abs_path = "" | 1 |
{'name': 'pdgd@adv_lib/attacks/primal_dual_gradient_descent.py', 'description': 'Primal-Dual Gradient Descent (PDGD) attack from https://arxiv.org/abs/2106.01538. This version is only suitable for\nthe L2-norm.\n\nParameters\n----------\nmodel : nn.Module\n Model to attack.\ninputs : Tensor\n Inputs to attack. Sh... | 0 |
{'name': 'test_cli_addremove_role@tests/test_cli.py', 'description': 'Test add/remove role.', 'signature': 'def test_cli_addremove_role(cli_app):'}</s>{'name': 'test_cli_createuser@tests/test_cli.py', 'description': 'Test create user CLI.', 'code': 'def test_cli_createuser(cli_app):\n """Test create user CLI."""\n ... | 0 |
{'name': 'IUZone.zone_id@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the zone_id. Should match the zone_id used in sequences', 'signature': 'def zone_id(self) -> str:'}</s>DEFAULT_MAX_LOG_ENTRIES = 50 | 0 |
{'name': 'ParseArguments@tools/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args):'}</s>{'name': 'Check... | 0 |
{'name': 'BisectRunner.get_next@nix_bisect/bisect_runner.py', 'description': 'Computes the next commit to test.\n\nThis takes skip-ranges into account and prioritizes finding the first\ncommit that unbreaks a skip range.\n\nMay add commits for cherry pick. Returns `False` when the bisect is\nfinished.', 'signature': 'd... | 0 |
{'name': 'generate_flat_fields@scripts/generators/intermediate_files.py', 'description': 'Generate ecs_flat.yml', 'signature': 'def generate_flat_fields(fields: Dict[str, FieldEntry]) -> Dict[str, Field]:'}</s>{'name': 'make_dirs@scripts/generators/ecs_helpers.py', 'description': 'DOCSTRING', 'code': "def make_dirs(pat... | 0 |
{'name': 'dump@json_tricks/nonp.py', 'description': 'Convert a nested data structure to a json string.\n\n:param fp: File handle or path to write to.\n:param compression: The gzip compression level, or None for no compression.\n:param force_flush: If True, flush the file handle used, when possibly also in the operating... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQAUTHENTICATE_OS = 0 | 0 |
{'name': 'IUClock.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data', 'signature': 'def load(self, config: OrderedDict) -> "IUClock":'}</s>MONTHS = [
"jan",
"feb",
"mar",
"apr",
"may",
"jun",
"jul",
"aug",
"sep",
"oct",
"no... | 0 |
{'name': 'denoiseCov@riskfolio/src/AuxFunctions.py', 'description': "Remove noise from cov by fixing random eigenvalues of their correlation\nmatrix. For more information see chapter 2 of :cite:`d-MLforAM`.\n\nParameters\n----------\ncov : DataFrame of shape (n_assets, n_assets)\n Covariance matrix, where n_assets i... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIAMO_INTERVAL = 789 | 0 |
{'name': 'urlsplit@bleach/_vendor/parse.py', 'description': "Parse a URL into 5 components:\n<scheme>://<netloc>/<path>?<query>#<fragment>\nReturn a 5-tuple: (scheme, netloc, path, query, fragment).\nNote that we don't break the components up in smaller bits\n(e.g. netloc is a single string) and we don't expand % escap... | 0 |
{'name': 'BaseImage.export_pixels@wand/image.py', 'description': 'Export pixel data from a raster image to\na list of values.\n\nThe ``channel_map`` tells ImageMagick which color\nchannels to export, and what order they should be\nwritten as -- per pixel. Valid entries for\n``channel_map`` are:\n\n- ``\'R\'`` - Red cha... | 0 |
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>ICMP_ECHO = 8 | 0 |
{'name': 'Grid.extent_in_crs@salem/gis.py', 'description': 'Get the extent of the grid in a desired crs.\n\nParameters\n----------\ncrs : crs\n the target coordinate reference system.\n\nReturns\n-------\n[left, right, bottom, top] boundaries of the grid.', 'signature': 'def extent_in_crs(self, crs=wgs84):'}</s>{'na... | 0 |
{'name': 'LightOSConnector.disconnect_volume@os_brick/initiator/connectors/lightos.py', 'description': 'Disconnect a volume from the local host.\n\nThe connection_properties are the same as from connect_volume.\nThe device_info is returned from connect_volume.\n:param connection_properties: The dictionary that describe... | 0 |
{'name': 'process_options@src/python_scripts/scripts/uber_subject.py', 'description': 'return status and VarsObject structs of subject and control variables\n\n - given list of valid options, read and process the user options\n - if terminal option or -no_gui, return 0 (successful quit)\n\nreturn 1 : on success and ... | 0 |
{'name': 'BaseReference.to_reference@fhirpy/base/resource.py', 'description': 'Returns Reference instance for this reference', 'signature': 'def to_reference(self, **kwargs) -> TReference:'}</s>TResource = TypeVar("TResource", bound=ResourceProtocol) | 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': 'TypeErrorTests.test_keyword_sort_cmpkey@didyoumean/didyoumean_sugg_tests.py', 'description': 'Sort and sorted functions have a cmp/key param dep. on the vers.', 'signature': 'def test_keyword_sort_cmpkey(self):'}</s>INVALIDTOKEN = (SyntaxError, re.INVALID_TOKEN_RE) | 0 |
{'name': 'get_symmetry@python/spglib/spglib.py', 'description': "Find symmetry operations from a crystal structure and site tensors.\n\n.. warning::\n :func:`get_symmetry` with ``is_magnetic=True`` is deprecated at version 2.0.\n\nUse :func:`get_magnetic_symmetry` for magnetic symmetry search.\n\nParameters\n-------... | 0 |
{'name': 'GenericMeta.__new__@vendor/typing.py', 'description': 'Create a new generic class. GenericMeta.__new__ accepts\nkeyword arguments that are used for internal bookkeeping, therefore\nan override should pass unused keyword arguments to super().', 'signature': 'def __new__(cls, name, bases, namespace,'}</s>Final ... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.