text string | label int64 |
|---|---|
{'name': 'Test.test_TS_Regions@tests/test_imagecollection.py', 'description': 'Test the Container Emulation Methods', 'signature': 'def test_TS_Regions(self):'}</s>{'name': 'closest@eemont/imagecollection.py', 'description': 'Gets the closest image (or set of images if the collection intersects a region that\nrequires ... | 0 |
{'name': 'Printer._print_hdr@tools/hadb.py', 'description': 'Print header.', 'signature': 'def _print_hdr(self) -> None:'}</s>HDR_SEP = "-|-" | 0 |
{'name': 'TestFile.test_file_dest@python/mozbuild/mozpack/test/test_files.py', 'description': 'Similar to test_file, but for a destination object instead of\na destination file. This ensures the destination object is being\nused properly by File.copy, ensuring that other subclasses of Dest\nwill work.', 'signature': 'd... | 0 |
{'name': 'test_image_validate_00920@tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_validate.py', 'description': '### Classes and Methods\n- ``ImageValidate``\n ` ``commit``\n\n### Summary\nVerify that commit() sets result, response, and response_data\nappropriately when serial_numbers is empty.\n\n###... | 0 |
{'name': 'combineNNNer@code/parseJsontoFeatures.py', 'description': 'add more named entities pronoun into dict', 'signature': 'def combineNNNer(nnlist,features,corefs):'}</s>{'name': 'combineNearArgument@code/parseJsontoFeatures.py', 'description': 'find near argument type info into dict', 'code': 'def combineNearArgum... | 0 |
{'name': 'Bottle._cast@TDScanner/sqlmap/thirdparty/bottle/bottle.py', 'description': 'Try to convert the parameter into something WSGI compatible and set\ncorrect HTTP headers when possible.\nSupport: False, str, unicode, dict, HTTPResponse, HTTPError, file-like,\niterable of strings and iterable of unicodes', 'signatu... | 0 |
{'name': 'repeat_every@fastapi_utils/tasks.py', 'description': "This function returns a decorator that modifies a function so it is periodically re-executed after its first call.\n\nThe function it decorates should accept no arguments and return nothing. If necessary, this can be accomplished\nby using `functools.parti... | 1 |
{'name': 'test_put_update_mitre_org_malformed_roles@test-http/src/test/org_user_tests/org.py', 'description': 'service should return useful error message for malformed roles ', 'signature': 'def test_put_update_mitre_org_malformed_roles():'}</s>{'name': 'test_get_mitre_cna@test-http/src/test/org_user_tests/org.py', 'de... | 0 |
{'name': 'Shaper.categorize@fontFeatures/shaperLib/Shaper.py', 'description': 'Returns the appropriate complex shaper class to shape this buffer.', 'signature': 'def categorize(self, buf):'}</s>{'name': 'Shaper@fontFeatures/shaperLib/Shaper.py', 'description': 'Initialize a shaping engine.\n\nArgs:\n ff: A :py:class... | 1 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQXQH_CURRENT_VERSION = 1 | 0 |
{'name': 'CSSParser.parse_pseudo_class@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Parse pseudo class.', 'signature': 'def parse_pseudo_class(self, sel, m, has_selector, iselector, is_html):'}</s>CSS_DEFAULT = CSSParser(
'''
:checked,
/*
This pattern must ... | 1 |
{'name': 'IUSequence.zone_duration@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the duration for the specified zone including adjustments\nand constraints', 'signature': 'def zone_duration('}</s>CONF_VERSION = "version" | 0 |
{'name': 'format@libs/sqlparse/__init__.py', 'description': 'Format *sql* according to *options*.\n\nAvailable options are documented in :ref:`formatting`.\n\nIn addition to the formatting options this function accepts the\nkeyword "encoding" which determines the encoding of the statement.\n\n:returns: The formatted SQ... | 0 |
{'name': '_prepare_request_headers@aiosonic/client.py', 'description': 'Prepare get data.', 'signature': 'def _prepare_request_headers('}</s>BodyType = Union[
str,
bytes,
AsyncIterator[bytes],
Iterator[bytes],
] | 0 |
{'name': 'Node.type@snimpy/mib.py', 'description': 'Get the basic type associated with this node.\n\n:return: The class from :mod:`basictypes` module which can\n represent the node. When retrieving a valid value for\n this node, the returned class can be instanciated to get\n an appropriate representation.', '... | 0 |
{'name': 'TestObjectsE2E.test_create_alias_a_record@e2e_tests/test_objects.py', 'description': 'Create two A records with different names, but pointing to the same\nipv4addr', 'signature': 'def test_create_alias_a_record(self):'}</s>{'name': 'Discoverytaskport@infoblox_client/objects.py', 'description': 'DOCSTRING', 'b... | 0 |
{'name': 'render_pep440_branch@versioneer.py', 'description': 'TAG[[.dev0]+DISTANCE.gHEX[.dirty]] .\n\nThe ".dev0" means not master branch. Note that .dev0 sorts backwards\n(a feature branch will appear "older" than the master branch).\n\nExceptions:\n1: no tags. 0[.dev0]+untagged.DISTANCE.gHEX[.dirty]', 'signature': '... | 0 |
{'name': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>PF_RDR = 8 | 0 |
{'name': 'Scheduler.__init__@spider/core/scheduler.py', 'description': '@summary: 调度器\n---------\n@param table_folder: 爬虫request及item存放reis中的文件夹\n@param parser_count: 线程数,默认为配置文件中的线程数\n@param begin_callback: 爬虫开始回调函数\n@param end_callback: 爬虫结束回调函数\n@param delete_tabs: 爬虫启动时删除的表,类型: 元组/bool/string。 支持正则\n@param process_... | 1 |
{'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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCA_AUTO_REORG_CATALOG = 2091 | 0 |
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>PFR_TFLAG_INACTIVE = 8 | 0 |
{'name': '_read_csv@meza/io.py', 'description': "Helps read a csv file.\n\nArgs:\n f (obj): The csv file like object.\n header (Seq[str]): Sequence of column names.\n has_header (bool): Whether or not file has a header.\n\nKwargs:\n first_col (int): The first column (default: 0).\n\nYields:\n dict: A csv... | 0 |
{'name': 'test_visualizer@utils/visualizers/test.py', 'description': 'Tests visualizers.', 'signature': 'def test_visualizer(test_dir=_TEST_DIR):'}</s>{'name': 'VideoVisualizer@utils/visualizers/video_visualizer.py', 'description': 'Defines the video visualizer that presents images as a video.', 'base_classes': ['objec... | 1 |
{'name': 'run_benchmark@oggm/cli/benchmark.py', 'description': 'Does the actual job.\n\nParameters\n----------\nrgi_version : str\n the RGI version to use (defaults to cfg.PARAMS)\nrgi_reg : str\n the RGI region to process\nborder : int\n the number of pixels at the maps border\noutput_folder : str\n path t... | 0 |
{'name': 'serialize_weights@python/extract_keras_weights.py', 'description': 'Serialize Keras model into flattened numpy array in correct shape for\nPytorch in Rust', 'signature': 'def serialize_weights(model, save_path):'}</s>{'name': 'conv_building_block@python/resnet/resnet32_model.py', 'description': 'A block that ... | 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': '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': 'CalculateVariables@gyp/pylib/gyp/generator/make.py', 'description': 'Calculate additional variables for use in the build (called by gyp).', 'signature': 'def CalculateVariables(default_variables, params):'}</s>SHARED_HEADER_SUFFIX_RULES_COMMENT1 = "# Suffix rules, putting all outputs into $(obj).
" | 0 |
{'name': 'Message.to_pydict@src/betterproto/__init__.py', 'description': 'Returns a python dict representation of this object.\n\nParameters\n-----------\ncasing: :class:`Casing`\n The casing to use for key values. Default is :attr:`Casing.CAMEL` for\n compatibility purposes.\ninclude_default_values: :class:`bool... | 0 |
{'name': 'mass_fracs_to_molar_fracs@python/xraydb/xray.py', 'description': "Calculate molar fractions from a given mass fractions of elements.\nResult is normalized to one.\n\nArgs:\n mass_fracs (dict): mass fractions of elements\n\nReturns:\n dict with fields of each element and values of their coefficients\n\nE... | 0 |
{'name': '_is_descriptor@plugins/sublime/enum-dist/enum/__init__.py', 'description': 'Returns True if obj is a descriptor, False otherwise.', 'signature': 'def _is_descriptor(obj):'}</s>{'name': 'unique@plugins/sublime/enum-dist/enum/__init__.py', 'description': 'Class decorator that ensures only unique members exist i... | 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>MQPMRF_GROUP_ID = 4 | 0 |
{'name': 'main@lookatme/__main__.py', 'description': 'lookatme - An interactive, terminal-based markdown presentation tool.\n\nSee https://lookatme.readthedocs.io/en/v{{VERSION}} for documentation', 'signature': 'def main(tutorial, debug, log_path, theme, code_style, dump_styles,'}</s>{'name': 'Presentation@lookatme/pr... | 1 |
{'name': 'lava_cell_op@self_organising_systems/biomakerca/extensions/eruption.py', 'description': 'Create the exclusive function of LAVA cells.\n\nLAVA expires after a minimum age.\nLAVA has a falling-sand property. But, if it cannot fall, it then may\nburn nearby burnable cells (making them FIRE).', 'signature': 'def ... | 1 |
{'name': 'Alignment.split@maf/impl/naiveLiftUp.py', 'description': 'Return two new alignments created by splitting this alignment at an offset relative to its start.', 'signature': 'def split(self, split_point):'}</s>{'name': 'sort_blocks_job@maf/impl/naiveLiftUp.py', 'description': 'DOCSTRING', 'code': "def sort_block... | 0 |
{'name': 'Pdf.Render@reference/ThinkDSP/code/thinkstats2.py', 'description': 'Generates a sequence of points suitable for plotting.\n\nIf options includes low and high, it must also include n;\nin that case the density is evaluated an n locations between\nlow and high, including both.\n\nIf options includes xs, the den... | 0 |
{'name': 'NetworkProfile.AddAnchorCertificate@gmacpyutil/gmacpyutil/profiles.py', 'description': 'Adds a certificate payload to the profile for server identification.\n\nArgs:\n certificate: str, PEM-formatted certificate.\n\nRaises:\n CertificateError: there was an error processing the certificate', 'signature': 'de... | 0 |
{'name': 'Configuration.__init__@python-build-with-qt/sip-4.11.2/siputils.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>_config_stack = [] | 1 |
{'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': 'auto_detect_classifier@sklearn_pmml_model/auto_detect/base.py', 'description': 'Automatically detect and return the described classifier from PMML file.\n\nParameters\n----------\npmml : str, object\n Filename or file object containing PMML data.', 'signature': 'def auto_detect_classifier(pmml, **kwargs):'... | 0 |
{'name': 'escape_env_var@tox_docker/plugin.py', 'description': 'Convert a string to a form suitable for use as an environment variable.\n\nThe result will be all uppercase, and will have all invalid characters\nreplaced by an underscore.\n\nThe result will match the following regex: [a-zA-Z_][a-zA-Z0-9_]*\n\nExample:\n... | 0 |
{'name': 'ingest_to_adx@databricks-adx-integration/src/code/functions/adxingestp2/__app__/dataingest/__init__.py', 'description': 'Trigger ADX to ingest the specified file in Azure Data Lake\nPrepare ADX ingestion meta-data\n:param file_path: The full path of blob file\n:param file_size: The full size of blob file\n:pa... | 0 |
{'name': 'Display.grab_server@Monika After Story/game/python-packages/Xlib/display.py', 'description': 'Disable processing of requests on all other client connections\nuntil the server is ungrabbed. Server grabbing should be avoided\nas much as possible.', 'signature': 'def grab_server(self, onerror = None):'}</s>GCPla... | 0 |
{'name': 'ProcessGlobalSuppresions@third_party/cpplint/cpplint.py', 'description': 'Updates the list of global error suppressions.\n\nParses any lint directives in the file that have global effect.\n\nArgs:\n lines: An array of strings, each representing a line of the file, with the\n last element being empty ... | 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': 'Node.has_children@hamlish_jinja.py', 'description': 'returns False if children is empty or contains only empty lines else True.', 'signature': 'def has_children(self):'}</s>{'name': 'HTMLTag@hamlish_jinja.py', 'description': 'DOCSTRING', 'base_classes': ['Node'], 'methods': [{'name': 'HTMLTag.__init__@hamlish... | 0 |
{'name': 'TreeMetadataEmitter.emit_from_sandbox@python/mozbuild/mozbuild/frontend/emitter.py', 'description': 'Convert a MozbuildSandbox to tree metadata objects.\n\nThis is a generator of mozbuild.frontend.data.SandboxDerived instances.', 'signature': 'def emit_from_sandbox(self, sandbox):'}</s>{'name': 'SimpleProgram... | 0 |
{'name': 'ProcessFileData@tools/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 representing a li... | 0 |
{'name': 'Bottle.reset@src/back/kite/bottle.py', 'description': 'Reset all routes (force plugins to be re-applied) and clear all\ncaches. If an ID or route object is given, only that specific route\nis affected. ', 'signature': 'def reset(self, route=None):'}</s>{'name': 'DictProperty@src/back/kite/bottle.py', 'descrip... | 0 |
{'name': 'Node.__init__@blue_st_sdk/node.py', 'description': 'Constructor.\n\nArgs:\n scan_entry (ScanEntry): BLE device. It contains device information\n and advertising data. Refer to\n `ScanEntry <https://ianharvey.github.io/bluepy-doc/scanentry.html>`_\n for more information.\n\nRaises:\n ... | 1 |
{'name': 'SQL@grizli/aws/db.py', 'description': "Send a query to a database through `pandas.read_sql_query`\n\nParameters\n----------\nquery_text : str\n Query text, e.g., 'SELECT count(*) FROM table;'.\n\nengine : `sqlalchemy.engine.Engine`\n DB connection engine initialized with `~grizli.aws.db.get_db_engine`. ... | 0 |
{'name': 'TempGitHandler._get_local_mirror@bioconda_utils/githandler.py', 'description': "Get a (cached) local mirror of a remote repo\n\nThis is used to speed up getting full repo copies. The bioconda-recipes\nrepo has grown to be quite large, and copying it every time a checkout\nof a branch is needed takes too long.... | 0 |
{'name': 'post_processor@automated_logging/signals/m2m.py', 'description': 'if the change is in reverse or not, the processing of the changes is still\nthe same, so we have this method to take care of constructing the changes\n:param sender:\n:param instance:\n:param model:\n:param operation:\n:param targets:\n:return:... | 1 |
{'name': 'Initializer.init_module@src/Pix2Pix/Pix2Pix.py', 'description': 'Parameters: \n m: Module', 'signature': 'def init_module(self, m):'}</s>trn_batch_sz = 16 * len(devices) | 0 |
{'name': 'git_call@airflow_code_editor/git.py', 'description': 'Run git command. If capture_output is true, stdout and stderr will be captured.', 'signature': 'def git_call(argv: List[str], capture_output: bool = False) -> Tuple[int, bytes, bytes]:'}</s>__all__ = [
'git_enabled',
'execute_git_command',
] | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQDCC_FILL_TARGET_BUFFER = py23long(0x00000002) | 0 |
{'name': 'ProcessFileData@tools/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 representing a li... | 0 |
{'name': 'TestingParser.set_parser@tests/run_all_tests.py', 'description': 'Sets a new argument parser.\n\nThis method sets a new instance of the argument parser.\n\nParameters:\n- newParser (argparse.ArgumentParser): The new argument parser to set.', 'signature': 'def set_parser(self, newParser: argparse.ArgumentParse... | 0 |
{'name': 'PrePostChange.get_change_raw_sql@operations.py', 'description': "Generates PrePost-adjusted values for PercentChange computation.\n\nThis function generates subqueries like\nWITH PrePostRaw AS (SELECT\n split_by,\n stratified_by,\n condition_column,\n child_metric,\n covariate\nFROM T\nGROUP BY split_by,... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_CHAD_WRONG_TYPE = 4080 | 0 |
{'name': 'toggle_fullscreen@soundrts/clientmedia.py', 'description': 'toggle full screen mode, and say it', 'signature': 'def toggle_fullscreen():'}</s>MULTIPLAYER2 = [4033] | 0 |
{'name': 'get_current_error@wrappers/python/indy_vdr/bindings.py', 'description': 'Get the error result from the previous failed API method.\n\nArgs:\n expect: Return a default error message if none is found', 'signature': 'def get_current_error(expect: bool = False) -> VdrError:'}</s>{'name': 'VdrErrorCode@wrappers... | 1 |
{'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': 'virtual_adversarial_training@examples/task_sentiment_virtual_adversarial_training.py', 'description': '给模型添加虚拟对抗训练\n其中model是需要添加对抗训练的keras模型,embedding_name\n则是model里边Embedding层的名字。要在模型compile之后使用。', 'signature': 'def virtual_adversarial_training('}</s>{'name': 'data_generator@examples/task_sentiment_virtual_a... | 0 |
{'name': 'MainInterface.process_options@src/python_scripts/scripts/uber_ttest.py', 'description': 'return 1 on valid and exit\n 0 on valid and continue\n-1 on invalid', 'signature': 'def process_options(self):'}</s>{'name': 'interval_offsets@src/python_scripts/afnipy/afni_util.py', 'description': 'given a list of time... | 0 |
{'name': 'JobQueue.dequeue@worker/bioqueue.py', 'description': 'Pop a job out of the queue and finish the following steps\n\n1.\nParameters\n----------\njob :\n\nReturns\n-------', 'signature': 'def dequeue(self, job, is_error=0):'}</s>_JS_FINISHED = -1 | 1 |
{'name': 'output_test_path@tests/conftest.py', 'description': 'Return absolute path to test outputs directory', 'signature': 'def output_test_path(pytestconfig):'}</s>{'name': 'helper@tests/conftest.py', 'description': 'Parametrized fixture to return helper configured for a template pack', 'code': 'def helper(request):... | 0 |
{'name': 'BitcoinTestFramework.skip_if_no_bitcoin_chainstate@test/functional/test_framework/test_framework.py', 'description': 'Skip the running test if bitcoin-chainstate has not been compiled.', 'signature': 'def skip_if_no_bitcoin_chainstate(self):'}</s>{'name': 'BitcoinTestMetaClass@test/functional/test_framework/t... | 0 |
{'name': 'init_listener@pyexfil/network/ICMP/icmp_exfiltration.py', 'description': 'init_listener will start a listener for incoming ICMP packets\non a specified ip_addr to receive the packets. It will then\nsave a log file and the incoming information to the given path.\n\nIf none given it will generate one itself.\n:... | 1 |
{'name': 'SmoothedValue.synchronize_between_processes@camera2car/auto_calib/util/misc.py', 'description': 'Warning: does not synchronize the deque!', 'signature': 'def synchronize_between_processes(self):'}</s>{'name': '_onnx_nested_tensor_from_tensor_list@camera2car/auto_calib/util/misc.py', 'description': 'DOCSTRING'... | 0 |
{'name': 'apply_operator@pytenet/operation.py', 'description': 'Apply an operator represented as MPO to a state in MPS form.', 'signature': 'def apply_operator(op: MPO, psi: MPS) -> MPS:'}</s>{'name': 'contraction_operator_density_step_right@pytenet/operation.py', 'description': 'Contraction step between two matrix pro... | 0 |
{'name': 'ReplaceByFeeTest.test_too_many_replacements@test/functional/feature_rbf.py', 'description': 'Replacements that evict too many transactions are rejected', 'signature': 'def test_too_many_replacements(self):'}</s>{'name': 'assert_greater_than_or_equal@test/functional/test_framework/util.py', 'description': 'DOC... | 0 |
{'name': 'CollapsingMergeTree.get_final_versions@src/django_clickhouse/engines.py', 'description': "Get objects, that are currently stored in ClickHouse.\nDepending on the partition key this can be different for different models.\nIn common case, this method is optimized for date field that doesn't change.\nIt also sup... | 0 |
{'name': 'Device.close@src/LabJackPython.py', 'description': 'close()\n\nCloses the device.\n\nOn Windows, this method only sets the device handle to None but does\nnot close the device. Instead use the Close function from the\nLabJackPython module which closes all devices in the program, and is\nthe only device close ... | 0 |
{'name': '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': 'TileCreator.parseChannels@tensorflow/tools/tilecreator.py', 'description': "arbitrary channel structure from string, expand if necessary. USE GLOBAL KEYS ^\n'd': default/ density; data that needs no special operations during augmentation\n'v[label](x|y|z)': vector/velocity; is transformed according to the aug... | 0 |
{'name': 'main_shell@signac/__main__.py', 'description': 'Handle shell subcommand.', 'signature': 'def main_shell(args):'}</s>{'name': 'main_config_verify@signac/__main__.py', 'description': 'Handle config verify subcommand.', 'code': 'def main_config_verify(args):\n """Handle config verify subcommand."""\n cfg =... | 0 |
{'name': 'post_search@geetest_offline/geetest_offline_nm.py', 'description': 'POST /CheckEntContext/showCheck.html', 'signature': 'def post_search(session, textfield, page):'}</s>TIMEOUT = 10 | 1 |
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be... | 0 |
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be... | 0 |
{'name': 'update_sample_attr@ui/views/Samples.py', 'description': "Update sample's attribute\n\nParameters\n----------\nrequest :\n\nReturns\n-------", 'signature': 'def update_sample_attr(request):'}</s>{'name': 'QueryJobLogForm@ui/forms.py', 'description': 'DOCSTRING', 'base_classes': ['forms.Form'], 'methods': []} | 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>badge_172 = Badge("pile... | 0 |
{'name': 'euler_from_matrix@transformations.py', 'description': 'Return Euler angles from rotation matrix for specified axis sequence.\n\naxes : One of 24 axis sequences as string or encoded tuple\n\nNote that many Euler angle triplets can describe one matrix.\n\n>>> R0 = euler_matrix(1, 2, 3, \'syxz\')\n>>> al, be, ga... | 0 |
{'name': 'test_random_valid_mutation_without_insert@tests/unit/test_ea_mutation.py', 'description': 'Test if a valid mutation is applied at random.\n\nI am honestly not sure of the best way to test this.\nBecause of the random nature, we repeat this enough times to ensure\neach mutation is tried with probability >0.999... | 0 |
{'name': 'ScaleDecoder.__init__@scalecodec/base.py', 'description': 'Constructs an SCALE codec class capable of encoding and decoding SCALE-bytes\n\nParameters\n----------\ndata: ScaleBytes stream of SCALE data\nsub_type\nruntime_config', 'signature': 'def __init__(self, data: ScaleBytes, sub_type: str = None, runtime_... | 0 |
{'name': '_loadedModules@snimpy/mib.py', 'description': 'Generates the list of loaded modules.\n\n:yield: The :class:`smi.SmiModule` of all currently loaded modules.', 'signature': 'def _loadedModules():'}</s>{'name': '_kind2object@snimpy/mib.py', 'description': 'DOCSTRING', 'code': 'def _kind2object(kind):\n return... | 0 |
{'name': 'predict_par@gns/train_multinode.py', 'description': 'Predict rollouts.\n\nArgs:\n simulator: Trained simulator if not will undergo training.', 'signature': 'def predict_par(rank):'}</s>{'name': '_get_simulator@gns/train_multinode.py', 'description': "Instantiates the simulator.\n\nArgs:\n metadata: JSON obj... | 1 |
{'name': 'Neo4jTest.get_type_of_neo_test@tests/run_all_tests.py', 'description': 'Determines the type of Neo4j test based on the test name.\n\nThis method uses regular expressions to match the test name against\npredefined patterns to determine the type of Neo4j test.\n\nParameters:\n- test_name (str): The name of the ... | 0 |
{'name': 'BisectRunner.run@nix_bisect/bisect_runner.py', 'description': 'Finds the first bad commit', 'signature': 'def run(self, bisect_fun):'}</s>_quit_hooks = [] | 0 |
{'name': 'AdbDevice.push@adb_shell/adb_device.py', 'description': "Push a file or directory to the device.\n\nParameters\n----------\nlocal_path : str, BytesIO\n A filename, directory, or BytesIO stream to push to the device\ndevice_path : str\n Destination on the device to write to.\nst_mode : int\n Stat mode... | 0 |
{'name': 'test_trino_query_response_headers@tests/unit/test_client.py', 'description': 'Validates that the `TrinoQuery.execute` function can take addtional headers\nthat are pass the the provided request instance post function call and it\nreturns a `TrinoResult` instance.', 'signature': 'def test_trino_query_response_... | 0 |
{'name': 'takePantiltSequence@source/pi-timolo.py', 'description': 'Take a sequence of images based on a list of pantilt positions and save with\na sequence number appended to the filename', 'signature': 'def takePantiltSequence(filename, daymode, pix_ave, num_count, num_path):'}</s>CONFIG_FILE_PATH = os.path.join(BASE... | 0 |
{'name': 'info_file@module/save.py', 'description': 'gather course information. ', 'signature': 'def info_file(url, course_path):'}</s>{'name': 'course_path@module/save.py', 'description': 'finding course path ', 'code': 'def course_path(url, lynda_folder_path):\n \'\'\' finding course path \'\'\'\n soup = create... | 1 |
{'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>PAGE_TAGGING_FIELD = getattr(settings, 'PAGE_TAGGING_FIELD', _default_tagging_field) | 0 |
{'name': 'extract_from_coords@grizli/aws/sky_wfss.py', 'description': ' ', 'signature': "def extract_from_coords(ra=189.0706488, dec=62.2089502, grisms=['F356W-GRISMR','F410M-GRISMR','F444W-GRISMR'], size=48, grp=None, clean=False, get_cutout=True, cutout_filter='F444W-CLEAR', prefix='gdn-grism', verbose=True, mb_kw... | 0 |
{'name': 'Header.FillOut@vimdoc/docline.py', 'description': 'Expands the usage line with the given arguments.', 'signature': 'def FillOut(self, name, sep, extra_reqs, extra_opts):'}</s>command_line = re.compile(r"""
# Leading whitespace.
^\s*
# com[mand]
com(?:m|ma|man|mand)?
# Optional bang.
(?:\s*!\s*|\s+... | 0 |
{'name': 'AverageMeter.update@argus/utils.py', 'description': 'Update the average meter with a new value.\n\nArgs:\n value: Value to update the average meter with.\n n (int, optional): Number of elements accumulated by the value.\n Should be positive. Defaults to 1.', 'signature': 'def update(self, value, ... | 0 |
{'name': 'db_open@versions/speed-cam_11.26.py', 'description': 'Insert speed data into database table', 'signature': 'def db_open(db_file):'}</s>{'name': 'deleteOldFiles@versions/speed-cam_11.26.py', 'description': 'Delete Oldest files gt or\nequal to maxfiles that match filename prefix', 'code': 'def deleteOldFiles(ma... | 0 |
{'name': 'rel_err@oggm/utils/_funcs.py', 'description': 'Relative error. Ref should be non-zero', 'signature': 'def rel_err(ref, data):'}</s>DL_VERIFIED = dict() | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.