text string | label int64 |
|---|---|
{'name': 'test_put_get_delete_bucket_domain_certificate@ut/test.py', 'description': '测试设置获取删除bucket自定义域名证书', 'signature': 'def test_put_get_delete_bucket_domain_certificate():'}</s>{'name': 'test_should_switch_domain@ut/test.py', 'description': 'DOCSTRING', 'code': 'def test_should_switch_domain():\n test_conf = Cos... | 0 |
{'name': 'EntryTransformer.unquoted_value@code/utils/osg_parse.py', 'description': ':param x:\n:return:', 'signature': 'def unquoted_value(self, x):'}</s>{'name': 'write_text@code/utils/utils.py', 'description': 'Writes a whole text file (UTF-8 encoded).', 'code': 'def write_text(file, text):\n """\n Writes a who... | 0 |
{'name': 'Comment.get@AO3/comments.py', 'description': 'Request a web page and return a Response object', 'signature': 'def get(self, *args, **kwargs):'}</s>{'name': 'DuplicateCommentError@AO3/utils.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': [{'name': 'DuplicateCommentError.__init__@AO3/... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIA_PUBSUB_MODE = 187 | 0 |
{'name': 'Knode.get_node@kabuki/hierarchical.py', 'description': "Return the node that depends on the same elements.\n\nCalled by the child to receive specific parent node.\n\n:Arguments:\n col_to_elem : dict\n Maps column names to elements.\n e.g. {'col1': 'elem1', 'col2': 'elem2', 'col3': 'elem3'}", ... | 0 |
{'name': 'Serial.open@serial/serialwin32.py', 'description': 'Open port with current settings. This may throw a SerialException\nif the port cannot be opened.', 'signature': 'def open(self):'}</s>EV_ERR = 128 | 0 |
{'name': 'Client.connect@skein/core.py', 'description': "Connect to a running application.\n\nParameters\n----------\napp_id : str\n The id of the application.\nwait : bool, optional\n If true [default], blocks until the application starts. If False,\n will raise a ``ApplicationNotRunningError`` immediately if... | 0 |
{'name': 'MQTTProtocol._retryUnsubscribe@src/mqtt/client/pubsubs.py', 'description': 'Transmit/Retransmit UNSUBSCRIBE packet', 'signature': 'def _retryUnsubscribe(self, request, dup):'}</s>{'name': 'ConnectedState@src/mqtt/client/pubsubs.py', 'description': 'DOCSTRING', 'base_classes': ['BaseConnectedState'], 'methods'... | 0 |
{'name': 'DebPkgToolsTestCase.test_relationship_parsing@deb_pkg_tools/tests.py', 'description': 'Test the parsing of Debian package relationship declarations.', 'signature': 'def test_relationship_parsing(self):'}</s>{'name': 'merge_control_fields@deb_pkg_tools/control.py', 'description': 'Merge the fields of two Debia... | 0 |
{'name': 'APIConnection.__init__@qingcloud/iaas/connection.py', 'description': '@param qy_access_key_id - the access key id\n@param qy_secret_access_key - the secret access key\n@param zone - the zone id to access\n@param host - the host to make the connection to\n@param port - the port to use when connect to host\n@pa... | 0 |
{'name': 'DNNClassifier.__init__@sqlflow_models/dnnclassifier.py', 'description': 'DNNClassifier\n:param feature_columns: feature columns.\n:type feature_columns: list[tf.feature_column].\n:param hidden_units: number of hidden units.\n:type hidden_units: list[int].\n:param n_classes: List of hidden units per layer.\n:t... | 0 |
{'name': 'GTestBreakOnFailureUnitTest.testEnvVar@googletest/test/googletest-break-on-failure-unittest.py', 'description': 'Tests using the GTEST_BREAK_ON_FAILURE environment variable.', 'signature': 'def testEnvVar(self):'}</s>{'name': 'Subprocess@googletest/test/gtest_test_utils.py', 'description': 'DOCSTRING', 'base_... | 0 |
{'name': 'Router._send_remote@da/sim.py', 'description': 'Forward `mesg` to remote process `dest`.\n\n ', 'signature': 'def _send_remote(self, src, dest, mesg, flags=0, transport=None, **params):'}</s>{'name': 'name_split_node@da/common.py', 'description': "Splits `name` into 'processname', 'nodename' components... | 0 |
{'name': 'AutoModelForQuestionAnswering.from_pretrained@small_nocls/pytorch_transformers/modeling_auto.py', 'description': "Instantiates one of the question answering model classes of the library\nfrom a pre-trained model configuration.\n\nThe `from_pretrained()` method takes care of returning the correct model class i... | 1 |
{'name': 'odctndict@training_codes/utils/utils_model.py', 'description': "D = ODCTNDICT((N1 N2 ... Np),(L1 L2 ... Lp)) returns an overcomplete \nDCT dictionary for p-dimensional signals of size N1xN2x...xNp. The number \nof DCT atoms in the i-th dimension is Li, so the combined dictionary is of\nsize (N1*N2*...*Np) x (... | 0 |
{'name': 'switch@agents/bdq/common/tf_util.py', 'description': 'Switches between two operations depending on a scalar value (int or bool).\nNote that both `then_expression` and `else_expression`\nshould be symbolic tensors of the *same shape*.\n\n# Arguments\n condition: scalar tensor.\n then_expression: TensorFl... | 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>MQIACF_LDAP_CONNECTION_STATUS = 1409 | 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': 'parse_binary_acl@msldap/external/bloodhoundpy/acls.py', 'description': 'Main ACL structure parse function.\nThis is offloaded to subprocesses and takes the current entry and the\nacl data as argument. This is then returned and processed back in the main process', 'signature': 'def parse_binary_acl(dn, entry, ... | 0 |
{'name': 'PropKB.tell@Projects/2_Classical Planning/aimacode/logic.py', 'description': "Add the sentence's clauses to the KB.", 'signature': 'def tell(self, sentence):'}</s>{'name': 'tt_entails@Projects/2_Classical Planning/aimacode/logic.py', 'description': "Does kb entail the sentence alpha? Use truth tables. For pro... | 0 |
{'name': 'RunWithSharding@3rdparty/googletest/googletest/test/gtest_filter_unittest.py', 'description': 'Runs a test program shard and returns exit code and a list of tests run.', 'signature': 'def RunWithSharding(total_shards, shard_index, command):'}</s>TEST_CASE_REGEX = re.compile(r'^\[\-+\] \d+ tests? from (\w+(/\w... | 0 |
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie... | 0 |
{'name': 'SemisupervisedTranslationTask.load_dataset@fairseq/tasks/semisupervised_translation.py', 'description': 'Load a dataset split.', 'signature': 'def load_dataset(self, split, epoch=1, **kwargs):'}</s>{'name': 'make_dataset@fairseq/data/indexed_dataset.py', 'description': 'DOCSTRING', 'code': 'def make_dataset(p... | 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': 'Transformer.check_required_fields@src/attributecode/transform.py', 'description': 'Return a list of Error for a `data` list of ordered dict where a\ndict is missing a value for a required field name.', 'signature': 'def check_required_fields(self, data):'}</s>{'name': 'transform_data@src/attributecode/transfo... | 0 |
{'name': 'build_datasets@chemprop/cli/train.py', 'description': 'build the train/val/test datasets, where :attr:`test_data` may be None', 'signature': 'def build_datasets(args, train_data, val_data, test_data):'}</s>__all__ = [
"Aggregation",
"AggregationRegistry",
"MeanAggregation",
"SumAggregation",
... | 0 |
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie... | 0 |
{'name': 'initialize_runtime_options@da/common.py', 'description': "Sets and sanitizes runtime options.\n\n'options' should be a dict-like object containing mappings from options\nnames to corresponding values.", 'signature': 'def initialize_runtime_options(options=None):'}</s>DA_MODULE_CONSOLE_FORMAT = "[%(relativeCre... | 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>CTRL_KEY_TYPE_ADD_ADDR = 6 | 0 |
{'name': 'get_media_id@post.py', 'description': 'Get the media ID for this request, or None if no media was uploaded.', 'signature': 'def get_media_id(board_id: int) -> int:'}</s>{'name': 'invalidate_posts@post.py', 'description': 'Invalidates the respective cache pages after a post has been created.', 'code': 'def inv... | 0 |
{'name': 'BaseRequest.POST@src/back/kite/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>{'name': 'BjoernServer@sr... | 0 |
{'name': '_makeTags@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'ParseFatalException@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_ve... | 0 |
{'name': 'get_model@models.py', 'description': 'Get appropriate model based on model_name and input arguments\nArgs: \n model_name - (str) which model to use \n kwargs - input arguments corresponding to the model name\n\nReturns: \n returns the model!', 'signature': 'def get_model(model_name, **kwargs):'}</s>{'name'... | 0 |
{'name': 'process_line@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_internal/req/req_file.py', 'description': 'Process a single requirements line; This can result in creating/yielding\nrequirements, or updating the finder.\n\nFor lines that contain requirements, the only options that have ... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQSMPO_CURRENT_VERSION = 1 | 0 |
{'name': 'create_app@baymax/app.py', 'description': 'Create a Flask app.', 'signature': 'def create_app(config=None, app_name=None, blueprints=None):'}</s>{'name': 'configure_logging@baymax/app.py', 'description': 'Configure file(info) and email(error) logging.', 'code': 'def configure_logging(app):\n """Configure f... | 1 |
{'name': 'GetBuildDir@src/3rd_party-static/gmock-1.7.0/gtest/test/gtest_test_utils.py', 'description': 'Returns the absolute path of the directory where the test binaries are.', 'signature': 'def GetBuildDir():'}</s>{'name': 'GetSourceDir@src/3rd_party-static/gmock-1.7.0/gtest/test/gtest_test_utils.py', 'description': ... | 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': 'Praetorian.init_app@flask_praetorian/base.py', 'description': 'Initializes the Praetorian extension\n\n:param: app: The flask app to bind this\n extension to\n:param: user_class: The class used to interact with\n user... | 1 |
{'name': 'dict@ring/func/asyncio.py', 'description': ':class:`dict` interface for :mod:`asyncio`.\n\n:see: :func:`ring.func.sync.dict` for common description.', 'signature': 'def dict('}</s>{'name': 'memcache@ring/func/sync.py', 'description': 'Common Memcached_ interface.\n\nThis backend is shared interface for variou... | 0 |
{'name': 'Praetorian.authenticate@flask_praetorian/base.py', 'description': 'Verifies that a password matches the stored password for that username.\nIf verification passes, the matching user instance is returned', 'signature': 'def authenticate(self, username, password):'}</s>RESERVED_CLAIMS = {
"iat",
"exp",
... | 0 |
{'name': 'process_client_hello@core/packet_processor.py', 'description': 'Extracts the SNI field from the ClientHello packet.', 'signature': 'def process_client_hello(pkt):'}</s>{'name': 'is_private_ip_addr@core/networking.py', 'description': 'Returns True if the given IP address is a private local IP address.', 'code'... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQAIT_ALL = 0 | 0 |
{'name': 'KeyMonkey.setup_secure_client@sqlite_rx/auth.py', 'description': "Use this method to setup a secure client. Clients also need the\nservername to look for server's public key\n\nArgs:\n client: A ZMQ Socket instance\n\n connect_address: The address of the server where the clients will send requests\n\n ... | 0 |
{'name': 'process_line@scripts/pdns/lib/python2.7/site-packages/pip/req/req_file.py', 'description': 'Process a single requirements line; This can result in creating/yielding\nrequirements, or updating the finder.\n\nFor lines that contain requirements, the only options that have an effect\nare from SUPPORTED_OPTIONS_R... | 0 |
{'name': 'get_env_name@src/conda_devenv/devenv.py', 'description': ':param args:\n When the user supplies the name option in the command line this namespace have a "name"\n defined with a not `None` value and this value is returned.\n:param conda_yaml_dict:\n If supplied and not `None` then `output_filename` i... | 0 |
{'name': 'JsmRestClient.get_agent@app/util/api/jsm_clients.py', 'description': 'Returns a list of users that match the search string. This resource cannot be accessed anonymously.\n:param username: A query string used to search username, name or e-mail address. "." - search for all users.\n:param start_at: the index of... | 1 |
{'name': 'Client.get_partitions_ps_with_auth@runner/tez/apache-hive-0.13.0.2.1.0.0-92-bin/lib/py/hive_metastore/ThriftHiveMetastore.py', 'description': 'Parameters:\n - db_name\n - tbl_name\n - part_vals\n - max_parts\n - user_name\n - group_names', 'signature': 'def get_partitions_ps_with_auth(self, db_name, tbl_name,... | 0 |
{'name': 'up_to_climate@oggm/tests/test_workflow.py', 'description': 'Run the tasks you want.', 'signature': 'def up_to_climate(reset=False, use_mp=None):'}</s>_doc = "A dictionary containing the shapely.Polygons of a glacier. The "polygon_hr" entry contains the geometry transformed to the local grid in (i, j) coordina... | 0 |
{'name': 'control_read_initial_values@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Read initial control values', 'signature': 'def control_read_initial_values(sniffer):'}</s>{'name': 'set_OOB@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Send OOB to device', 'code': 'def set_OOB(sniffer... | 0 |
{'name': 'logout@n26/cli.py', 'description': 'Logout ', 'signature': 'def logout():'}</s>{'name': '_parse_from_to_timestamps@n26/cli.py', 'description': 'Parses cli datetime inputs for "from" and "to" parameters\n:param param_from: "from" input\n:param param_to: "to" input\n:return: timestamps ready to be used by the a... | 0 |
{'name': 'on_restore_database@src/server/server.py', 'description': 'Restore database.', 'signature': 'def on_restore_database(data):'}</s>Auth_succeeded_flag = False | 0 |
{'name': 'ValidationContext.ocsps@certvalidator/context.py', 'description': 'A list of all cached asn1crypto.ocsp.OCSPResponse objects', 'signature': 'def ocsps(self):'}</s>{'name': 'fetch@certvalidator/ocsp_client.py', 'description': 'Fetches an OCSP response for a certificate\n\n:param cert:\n An asn1cyrpto.x509.C... | 0 |
{'name': 'TypeAndTypeListTestCase.test@tools/lldb/packages/Python/lldbsuite/test/python_api/type/TestTypeList.py', 'description': 'Exercise SBType and SBTypeList API.', 'signature': 'def test(self):'}</s>{'name': 'get_stopped_thread@tools/lldb/packages/Python/lldbsuite/test/lldbutil.py', 'description': 'A convenience f... | 1 |
{'name': 'fat.read_dentry@tools/fat16copy.py', 'description': 'Read and decode a dentry from the given file-like object at its current\nseek position.', 'signature': 'def read_dentry(self, f=None):'}</s>{'name': 'read_le_long@tools/fat16copy.py', 'description': 'Read a little-endian 4-byte integer from the given file-l... | 1 |
{'name': 'SectionedFile._read_file@paver/doctools.py', 'description': 'Do the work of reading the file.', 'signature': 'def _read_file(self, f):'}</s>BuildFailure = tasks.BuildFailure | 1 |
{'name': 'TarInfo.frombuf@venv/Lib/site-packages/pip/_vendor/distlib/_backport/tarfile.py', 'description': 'Construct a TarInfo object from a 512 byte bytes object.\n ', 'signature': 'def frombuf(cls, buf, encoding, errors):'}</s>{'name': 'EmptyHeaderError@venv/Lib/site-packages/pip/_vendor/distlib/_backport/tar... | 1 |
{'name': 'ctype2ext@meza/convert.py', 'description': "Converts an http content type to a file extension.\n\nArgs:\n content_type (str): Output file path or directory.\n\nReturns:\n str: file extension\n\nExamples:\n >>> ctype2ext('/csv;') == 'csv'\n True\n >>> ctype2ext('/xls;') == 'xls'\n True\n >... | 0 |
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i... | 0 |
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils subclasses used by Versioneer.', 'signature': 'def get_cmdclass():'}</s>{'name': 'git_get_keywords@versioneer.py', 'description': 'Extract version information from the given file.', 'code': 'def git_get_keywords(versionfile_abs):... | 0 |
{'name': 'IUController.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this controller as a dict', 'signature': 'def as_dict(self, extended=False) -> OrderedDict:'}</s>ICON_SEQUENCE_ON = "mdi:play-circle-outline" | 0 |
{'name': 'TestOwl2vec_star.test_command_line_interface@tests/test_owl2vec_star.py', 'description': 'Test the CLI.', 'signature': 'def test_command_line_interface(self):'}</s>{'name': 'standalone@owl2vec_star/cli.py', 'description': 'DOCSTRING', 'code': 'def standalone(ontology_file, embedding_dir, config_file, uri_doc,... | 1 |
{'name': 'build_evaluation_from_config_item@rdk/template/runtime/python3.7/rule_code.py', 'description': 'Form an evaluation as a dictionary. Usually suited to report on configuration change rules.\n\nKeyword arguments:\nconfiguration_item -- the configurationItem dictionary in the invokingEvent\ncompliance_type -- eit... | 0 |
{'name': 'FeedlyUser.get_category@feedly/api_client/data.py', 'description': ':param key: the name or UUID of the tag (dash separated hex numbers), or a stream ID object\n:return: the category', 'signature': 'def get_category(self, key: Union[str, UserStreamId]) -> UserCategory:'}</s>{'name': 'FeedlyData@feedly/api_cli... | 0 |
{'name': 'use_setuptools@ez_setup.py', 'description': 'Ensure that a setuptools version is installed.\n\nReturn None. Raise SystemExit if the requested version\nor later cannot be installed.', 'signature': 'def use_setuptools('}</s>{'name': 'ContextualZipFile@ez_setup.py', 'description': 'Supplement ZipFile class to su... | 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': 'DetailRegistersCommand@gef.py', 'description': 'Displ... | 0 |
{'name': 'plot_sounding_data_uwyo@pymeteo/skewt.py', 'description': 'Plot SkewT from University of Wyoming sounding data\n\n:param filename: The name of the file containing sounding data\n:type filemane: str\n:param output: The name of the file to output plot\n:type output: str\n:param stationID: The station ID of a so... | 0 |
{'name': 'train@fairseq_cli/train.py', 'description': 'Train the model for one epoch and return validation losses.', 'signature': 'def train('}</s>{'name': 'collate_tokens@fairseq/data/data_utils.py', 'description': 'Convert a list of 1d tensors into a padded 2d tensor.', 'code': 'def collate_tokens(\n values,\n ... | 0 |
{'name': '_DecodeUnknownField@python/google/protobuf/internal/decoder.py', 'description': 'Decode a unknown field. Returns the UnknownField and new position.', 'signature': 'def _DecodeUnknownField('}</s>{'name': 'EnumByteSize@python/google/protobuf/internal/wire_format.py', 'description': 'DOCSTRING', 'code': 'def En... | 0 |
{'name': 'test_encoder@shared/src/ecom/tests/test_helpers.py', 'description': 'Test the JSON encoder', 'signature': 'def test_encoder(lambda_module):'}</s>{'name': 'Encoder@shared/src/ecom/ecom/helpers.py', 'description': 'Helper class to convert a DynamoDB item to JSON', 'base_classes': ['json.JSONEncoder'], 'methods'... | 1 |
{'name': 'determine_version_to_include_in_release@extra/release_tool.py', 'description': 'Returns True if the user decided on the component, False if the user\nskips the decision for later', 'signature': 'def determine_version_to_include_in_release(state, repo):'}</s>RELEASE_TOOL_STATE = None | 0 |
{'name': 'API.subscribe_count@src/api/python/cloudi.py', 'description': 'returns the number of subscriptions for a single service name pattern', 'signature': 'def subscribe_count(self, pattern):'}</s>_MESSAGE_REINIT = 9 | 0 |
{'name': 'OpusRead.__init__@opustools_pkg/opustools/opus_read.py', 'description': 'Read xces alignment files and xml sentence files and output in\ndesired format.\n\nArguments:\ndirectory -- Corpus directory name\nsource -- Source language\ntarget -- Target language\nrelease -- Corpus release version (default latest)\n... | 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': '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': '_is_block_content_element@markdownify/__init__.py', 'description': 'In a block context, returns:\n\n- True for content elements (tags and non-whitespace text)\n- False for non-content elements (whitespace text, comments, doctypes)', 'signature': 'def _is_block_content_element(el):'}</s>{'name': '_next_block_c... | 0 |
{'name': 'get_versions@versioneer.py', 'description': "Get the project version from whatever source is available.\n\nReturns dict with two keys: 'version' and 'full'.", 'signature': 'def get_versions(verbose=False):'}</s>SAMPLE_CONFIG = "
# See the docstring in versioneer.py for instructions. Note that you must
# re-ru... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQSECCOMM_NO = 0 | 0 |
{'name': 'FairseqTask.build_generator@fairseq/tasks/fairseq_task.py', 'description': 'Build a :class:`~fairseq.SequenceGenerator` instance for this\ntask.\n\nArgs:\n models (List[~fairseq.models.FairseqModel]): ensemble of models\n args (fairseq.dataclass.configs.GenerationConfig):\n configuration object (... | 0 |
{'name': 'update_amount_screen@displays/papiruszero2in.py', 'description': 'Update the amount screen to reflect new coins inserted\n ', 'signature': 'def update_amount_screen():'}</s>nocoin_screen_2 = "Veuillez ajouter" | 0 |
{'name': '_select_random_category@packages/ml_api/scripts/populate_database.py', 'description': 'Select random category given a sequence of categories.', 'signature': 'def _select_random_category(value: str, value_options: t.Sequence) -> str:'}</s>LOT_AREA_MAP = {"min": 1470, "max": 56600} | 0 |
{'name': 'takeMiniTimelapse@source/pi-timolo.py', 'description': 'Take a motion tracking activated mini timelapse sequence\nusing yield if motion triggered', 'signature': 'def takeMiniTimelapse(moPath, prefix, NumOn, motionNumCount, currentDayMode, NumPath):'}</s>NIGHT_MAX_SHUTTER = int(NIGHT_MAX_SHUT_SEC * SECONDS2MIC... | 0 |
{'name': 'unyt_array.in_units@unyt/array.py', 'description': "Creates a copy of this array with the data converted to the\nsupplied units, and returns it.\n\nOptionally, an equivalence can be specified to convert to an\nequivalent quantity which is not in the same dimensions.\n\nParameters\n----------\nunits : Unit obj... | 0 |
{'name': 'PBES1.decrypt@blockchain-env/lib/python3.7/site-packages/Cryptodome/IO/_PBES.py', 'description': 'Decrypt a piece of data using a passphrase and *PBES1*.\n\nThe algorithm to use is automatically detected.\n\n:Parameters:\n data : byte string\n The piece of data to decrypt.\n passphrase : byte string\n ... | 0 |
{'name': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>PF_OP_NONE = 0 | 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': 'StaggeredGrid@phi/field/_grid.py', 'description': 'N-dimensional grid whose vector components are sampled at the respective face centers.\nA staggered grid is defined through its values tensor, its bounds describing the physical size, and its extrapolation.\n\nStaggered grids support batch and spatial dimensi... | 1 |
{'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>{'nam... | 0 |
{'name': 'CPUConv.op@foxhound/ops.py', 'description': 'Benanne lasange same for cpu ', 'signature': 'def op(self, state):'}</s>{'name': 'Update@foxhound/updates.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Update.__init__@foxhound/updates.py', 'description': 'DOCSTRING', 'code': 'd... | 0 |
{'name': '_net_interface_type@kayobe/plugins/filter/networks.py', 'description': "Return a string describing the network interface type.\n\nPossible types include 'ether', 'bridge', 'bond'.", 'signature': 'def _net_interface_type(context, name, inventory_hostname):'}</s>{'name': 'net_bond_obj@kayobe/plugins/filter/netw... | 0 |
{'name': 'test_cli_ensemble@tests/system_tests/test_cli.py', 'description': 'Test ensemble flag', 'signature': 'def test_cli_ensemble(tmp_path, phospho_files):'}</s>{'name': 'test_cli_bad_input@tests/system_tests/test_cli.py', 'description': 'Test with problematic input files', 'code': 'def test_cli_bad_input(tmp_path)... | 0 |
{'name': 'merge@pairtools/cli/merge.py', 'description': 'Merge .pairs/.pairsam files.\nBy default, assumes that the files are sorted and maintains the sorting.\n\nMerge triu-flipped sorted pairs/pairsam files. If present, the @SQ records\nof the SAM header must be identical; the sorting order of\nthese lines is taken f... | 0 |
{'name': 'assert_positive_number@indeterminatebeam/data_validation.py', 'description': 'Assert that an input is a positive number.', 'signature': 'def assert_positive_number(n, name):'}</s>{'name': 'assert_length@indeterminatebeam/data_validation.py', 'description': 'Assert that a tuple or list is of a specific length.... | 0 |
{'name': 'DamerauOsa.distance@symspellpy/editdistance.py', 'description': 'Computes the Damerau-Levenshtein optimal string alignment edit\ndistance between two strings.\n\nArgs:\n string_1: One of the strings to compare.\n string_2: The other string to compare.\n max_distance: The maximum distance that is of i... | 1 |
{'name': 'example_intersect@examples/mesh_distmesh2d.py', 'description': 'example on how to use dist_intersect and fix_points_fd', 'signature': 'def example_intersect():'}</s>{'name': 'rectangle@pyeit/mesh/shape.py', 'description': 'smoothed rectangle\n\np1: buttom-left corner\np2: top-right corner', 'code': 'def recta... | 0 |
{'name': 'ZiGate._tag_missing@zigate/core.py', 'description': 'tag a device as missing', 'signature': 'def _tag_missing(self, addr):'}</s>ZIGATE_RESPONSE_RECEIVED = "ZIGATE_RESPONSE_RECEIVED" | 0 |
{'name': 'BuildFailureRecord.commit_and_push_changes@bioconda_utils/build_failure.py', 'description': 'Commit and push any changes, including removal of the record.', 'signature': 'def commit_and_push_changes(self):'}</s>{'name': 'get_free_memory_percent@bioconda_utils/utils.py', 'description': 'Return free memory as a... | 0 |
{'name': 'process_options@src/python_scripts/scripts/uber_subject.py', 'description': 'return status and VarsObject structs of subject and control variables\n\n - given list of valid options, read and process the user options\n - if terminal option or -no_gui, return 0 (successful quit)\n\nreturn 1 : on success and ... | 0 |
{'name': 'get_unique_slug@resrc/utils/templatetags/fixup.py', 'description': 'Iterates until a unique slug is found', 'signature': 'def get_unique_slug(slug, all_slugs):'}</s>REPLACE4_REXP = re.compile(r'[^-\w%]', re.UNICODE) | 0 |
{'name': 'DashRouter.__init__@src/fitly/utils.py', 'description': "Initialise the router.\n\nParams:\napp: A Dash instance to associate the router with.\nurls: Ordered iterable of routes: tuples of (route, layout). 'route' is a\n string corresponding to the URL path of the route (will be prefixed\n with ... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.