text string | label int64 |
|---|---|
{'name': 'TestMSONable.test_save_load@tests/test_json.py', 'description': 'Tests the save and load serialization methods.', 'signature': 'def test_save_load(self, tmp_path):'}</s>{'name': 'LimitedMSONClass@tests/test_json.py', 'description': 'An MSONable class that only accepts a limited number of options', 'base_class... | 0 |
{'name': 'create_features@alphapy/features.py', 'description': 'Create features for the train and test set.\n\nParameters\n----------\nmodel : alphapy.Model\n Model object with the feature specifications.\nX : pandas.DataFrame\n Combined train and test data.\nX_train : pandas.DataFrame\n Training data.\nX_test... | 1 |
{'name': 'extract_data@ytmdl/main.py', 'description': 'Extract the arguments and act accordingly.', 'signature': 'def extract_data():'}</s>{'name': 'dw@ytmdl/yt.py', 'description': 'Download the song.\n\nThe song can be downloaded in various types.\n\nDefault type is mp3 as ytmdl was solely designed to download\nMP3 so... | 0 |
{'name': 'Dataset.link_to_here@accelerator/dataset.py', 'description': "Use this to expose a subjob as a dataset in your job:\nDataset(subjid).link_to_here()\nwill allow access to the subjob dataset under your jid.\nSpecify column_filter as an iterable of columns to include\nif you don't want all of them.\nUse override... | 0 |
{'name': 'BL3Save.set_max_sdus@bl3save/bl3save.py', 'description': 'Sets the specified SDUs (or all SDUs that we know about) to be at the max level', 'signature': 'def set_max_sdus(self, sdulist=None):'}</s>vaultcard1key_category = "/Game/Gear/_Shared/_Design/InventoryCategories/InventoryCategory_VaultCard1Key" | 0 |
{'name': 'create_translation@rising/transforms/functional/affine.py', 'description': 'Formats the given translation parameters to a homogeneous transformation\nmatrix\n\nArgs:\n offset: the translation offset(s). Supported are:\n * a single parameter (as float or int), which will be replicated\n for al... | 0 |
{'name': 'GTestHelpTest.TestUnknownFlagWithAbseil@Engine/lib/gtest/googletest/test/gtest_help_test.py', 'description': 'Verifies correct behavior when an unknown flag is specified.\n\nThe right message must be printed and the tests must\nskipped when the given flag is specified.\n\nArgs:\n flag: A flag to pass to the... | 0 |
{'name': 'parse_oauth_callback@wideq/core.py', 'description': 'Parse the URL to which an OAuth login redirected to obtain two\ntokens: an access token for API credentials, and a refresh token for\ngetting updated access tokens.', 'signature': 'def parse_oauth_callback(url):'}</s>{'name': 'oauth_url@wideq/core.py', 'des... | 0 |
{'name': 'TestMediaWikiHatnotes.test_contains_hatnotes@tests/mediawiki_test.py', 'description': 'Test when hatnotes are present', 'signature': 'def test_contains_hatnotes(self):'}</s>{'name': 'MediaWikiAPIURLError@mediawiki/exceptions.py', 'description': 'Exception raised when the MediaWiki server does not support the ... | 0 |
{'name': 'ZWaveClimateBase.fan_mode@custom_components/zwave_mqtt/climate.py', 'description': 'Return the fan speed set.', 'signature': 'def fan_mode(self):'}</s>ZW_HVAC_MODE_MAPPINGS = {
0x00: HVAC_MODE_OFF,
0x01: HVAC_MODE_HEAT,
0x02: HVAC_MODE_COOL,
0x03: HVAC_MODE_AUTO,
0x04: HVAC_MODE_HEAT,
... | 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': 'build_graph@evaluate.py', 'description': 'build tf graph for predict\nArgs:\n model_name: choose a model to build\n attention_module: must be "se_block" or "cbam_block"\n config_dict: some config for building net\n is_training: whether to train or test, here must be False\nReturn:\n det_loss: a... | 0 |
{'name': 'get_fedora_run_deps@docker/package/package_generator.py', 'description': 'List all the fedora run dependencies. Return an empty list when using prebuilt static binaries.', 'signature': 'def get_fedora_run_deps(binaries_dir):'}</s>{'name': 'make_ubuntu_parser@docker/package/package_generator.py', 'description'... | 0 |
{'name': 'map_async_run_loop@tools/lldb/packages/Python/lldbsuite/test/dosep.py', 'description': 'Blocks until the Pool.map_async completes and the channel completes.\n\n@param future an AsyncResult instance from a Pool.map_async() call.\n\n@param channel_map the asyncore dispatch channel map that should be pumped.\nOp... | 0 |
{'name': 'render@rising/_version.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'render_git_describe@rising/_version.py', 'description': "TAG[-DISTANCE-gHEX][-dirty].\n\nLike 'git describe --tags --dirty --always'.\n\nExceptions:\n... | 1 |
{'name': 'Device.open@src/LabJackPython.py', 'description': 'Device.open(devType, Ethernet=False, firstFound = True, serial = None, localId = None, devNumber = None, ipAddress = None, handleOnly = False, LJSocket = None)\n\nOpen a device of type devType. ', 'signature': 'def open(self, devType, Ethernet=False, firstFou... | 0 |
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes... | 0 |
{'name': 'HTTPAdapter.send@scripts/pdns/lib/python2.7/site-packages/pip/_vendor/requests/adapters.py', 'description': 'Sends PreparedRequest object. Returns Response object.\n\n:param request: The :class:`PreparedRequest <PreparedRequest>` being sent.\n:param stream: (optional) Whether to stream the request content.\n:... | 0 |
{'name': '_walk@swagger_to/go_server.py', 'description': 'Walk the tree of nested type definitions as (nesting type definition, nested type definition).', 'signature': 'def _walk(typedef: Typedef, parent: Optional[Typedef] = None) -> Iterable[Tuple[Optional[Typedef], Typedef]]:'}</s>PRIMITIVE_SWAGGER_TYPES = ['string',... | 0 |
{'name': 'DataFrame.toPandas@06_prepare/archive/spark/spark-2.4.6-bin-without-hadoop/python/pyspark/sql/dataframe.py', 'description': "Returns the contents of this :class:`DataFrame` as Pandas ``pandas.DataFrame``.\n\nThis is only available if Pandas is installed and available.\n\n.. note:: This method should only be u... | 1 |
{'name': 'aes_decrypt_text@script.module.youtube.dl/lib/youtube_dl/aes.py', 'description': "Decrypt text\n- The first 8 Bytes of decoded 'data' are the 8 high Bytes of the counter\n- The cipher key is retrieved by encrypting the first 16 Byte of 'password'\n with the first 'key_size_bytes' Bytes from 'password' (if ne... | 0 |
{'name': 'mat2d.set_row_strlabs@src/python_scripts/afnipy/lib_mat2d_base.py', 'description': 'input a list of strings; must match number of mat rows', 'signature': 'def set_row_strlabs(self, L):'}</s>{'name': 'make_spec_var@src/python_scripts/afnipy/afni_util.py', 'description': "return a spec file variable and a list ... | 0 |
{'name': '_SimpleDecoder@python/google/protobuf/internal/decoder.py', 'description': "Return a constructor for a decoder for fields of a particular type.\n\nArgs:\n wire_type: The field's wire type.\n decode_value: A function which decodes an individual value, e.g.\n _DecodeVarint()", 'signature': 'def _Si... | 0 |
{'name': 'load_some_model@examples/convert_legacy_llama.py', 'description': 'Load a model of any supported format.', 'signature': 'def load_some_model(path: Path) -> ModelPlus:'}</s>{'name': 'lazy_load_torch_file@examples/convert_legacy_llama.py', 'description': 'DOCSTRING', 'code': "def lazy_load_torch_file(outer_fp: ... | 0 |
{'name': 'TestConnection.test_identify_deflate_unsupported@test/test_connection.py', 'description': 'Raises an exception about the lack of deflate support', 'signature': 'def test_identify_deflate_unsupported(self):'}</s>{'name': 'UnsupportedException@nsq/exceptions.py', 'description': 'When a requested feature cannot ... | 1 |
{'name': 'get_config_path@saltlint/config.py', 'description': 'Return local configuration file.', 'signature': 'def get_config_path():'}</s>{'name': 'Configuration@saltlint/config.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Configuration.__init__@saltlint/config.py', 'description'... | 0 |
{'name': 'BuildTest.parse_buildspecs@buildtest/cli/build.py', 'description': 'Parse all buildspecs by passing buildspec file to :class:`buildtest.buildsystem.parser.BuildspecParser` class.\nIf buildspec fails validation we skip the buildspec and print all skipped buildspecs.\nIf buildspec passes validation we get all b... | 0 |
{'name': 'start@src/main.py', 'description': 'Avvia il bot', 'signature': 'def start(message, args):'}</s>{'name': 'admin@src/main.py', 'description': 'DOCSTRING', 'code': 'def admin(message):\n commands.process_admin_command(bot, message)'} | 0 |
{'name': '_resplit@transformer/python.py', 'description': "Given a list of strings, returns a list of lines, by splitting each string\ninto multiple lines where it contains newlines.\n\n>>> _resplit([])\n[]\n>>> _resplit(['a', 'b'])\n['a', 'b']\n>>> _resplit(['a', 'b\\nc\\nd'])\n['a', 'b', 'c', 'd']", 'signature': 'def... | 0 |
{'name': 'PFDivert._to_string@pf/rule.py', 'description': 'Return a string representation of the object.', 'signature': 'def _to_string(self):'}</s>ICMP6_DST_UNREACH_NOTNEIGHBOR = 2 | 0 |
{'name': 'device_added@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'A device is added or updated', 'signature': 'def device_added(notification):'}</s>{'name': 'set_dh_private_key@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Send Diffie-Hellman private key to device', 'code': 'def set_d... | 0 |
{'name': 'OAuthToken.get_token@rest_models/backend/auth.py', 'description': 'query the api to retrive a OAuth token\n:return: the token from the api\n:rtype: Token', 'signature': 'def get_token(self):'}</s>{'name': 'FakeDatabaseDbAPI2@rest_models/backend/exceptions.py', 'description': 'DOCSTRING', 'base_classes': ['obj... | 0 |
{'name': 'ServiceBrowser.__init__@stino/pyarduino/base/zeroconf.py', 'description': 'Creates a browser for a specific type', 'signature': 'def __init__(self, zc, type, listener):'}</s>{'name': 'DNSText@stino/pyarduino/base/zeroconf.py', 'description': 'A DNS text record', 'base_classes': ['DNSRecord'], 'methods': [{'na... | 0 |
{'name': 'MathField.formatOutput@source/fieldformat.py', 'description': 'Return formatted output text from stored text for this field.\n\nArguments:\n storedText -- the source text to format\n oneLine -- if True, returns only first line of output (for titles)\n noHtml -- if True, removes all HTML markup (for t... | 0 |
{'name': 'main@cmake/scripts/parse_cargo_packages.py', 'description': 'parses Cargo.toml to generate a list of package to be built', 'signature': 'def main():'}</s>{'name': 'parse_package_name@cmake/scripts/parse_cargo_packages.py', 'description': 'Parse package name from Cargo.toml', 'code': 'def parse_package_name(pa... | 1 |
{'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': 'parse_args@src/python_scripts/afnipy/lib_cdiflist.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(full_argv):'}</s>g_tpattern_irreg = "irregular" | 0 |
{'name': 'convert_entries@code/html/generate_static_website.py', 'description': ':param entries:\n:param inspirations:\n:param developers:\n:return:', 'signature': 'def convert_entries(entries, inspirations, developers):'}</s>{'name': 'preprocess@code/html/generate_static_website.py', 'description': 'Sets a few additio... | 0 |
{'name': 'get_backup_properties@src/zfs_tools/zbackup.py', 'description': 'Return the backup of all filesystems, by scanning the filesystems for relevant user properties.\nOnly locally set and received properties are used; inherited properties are ignored.', 'signature': 'def get_backup_properties(zpool, options, tier... | 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>tokBINAND = "&" | 0 |
{'name': 'install_python@python/virtualenv/virtualenv.py', 'description': 'Install just the base environment, no distutils patches etc', 'signature': 'def install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages, clear, symlink=True):'}</s>{'name': 'writefile@python/virtualenv/virtualenv.py', 'description': 'D... | 1 |
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i... | 0 |
{'name': 'ZWaveClimateBase._update_fan_mode@custom_components/zwave_mqtt/climate.py', 'description': 'Update fan mode.', 'signature': 'def _update_fan_mode(self):'}</s>{'name': 'ZWaveClimateMultipleSetpoint@custom_components/zwave_mqtt/climate.py', 'description': 'Representation of a multiple setpoint Z-Wave thermostat... | 0 |
{'name': 'getShutterSetting@source/pi-timolo.py', 'description': 'Calculate a shutter speed based on image pixel average', 'signature': 'def getShutterSetting(pxAve):'}</s>{'name': 'freeDiskSpaceCheck@source/pi-timolo.py', 'description': 'Perform Disk space checking and Clean up\nif enabled and return datetime done\nto... | 0 |
{'name': 'parseUrlPath@ide/routes.py', 'description': "This is boiler plate code for a lot of the route handlers.\n\nAll these handlers require a user, but there's also the authenticated user.\n\nInputs:\n theRegExp: A regular expression to evaluate the path\n numGroups: How many groups are in the regexp.\n \n... | 0 |
{'name': 'run@onlinejudge_command/subcommand/submit.py', 'description': ':returns: whether the submission is succeeded or not.', 'signature': 'def run(args: argparse.Namespace) -> bool:'}</s>{'name': 'select_ids_of_matched_languages@onlinejudge_command/subcommand/submit.py', 'description': 'DOCSTRING', 'code': 'def sel... | 1 |
{'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': 'split_fastqPE@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': "def split_fastqPE(R1, R2, numseqs, outputdir, chunks):\n #get number of sequ... | 0 |
{'name': 'test_switching_threads@tests/unit/test_tui_reporter.py', 'description': 'Test that we can switch which thread is displayed', 'signature': 'def test_switching_threads():'}</s>{'name': 'test_tui_pause@tests/unit/test_tui_reporter.py', 'description': 'DOCSTRING', 'code': 'def test_tui_pause(terminal_size, discon... | 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': 'Quality.get_components@pychord/quality.py', 'description': 'Get components of chord quality\n\n:param str root: the root note of the chord\n:param bool visible: returns the name of notes if True\n:rtype: list[str|int]\n:return: components of chord quality', 'signature': "def get_components(self, root='C', vis... | 1 |
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes... | 0 |
{'name': 'get_world_to_normalized_transform@ValveBatchExport/HeartValveBatchAnalysis/annulus_shape_analysis.py', 'description': "Compute transform that translates and rotates annulus points to a normalized position and\norientataion so that:\n- landmarks' centroid is translated into the origin\n- landmark0->landmark2 g... | 0 |
{'name': 'Logistic.checkToDoList@foo/logisticDepartment/Logistic.py', 'description': '收获制造站产出,交付订单,获取信赖', 'signature': 'def checkToDoList(self):'}</s>{'name': 'RuleEncoder@foo/logisticDepartment/ruleEncoder.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'RuleEncoder.__init__@foo/logisticDepar... | 0 |
{'name': 'BL3Save.set_max_sdus@bl3save/bl3save.py', 'description': 'Sets the specified SDUs (or all SDUs that we know about) to be at the max level', 'signature': 'def set_max_sdus(self, sdulist=None):'}</s>vaultcard2key_hash = inventory_path_hash(vaultcard2key_category) | 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>MQRCCF_SUB_IDENTITY_ERROR = 3154 | 0 |
{'name': 'prepare_sample_table_for_atlas@atlas/init/atlas_init.py', 'description': 'Write the file `samples.tsv` and complete the sample names and paths for all\nfiles in `path`.\nArgs:\n path_to_fastq (str): fastq/fasta data directory', 'signature': 'def prepare_sample_table_for_atlas('}</s>{'name': 'validate_b... | 0 |
{'name': 'IUClock.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data', 'signature': 'def load(self, config: OrderedDict) -> "IUClock":'}</s>CONF_SCHEDULES = "schedules" | 0 |
{'name': 'process_query@da/compiler/incgen.py', 'description': "Generates stub and hook for 'query'.", 'signature': 'def process_query(query, state):'}</s>{'name': 'ClassStmt@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['CompoundStmt', 'NameScope'], 'methods': [{'name': 'ClassStmt.__init__@da/comp... | 0 |
{'name': 'IUSequenceRun.running@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Indicate if this sequence is running', 'signature': 'def running(self) -> bool:'}</s>{'name': 'IUController@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Irrigation Unlimit... | 0 |
{'name': 'picked_locs@picasso/postprocess.py', 'description': 'Finds picked localizations.\n\nParameters\n----------\nlocs : np.recarray\n Localization list.\ninfo : list of dicts\n Metadata of the localizations list.\npicks : list\n List of picks.\npick_shape : {\'Circle\', \'Rectangle\', \'Polygon\'}\n Sh... | 0 |
{'name': 'is_arch_supported@python/taichi/lang/misc.py', 'description': 'Checks whether an arch is supported on the machine.\n\nArgs:\n arch (taichi_python.Arch): Specified arch.\n\nReturns:\n bool: Whether `arch` is supported on the machine.', 'signature': 'def is_arch_supported(arch):'}</s>{'name': 'timeline_cl... | 0 |
{'name': 'http_list@icesat2_toolkit/utilities.py', 'description': "List a directory on an Apache http Server\n\nParameters\n----------\nHOST: str or list\n remote http host path\ntimeout: int or NoneType, default None\n timeout in seconds for blocking operations\ncontext: obj, default ssl.SSLContext(ssl.PROTOCOL_... | 0 |
{'name': 'glacier_masks@oggm/core/gis.py', 'description': 'Makes a gridded mask of the glacier outlines that can be used by OGGM.\n\nFor a more robust solution (not OGGM compatible) see simple_glacier_masks.\n\nParameters\n----------\ngdir : :py:class:`oggm.GlacierDirectory`\n where to write the data', 'signature': ... | 0 |
{'name': 'ApiStub.delete_file@python-sdk/pachyderm_sdk/api/pfs/extension.py', 'description': 'Copies a file within PFS\n\nParameters\n----------\ncommit : pfs.Commit\n An open commit to modify.\npath : str\n The path of the file to be deleted.\n\nExamples\n--------\n>>> from pachyderm_sdk import Client\n>>> from ... | 0 |
{'name': 'set_defaults@python-build-with-qt/sip-4.11.2/configure.py', 'description': 'Set up the defaults for values that can be set on the command line.\n ', 'signature': 'def set_defaults():'}</s>default_sipmoddir = None | 1 |
{'name': 'run_command@versioneer.py', 'description': 'Call the given command(s).', 'signature': 'def run_command(commands, args, cwd=None, verbose=False, hide_stderr=False,'}</s>{'name': 'VersioneerConfig@versioneer.py', 'description': 'Container for Versioneer configuration parameters.', 'base_classes': [], 'methods':... | 0 |
{'name': 'createInstanceAgent@BlendNet/providers/aws/__init__.py', 'description': 'Creating a new instance for BlendNet Agent', 'signature': 'def createInstanceAgent(cfg):'}</s>{'name': 'createFirewall@BlendNet/providers/aws/__init__.py', 'description': 'Create minimal firewall to access external IP of manager/agent', ... | 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': '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': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=... | 0 |
{'name': 'SSHLibrary.list_directory@src/SSHLibrary/library.py', 'description': "Returns and logs items in the remote ``path``, optionally filtered with ``pattern``.\n\n``path`` is a path on the remote machine. Both absolute paths and\npaths relative to the current working directory are supported.\nIf ``path`` is a syml... | 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': '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': 'CustomMainWidget.reinstallMods@src/gui/main_widget.py', 'description': 'Reinstalls selected mods', 'signature': 'def reinstallMods(self):'}</s>{'name': 'indent@src/util/syntax.py', 'description': 'DOCSTRING', 'code': 'def indent(elem: XML.Element, level: int = 0):\n # pylint: disable=len-as-condition\n ... | 0 |
{'name': 'ReplaceByFeeTest.test_doublespend_chain@qa/rpc-tests/replace-by-fee.py', 'description': 'Doublespend of a long chain', 'signature': 'def test_doublespend_chain(self):'}</s>{'name': 'deser_string@qa/rpc-tests/test_framework/mininode.py', 'description': 'DOCSTRING', 'code': 'def deser_string(f):\n nit = dese... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_COMMAND_PCF = 2413 | 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': 'Viewer.initialize@robopianist/viewer/viewer.py', 'description': 'Initialize the viewer.\n\nArgs:\n physics: Physics instance.\n renderer_instance: A renderer.Base instance.\n touchpad: A boolean, use input dedicated to touchpad.', 'signature': 'def initialize(self, physics, renderer_instance, touchpad):'}<... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQSUS_NO = 0 | 0 |
{'name': 'exec_lint@check_lint.py', 'description': "Utility function to unconditionally execute `SublimeHaskellLint.run()` without worrying about the command's status.\n ", 'signature': 'def exec_lint(view, fly_mode=False, continue_success=None, error_handler=None):'}</s>{'name': 'get_qualified_name@sublime_haskell_... | 0 |
{'name': 'URLopener.open_ftp@src/future/backports/urllib/request.py', 'description': 'Use FTP protocol.', 'signature': 'def open_ftp(self, url):'}</s>{'name': 'parse_keqv_list@src/future/backports/urllib/request.py', 'description': 'Parse list of key=value strings where keys are not duplicated.', 'code': 'def parse_keq... | 0 |
{'name': 'LocusEntry.__init__@module/BeadPoolManifest.py', 'description': 'Constructor\n\nArgs:\n handle (file): File handle at start of locus entry record\n\nReturns:\n LocusEntry', 'signature': 'def __init__(self, handle):'}</s>{'name': 'read_byte@module/BeadArrayUtility.py', 'description': 'Helper function to... | 0 |
{'name': 'PackageFinder._link_package_versions@scripts/pdns/lib/python2.7/site-packages/pip/index.py', 'description': 'Return an InstallationCandidate or None', 'signature': 'def _link_package_versions(self, link, search):'}</s>{'name': 'add_metaclass@scripts/pdns/lib/python2.7/site-packages/pip/_vendor/six.py', 'descr... | 0 |
{'name': 'InterruptHandler.start@server/samples/clients/python/appencryption_client.py', 'description': 'Start handling signals.', 'signature': 'def start(self) -> None:'}</s>{'name': 'random_string@server/samples/clients/python/appencryption_client.py', 'description': 'Generate a random string of fixed length.', 'code... | 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': 'get_3dinfo_nt@src/python_scripts/afnipy/afni_util.py', 'descripti... | 0 |
{'name': 'render@versioneer.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'git_get_keywords@versioneer.py', 'description': 'Extract version information from the given file.', 'code': 'def git_get_keywords(versionfile_abs):\n ""... | 0 |
{'name': 'GefHelpCommand.__rebuild@gef.py', 'description': 'Rebuild the documentation.', 'signature': 'def __rebuild(self) -> None:'}</s>RIGHT_ARROW = " → " | 0 |
{'name': 'init_config_values@databricks-adx-integration/src/code/functions/databricksmetadatahandler/__app__/metadatahandler/__init__.py', 'description': 'Get Config setting from predefined variables or environment parameters.\n:return: None', 'signature': 'def init_config_values():'}</s>{'name': 'main@databricks-adx-i... | 0 |
{'name': 'apply_colormap_on_image@src/misc_functions.py', 'description': ' Apply heatmap on image\nArgs:\n org_img (PIL img): Original image\n activation_map (numpy arr): Activation map (grayscale) 0-255\n colormap_name (str): Name of the colormap', 'signature': 'def apply_colormap_on_image(org_im, activati... | 0 |
{'name': 'engine.classical@src/bids/external/inflect.py', 'description': 'turn classical mode on and off for various categories\n\nturn on all classical modes:\nclassical()\nclassical(all=True)\n\nturn on or off specific claassical modes:\ne.g.\nclassical(herd=True)\nclassical(names=False)\n\nBy default all classical m... | 0 |
{'name': 'get_page_from_string_or_id@pages/templatetags/pages_tags.py', 'description': 'Return a Page object from a slug or an id.', 'signature': 'def get_page_from_string_or_id(page_string, lang=None):'}</s>{'name': '_get_content@pages/templatetags/pages_tags.py', 'description': 'Helper function used by ``PlaceholderN... | 0 |
{'name': '_IncludeState.CheckNextIncludeOrder@ament_cpplint/ament_cpplint/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 ... | 0 |
{'name': 'from_ftp@icesat2_toolkit/utilities.py', 'description': "Download a file from a ftp host\n\nParameters\n----------\nHOST: str or list\n remote ftp host path\nusername: str or NoneType\n ftp username\npassword: str or NoneType\n ftp password\ntimeout: int or NoneType, default None\n timeout in secon... | 0 |
{'name': 'SnippetParser.extract@snippet_parser/core.py', 'description': "This is the main method for extracting HTML snippets out of wiki markup.\n\nBroadly, the algorithm goes as follows:\n 1) Find the sections that contain any of the citation needed\n templates.\n 2) Mark the templates with a special elem... | 0 |
{'name': 'get_rows@scripts/compare-llama-bench.py', 'description': 'Helper function that gets table rows for some list of properties.\nRows are created by combining those where all provided properties are equal.\nThe resulting rows are then grouped by the provided properties and the t/s values are averaged.\nThe return... | 1 |
{'name': 'test_put_get_delete_replication@ut/test.py', 'description': '设置、获取、删除跨园区复制配置', 'signature': 'def test_put_get_delete_replication():'}</s>{'name': 'test_meta_insight@ut/test.py', 'description': 'DOCSTRING', 'code': 'def test_meta_insight():\n response, data = ci_create_dataset()\n time.sleep(1)\n asse... | 0 |
{'name': 'ProcessLine@runtimes/compiler-rt/lib/sanitizer_common/scripts/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 represe... | 0 |
{'name': 'PiPluginManager.load_all_plugins@pibooth/plugins/__init__.py', 'description': 'Register the core plugins, load plugins from setuptools entry points\nand the load given module/package paths.\n\nnote:: by default hooks are called in LIFO registered order thus\n plugins register order is important.\n\n:par... | 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': 'CSSParser.parse_pseudo_class_custom@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Parse custom pseudo class alias.\n\nCompile custom selectors as we need them. When compiling a custom selector,\nset it to `None` in the dictionary so we can avoid an infinite loop.',... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.