text string | label int64 |
|---|---|
{'name': 'SpeechLSTMModel.build_model@espresso/models/speech_lstm.py', 'description': 'Build a new model instance.', 'signature': 'def build_model(cls, args, task):'}</s>{'name': 'load_model_ensemble_and_task_from_hf_hub@fairseq/checkpoint_utils.py', 'description': 'DOCSTRING', 'code': 'def load_model_ensemble_and_task... | 0 |
{'name': 'TopLevelMixin.transform_fold@altair/vegalite/v5/api.py', 'description': 'Add a FoldTransform to the spec.\n\nParameters\n----------\nfold : List(string)\n An array of data fields indicating the properties to fold.\nas : [string, string]\n The output field names for the key and value properties produced ... | 0 |
{'name': 'streaming_classify@pairtools/lib/parse.py', 'description': 'Parse input sam file into individual reads, pairs, walks,\nthen write to the outstream(s).\n\nAdditional kwargs:\n min_mapq,\n drop_readid,\n drop_seq,\n drop_sam,\n add_pair_index,\n add_columns, # comma-separated list\n report_... | 0 |
{'name': 'BuildFailureRecord.commit_and_push_changes@bioconda_utils/build_failure.py', 'description': 'Commit and push any changes, including removal of the record.', 'signature': 'def commit_and_push_changes(self):'}</s>{'name': 'extract_stable_version@bioconda_utils/utils.py', 'description': 'DOCSTRING', 'code': 'def... | 0 |
{'name': 'readLzpt@fwtool/archive/lzpt.py', 'description': 'Decodes an LZTP image and returns its contents', 'signature': 'def readLzpt(file):'}</s>LzptHeader = Struct('LzptHeader', [
('magic', Struct.STR % 4),
('blockSize', Struct.INT32),
('tocOffset', Struct.INT32),
('tocSize', Struct.INT32),
]) | 1 |
{'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... | 1 |
{'name': 'main@src/tools/scripts/lofreq2_vcfplot.py', 'description': 'main function\n ', 'signature': 'def main():'}</s>{'name': 'calc_dist_min@src/tools/scripts/lofreq2_vcfplot.py', 'description': "Calculated smallest distance to next closest (left or right) variant.\n\nIf a chromosome only contains a single SNV, -... | 0 |
{'name': 'TerraformTest.execute_command@tftest.py', 'description': 'Run arbitrary Terraform command.', 'signature': 'def execute_command(self, cmd, *cmd_args):'}</s>{'name': 'parse_args@tftest.py', 'description': "Convert method arguments for use in Terraform commands.\n\nArgs:\n init_vars: dict of key/values converte... | 0 |
{'name': 'suggest_attribute_alternative@didyoumean/didyoumean_internal.py', 'description': 'Suggest alternative to the non-found attribute.', 'signature': 'def suggest_attribute_alternative(attribute, type_str, attributes):'}</s>{'name': 'suggest_import_from_module@didyoumean/didyoumean_internal.py', 'description': "Su... | 0 |
{'name': 'PacketFilter.get_queues@pf/filter.py', 'description': 'Retrieve the currently loaded queues.\n\nReturn a tuple of PFQueue objects.', 'signature': 'def get_queues(self):'}</s>pf_ops = {
"": PF_OP_NONE,
"><": PF_OP_IRG,
"<>": PF_OP_XRG,
"=": PF_OP_EQ,
"!=": PF_OP_NE,
"<": PF_OP_LT,
... | 0 |
{'name': 'RobotFileParser.can_fetch@src/future/backports/urllib/robotparser.py', 'description': 'using the parsed robots.txt decide if useragent can fetch url', 'signature': 'def can_fetch(self, useragent, url):'}</s>{'name': '_encode_result@src/future/backports/urllib/parse.py', 'description': 'DOCSTRING', 'code': 'de... | 0 |
{'name': 'SqlserverMode.start_sql_server@freezer/mode/sqlserver.py', 'description': 'Start the SQL Server instance after the backup is completed ', 'signature': 'def start_sql_server(self):'}</s>{'name': 'path_join@freezer/utils/utils.py', 'description': 'Should work for windows and linux\n:rtype: str', 'code': 'def pa... | 0 |
{'name': '_read_esmf@uxarray/io/_esmf.py', 'description': 'Reads in an Xarray dataset containing an ESMF formatted Grid dataset and\nencodes it in the UGRID conventions.\n\nAdheres to the ESMF Unstructrued Grid Format (ESMFMESH) outlined in the ESMF documentation:\nhttps://earthsystemmodeling.org/docs/release/latest/ES... | 0 |
{'name': 'JSONUnaryUnary.__call__@clarifai_grpc/channel/grpc_json_channel.py', 'description': "This is where the actually calls come through when the stub is called such as\nstub.PostInputs(). They get passed to this method which actually makes the request.\n\nArgs:\n request: the proto object for the request. It must... | 1 |
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>pf_hint_normal = {
"tcp.first": 2 * 60,
"tcp.opening": 30,
"tcp.established": 24 * 60 * 60,
"tcp.closing": 15 * 60,
"tcp.finwait": 45,
"tcp.closed": 90,
"tcp.tsdiff":... | 0 |
{'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': '_LocalProcess@tools/lldb/packages/Python/lldbsuite/test/l... | 0 |
{'name': 'triangulate_all@Pose2Sim/triangulation.py', 'description': 'For each frame\nFor each keypoint\n- Triangulate keypoint\n- Reproject it on all cameras\n- Take off cameras until requirements are met\nInterpolate missing values\nCreate trc file\nPrint recap message\n\n INPUTS: \n- a calibration file (.toml extens... | 0 |
{'name': 'post2rss@morerss/zhihu_stream.py', 'description': ':param post (dict): 帖子数据\n:param digest (bool): 输出摘要\n:param pic (str): pic=cf 或 pic=google:指定图片代理提供方\n:param extra_types (tuple): 除回答和文章之外的其他帖子类型\n:return: PyRSS2Gen.RSSItem: post RSS item', 'signature': 'def post2rss(post, digest=False, pic=None, extra_type... | 0 |
{'name': 'document@api/project/__init__.py', 'description': 'Returns the matching document(s) from the specified index\n\nParameters\n----------\nrequest : Request\n Uses \'from\', \'to\', \'limit\', \'filter\', and \'doctype\' from request arguments\n\nReturns\n-------\nfilter\n dict containing the filters, e.g.... | 0 |
{'name': 'main@lldb/packages/Python/lldbsuite/test/dosep.py', 'description': 'Run dotest.py in inferior mode in parallel.\n\n@param num_threads the parsed value of the num-threads command line\nargument.\n\n@param test_subdir optionally specifies a subdir to limit testing\nwithin. May be None if the entire test tree 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': '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': 'TauronAmiplusConfigFlowSensor.__init__@custom_components/tauron_amiplus/sensor.py', 'description': 'Initialize the sensor.', 'signature': 'def __init__(self, coordinator: TauronAmiplusUpdateCoordinator, name: str, meter_id: str, sensor_type: str,'}</s>PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
vol.Require... | 0 |
{'name': 'validate_config@buildtest/cli/config.py', 'description': "This method implements ``buildtest config validate`` which attempts to\nvalidate buildtest schema file `settings.schema.json <https://github.com/buildtesters/buildtest/blob/devel/buildtest/schemas/settings.schema.json>`_.\nIf it's not validate an excep... | 0 |
{'name': 'bind_gre_fmaps@bidskit/fmaps.py', 'description': 'GRE fieldmap binding\n\n:param gre_fmap_jsons:\n:param bold_jsons:\n:param t_bold:\n:param no_sessions: bool\n:param nii_ext: str\n:return:', 'signature': 'def bind_gre_fmaps(gre_fmap_jsons, bold_jsons, t_bold, no_sessions, nii_ext):'}</s>{'name': 'dcm2niix_js... | 0 |
{'name': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>{'name': 'is_div@src/api/python/z3/z3.py', 'des... | 0 |
{'name': 'wrap_deepmind@atari_zoo/atari_wrappers.py', 'description': 'Configure environment for DeepMind-style Atari.\n\nNote: this does not include frame stacking!', 'signature': "def wrap_deepmind(env, episode_life=False, skip=4, stack_frames=4, noop_max=30, noops=None, show_warped=False,preproc='tf'):"}</s>{'name': ... | 1 |
{'name': 'repl@click_repl/_repl.py', 'description': 'Start an interactive shell. All subcommands are available in it.\n\n:param old_ctx: The current Click context.\n:param prompt_kwargs: Parameters passed to\n :py:func:`prompt_toolkit.PromptSession`.\n\nIf stdin is not a TTY, no prompt will be printed, but only comm... | 1 |
{'name': 'make_visit_mosaic@grizli/aws/visit_processor.py', 'description': "Make a mosaic of the exposures from a visit with a tangent point selected\nfrom the sky tile grid\n\nParameters\n----------\nassoc : str\n grizli association name\n\nbase_path : str\n Base working directory. Working directory will be\n ... | 0 |
{'name': 'SegWitTest.test_witness_sigops@test/functional/p2p_segwit.py', 'description': 'Ensure sigop counting is correct inside witnesses.', 'signature': 'def test_witness_sigops(self):'}</s>{'name': 'sync_chain@test/functional/test_framework/util.py', 'description': 'Wait until everybody has the same best block', 'co... | 0 |
{'name': 'wait_on_db_update@grizli/aws/db.py', 'description': 'Wait for db to stop updating on root', 'signature': 'def wait_on_db_update(root, t0=60, dt=30, n_iter=60, engine=None):'}</s>{'name': 'transform_wcs@grizli/utils.py', 'description': 'Update WCS with shift, rotation, & scale\n\nParameters\n----------\nin_wcs... | 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': 'IncInterfaceGenerator.do_table4_transformation@da/compiler/incgen.py', 'description': 'Transformation defined in Table 4 of OOPSLA paper.\n\nThis transformation breaks up quantification conditions involving\nlogical operators (and/or) in the hopes of creating opportunities to\napply table 3.\n\nNote 1: unlike... | 0 |
{'name': 'as_model@hy/models.py', 'description': "Convert ``x`` and any elements thereof into :ref:`models <models>`\nrecursively. This function is called implicitly by Hy in many situations,\nsuch as when inserting the expansion of a macro into the surrounding code,\nso you don't often need to call it. One use is to e... | 0 |
{'name': 'classify_data@QHack/QML_Challenges/circuit_training_500_template/circuit_training_500_template.py', 'description': 'Develop and train your very own variational quantum classifier.\n\nUse the provided training data to train your classifier. The code you write\nfor this challenge should be completely contained ... | 1 |
{'name': 'modsign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'modulename', 'signature': 'def modsign2map(m):'}</s>{'name': 'isdummyroutine@venv/Lib/site-packages/numpy/f2py/auxfuncs.py', 'description': 'DOCSTRING', 'code': "def isdummyroutine(rout):\n try:\n return rout['f2pyenhanceme... | 0 |
{'name': 'DL_model.fit@scripts/keras_baseline.py', 'description': 'Trains the model\n ', 'signature': 'def fit(self, epochs, batch_size, class_weight=None, patience=5):'}</s>{'name': 'plot@scripts/keras_baseline.py', 'description': 'DOCSTRING', 'code': "def plot(history, model_type, dataset_type, source, orderin... | 0 |
{'name': 'TautomerEnumerator.__init__@scopy/ScoPretreat/pretreatutil.py', 'description': ':param transforms: A list of TautomerTransforms to use to enumerate tautomers.\n:param max_tautomers: The maximum number of tautomers to enumerate (limit to prevent combinatorial explosion).', 'signature': 'def __init__(self, tran... | 0 |
{'name': 'TestUnicodeReader.test_wrong_encoding_detection_windows@tests/test_io.py', 'description': 'Test for detecting the encoding of a windows file opened in ascii', 'signature': 'def test_wrong_encoding_detection_windows(self):'}</s>{'name': '_read_any@meza/io.py', 'description': 'Helper func to read a file or file... | 0 |
{'name': 'update_settings_ui@addon_updater_ops.py', 'description': 'Preferences - for drawing with full width inside user preferences\n\nA function that can be run inside user preferences panel for prefs UI.\nPlace inside UI draw using:\n addon_updater_ops.update_settings_ui(self, context)\nor by:\n addon_updater... | 0 |
{'name': 'ImageMngr.expire@imagegw/shifter_imagegw/imagemngr.py', 'description': 'Expire an image. (Not Implemented)', 'signature': 'def expire(self, session, image):'}</s>{'name': 'mongo_reconnect_reattempt@imagegw/shifter_imagegw/imagemngr.py', 'description': 'Automatically re-attempt potentially failed mongo operat... | 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': 'extract_kalman_boxes@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': 'def extract_kalman_boxes(dataset_test, net, rpn_conf, test_path, data_folder):'}</s>{'name': 'Augmentation@lib/augmentations.py', 'description': 'Data Augmentation class which packages th... | 0 |
{'name': 'plot_sounding_data_uwyo@pymeteo/skewt.py', 'description': 'Plot SkewT from University of Wyoming sounding data\n\n:param filename: The name of the file containing sounding data\n:type filemane: str\n:param output: The name of the file to output plot\n:type output: str\n:param stationID: The station ID of a so... | 0 |
{'name': 'summariseSingleR@pipelines/pipeline_scxl.py', 'description': 'Collect the single R plots into a section for the report', 'signature': 'def summariseSingleR(infile, outfile):'}</s>{'name': 'compareClusters@pipelines/pipeline_scxl.py', 'description': 'Perform clustering on a saved seurat object.\n\nThe single-c... | 0 |
{'name': 'Container.__init__@tools/system_design/xmlparser/container.py', 'description': "Constructor\n\nKeyword arguments:\nnode -- XML node defining this event\ntree -- currently evaluted communication structure tree\n\nResets the 'abstract' flag for every component beeing contained here.", 'signature... | 0 |
{'name': '_init@third_party/libassimp/port/PyAssimp/pyassimp/core.py', 'description': "Custom initialize() for C structs, adds safely accessible member functionality.\n\n:param target: set the object which receive the added methods. Useful when manipulating\npointers, to skip the intermediate 'contents' deferencing.", ... | 0 |
{'name': 'csrgraph.random_walks@csrgraph/graph.py', 'description': "Create random walks from the transition matrix of a graph\n in CSR sparse format\n\nParameters\n----------\nT : scipy.sparse.csr matrix\n Graph transition matrix in CSR sparse format\nwalklen : int\n length of the random walks\nepochs : int\n ... | 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': 'expected_aspls@tests/test_weighting.py', 'description': 'The weighting for adaptive smoothness penalized least squares smoothing (aspls).\n\nDoes not perform error checking since this is just used for simple weighting cases.\n\nParameters\n----------\ny : numpy.ndarray, shape (N,)\n The measured data.\nbas... | 0 |
{'name': 'test_exe__testcases@tests/test_exe_testcases.py', 'description': 'Dynamic load testcases from tests/exe_testcases folder.\n\nWorkflow process\n1. Copy files to tmp dir\n2. Encrypt .py to .pye\n3. Execute main.pye by pyconcrete\n4. Validate expected result by expected.yaml', 'signature': 'def test_exe__testcas... | 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>MQIA_TOPIC_TYPE = 208 | 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': 'MLabTestCase.test_blsprice@test/test_mlab.py', 'description': 'from matlab documentation of blsprice', 'signature': 'def test_blsprice(self):'}</s>{'name': 'make_rate_helper@quantlib/util/rates.py', 'description': 'Wrapper for deposit and swaps rate helpers makers\nFor Swaps: assume USD swap fixed rates vs. 6... | 0 |
{'name': 'TopoJson.style_data@folium/features.py', 'description': 'Applies self.style_function to each feature of self.data.', 'signature': 'def style_data(self) -> None:'}</s>{'name': 'validate_locations@folium/utilities.py', 'description': 'Validate an iterable with lat/lon coordinate pairs.', 'code': 'def validate_l... | 0 |
{'name': 'AXMLFile.from_xml@qt4a/apktool/axml.py', 'description': '根据xml文件生成AXMLFile对象\n ', 'signature': 'def from_xml(xml_text):'}</s>{'name': 'StructHeaderBase@qt4a/apktool/header.py', 'description': '结构体头基类\n ', 'base_classes': ['with_metaclass(HeaderMetaClass, object)'], 'methods': [{'name': 'StructHeader... | 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': 'use_golang_type@gef.py', 'description': 'DOCSTRING', 'code': 'def use_golang_type() -> str:\n if is_32bit(): return "uint32"... | 0 |
{'name': 'SegWitTest.test_witness_sigops@test/functional/p2p_segwit.py', 'description': 'Ensure sigop counting is correct inside witnesses.', 'signature': 'def test_witness_sigops(self):'}</s>{'name': 'str_to_b64str@test/functional/test_framework/util.py', 'description': 'DOCSTRING', 'code': "def str_to_b64str(string):... | 0 |
{'name': 'TorrentsAPIMixIn.torrents_info@src/qbittorrentapi/torrents.py', 'description': 'Retrieves list of info for torrents.\n\n:param status_filter: Filter list by torrent status:\n\n * Original options: ``all``, ``downloading``, ``seeding``, ``completed``,\n ``paused``, ``active``, ``inactive``, ``resumed``... | 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': 'PyMolecule.GetAllDescriptor@PyBioMed/Pymolecule.py', 'description': '#################################################################\nCalculate all descriptors (608).\n\nUsage:\n\n res=GetAllDescriptor()\n\n res is a dict form.\n#################################################################', 'sign... | 0 |
{'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_BOOLOR = CScriptOp(0x9b) | 0 |
{'name': 'cpython_tags@gyp/pylib/packaging/tags.py', 'description': "Yields the tags for a CPython interpreter.\n\nThe tags consist of:\n- cp<python_version>-<abi>-<platform>\n- cp<python_version>-abi3-<platform>\n- cp<python_version>-none-<platform>\n- cp<less than python_version>-abi3-<platform> # Older Python versi... | 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': 'get_child_access3@Inventory_Modules.py', 'description': "- faws_acct is a custom class (account_class.aws_acct_access)\n- fChildAccount expects an AWS account number (ostensibly of a Child Account)\n- rRegion expects a string representing one of the AWS regions ('us-east-1', 'eu-west-1', etc.)\n- fRoleList ex... | 0 |
{'name': 'MainWindow.load_standalone_modules@SpicesUpdate@claudiux/files/SpicesUpdate@claudiux/cs/6.0_FUTURE/cinnamon-settings_OLD.py', 'description': 'Loads all standalone settings modules.', 'signature': 'def load_standalone_modules(self):'}</s>{'name': 'parse_proxy_hostspec@SpicesUpdate@claudiux/files/SpicesUpdate@c... | 0 |
{'name': 'Imputer.__transform_and_compute_metrics_mxnet_iter@datawig/imputer.py', 'description': 'Returns predictions and metrics (average and per class)\n\n:param mxnet_iter:\n:param metrics_path: if not None and exists, metrics are serialized as json to this path.\n:return: predictions and metrics', 'signature': 'def... | 1 |
{'name': 'roles_required@flask_security/decorators.py', 'description': "Decorator which specifies that a user must have all the specified roles.\nExample::\n\n @app.route('/dashboard')\n @roles_required('admin', 'editor')\n def dashboard():\n return 'Dashboard'\n\nThe current user must have both the `ad... | 0 |
{'name': 'mel_filters@whisper/audio.py', 'description': 'load the mel filterbank matrix for projecting STFT into a Mel spectrogram.\nAllows decoupling librosa dependency; saved using:\n\n np.savez_compressed(\n "mel_filters.npz",\n mel_80=librosa.filters.mel(sr=16000, n_fft=400, n_mels=80),\n me... | 0 |
{'name': 'GenericSimpleClauseState.getEntry@util/py_lib/seqan/dox/dox_parser.py', 'description': 'Returns the Entry for the brief clause.', 'signature': 'def getEntry(self):'}</s>{'name': 'RawTParam@util/py_lib/seqan/dox/raw_doc.py', 'description': 'RawDoc for one template parameter.\n\n@ivar name Name of the paramete... | 0 |
{'name': 'build_get_revoc_reg_delta_request@wrappers/python/indy_vdr/ledger.py', 'description': 'Builds a GET_REVOC_REG_DELTA request.\n\nRequest to get the delta of the accumulated state of the revocation registry\nidentified by `revoc_reg_id`. The delta is defined by from and to timestamp fields.\nIf from is not spec... | 0 |
{'name': 'IUCoordinator.register_entity@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'A HA entity has been registered', 'signature': 'def register_entity('}</s>CONF_SCHEDULE = "schedule" | 0 |
{'name': 'host_setup@source-builder/sb/check.py', 'description': 'Basic sanity check. All executables and directories must exist.', 'signature': 'def host_setup(opts):'}</s>_version = "7" | 0 |
{'name': 'test_make_pod_with_scheduler_name@tests/test_objects.py', 'description': 'Test specification of the simplest possible pod specification with non-default scheduler name', 'signature': 'def test_make_pod_with_scheduler_name():'}</s>{'name': 'test_make_pod_with_lifecycle@tests/test_objects.py', 'description': 'T... | 0 |
{'name': 'init@beeline/__init__.py', 'description': 'initialize the honeycomb beeline. This will initialize a libhoney\nclient local to this module, and a tracer to track traces and spans.\n\nArgs:\n- `writekey`: the authorization key for your team on Honeycomb. Find your team\n write key at [https://ui.honeycom... | 1 |
{'name': 'dist_factory@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'Return a dist_factory for a path_item and entry', 'signature': 'def dist_factory(path_item, entry, only):'}</s>PY_MAJOR = sys.version[:3] | 0 |
{'name': 'format@libs/sqlparse/__init__.py', 'description': 'Format *sql* according to *options*.\n\nAvailable options are documented in :ref:`formatting`.\n\nIn addition to the formatting options this function accepts the\nkeyword "encoding" which determines the encoding of the statement.\n\n:returns: The formatted SQ... | 0 |
{'name': 'GWRResults.summary@stwr/gwr.py', 'description': 'Print out GWR summary', 'signature': 'def summary(self):'}</s>{'name': 'GWRResults@stwr/gwr.py', 'description': "Basic class including common properties for all GWR regression models\n\nParameters\n----------\nmodel : GWR object\n ... | 1 |
{'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': 'EmptySet@src/api/python/z3/z3.py', 'description': 'Create the empty set\n>>> EmptySet(IntSort())\nK(Int, False)', 'code': 'de... | 0 |
{'name': 'PDFParser.do_keyword@pdfminer3/pdfparser.py', 'description': 'Handles PDF-related keywords.', 'signature': 'def do_keyword(self, pos, token):'}</s>{'name': 'PDFSyntaxError@pdfminer3/pdfparser.py', 'description': 'DOCSTRING', 'base_classes': ['PDFException'], 'methods': []} | 1 |
{'name': 'InstanceGroupsAction.delete_instance_groups@qingcloud/iaas/actions/instance_groups.py', 'description': 'Delete the specific instance group.\n@param instance_groups: An id list contains the group(s) id which will be deleted.', 'signature': 'def delete_instance_groups(self, instance_groups,'}</s>ACTION_JOIN_VXN... | 0 |
{'name': 'ProcessLine@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a line of th... | 0 |
{'name': '_check_mp_install@utils/nb_check.py', 'description': 'Check for and try to install required MSTICPy version.', 'signature': 'def _check_mp_install(min_mp_ver, mp_release, extras, pip_quiet):'}</s>{'name': 'check_python_ver@utils/nb_check.py', 'description': 'Check the current version of the Python kernel.\n\n... | 0 |
{'name': 'GefRemoteSessionManager.connect@gef.py', 'description': 'Connect to remote target. If in extended mode, also attach to the given PID.', 'signature': 'def connect(self, pid: int) -> bool:'}</s>{'name': 'is_in_x86_kernel@gef.py', 'description': 'DOCSTRING', 'code': 'def is_in_x86_kernel(address: int) -> bool:\n... | 0 |
{'name': 'TopLevelMixin.repeat@altair/vegalite/v5/api.py', 'description': "Return a RepeatChart built from the chart\n\nFields within the chart can be set to correspond to the row or\ncolumn using `alt.repeat('row')` and `alt.repeat('column')`.\n\nParameters\n----------\nrepeat : list\n a list of data column names t... | 0 |
{'name': 'Fzip@amptk/amptklib.py', 'description': 'function to zip as fast as it can, pigz -> bgzip -> gzip', 'signature': 'def Fzip(input, output, cpus):'}</s>{'name': 'checkBCinHeader@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': "def checkBCinHeader(input):\n #read first header\n for title, seq, qual... | 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_SD_ERROR = 2424 | 0 |
{'name': 'torgb@boxx/ylimg/ylimgTool.py', 'description': 'try to transfer a tensor to normalized RGB image\n\nnormalizing img value to 0~1\nand transpose (..., 3, w, h) to (..., w, h, 3)', 'signature': 'def torgb(img):'}</s>{'name': 'discrib@boxx/tool/toolLog.py', 'description': "return discrib of x less than maxline.\... | 0 |
{'name': 'save_config@pyrgg/functions.py', 'description': 'Save input_dict as the generation config.\n\n:param input_dict: input data\n:type input_dict: dict\n:return: path to file as str', 'signature': 'def save_config(input_dict):'}</s>PYRGG_FILE_ERROR_MESSAGE = "[Error] Bad input file!" | 0 |
{'name': 'read_fixed_fmt@meza/io.py', 'description': "Reads a fixed-width csv file.\n\nArgs:\n filepath (str): The fixed width formatted file path or file like object.\n widths (List[int]): The zero-based 'start' position of each column.\n mode (Optional[str]): The file open mode (default: 'r').\n kwargs (d... | 0 |
{'name': 'Type.get_ref_qualifier@llvm-12.0.0-project/clang/bindings/python/clang/cindex.py', 'description': 'Retrieve the ref-qualifier of the type.', 'signature': 'def get_ref_qualifier(self):'}</s>{'name': 'ClangObject@llvm-12.0.0-project/clang/bindings/python/clang/cindex.py', 'description': 'A helper for Clang obje... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQPER_PERSISTENT = 1 | 0 |
{'name': 'genMultiTenantPattern@apim-traffic-tool/lib/traffic-tool/src/python/multi_tenant_setup.py', 'description': 'This function will divide each app and relavant APIs among tenants, and write to tenant_details.yaml file\n:return: None', 'signature': 'def genMultiTenantPattern():'}</s>app_tenant = {} | 1 |
{'name': 'plot_result_synth@src/erinn/utils/vis_utils.py', 'description': 'Convenient function for saving crossplot, structure plot and heatmap of synthetic data.\n\nParameters\n----------\niterator : iterator of os.DirEntry objects\n For iterating all pkl file in certain directory.\nnum_figs : int\n The number o... | 0 |
{'name': 'prettyFrameStack@boxx/tool/toolLog.py', 'description': 'get frame return pretty str of stack\n\n>>> prettyFrameLocation(frame)\n__init__ <-f <-ff <-demo.py\n\nParameters\n----------\nframe : frame or int, default 0\n if int:相对于调用此函数frame的 int 深度的对应frame\nendByMain : bool, default True\n 为 True 则在第一个 fra... | 0 |
{'name': 'get_versions@versioneer.py', 'description': "Get the project version from whatever source is available.\n\nReturns dict with two keys: 'version' and 'full'.", 'signature': 'def get_versions(verbose=False):'}</s>{'name': 'do_setup@versioneer.py', 'description': 'Main VCS-independent setup function for installi... | 0 |
{'name': 'default_frequencies@config/parse.py', 'description': 'Get frequencies as the maximum of the upper levels.\n\n:param cores: the list of cpu cores\n:param caches: the dictionary of caches', 'signature': 'def default_frequencies(cores, caches):'}</s>{'name': 'cache_core_defaults@config/defaults.py', 'description... | 0 |
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>{'name': 'EXTRACT_RVC_SIMM3@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'DOCSTRING', 'code': 'def EXT... | 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>MQSO_SET_IDENTITY_CONTEXT = 64 | 0 |
{'name': 'main@lib/ddupdate/main.py', 'description': 'Indeed: main function.', 'signature': 'def main():'}</s>{'name': 'parse_options@lib/ddupdate/main.py', 'description': 'Parse command line using conf as defaults, return namespace.', 'code': 'def parse_options(conf):\n """Parse command line using conf as defaults,... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.