text string | label int64 |
|---|---|
{'name': 'user_can_push@src/oca_github_bot/manifest.py', 'description': 'Check if the user is maintainer of all modified addons.\n\nAssuming, addons_dir is a git clone of an addons repository,\nreturn true if username is declared in the maintainers key\non the target branch, for all addons modified in the current branc... | 0 |
{'name': 'NodeList.tell_update@shingetsu/node.py', 'description': 'Tell update other nodes.\n\nIf node is None, node is myself.', 'signature': 'def tell_update(self, cache, stamp="", id="", node=None):'}</s>dat_port = _get_value(_extconf, 'Network', 'dat_port', 8001, 'int') | 0 |
{'name': 'SFTPClient.put_file@src/SSHLibrary/client.py', 'description': "Uploads the file(s) from the local machine to the remote host.\n\n:param str sources: Must be the path to an existing file on the remote\n machine or a glob pattern .\n Glob patterns, like '*' and '?', can be used in the source, in\n whic... | 0 |
{'name': 'graph@python/DisplayTests.py', 'description': 'Send the given graph file (a .gif) back to the user.', 'signature': 'def graph(req, type, revision, machine, buildType, graphName, timestamp=None):'}</s>{'name': 'FakeBuildType@python/DisplayTests.py', 'description': 'Fake build type. Provides just enough for th... | 0 |
{'name': 'parse_header@bin/docs/markdown.py', 'description': 'Parse and return a header token.', 'signature': 'def parse_header(parser: Parser) -> Header:'}</s>{'name': 'parse_ref_link@bin/docs/markdown.py', 'description': 'Parse and return a reference link token.', 'code': 'def parse_ref_link(parser: Parser) -> RefLin... | 0 |
{'name': 'SemisupervisedTranslationTask.load_dataset@fairseq/tasks/semisupervised_translation.py', 'description': 'Load a dataset split.', 'signature': 'def load_dataset(self, split, epoch=1, **kwargs):'}</s>{'name': 'load_ensemble_for_inference@fairseq/utils.py', 'description': 'DOCSTRING', 'code': 'def load_ensemble_... | 0 |
{'name': 'QPath.search@qt4c/qpath.py', 'description': '根据qpath和root查找控件\n\n:type root: 实例类型\n:param root: 查找开始的控件\n:return: 返回找到的控件列表', 'signature': 'def search(self, root=None):'}</s>{'name': 'remote_inject_dll@qt4c/util.py', 'description': '在process_id进程中远程注入dll_path的DLL\n ', 'code': 'def remote_inject_dll(proces... | 0 |
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im... | 0 |
{'name': 'upload_image@Chapter03/Capabilities/app.py', 'description': 'processes file upload and saves file to storage service', 'signature': 'def upload_image():'}</s>storage_location = "contents.aws.ai" | 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': 'EnvironmentFinder.ordered@kayobe/utils.py', 'description': 'List of environments ordered by the constraints', 'signature': 'def ordered(self):'}</s>{'name': '_detect_install_prefix@kayobe/utils.py', 'description': 'DOCSTRING', 'code': "def _detect_install_prefix(path):\n script_path = os.path.realpath(path... | 0 |
{'name': 'OptimizationDataset.add_entry@qcportal/collections/optimization_dataset.py', 'description': 'Parameters\n----------\nname : str\n The name of the entry, will be used for the index\ninitial_molecule : Molecule\n The list of starting Molecules for the Optimization\nadditional_keywords : Dict[str, Any], op... | 1 |
{'name': 'get_init_anonymous_user@guardian/management/__init__.py', 'description': "Returns User model instance that would be referenced by guardian when\npermissions are checked against users that haven't signed into the system.\n\n:param User: User model - result of ``django.contrib.auth.get_user_model``.", 'signatur... | 0 |
{'name': 'DocumentDisplay.create_child@3rdparty/mongo-c-driver-1.26.2/lldb_bson.py', 'description': 'Generate the child elements for LLDB to walk through', 'signature': 'def create_child(cls, parent: SBValue, elem: DocumentElement) -> SBValue:'}</s>{'name': 'BinaryDisplay@3rdparty/mongo-c-driver-1.26.2/lldb_bson.py', '... | 0 |
{'name': '_conj_actions@tulip/synth.py', 'description': 'Conjunction of multiple action types.\n\nIncludes solver expression substitution.\nSee also `_conj_action`.', 'signature': 'def _conj_actions('}</s>{'name': '_int2str@tulip/synth.py', 'description': 'Replace integers with string values for string variables.\n\n@p... | 0 |
{'name': 'write_spec@rpmvenv/rpmbuild.py', 'description': 'Write a SPEC file to the SOURCES directory.\n\nArgs:\n top: The absolute path to the %_topdir.\n spec: The contents of the SPEC file.\n\nReturns:\n The absolute path to the SPEC file.', 'signature': 'def write_spec(top, spec):'}</s>{'name': 'topdir@rpm... | 0 |
{'name': 'run_eruption_env@self_organising_systems/biomakerca/extensions/eruption.py', 'description': 'Create a video running Eruption.', 'signature': 'def run_eruption_env('}</s>{'name': 'make_empty_grid_agent_id@self_organising_systems/biomakerca/environments.py', 'description': 'DOCSTRING', 'code': 'def make_empty_g... | 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': 'FiltersSet.get_filter_conditions@sievelib/factory.py', 'description': 'Retrieve conditions of the given filter.', 'signature': 'def get_filter_conditions(self, name: str) -> Union[List[str], None]:'}</s>{'name': 'UnknownCommand@sievelib/commands.py', 'description': 'Specific exception raised when an unknown c... | 0 |
{'name': 'FriendshipRequest.accept@friendship/models.py', 'description': 'Accept this friendship request', 'signature': 'def accept(self):'}</s>followee_created = Signal() | 0 |
{'name': 'GtkydInfo.read_all_hdrs@src/python_scripts/afnipy/lib_gtkyd.py', 'description': 'go through all infiles and get header info. This populates a list\nof headers, one-for-one with the infiles', 'signature': 'def read_all_hdrs(self):'}</s>{'name': 'interval_offsets@src/python_scripts/afnipy/afni_util.py', 'descri... | 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': 'Camera.addLandmarkInformationGPS@cameratransform/camera.py', 'description': 'Add a term to the camera probability used for fitting. This term includes the probability to observe the given\nlandmarks and the specified positions in the image.\n\nParameters\n----------\nlm_points_image : ndarray\n the pixel p... | 0 |
{'name': 'FakePopen.run_thread@pytest_subprocess/fake_popen.py', 'description': 'Run the user-defined callback or wait in a thread.', 'signature': 'def run_thread(self) -> None:'}</s>{'name': 'PluginInternalError@pytest_subprocess/exceptions.py', 'description': 'Raised in case of an internal error in the plugin', 'base... | 0 |
{'name': 'MultilingualQuerySet._rewrite_where@modeltranslation/manager.py', 'description': 'Rewrite field names inside WHERE tree.', 'signature': 'def _rewrite_where(self, q: Lookup | Node) -> None:'}</s>{'name': 'append_fallback@modeltranslation/manager.py', 'description': 'If translated field is encountered, add also... | 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': '_IncludeState.CheckNextIncludeOrder@scripts/cpplint.py', 'description': "Returns a non-empty error message if the next header is out of order.\n\nThis function also updates the internal state to be ready to check\nthe next include.\n\nArgs:\n header_type: One of the _XXX_HEADER constants defined above.\n\nRe... | 0 |
{'name': 'GroupFitter.xfit_redshift@grizli/fitting.py', 'description': 'Two-step procedure for fitting redshifts\n\n1. polynomial, spline template fits\n2. redshift grids\n3. ...\n\nParameters\n----------\nprior : None, (array, array)\n Redshift prior (z, pz). Will be interpolated to the redshift\n fit grid\n\nt... | 0 |
{'name': '_equalize_weights_lsq_pact@nemo/transf/equalize.py', 'description': 'Performs in-layer equalization by unfolding of convolution parameters\ninto batch-normalization parameters.\n\n:param bn_dict: a dictionary of layer names, with the key being the source (linear) and the value the target (batch-norm).\n:type ... | 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>_infix_compact_map = {} | 0 |
{'name': '_makeTags@venv/Lib/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'Each@venv/Lib/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'R... | 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': 'Batcher.batch_sentences@language_model/bilm_tf/bilm/data.py', 'description': "Batch the sentences as character ids\nEach sentence is a list of tokens without <s> or </s>, e.g.\n[['The', 'first', 'sentence', '.'], ['Second', '.']]", 'signature': 'def batch_sentences(self, sentences: List[List[str]]):'}</s>{'na... | 1 |
{'name': 'multihead_attention@tensor2tensor_envi/layers/common_attention.py', 'description': 'Multihead scaled-dot-product attention with input/output transformations.\n\nArgs:\n query_antecedent: a Tensor with shape [batch, length_q, channels]\n memory_antecedent: a Tensor with shape [batch, length_m, channels] or N... | 0 |
{'name': '_gather_polys@gdspy/operation.py', 'description': 'Gather polygons from different argument types into a list.\n\nParameters\n----------\nargs : None, `PolygonSet`, `CellReference`, `CellArray` or iterable\n Polygon types. If this is an iterable, each element must be a\n `PolygonSet`, `CellReference`, `... | 0 |
{'name': 'parse_1dplot_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for Pythony 1dplotter.\n\nInput\n-----\nargv : list of args (not including prog name)\n\nReturn\n------\n\niopts : an object with the argument values stored, including a\n self-"check_req()" method, as well.', 'sig... | 0 |
{'name': 'parse_1dplot_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for Pythony 1dplotter.\n\nInput\n-----\nargv : list of args (not including prog name)\n\nReturn\n------\n\niopts : an object with the argument values stored, including a\n self-"check_req()" method, as well.', 'sig... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQOO_READ_AHEAD = 1048576 | 0 |
{'name': 'View.pick_areas@picasso/gui/render.py', 'description': 'Finds the areas of all current picks in um^2.\n\nReturns\n-------\nareas : np.1darray\n Areas of all picks.', 'signature': 'def pick_areas(self):'}</s>{'name': 'load_info@picasso/io.py', 'description': 'DOCSTRING', 'code': 'def load_info(path, qt_pare... | 0 |
{'name': 'IB.reqGlobalCancel@ib_insync/ib.py', 'description': 'Cancel all active trades including those placed by other\nclients or TWS/IB gateway.', 'signature': 'def reqGlobalCancel(self):'}</s>{'name': 'HistogramData@ib_insync/objects.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': []} | 0 |
{'name': 'apply_mirror_prefix_map@tools/idf_tools.py', 'description': 'Rewrite URL for given tool_obj, given tool_version, and current platform,\nif --mirror-prefix-map flag or IDF_MIRROR_PREFIX_MAP environment variable is given.', 'signature': 'def apply_mirror_prefix_map(args, tool_obj, tool_version):'}</s>URL_PREFIX... | 1 |
{'name': 'IUController.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this controller as a dict', 'signature': 'def as_dict(self, extended=False) -> OrderedDict:'}</s>CONF_ZONE_ID = "zone_id" | 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': 'llgs_test@tools/lldb/packages/Python/lldbsuite/test/decor... | 0 |
{'name': 'Knode.get_node@kabuki/hierarchical.py', 'description': "Return the node that depends on the same elements.\n\nCalled by the child to receive specific parent node.\n\n:Arguments:\n col_to_elem : dict\n Maps column names to elements.\n e.g. {'col1': 'elem1', 'col2': 'elem2', 'col3': 'elem3'}", ... | 0 |
{'name': 'vqt@librosa/core/constantq.py', 'description': 'Compute the variable-Q transform of an audio signal.\n\nThis implementation is based on the recursive sub-sampling method\ndescribed by [#]_.\n\n.. [#] Schörkhuber, Christian, Anssi Klapuri, Nicki Holighaus, and Monika Dörfler.\n "A Matlab toolbox for efficie... | 0 |
{'name': 'post_comment@shingetsu/mch/post.py', 'description': 'Post article.', 'signature': 'def post_comment(env, thread_key, name, mail, body, passwd, tag=None):'}</s>lock = run_dir + "/lock.txt" | 0 |
{'name': 'make_class@vendor/attr/_make.py', 'description': 'A quick way to create a new class called *name* with *attrs*.\n\n:param str name: The name for the new class.\n\n:param attrs: A list of names or a dictionary of mappings of names to\n attributes.\n\n If *attrs* is a list or an ordered dict (`dict` on Py... | 0 |
{'name': 'set_bar@library/dot3k/backlight.py', 'description': 'Set a value or values to one or more LEDs\n\n:param index: starting index\n:param value: a single int, or list of brightness values from 0 to 255', 'signature': 'def set_bar(index, value):'}</s>{'name': 'left_rgb@library/dot3k/backlight.py', 'description': ... | 0 |
{'name': 'analyze_movie@analyze.py', 'description': 'analyze movie main\n\ncheck movie frames and find ub frame\ncheck frame: 0.34 sec (20 frames)\n\nArgs\n movie_path (string): movie save path\n\nReturns\n ub_data (list): found ub data\n ub_data_enemy (list): found ub data with enemy ub\n time_data (list):... | 0 |
{'name': 'cblaster@cblaster/main.py', 'description': "Run cblaster.\n\nThis function is the central workflow for the entire cblaster package.\n\nArguments:\n query_file (str): Path to FASTA format query file\n query_ids (list): NCBI protein sequence identifiers\n query_profiles(list): Pfam profile identifiers\... | 1 |
{'name': '_GetTextInside@scripts/cpplint.py', 'description': "Retrieves all the text between matching open and close parentheses.\n\nGiven a string of lines and a regular expression string, retrieve all the text\nfollowing the expression and between opening punctuation symbols like\n(, [, or {, and the matching close-p... | 0 |
{'name': 'openPanel@exporter/SynthesisFusionAddin/src/UI/Helper.py', 'description': "### Opens and creates the Panel\nnotes:\n - this is here because of a bug on startup loading\n - isn't created if this isn't called", 'signature': 'def openPanel() -> None:'}</s>{'name': 'check_solid_open@exporter/SynthesisFusion... | 0 |
{'name': 'cjkFragSplit@xhtml2pdf/reportlab_paragraph.py', 'description': 'This attempts to be wordSplit for frags using the dumb algorithm.', 'signature': 'def cjkFragSplit(frags, maxWidths, calcBounds, encoding="utf8"):'}</s>{'name': 'setXPos@xhtml2pdf/reportlab_paragraph.py', 'description': 'DOCSTRING', 'code': 'def ... | 0 |
{'name': 'PhonetisaurusTrainerMixin.train_ngram_model@montreal_forced_aligner/g2p/phonetisaurus_trainer.py', 'description': 'Train an ngram model on the aligned FSTs', 'signature': 'def train_ngram_model(self) -> None:'}</s>MEMORY = joblib.Memory(
location=os.path.join(get_temporary_directory(), "joblib_cache"),
... | 0 |
{'name': 'main@mne_bids_pipeline/steps/preprocessing/_03_maxfilter.py', 'description': 'Run maxwell_filter.', 'signature': 'def main(*, config: SimpleNamespace) -> None:'}</s>{'name': '_pl@mne_bids_pipeline/_config_utils.py', 'description': 'Determine if plural should be used.', 'code': 'def _pl(x: int | np.generic | S... | 0 |
{'name': 'split@tools/gfx/gfx.py', 'description': 'Split a list by length.', 'signature': 'def split(list_, interval):'}</s>{'name': 'dmg2rgb@tools/gfx/gfx.py', 'description': 'For PNGs.', 'code': 'def dmg2rgb(word):\n """\n For PNGs.\n """\n def shift(value):\n while True:\n yield value &... | 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>MQXE_MQSC = 4 | 0 |
{'name': 'CheckTrailingSemicolon@third_party/cpplint/cpplint.py', 'description': 'Looks for redundant trailing semicolon.\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... | 0 |
{'name': 'RIPPER._grow_ruleset_cn@build/lib/wittgenstein/ripper.py', 'description': 'Grow a Ruleset with pruning.', 'signature': 'def _grow_ruleset_cn('}</s>{'name': 'gain@wittgenstein/base_functions.py', 'description': 'Calculates the information gain from before to after.', 'code': 'def gain(before, after, pos_df, ne... | 0 |
{'name': 'Mosek._solve@linopy/solvers.py', 'description': 'Solve a linear problem from a Mosek task object.\n\nParameters\n----------\nm : mosek.Task\n Mosek task object.\nsolution_fn : Path, optional\n Path to the solution file.\nlog_fn : Path, optional\n Path to the log file.\nwarmstart_fn : Path, optional\n... | 0 |
{'name': 'MetalAPI.get_position@uarm/wrapper/metal_api.py', 'description': "Get the position\n:param wait: True/False, default is True\n:param timeout: timeout, default is use the default cmd timeout\n:param callback: callback, default is None\n:return: [x, y, z] or 'TIMEOUT' if wait is True else None", 'signature': 'd... | 0 |
{'name': 'RigidTransform.apply@autolab_core/rigid_transformations.py', 'description': "Applies the rigid transformation to a set of 3D objects.\n\nParameters\n----------\npoints : :obj:`BagOfPoints`\n A set of objects to transform. Could be any subclass\n of BagOfPoints.\n\nReturns\n-------\n:obj:`BagOfPoints`\n ... | 0 |
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name... | 0 |
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im... | 0 |
{'name': 'test_nar_step_ahead_insufficient_initial_conditions@sysidentpy/tests/test_narmax_base.py', 'description': 'Test that _nar_step_ahead raises an error if input is too short.', 'signature': 'def test_nar_step_ahead_insufficient_initial_conditions():'}</s>{'name': 'test_miso_x_lag_list_single_input_int@sysidentpy... | 0 |
{'name': 'DefaultInferenceHandler.default_output_fn@src/sagemaker_inference/default_inference_handler.py', 'description': 'Function responsible for serializing the prediction result to the desired accept type.\n\nArgs:\n prediction (obj): prediction result returned by the predict_fn.\n accept (str): accept header... | 1 |
{'name': 'cli@blogger_cli/cli.py', 'description': 'A CLI tool to maintain your jupyter notebook blog.', 'signature': 'def cli(ctx, verbose):'}</s>cmd_folder = os.path.abspath(os.path.join(os.path.dirname(__file__), "commands")) | 0 |
{'name': 'GeoDataset.set_roi@salem/datasets.py', 'description': "Set a region of interest for the dataset.\nIf set succesfully, a ROI is simply a mask of the same size as the\ndataset's grid, obtained with the .roi attribute.\nI haven't decided yet if the data should be masekd out when a ROI\nhas been set.\nParameters\... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCMD_DELETE_PROT_POLICY = 207 | 0 |
{'name': 'CheckForNonConstReference@third_party/cpplint/cpplint.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 instance conta... | 0 |
{'name': 'parse_args_mat_plot@src/python_scripts/afnipy/lib_mat2d_plot.py', 'description': 'Go through user-entered options and fill an object with the values.\nThese will be used to setup plotting.', 'signature': 'def parse_args_mat_plot(full_argv):'}</s>{'name': 'show_opts2@src/python_scripts/afnipy/afni_base.py', 'd... | 0 |
{'name': '_primal_to_ugrid@uxarray/io/_icon.py', 'description': 'Encodes the Primal Mesh of an ICON Grid into the UGRID conventions.', 'signature': 'def _primal_to_ugrid(in_ds, out_ds):'}</s>CONVENTIONS_ATTR = "UGRID-v1.0" | 0 |
{'name': 'TrainingJob.start@loudml/server.py', 'description': 'Submit training job to worker pool', 'signature': 'def start(self, config):'}</s>{'name': 'model_stop@loudml/server.py', 'description': 'DOCSTRING', 'code': 'def model_stop(model_name):\n global g_storage\n\n scheduled_job_name = \'_eval({})\'.format(... | 0 |
{'name': 'ProcessLine@ament_cpplint/ament_cpplint/cpplint.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 the fi... | 0 |
{'name': 'BitfieldsTestCase.test_and_python_api@tools/lldb/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py', 'description': 'Use Python APIs to inspect a bitfields variable.', 'signature': 'def test_and_python_api(self):'}</s>{'name': 'recording@tools/lldb/packages/Python/lldbsuite/test/lldbtest.py', '... | 0 |
{'name': 'markerReport@pipelines/pipeline_scxl.py', 'description': 'Prepare a PDF report visualising the discovered cluster markers', 'signature': 'def markerReport(infile, outfile):'}</s>{'name': 'get_vars@pipelines/pipeline_utils/TASK.py', 'description': 'Make a dictionary of commonly need paths and parameteres', 'co... | 1 |
{'name': 'finalize@scripts/schema/finalizer.py', 'description': 'Intended entrypoint of the finalizer.', 'signature': 'def finalize(fields):'}</s>{'name': 'set_original_fieldset@scripts/schema/finalizer.py', 'description': "Recursively set the 'original_fieldset' attribute for all fields in a group of fields", 'code': ... | 0 |
{'name': '_get_stream_parameters@sounddevice.py', 'description': 'Get parameters for one direction (input or output) of a stream.', 'signature': 'def _get_stream_parameters(kind, device, channels, dtype, latency,'}</s>{'name': 'CallbackStop@sounddevice.py', 'description': 'Exception to be raised by the user to stop cal... | 0 |
{'name': 'Sharpe@riskfolio/src/RiskFunctions.py', 'description': "Calculate the Risk Adjusted Return Ratio from a portfolio returns series.\n\n.. math::\n \\text{Sharpe}(X) = \\frac{\\mathbb{E}(X) -\n r_{f}}{\\phi(X)}\n\nWhere:\n\n:math:`X` is the vector of portfolio returns.\n\n:math:`r_{f}` is the risk free ra... | 0 |
{'name': 'indigenous_peoples_day@src/convertdate/holidays.py', 'description': 'Celebrated on the second Monday in October in the United States.', 'signature': "def indigenous_peoples_day(year, country='usa'):"}</s>JULIAN_EPOCH = 1721423.5 | 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': 'BaseRequest.POST@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'The values of :attr:`forms` and :attr:`files` combined into a single\n:class:`FormsDict`. Values are either strings (form values) or\ninstances of :class:`cgi.FieldStorage` (file uploads).', 'signature': 'def POST(self):'}</s>{'... | 0 |
{'name': '_IsType@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check if expression looks like a type name, returns true if so.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n nesting_state: A NestingState instance which maintains information about\n the current stac... | 0 |
{'name': 'main@tests/run_all_tests.py', 'description': 'Main function to parse arguments, set up the testing environment, and\nexecute tests.\n\nThis function performs the following steps:\n1. Parses command line arguments.\n2. Reads configuration from a JSON file if specified.\n3. Merges arguments from the JSON file a... | 0 |
{'name': 'process_client_hello@core/packet_processor.py', 'description': 'Extracts the SNI field from the ClientHello packet.', 'signature': 'def process_client_hello(pkt):'}</s>{'name': 'get_network_ip_range@core/networking.py', 'description': 'Gets network IP range for the default interface.\nReturns a set of IP addr... | 0 |
{'name': 'art@art/functions.py', 'description': 'Return 1-line art.\n\n:param artname: art name\n:type artname : str\n:param number: number of repeats\n:type number: int\n:param space: space between arts\n:type space: int\n:param __detailed_return: flag for returning the art name\n:type __detailed_return: bool\n:return... | 0 |
{'name': 'process_bird_wav@avgn/segment_song/preprocessing.py', 'description': 'This function is the primary workhorse of the preprocessing script - it takes in a wav file,\n breaks it up into several constitutant wav files, then saves them in save_to_folder, with their corresponding timestamp', 'signature': 'def pr... | 0 |
{'name': 'PFDivert._to_string@pf/rule.py', 'description': 'Return a string representation of the object.', 'signature': 'def _to_string(self):'}</s>PFTM_SRC_NODE = 18 | 0 |
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im... | 0 |
{'name': 'person_ui@Pose2Sim/synchronization.py', 'description': 'Step 2: Initializes the UI for person and frame selection.\n\nINPUTS:\n- frame_rgb: The initial RGB frame to display\n- cam_name: Name of the current camera\n- frame_number: Initial frame number to display\n- search_around_frames: Frame ranges to search ... | 0 |
{'name': 'User.initialize@src/astrobotany/models.py', 'description': 'Register a new player.', 'signature': 'def initialize(cls, username: str) -> User:'}</s>{'name': 'Config@src/astrobotany/models.py', 'description': "Poor man's key-value store for global astrobotany settings.", 'base_classes': ['BaseModel'], 'methods... | 0 |
{'name': 'test_second_hoisted_setting_is_applied@test/io/test_io.py', 'description': 'test that statement_timeout is applied and work_mem is not applied', 'signature': 'def test_second_hoisted_setting_is_applied(defaultenv):'}</s>{'name': 'test_db_error_logging_to_stderr@test/io/test_io.py', 'description': 'verify that... | 0 |
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>{'name': 'RepeatedCompositeFieldContainer@python/google/protobuf/internal/containers.py', 'description': 'Simple, list-like conta... | 0 |
{'name': 'TimeSerie.merge@gnocchi/carbonara.py', 'description': 'Merge a TimeSerie into this one.', 'signature': 'def merge(self, ts):'}</s>{'name': 'half_of_year@gnocchi/calendar.py', 'description': 'Return the half of the year of given dates.', 'code': 'def half_of_year(datetimes):\n """Return the half of the year... | 0 |
{'name': '_ClassifyInclude@tools/cpplint.py', 'description': 'Figures out what kind of header \'include\' is.\n\nArgs:\n fileinfo: The current file cpplint is running over. A FileInfo instance.\n include: The path to a #included file.\n is_system: True if the #include used <> rather than "".\n\nReturns:\n One of th... | 0 |
{'name': 'dashboard_get@tessera-server/tessera/views_api.py', 'description': 'Get the metadata for a single dashboard.\n\n ', 'signature': 'def dashboard_get(id):'}</s>{'name': 'jsonify@tessera-server/tessera/helpers.py', 'description': 'DOCSTRING', 'code': 'def jsonify(data, status=200, headers=None):\n response... | 0 |
{'name': 'OpponentMoveResultsTestCase.test_capture@tests/test_game.py', 'description': 'r n b q k b n r\np p p . . p p p\n. . . . . . . .\n. . . p p . . .\n. . . P P . . .\n. . . . . . . .\nP P P . . P P P\nR N B Q K B N R', 'signature': 'def test_capture(self):'}</s>{'name': 'RemoteGame@reconchess/game.py', 'descripti... | 0 |
{'name': 'Registrar.register@comtypes/server/register.py', 'description': 'Register the COM server class.', 'signature': 'def register(self, cls: Type, executable: Optional[str] = None) -> None:'}</s>LSTATUS = LONG | 0 |
{'name': 'test_set_config_defaults_no_conf_file@tests/test_config_file.py', 'description': 'Test set_config_defaults when .docstr.yaml is missing', 'signature': 'def test_set_config_defaults_no_conf_file():'}</s>fake_config_file = {
"paths": ["tests", "docstr_coverage"],
"verbose": "2",
"skip_magic": True,
... | 0 |
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inline=False):'}</s>... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.