text string | label int64 |
|---|---|
{'name': '_parse_args@lang/py/avro/tool.py', 'description': 'Parse the command-line arguments', 'signature': 'def _parse_args() -> argparse.Namespace:'}</s>server_should_shutdown = False | 0 |
{'name': 'parse_file@cblaster/genome_parsers.py', 'description': 'Dispatches a given file path to the correct parser given its extension.\n\nArgs:\n path (str): Path to genome file\n to_tuples (bool): Generate insertion tuples from parsed SeqRecords\nReturns:\n dict: File name and list of SeqRecord objects cor... | 0 |
{'name': 'favorites@twitter_to_sqlite/cli.py', 'description': 'Save tweets favorited by specified user', 'signature': 'def favorites(db_path, auth, user_id, screen_name, stop_after):'}</s>{'name': '_shared_timeline@twitter_to_sqlite/cli.py', 'description': 'DOCSTRING', 'code': 'def _shared_timeline(\n db_path, auth,... | 0 |
{'name': 'meshProcessingPipeline@dicom2stl/Dicom2STL.py', 'description': 'Apply a series of filters to the mesh', 'signature': 'def meshProcessingPipeline('}</s>{'name': 'loadZipDicom@dicom2stl/utils/dicomutils.py', 'description': 'Unzip a zipfile of dicom images into a temp directory, then\nload the series that has th... | 0 |
{'name': 'lookup_address@gef.py', 'description': 'Try to find the address in the process address space.\nReturn an Address object, with validity flag set based on success.', 'signature': 'def lookup_address(address: int) -> Address:'}</s>{'name': 'gef_on_unload_objfile_unhook@gef.py', 'description': 'DOCSTRING', 'code'... | 0 |
{'name': 'Application._load_environment@robopianist/viewer/application.py', 'description': 'Loads a new environment.', 'signature': 'def _load_environment(self, zoom_to_scene):'}</s>KEY_SPACE = 32 | 0 |
{'name': 'VirtualBMCManager._sync_vbmc_states@virtualbmc/manager.py', 'description': 'Starts/stops vBMC instances\n\nWalks over vBMC instances configuration, starts\nenabled but dead instances, kills non-configured\nbut alive ones.', 'signature': 'def _sync_vbmc_states(self, shutdown=False):'}</s>__all__ = ['get_logger... | 0 |
{'name': 'Diagram.normal_form@discopy/grammar/pregroup.py', 'description': 'Applies normal form to a pregroup diagram of the form\n``word @ ... @ word >> wires`` by normalising words and wires\nseperately before combining them, so it can be drawn with :meth:`draw`.', 'signature': 'def normal_form(diagram, **params):'}<... | 0 |
{'name': 'parse_tcsh_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for tcsh scripter.\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.', 'signature... | 0 |
{'name': 'elab_intermodule@rtl/vendor/pulp_platform_register_interface/vendor/lowrisc_opentitan/util/topgen/intermodule.py', 'description': "Check the connection of inter-module and categorize them\n\nIn the top template, it uses updated inter_module fields to create\nconnections between the modules (incl. memories). T... | 0 |
{'name': 'all_component_templates@scripts/generators/es_template.py', 'description': 'Generate one component template per field set', 'signature': 'def all_component_templates('}</s>{'name': 'dict_add_nested@scripts/generators/es_template.py', 'description': 'DOCSTRING', 'code': "def dict_add_nested(\n dct: Dict,\n ... | 1 |
{'name': 'ResourceManager.resource_listdir@blockchain-env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py', 'description': 'List the contents of the named resource directory', 'signature': 'def resource_listdir(self, package_or_requirement, resource_name):'}</s>resource_isdir = None | 0 |
{'name': 'parse_errors@scripts/tests/libytest/parsers/error_parsers.py', 'description': 'Parses the provided StringIO text through the parsers\nspecified by \'error_types\'. The entire stdout buffer will be\nparsed, and then reset to its original position.\n\nFor a list of valid `error_type` strings, check this module\... | 0 |
{'name': 'group_dicoms_into_seqinfos@heudiconv/dicoms.py', 'description': "Process list of dicoms and return seqinfo and file group\n`seqinfo` contains per-sequence extract of fields from DICOMs which\nwill be later provided into heuristics to decide on filenames\n\nParameters\n----------\nfiles : list of str\n List o... | 0 |
{'name': 'Dataset.merge@accelerator/dataset.py', 'description': 'Merge this and other dataset. Columns from other take priority.\nIf datasets do not have a common ancestor you get an error unless\nallow_unrelated is set. The new dataset always has the previous\nspecified here (even if None).\nReturns the new dataset.',... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQDSB_1M = 8 | 0 |
{'name': 'pad@venv/Lib/site-packages/numpy/lib/arraypad.py', 'description': "Pads an array.\n\nParameters\n----------\narray : array_like of rank N\n Input array\npad_width : {sequence, array_like, int}\n Number of values padded to the edges of each axis.\n ((before_1, after_1), ... (before_N, after_N)) unique... | 1 |
{'name': 'estimate_fao56@cfg/hass/custom_components/wb_irrigation/sensor.py', 'description': 'Estimate fao56 from weather ', 'signature': 'def estimate_fao56(day_of_year,'}</s>TYPE_EV_FAO56_DAY = "fao56" | 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': 'GefCommand.load_extra_plugins@gef.py', 'description': 'Load the plugins from the gef-extras setting. Returns the number of new plugins added.', 'signature': 'def load_extra_plugins(self, extra_plugins_dir: pathlib.Path | None = None) -> int:'}</s>{'name': 'parse_string_range@gef.py', 'description': 'Parses an... | 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': 'Monitor.decode_json@wideq/client.py', 'description': 'Decode a bytestring that encodes JSON status data.', 'signature': 'def decode_json(data: bytes) -> Dict[str, Any]:'}</s>DATA_ROOT = "lgedmRoot" | 0 |
{'name': 'make_default_config@atlas/make_config.py', 'description': 'generates a dict with all the default values, if they exist', 'signature': 'def make_default_config():'}</s>MINIMUM_MAP_QUALITY = 0 | 1 |
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24... | 0 |
{'name': 'Configuration.__init__@python-build-with-qt/sip-4.11.2/sipconfig.py', 'description': 'Initialise an instance of the class.\n\nsub_cfg is the list of sub-class configurations. It should be None\nwhen called normally.', 'signature': 'def __init__(self, sub_cfg=None):'}</s>{'name': 'SIPModuleMakefile@python-bui... | 0 |
{'name': 'User.christmas_mode@src/astrobotany/models.py', 'description': 'Return if the user is in "christmas" mode.\n\nCache the results because this is a relatively expensive query that\nwill be checked multiple times per request.', 'signature': 'def christmas_mode(self) -> bool:'}</s>badge_233 = Badge("curling stone... | 0 |
{'name': 'parse_tcsh_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for tcsh scripter.\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.', 'signature... | 0 |
{'name': 'preprocess@grizli/pipeline/auto_script.py', 'description': 'Preprocessing script\n\nParameters\n----------\nfield_root : str\n Basename of the exposure group processed together\n\nHOME_PATH : str\n Base path for file processing\n\nmaster_radec : str\n Force use this radec file for astrometric alignme... | 0 |
{'name': 'List.extend@nbtlib/tag.py', 'description': 'Override ``list.extend`` to include ``isinstance`` check and auto conversion.', 'signature': 'def extend(self, iterable):'}</s>INT = get_format(Struct, "i") | 0 |
{'name': 'RequestsMock.add_passthru@responses/__init__.py', 'description': "Register a URL prefix or regex to passthru any non-matching mock requests to.\n\nFor example, to allow any request to 'https://example.com', but require\nmocks for the remainder, you would add the prefix as so:\n\n>>> import responses\n>>> resp... | 0 |
{'name': 'BodyBuilder.build_layer@03_pruning/helpers/body_builder.py', 'description': 'Function specifies the specific network layer\nLinear L Ex: ["linear", out_dim, bias_boolean]\nConvol L Ex: ["conv2d", out_channels,\n kernel_size, stride, padding]\nDropout L Ex: ["dropout", dropout_prob]... | 0 |
{'name': 'modify_descendants_for_jackknife_fast@operations.py', 'description': 'Gets the columns for leaf Metrics and modify them for fast Jackknife SQL.\n\nSee the doc of get_jackknife_data_fast() first. Here we\n1. collects the LOO columns for all Sum and Count.\n2. Modify them in-place so when we generate SQL later,... | 0 |
{'name': 'build_transformer_model@bert4keras/models.py', 'description': '根据配置文件构建模型,可选加载checkpoint权重\n ', 'signature': 'def build_transformer_model('}</s>{'name': 'Embedding@bert4keras/layers.py', 'description': '拓展Embedding层\n ', 'base_classes': ['keras.layers.Embedding'], 'methods': [{'name': 'Embedding.compute... | 0 |
{'name': 'Installer.installMod@src/core/installer.py', 'description': 'Installs mod from given path. If given mod is an archive first extracts it', 'signature': 'def installMod(self, modPath: str) -> Tuple[bool, int, int]:'}</s>{'name': 'getConfigFolder@src/util/util.py', 'description': 'DOCSTRING', 'code': 'def getCon... | 0 |
{'name': 'learn_continuous_tasks@agents/bdq/deepq/procedure_continuous_tasks.py', 'description': "Train a branching deepq model to solve continuous control tasks via discretization.\nCurrent assumptions in the implementation: \n- for solving continuous control domains via discretization (can be adjusted to be compatibl... | 1 |
{'name': 'main._generate_dos@mcu/qe/qe.py', 'description': "Processing/collecting the DOS data before the plotting function\n\nTDOS dimensions: [spin , [E(eV), tdos(E)]]\n\nspin : spin of DOS.\nlm : string or a list of string, e.g. 'Ni:s' or ['Ni:s','C:s,px,pz']", 'signature': 'def _generate_dos... | 0 |
{'name': 'NetworkAPI.get_balance@bit/network/services.py', 'description': 'Gets the balance of an address in satoshi.\n\n:param address: The address in question.\n:type address: ``str``\n:raises ConnectionError: If all API services fail.\n:rtype: ``int``', 'signature': 'def get_balance(cls, address):'}</s>{'name': 'Net... | 1 |
{'name': 'TraceForest.add_trace@jitlog/objects.py', 'description': 'Create a new trace object and attach it to the forest ', 'signature': 'def add_trace(self, trace_type, unique_id, trace_nmr, jd_name=None):'}</s>{'name': 'get_decoder@jitlog/merge_point.py', 'description': 'DOCSTRING', 'code': 'def get_decoder(sem_type... | 0 |
{'name': '_Printer._FieldToJsonObject@third_party/dawn/third_party/protobuf/python/google/protobuf/json_format.py', 'description': 'Converts field value according to Proto3 JSON Specification.', 'signature': 'def _FieldToJsonObject(self, field, value):'}</s>{'name': 'Descriptor@third_party/dawn/third_party/protobuf/pyt... | 0 |
{'name': 'optimize_if01@libc/kernel/tools/cpp.py', 'description': 'Remove the code between #if 0 .. #endif in a list of CppBlocks.', 'signature': 'def optimize_if01(blocks):'}</s>tokEQUAL = "==" | 0 |
{'name': 'get_hostname_from_ip_addr@core/friendly_organizer.py', 'description': 'Returns the hostname associated with an IP address.\n\nReturns an empty string if the hostname is not found.', 'signature': 'def get_hostname_from_ip_addr(ip_addr: str, in_memory_only=False) -> str:'}</s>host_mac_addr = "" | 0 |
{'name': 'get_async_fn@asynq/decorators.py', 'description': 'Returns an async function for the specified source function.', 'signature': 'def get_async_fn(fn, wrap_if_none=False):'}</s>{'name': 'ConstFuture@asynq/futures.py', 'description': 'Future wrapping the constant.', 'base_classes': ['FutureBase'], 'methods': [{'... | 1 |
{'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': 'experimental_feature@gef.py', 'description': 'Decorator to add a warning when a feature is experimental.', 'code': 'def experim... | 0 |
{'name': 'get_bert_config@araelectra/util/training_utils.py', 'description': 'Get model hyperparameters based on a pretraining/finetuning config', 'signature': 'def get_bert_config(config):'}</s>{'name': 'assert_rank@araelectra/model/modeling.py', 'description': "Raises an exception if the tensor rank is not of the exp... | 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>MQMT_SYSTEM_FIRST = 1 | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQDSB_512K = 7 | 0 |
{'name': 'S2TheiaProduct._load_masks@eoreader/products/optical/s2_theia_product.py', 'description': 'Load cloud files as xarrays. Overload to manage associated bands.\n\nArgs:\n bands (list): List of the wanted bands\n pixel_size (int): Band pixel size in meters\n size (Union[tuple, list]): Size of the array (... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIAMO_PKTS_LOST = 816 | 0 |
{'name': 'records2geojson@meza/convert.py', 'description': "Converts records into a GeoJSON file like object.\n\n Args:\n records (Iter[dict]): Rows of data whose keys are the field names.\n E.g., output from any `meza.io.read_geojson`.\n\n kwargs (dict): Keyword arguments.\n\nKwargs:\n key (str): GeoJS... | 0 |
{'name': 'CreateAction.post@src/pinnwand/handler/website.py', 'description': "POST handler for the 'web' side of things.", 'signature': 'def post(self) -> None: # type: ignore'}</s>{'name': 'filename_clean@src/pinnwand/utility.py', 'description': 'Try to clean a filename for safe consumption as much as we can. These\n... | 0 |
{'name': 'TypeErrorTests.test_keyword_builtin@didyoumean/didyoumean_sugg_tests.py', 'description': 'A few builtins (like int()) have a different error message.', 'signature': 'def test_keyword_builtin(self):'}</s>MEMVIEW_ADDED_MSG = ""buffer" (`memoryview` is added in Python 2.7 and " "completely replaces `buffer` ... | 0 |
{'name': 'Plant.get_observation@src/astrobotany/models.py', 'description': "A long-form description of the plant.\n\nThis includes a random observations and other specific details about\nthe plant's current stage.", 'signature': 'def get_observation(self, ansi_enabled: bool = False) -> str:'}</s>RARITIES = [
"commo... | 0 |
{'name': 'CheckBraces@scripts/cpplint.py', 'description': 'Looks for misplaced braces (e.g. at the end of line).\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any errors f... | 1 |
{'name': 'process_extra_commands@heudiconv/main.py', 'description': "Perform custom command instead of regular operations. Supported commands:\n['treat-json', 'ls', 'populate-templates', 'populate-intended-for']\n\nParameters\n----------\noutdir : str\n Output directory\ncommand : {'treat-json', 'ls', 'populate-temp... | 0 |
{'name': 'PageAdmin.get_form@pages/admin/__init__.py', 'description': 'Get a :class:`Page <pages.admin.forms.PageForm>` for the\n:class:`Page <pages.models.Page>` and modify its fields depending on\nthe request.', 'signature': 'def get_form(self, request, obj=None, **kwargs):'}</s>{'name': 'make_form@pages/admin/forms.... | 1 |
{'name': 'test_check_classic_valid_with_preprocessor@test/test_utils.py', 'description': 'Test that valid inputs when using a preprocessor raises no warning', 'signature': 'def test_check_classic_valid_with_preprocessor(points):'}</s>{'name': 'mock_preprocessor@test/test_utils.py', 'description': 'A preprocessor for te... | 1 |
{'name': 'ProcessFileData@third_party/cpplint/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, each rep... | 0 |
{'name': 'geticmptypebynumber@pf/_utils.py', 'description': 'Return the ICMP type as a string.', 'signature': 'def geticmptypebynumber(type, af):'}</s>PF_STATE_NORMAL = 1 | 0 |
{'name': 'ProcessFile@tools/cpplint.py', 'description': 'Does google-lint on a single file.\n\nArgs:\n filename: The name of the file to parse.\n\n vlevel: The level of errors to report. Every error of confidence\n >= verbose_level will be reported. 0 is a good default.\n\n extra_check_functions: An array of addi... | 0 |
{'name': 'ensure_core@jupyterlab/commands.py', 'description': 'Ensure that the core assets are available.', 'signature': 'def ensure_core(logger=None):'}</s>__version__ = "{}.{}.{}{}".format(
version_info.major,
version_info.minor,
version_info.micro,
(
""
if version_info.releaselevel ==... | 0 |
{'name': '_SynchronizedBatchNorm._data_parallel_master@third_party/sync_batchnorm/batchnorm.py', 'description': 'Reduce the sum and square-sum, compute the statistics, and broadcast it.', 'signature': 'def _data_parallel_master(self, intermediates):'}</s>{'name': '_SynchronizedBatchNorm@third_party/sync_batchnorm/batch... | 1 |
{'name': 'entry@FastProject/CLI.py', 'description': 'Entry point for the fastproject command-line script\n ', 'signature': 'def entry():'}</s>{'name': 'write_data@FastProject/FileIO.py', 'description': 'DOCSTRING', 'code': 'def write_data(filename, data):\n write_matrix(filename, data, data.row_labels, data.col_l... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQUCI_NO = 0 | 0 |
{'name': '_len_preprocessed_single@src/betterproto/__init__.py', 'description': 'Calculate the size of adjusted values for serialization without fully serializing them.', 'signature': 'def _len_preprocessed_single(proto_type: str, wraps: str, value: Any) -> int:'}</s>TYPE_FIXED64 = "fixed64" | 0 |
{'name': 'workspace_users_ls@toggl/cli/commands.py', 'description': 'Lists all users in current workspace and some related information.\n\nID of entries are ID of Workspace User and not User entity!', 'signature': 'def workspace_users_ls(ctx, fields):'}</s>{'name': 'project_users_listing@toggl/cli/commands.py', 'descri... | 0 |
{'name': 'TestAdminTree.test_result_tree@treebeard/tests/test_treebeard.py', 'description': 'Verifies that inclusion tag result_list generates a table when with\ndefault ModelAdmin settings.', 'signature': 'def test_result_tree(self, model_without_proxy):'}</s>{'name': 'mpsmallstep_model@treebeard/tests/test_treebeard.... | 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': 'get_metric_ops@src/musegan/metrics.py', 'description': 'Return a dictionary of metric ops.', 'signature': 'def get_metric_ops(tensor, beat_resolution):'}</s>{'name': 'get_save_metric_ops@src/musegan/metrics.py', 'description': 'Return save metric ops.', 'code': 'def get_save_metric_ops(tensor, beat_resolution... | 0 |
{'name': 'CqlshCompletionCase._get_completions@pylib/cqlshlib/test/test_cqlsh_completion.py', 'description': 'Get results of tab completion in cqlsh. Returns a bare string if a\nstring completes immediately. Otherwise, returns a set of all\nwhitespace-separated tokens in the offered completions by default, or a\nlist o... | 0 |
{'name': 'new@todoman/cli.py', 'description': 'Create a new task with SUMMARY.', 'signature': 'def new('}</s>{'name': 'Database@todoman/model.py', 'description': 'This class is essentially a wrapper around all the lists (which in turn,\ncontain all the todos).\n\nCaching in abstracted inside this class, and is transpar... | 0 |
{'name': 'Constraint.__repr__@linopy/constraints.py', 'description': 'Print the constraint arrays.', 'signature': 'def __repr__(self) -> str:'}</s>{'name': 'Constraint@linopy/constraints.py', 'description': 'Projection to a single constraint in a model.\n\nThe Constraint class is a subclass of xr.DataArray hence most x... | 1 |
{'name': 'findvalue@python/ipywidgets/ipywidgets/widgets/widget_selection.py', 'description': 'A function that uses the compare function to return a value from the list.', 'signature': 'def findvalue(array, value, compare = lambda x, y: x == y):'}</s>{'name': 'ToggleButtons@python/ipywidgets/ipywidgets/widgets/widget_s... | 0 |
{'name': 'ParseNolintSuppressions@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Updates the global list of line error-suppressions.\n\nParses any NOLINT comments on the current line, updating the global\nerror_suppressions store. Reports an error if the NOLINT comment\nwas malformed.\n\nArgs:\n filename: s... | 0 |
{'name': 'listTableColumns@py3/SciServer/SkyQuery.py', 'description': 'Returns a list of all columns in a table belonging to a particular dataset (more info in http://www.voservices.net/skyquery).\n\n:param tableName: name of table (string) within dataset.\n:param datasetName: name of dataset (string).\n:return: return... | 1 |
{'name': 'affine_forward@numpy/lab-06-2-softmax_zoo_classifier.py', 'description': 'Returns a logit\n\nlogit = X @ W + b\n\nArgs:\n X (2-D Array): Input array of shape (N, D)\n W (2-D Array): Weight array of shape (D, C)\n b (1-D Array): Bias array of shape (C,)\n\nReturns:\n logit (2-D Array): Logit array ... | 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': 'geticmptypebynumber@pf/_utils.py', 'description': 'Return the ICMP type as a string.', 'signature': 'def geticmptypebynumber(type, af):'}</s>PFTM_TCP_CLOSED = 5 | 0 |
{'name': 'kallisto_bus@kb_python/count.py', 'description': 'Runs `kallisto bus`.\n\nArgs:\n fastqs: List of FASTQ file paths, or a single path to a batch file\n index_path: Path to kallisto index\n technology: Single-cell technology used\n out_dir: Path to output directory\n threads: Number of threads to... | 0 |
{'name': 'AvatarAdorner._embed_face@fame/avatar.py', 'description': "Embeds referenced face image into the SVG.\n\nBrowsers don't display referenced images in <img>.", 'signature': 'def _embed_face(self):'}</s>{'name': 'Spacer@fame/avatar.py', 'description': 'Spacer makes static/predefined images.', 'base_classes': [],... | 0 |
{'name': 'frame_times@feature_extraction.py', 'description': 'Get the times corresponding to the frames in a spectrogram, which was\ncreated with one of the functions here.\n\nParameters\n----------\ngram : np.ndarray\n Spectrogram matrix.\n\nReturns\n-------\ntimes : np.ndarray\n Time, in seconds, of each frame ... | 1 |
{'name': 'plot_basis@src/ikpy/utils/plot.py', 'description': 'Plot a frame fitted to the robot size', 'signature': 'def plot_basis(ax, arm_length=1):'}</s>{'name': 'plot_target_trajectory@src/ikpy/utils/plot.py', 'description': 'Add the trajectory (liste of targets) to the plot', 'code': 'def plot_target_trajectory(tar... | 0 |
{'name': 'test_image_validate_00500@tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_validate.py', 'description': '### Classes and Methods\n- ``ImageValidate``\n - ``wait_for_controller``\n\n### Summary\nVerify proper behavior of ``wait_for_controller`` when no actions\nare pending.\n\n### Setup\n- ``re... | 0 |
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>{'name': 'is_IP6addr@pf/_utils.py', 'description': 'Return True if addr is a valid IPv6 address', 'code': 'def is_IP6addr(addr):\n """Return True if addr is a valid IPv6 address"""\n retur... | 0 |
{'name': 'BSpline.get_control_points@pose_sensor2car/3rdparty/splinter-3.0/python/splinter/bspline.py', 'description': 'Get the matrix with the control points of the BSpline.\n:return Matrix (as a list of lists) with getNumVariables+1 columns and len(getCoefficients) rows', 'signature': 'def get_control_points(self):'}... | 0 |
{'name': 'friends@twitter_to_sqlite/cli.py', 'description': 'Save friends for specified users (defaults to authenticated user)', 'signature': 'def friends(db_path, identifiers, attach, sql, auth, ids, silent):'}</s>{'name': 'friends_ids@twitter_to_sqlite/cli.py', 'description': 'Populate followers table with IDs of acc... | 0 |
{'name': 'InitializerListTestCase.test@lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py', 'description': 'Test that that file and class static variables display correctly.', 'signature': 'def test(self):'}</s>{'name': 'get_registers@lldb... | 0 |
{'name': 'on_set_race_format@src/server/server.py', 'description': 'set current race_format ', 'signature': 'def on_set_race_format(data):'}</s>{'name': 'disconnect_handler@src/server/server.py', 'description': 'Emit disconnect event.', 'code': "def disconnect_handler(*args):\n '''Emit disconnect event.'''\n logg... | 0 |
{'name': '_handleAnswerFileParams@packstack/installer/run_setup.py', 'description': 'handle loading and validating\nparams from answer file\nsupports reading single or group params', 'signature': 'def _handleAnswerFileParams(answerFile):'}</s>{'name': '_handleInteractiveParams@packstack/installer/run_setup.py', 'descri... | 0 |
{'name': 'RSCodec.__init__@reedsolo.py', 'description': 'Initialize the Reed-Solomon codec. Note that different parameters change the internal values (the ecc symbols, look-up table values, etc) but not the output result (whether your message can be repaired or not, there is no influence of the parameters).', 'signatur... | 0 |
{'name': 'Dequantize@yt8m/dataloader.py', 'description': 'Dequantize the feature from the byte format to the float format.\n\nArgs:\n feat_vector: the input 1-d vector.\n max_quantized_value: the maximum of the quantized value.\n min_quantized_value: the minimum of the quantized value.\n\nReturns:\n A float vector ... | 0 |
{'name': 'ProAntiSaccades.take_a_break@demo_experiments/anti_saccades.py', 'description': 'Break\nArgs:\n duration - time in s to break', 'signature': 'def take_a_break(self, duration, calibrate=False):'}</s>{'name': 'deg2tobii@titta/helpers_tobii.py', 'description': 'Converts from degrees to Tobiis coordinate syste... | 0 |
{'name': 'train@fairseq_cli/train.py', 'description': 'Train the model for one epoch and return validation losses.', 'signature': 'def train('}</s>{'name': 'quantize_model_scalar@fairseq/quantization_utils.py', 'description': 'DOCSTRING', 'code': 'def quantize_model_scalar(model, model_cfg: DictConfig):\n quant_nois... | 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': 'pspnet.load_pretrained_model@ptsemseg/models/pspnet.py', 'description': 'Load weights from caffemodel w/o caffe dependency\nand plug them in corresponding modules', 'signature': 'def load_pretrained_model(self, model_path):'}</s>_BNPARAMETER_ENGINE = _descriptor.EnumDescriptor(
name='Engine',
full_name='c... | 0 |
{'name': 'createPerson@python/app/mob_loc.py', 'description': 'create person', 'signature': 'def createPerson():'}</s>{'name': 'Movement@python/app/mob_loc.py', 'description': 'movement event', 'base_classes': ['object'], 'methods': [{'name': 'Movement.__init__@python/app/mob_loc.py', 'description': 'DOCSTRING', 'code'... | 0 |
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>{'name': 'fpIsPositive@src/api/python/z3/z3.py', 'de... | 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': 'Block.update_status_information@pyShelly/block.py', 'description': 'Update the status information.', 'signature': 'def update_status_information(self):'}</s>{'name': 'Dimmer@pyShelly/dimmer.py', 'description': 'DOCSTRING', 'base_classes': ['Device'], 'methods': [{'name': 'Dimmer.__init__@pyShelly/dimmer.py', ... | 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': '_handleAnswerFileParams@packstack/installer/run_setup.py', 'description': 'handle loading and validating\nparams from answer file\nsupports reading single or group params', 'signature': 'def _handleAnswerFileParams(answerFile):'}</s>{'name': 'validate_port@packstack/installer/validators.py', 'description': 'R... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.