text string | label int64 |
|---|---|
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_INCONSISTENT_FORMAT = 6119 | 0 |
{'name': 'entry_now@toggl/cli/commands.py', 'description': "Manages currently running entry.\n\nWithout any options the command fetches the current time entry and displays it. But it also supports modification\nof the current time entry through the options listed below.\n\nTags can be modified either in a way of specif... | 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': 'ResourceManager.resource_listdir@blockchain-env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py', 'description': 'List the contents of the named resource directory', 'signature': 'def resource_listdir(self, package_or_requirement, resource_name):'}</s>BINARY_DIST = 2 | 0 |
{'name': '_makeTags@venv/Lib/site-packages/pip-19.0.3-py3.8.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': 'Literal@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/pyparsi... | 0 |
{'name': 'build_schema@custom_components/thermal_comfort/config_flow.py', 'description': 'Build configuration schema.\n\n:param config_entry: config entry for getting current parameters on None\n:param hass: Home Assistant instance\n:param show_advanced: bool: should we show advanced options?\n:param step: for which st... | 1 |
{'name': 'partial@src/makefun/main.py', 'description': 'Equivalent of `functools.partial` but relies on a dynamically-created function. As a result the function\nlooks nicer to users in terms of apparent documentation, name, etc.\n\nSee [documentation](./index.md#removing-parameters-easily) for details.\n\n:param prese... | 0 |
{'name': 'SegWitTest.test_max_witness_push_length@test/functional/p2p_segwit.py', 'description': 'Should only allow up to 520 byte pushes in witness stack ', 'signature': 'def test_max_witness_push_length(self):'}</s>OP_8 = CScriptOp(0x58) | 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': 'Natgroup@infoblox_client/objects.py', 'description': "Natgroup: Network Addre... | 0 |
{'name': 'LocalstackEndpointResolver.valid_regions@pytest_localstack/contrib/botocore.py', 'description': 'Return a list of regions we can resolve endpoints for.', 'signature': 'def valid_regions(self):'}</s>{'name': 'UnsupportedPartitionError@pytest_localstack/exceptions.py', 'description': "Raised when asking for an ... | 0 |
{'name': 'train_model@experiments/train.py', 'description': 'Starts appropriate training ', 'signature': 'def train_model(args, dataset, model, simulator):'}</s>{'name': 'parse_args@experiments/train.py', 'description': 'Parses command line arguments for the training ', 'code': 'def parse_args():\n """ Parses comman... | 0 |
{'name': 'skew@pymeteo/skewt.py', 'description': 'Puts the skew in skew-T\n\n:parameter p: pressure level of the point.\n\nThis calculates the skew of the T axis for a point to plot. \nThis assumes a logarithmic y axes and uses the variable\n:py:data:skew_angle to determine the skew. This is the \nmagic that turns a ... | 0 |
{'name': 'test_list_case_insensitive_other_collision@tests/test_cli.py', 'description': 'Test that the case-insensitive list name matching is used if a\ncollision exists that does not affect the queried list.', 'signature': 'def test_list_case_insensitive_other_collision('}</s>{'name': 'test_todo_edit@tests/test_cli.py... | 0 |
{'name': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo... | 0 |
{'name': 'create_train_input_fn@object_detection/inputs.py', 'description': 'Creates a train `input` function for `Estimator`.\n\nArgs:\n train_config: A train_pb2.TrainConfig.\n train_input_config: An input_reader_pb2.InputReader.\n model_config: A model_pb2.DetectionModel.\n\nReturns:\n `input_fn` for `Estimator`... | 1 |
{'name': 'StandardMzml._build_index@pymzml/file_classes/standardMzml.py', 'description': 'Build an index.\n\nA list of offsets to which a file pointer can seek\ndirectly to access a particular spectrum or chromatogram without\nparsing the entire file.\n\nArgs:\n\n from_scratch(bool): Whether or not to force building... | 0 |
{'name': 'TarInfo.frombuf@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/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>CONTTYPE = b'7' | 0 |
{'name': 'ensure_tf_input@agents/bdq/common/tf_util.py', 'description': 'Takes either tf.placeholder of TfInput and outputs equivalent TfInput', 'signature': 'def ensure_tf_input(thing):'}</s>{'name': 'load_state@agents/bdq/common/tf_util.py', 'description': 'DOCSTRING', 'code': 'def load_state(fname):\n saver = tf.... | 0 |
{'name': 'SegWitTest.test_witness_sigops@test/functional/p2p_segwit.py', 'description': 'Ensure sigop counting is correct inside witnesses.', 'signature': 'def test_witness_sigops(self):'}</s>OP_FROMALTSTACK = CScriptOp(0x6c) | 0 |
{'name': 'rel_err@oggm/utils/_funcs.py', 'description': 'Relative error. Ref should be non-zero', 'signature': 'def rel_err(ref, data):'}</s>{'name': 'file_downloader@oggm/utils/_downloads.py', 'description': 'A slightly better downloader: it tries more than once.', 'code': 'def file_downloader(www_path, retry_max=3, s... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIAMO_Q_MAX_DEPTH = 739 | 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': 'azure_user@backend-tests/tests/test_azure_iothub.py', 'description': 'Create Mender user and create an Azure IoT Hub integration in iot-manager using the connection string.', 'signature': 'def azure_user(clean_mongo) -> Optional[User]:'}</s>{'name': 'ApiClient@testutils/api/client.py', 'description': 'DOCSTRI... | 1 |
{'name': 'DateTimeParser._build_datetime@arrow/parser.py', 'description': 'Build a datetime object from a dictionary of date parts.\n\n:param parts: A dictionary containing the date parts extracted from a date string.\n:type parts: dict\n:return: A datetime object representing the date and time.\n:rtype: datetime.datet... | 0 |
{'name': 'BareValidator._validate_max@cerberus/validator.py', 'description': "{'nullable': False }", 'signature': 'def _validate_max(self, max_value, field, value):'}</s>UNKNOWN_FIELD = ErrorDefinition(0x03, None) | 0 |
{'name': 'TCNModel.__init__@dts/models/TCN.py', 'description': ':param layers: int\n Number of layers for the network\n:param filters: int\n the dimensionality of the output space\n (i.e. the number of output filters in the convolution).\n:param kernel_size: int or tuple\n the length of the 1D convolution w... | 0 |
{'name': 'UFPCA.transform@FDApy/preprocessing/dim_reduction/ufpca.py', 'description': "Apply dimensionality reduction to the data.\n\nThe functional principal components scores are defined as the\nprojection of the observation :math:`X_i` on the eigenfunction\n:math:`\\phi_k`. These scores are given by:\n\n.. math::\n ... | 0 |
{'name': 'initialise@changes/__init__.py', 'description': 'Detects, prompts and initialises the project.\n\nStores project and tool configuration in the `changes` module.', 'signature': 'def initialise():'}</s>{'name': 'GitHubRepository@changes/models/repository.py', 'description': 'DOCSTRING', 'base_classes': ['GitRep... | 1 |
{'name': 'Assignment.__init__@lib/rule_engine/ast.py', 'description': ':param str name: The symbol name that the assignment is defining.\n:param value: The value of the assignment.\n:param value_type: The data type of the assignment.\n:type value_type: :py:class:`~.DataType`', 'signature': 'def __init__(self, name, *, ... | 0 |
{'name': 'DFTimewolfTool.ValidateArguments@dftimewolf/cli/dftimewolf_recipes.py', 'description': 'Validate the arguments.\n\nArgs:\n dry_run: True if the tool is only testing parameters, False otherwise.\n\nRaises:\n errors.CriticalError: If one or more arguments could not be validated.', 'signature': 'def ValidateAr... | 0 |
{'name': 'MikrotikCoordinator.__init__@custom_components/mikrotik_router/coordinator.py', 'description': 'Initialize MikrotikCoordinator.', 'signature': 'def __init__(self, hass: HomeAssistant, config_entry: ConfigEntry):'}</s>CONF_SENSOR_SIMPLE_QUEUES = "sensor_simple_queues" | 0 |
{'name': 'arp_poison@programming_and_scripting_for_cybersecurity/exploitation/arp_cache_poisoner.py', 'description': 'Performs the ARP poisoning attack by sending crafted ARP packets.\n\n:param gateway_ip: IP address of the gateway.\n:param gateway_mac: MAC address of the gateway.\n:param target_ip: IP address of the t... | 0 |
{'name': 'setHandler@TDScanner/sqlmap/lib/controller/handler.py', 'description': 'Detect which is the target web application back-end database\nmanagement system.', 'signature': 'def setHandler():'}</s>{'name': 'FirebirdMap@TDScanner/sqlmap/plugins/dbms/firebird/__init__.py', 'description': 'This class defines Firebird... | 1 |
{'name': 'field_psf@grizli/pipeline/auto_script.py', 'description': 'Generate PSFs for the available filters in a given field', 'signature': "def field_psf(root='j020924-044344', PREP_PATH='../Prep', RAW_PATH='../RAW', EXTRACT_PATH='../Extractions', factors=[1, 2, 4], get_drizzle_scale=True, subsample=256, size=6, get_... | 0 |
{'name': 'TrimmedMatchDesignTest.testOutputCandidateDesignWithMissingObservation@trimmed_match/design/tests/trimmed_match_design_test.py', 'description': 'Checks that no error is raised if missing observation are present.', 'signature': 'def testOutputCandidateDesignWithMissingObservation(self):'}</s>_MAX_RANDOM_ASSIGN... | 0 |
{'name': 'ResourceManage.ListAccounts@solution/compliance/3.4-sub-resource-changes/python_script/subscription.py', 'description': '获取当前资源目录下的全部账号列表\nReturns:', 'signature': 'def ListAccounts(self):'}</s>master_account_access_key = "" | 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': 'set_ops@src/erinn/utils/np_utils.py', 'description': "Set operation.\nThe operation contains 'in', 'intersection', 'difference ', 'exclusive-or' and 'union'.\n\nParameters\n----------\narr1, arr2 : array_like\n Input array.\n For more details, see 'in1d', 'intersect1d', 'isin',\n 'setdiff1d', 'setxor... | 0 |
{'name': '_Printer._FieldToJsonObject@python/google/protobuf/json_format.py', 'description': 'Converts field value according to Proto3 JSON Specification.', 'signature': 'def _FieldToJsonObject(self, field, value):'}</s>_FLOAT_TYPES = frozenset([
descriptor.FieldDescriptor.CPPTYPE_FLOAT,
descriptor.FieldDescrip... | 1 |
{'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>generator_wants_sorted_dependencies = False | 0 |
{'name': 'IDispatch.Invoke@comtypes/automation.py', 'description': 'Invoke a method or property.', 'signature': 'def Invoke(self, dispid: int, *args: Any, **kw: Any) -> Any:'}</s>_StringFromCLSID = _ole32.StringFromCLSID | 0 |
{'name': 'CalculateEFG@scopy/ScoRepresent/fingerprints.py', 'description': 'classification system termed “extended functional groups” (EFG),\nwhich are an extension of a set previously used by the CheckMol software, \nthat covers in addition heterocyclic compound classes and periodic table groups. \n583 bits\n\nReferen... | 0 |
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im... | 0 |
{'name': 'test_trigger_unpacking@tests/unit/test_client.py', 'description': 'Usual semantics for unpacking **kwargs ', 'signature': 'def test_trigger_unpacking(client, flush):'}</s>{'name': 'test_wait_return_value@tests/unit/test_client.py', 'description': 'The value returned should be the same as the value given. ', '... | 0 |
{'name': 'parse_expr@classes/docopt.py', 'description': "expr ::= seq ( '|' seq )* ;", 'signature': 'def parse_expr(tokens, options):'}</s>{'name': 'DocoptLanguageError@classes/docopt.py', 'description': 'Error in construction of usage-message by developer.', 'base_classes': ['Exception'], 'methods': []} | 0 |
{'name': 'Support.__init__@indeterminatebeam/indeterminatebeam.py', 'description': 'Constructs all the necessary attributes for the Support object.\n\nParameters:\n-----------\ncoord: float\n x coordinate of support on a beam (default unit m) (default 0)\nfixed: tuple of 3 booleans\n Degrees of freedom that are f... | 0 |
{'name': 'check_model_param_types@cesium_app/ext/sklearn_models.py', 'description': 'Ensure parameters are of expected type; split standard values and grids.\n\nParameters\n----------\nmodel_type : str\n Name of model.\nmodel_params : dict\n Dictionary containing model parameters to be checked against expected\n ... | 1 |
{'name': 'ParseCodeLine@vimdoc/parser.py', 'description': 'Parses one line of code and creates the appropriate CodeLine.', 'signature': 'def ParseCodeLine(line):'}</s>requiredhole_escape = re.compile(r'{\|(\|*)}') | 0 |
{'name': 'SFTPClient.put_file@src/SSHLibrary/client.py', 'description': "Uploads the file(s) from the local machine to the remote host.\n\n:param str sources: Must be the path to an existing file on the remote\n machine or a glob pattern .\n Glob patterns, like '*' and '?', can be used in the source, in\n whic... | 0 |
{'name': 'test_multimodal_predict_on_public_models@tests/public_models/test_public_models_predicts.py', 'description': 'Test multimodal models.\nCurrently supporting only text and image inputs.', 'signature': 'def test_multimodal_predict_on_public_models(channel):'}</s>TEXT_HELSINKI_TRANSLATION_MODEL_TITLE_ID_DATA_TUPL... | 0 |
{'name': 'main@mne_bids_pipeline/steps/preprocessing/_07_make_epochs.py', 'description': 'Run epochs.', 'signature': 'def main(*, config: SimpleNamespace) -> None:'}</s>{'name': 'failsafe_run@mne_bids_pipeline/_run.py', 'description': 'DOCSTRING', 'code': 'def failsafe_run(\n *,\n get_input_fnames: Callable[..., ... | 0 |
{'name': 'OtpErlangAtom.binary@src/api/python/erlang.py', 'description': 'return encoded representation', 'signature': 'def binary(self):'}</s>{'name': '_float_to_binary@src/api/python/erlang.py', 'description': 'DOCSTRING', 'code': "def _float_to_binary(term):\n return b_chr(_TAG_NEW_FLOAT_EXT) + struct.pack(b'>d',... | 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': 'Request.__del__@wrappers/python/indy_vdr/request.py', 'description': 'Release the pool instance.', 'signature': 'def __del__(self):'}</s>{'name': 'request_get_signature_input@wrappers/python/indy_vdr/bindings.py', 'description': 'Get the canonical signature input for a prepared request.', 'code': 'def request... | 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': 'FormatDecisionState.MustSplit@tools/yapf/yapf/yapflib/format_decision_state.py', 'description': 'Returns True if the line must split before the next token.', 'signature': 'def MustSplit(self):'}</s>{'name': '_LastTokenInLine@tools/yapf/yapf/yapflib/format_decision_state.py', 'description': 'DOCSTRING', 'code'... | 1 |
{'name': 'Analyzer.assign@sqf/analyzer.py', 'description': 'Assigns the rhs_v to the lhs variable.', 'signature': 'def assign(self, lhs, rhs_v):'}</s>{'name': 'Array@sqf/types.py', 'description': 'DOCSTRING', 'base_classes': ['Type', 'BaseTypeContainer'], 'methods': [{'name': 'Array.__init__@sqf/types.py', 'description... | 0 |
{'name': 'analyze_movie@analyze.py', 'description': 'analyze movie main\n\ncheck movie frames and find ub frame\ncheck frame: 0.34 sec (20 frames)\n\nArgs\n movie_path (string): movie save path\n\nReturns\n ub_data (list): found ub data\n ub_data_enemy (list): found ub data with enemy ub\n time_data (list):... | 1 |
{'name': 'text_to_sequence@deepvoice3_pytorch/frontend/text/__init__.py', 'description': 'Converts a string of text to a sequence of IDs corresponding to the symbols in the text.\n\nThe text can optionally have ARPAbet sequences enclosed in curly braces embedded\nin it. For example, "Turn left on {HH AW1 S S T AH0 N} S... | 1 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIA_MAX_UNCOMMITTED_MSGS = 33 | 0 |
{'name': 'get_radiobrowser_base_urls@Radio3.0@claudiux/files/Radio3.0@claudiux/scripts/serverlist_python3.py', 'description': 'Get all base urls of all currently available radiobrowser servers\n\nReturns:\nlist: a list of strings', 'signature': 'def get_radiobrowser_base_urls():'}</s>{'name': 'downloadUri@Radio3.0@clau... | 0 |
{'name': '_GenerateMSVSProject@gyp/pylib/gyp/generator/msvs.py', 'description': 'Generates a .vcproj file. It may create .rules and .user files too.\n\nArguments:\n project: The project object we will generate the file for.\n options: Global options passed to the generator.\n version: The VisualStudioVersion object... | 0 |
{'name': 'GeoNetcdf.__init__@salem/datasets.py', 'description': 'Open the file and try to understand it.\n\nParameters\n----------\nfile: path to the netcdf file\ngrid: a Grid object. This will override the normal behavior of\nGeoNetcdf, which is to try to understand the grid automatically.\ntime: a time array. This wi... | 0 |
{'name': 'OAuth2Credentials.authorize@third_party/oauth2client/client.py', 'description': "Authorize an httplib2.Http instance with these credentials.\n\nThe modified http.request method will add authentication headers to each\nrequest and will refresh access_tokens when a 401 is received on a\nrequest. In addition the... | 1 |
{'name': 'load_model@argus/model/load.py', 'description': 'Load an argus model from a file.\n\nThe function allows loading an argus model, saved with\n:meth:`argus.model.Model.save`. The model is always loaded in *eval* mode.\n\nArgs:\n file_path (str or :class:`pathlib.Path`): Path to the file to load.\n nn_modu... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRO_REJECT_UNSUP_MASK = 270270464 | 0 |
{'name': 'trim@bioframe/ops.py', 'description': "Trim each interval to fall within regions specified in the viewframe 'view_df'.\n\nIntervals that fall outside of view regions are replaced with nulls.\nIf no 'view_df' is provided, intervals are truncated at zero to avoid\n negative values.\n\nParameters\n----------\... | 0 |
{'name': 'ProcessFileData@third_party/cpplint/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, each rep... | 0 |
{'name': 'pspnet.load_pretrained_model@ptsemseg/models/pspnet.py', 'description': 'Load weights from caffemodel w/o caffe dependency\nand plug them in corresponding modules', 'signature': 'def load_pretrained_model(self, model_path):'}</s>LogParameter = _reflection.GeneratedProtocolMessageType('LogParameter', (_message... | 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': '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': 'TopLevelMixin.save@altair/vegalite/v3/api.py', 'description': "Save a chart to file in a variety of formats\n\nSupported formats are json, html, png, svg, pdf; the last three require\nthe altair_saver package to be installed.\n\nParameters\n----------\nfp : string filename or file-like object\n file in whi... | 0 |
{'name': 'main@tools/flecsit/flecsit/driver.py', 'description': ' ', 'signature': 'def main(config):'}</s>{'name': 'FleCSITDriver@tools/flecsit/flecsit/driver.py', 'description': ' ', 'base_classes': [], 'methods': [{'name': 'FleCSITDriver.__init__@tools/flecsit/flecsit/driver.py', 'description': ' ', 'cod... | 0 |
{'name': 'run_eruption_env@self_organising_systems/biomakerca/extensions/eruption.py', 'description': 'Create a video running Eruption.', 'signature': 'def run_eruption_env('}</s>DEFAULT_MATERIAL_NUTRIENT_CAP = jp.array([10., 10.]) | 0 |
{'name': 'CheckStyle@scripts/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces inside code, etc.\n\nArgs:\n ... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_PARM_SEQUENCE_ERROR = 3035 | 0 |
{'name': 'QueryParser.resolve_path@rest_models/backend/compiler.py', 'description': 'resolve the path of Alias to find the final model, with the final name of the attr\n:param Col col: the column to resolve\n:rtype: tuple[Alias], str', 'signature': 'def resolve_path(self, col):'}</s>{'name': 'join_aliases@rest_models/b... | 0 |
{'name': 'get_topo_file@oggm/utils/_downloads.py', 'description': "Path(s) to the DEM file(s) covering the desired extent.\n\nIf the needed files for covering the extent are not present, download them.\n\nThe default behavior is to try a list of DEM sources in order, and\nstop once the downloaded data is covering a lar... | 0 |
{'name': 'test_visualizer@utils/visualizers/test.py', 'description': 'Tests visualizers.', 'signature': 'def test_visualizer(test_dir=_TEST_DIR):'}</s>{'name': 'GifVisualizer@utils/visualizers/gif_visualizer.py', 'description': 'Defines the visualizer that visualizes an image collection as GIF.', 'base_classes': ['obje... | 1 |
{'name': 'update_payout_screen@displays/waveshare2in13v3.py', 'description': "Update the payout screen to reflect balance of deposited coins.\nScan the invoice??? I don't think so!", 'signature': 'def update_payout_screen():'}</s>{'name': 'update_payment_failed@displays/waveshare2in13v3.py', 'description': 'DOCSTRING',... | 0 |
{'name': 'K@src/api/python/z3/z3.py', 'description': "Return a Z3 constant array expression.\n\n>>> a = K(IntSort(), 10)\n>>> a\nK(Int, 10)\n>>> a.sort()\nArray(Int, Int)\n>>> i = Int('i')\n>>> a[i]\nK(Int, 10)[i]\n>>> simplify(a[i])\n10", 'signature': 'def K(dom, v):'}</s>{'name': 'Pattern@src/api/python/z3/z3types.py... | 0 |
{'name': 'Leopard.sample_rate@binding/python/_leopard.py', 'description': 'Audio sample rate accepted by `.process`.', 'signature': 'def sample_rate(self) -> int:'}</s>{'name': 'LeopardStopIterationError@binding/python/_leopard.py', 'description': 'DOCSTRING', 'base_classes': ['LeopardError'], 'methods': []} | 0 |
{'name': 'convert_inspirations@code/html/generate_static_website.py', 'description': ':param inspirations:\n:param entries:\n:return:', 'signature': 'def convert_inspirations(inspirations, entries):'}</s>{'name': 'get_topN_games@code/html/generate_static_website.py', 'description': 'Gets the top N games by stars (eithe... | 0 |
{'name': 'test_stderr_pattern@integration/test_script.py', 'description': 'test stderr with pattern lines', 'signature': 'def test_stderr_pattern(f, result):'}</s>{'name': 'test_exit_code@integration/test_script.py', 'description': 'Test actual exit code `result` against an expected exit code in file `f`', 'code': 'def... | 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': 'comm@tests/input/test_InputFromData.py', 'description': 'Creates a MPI.COMM_WORLD object for working with multi-process information.', 'signature': 'def comm():'}</s>{'name': 'data_filename_2d@tests/input/test_InputFromData.py', 'description': 'Creates an InputFromData object that produces samples from a file... | 0 |
{'name': 'test_model_from_data@tests/mlmc/test_MLMCSimulator.py', 'description': 'Executes simulate() with models and inputs created from files\nto ensure there are no exceptions while performing basic functionality.', 'signature': 'def test_model_from_data(data_input, models_from_data):'}</s>{'name': 'test_fail_if_mo... | 0 |
{'name': 'rmtree@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/distlib/_backport/shutil.py', 'description': 'Recursively delete a directory tree.\n\nIf ignore_errors is set, errors are ignored; otherwise, if onerror\nis set, it is called to handle the error with arguments (func,\npath, exc_info) where func is... | 0 |
{'name': 'DetectionNetwork.build_loss@libs/networks/build_whole_network.py', 'description': ':param rpn_box_pred: [-1, 4]\n:param rpn_bbox_targets: [-1, 4]\n:param rpn_cls_score: [-1]\n:param rpn_labels: [-1]\n:param bbox_pred: [-1, 4*(cls_num+1)]\n:param bbox_targets: [-1, 4*(cls_num+1)]\n:param cls_score: [-1, cls_nu... | 0 |
{'name': 'parse_float@dwave/cloud/config/loaders.py', 'description': "Parse value as returned by ConfigParse as float.\n\nNB: we need this instead of ``ConfigParser.getfloat`` when we're parsing\nvalues downstream.", 'signature': 'def parse_float(s, default=None):'}</s>{'name': 'get_configfile_paths@dwave/cloud/config/... | 0 |
{'name': 'site_f1_score@detectree2/models/evaluation.py', 'description': 'Calculating all the intersections of shapes in a pair of files and the area of the corresponding polygons.\n\nArgs:\n tile_directory: path to the folder containing all of the tiles\n test_directory: path to the folder containing just the te... | 1 |
{'name': 'main@tools/pydfu.py', 'description': 'Test program for verifying this files functionality.', 'signature': 'def main():'}</s>{'name': 'write_elements@tools/pydfu.py', 'description': 'Writes the indicated elements into the target memory,\nerasing as needed.', 'code': 'def write_elements(elements, mass_erase_use... | 1 |
{'name': 'ControlInterface.get_led_config@xled/control.py', 'description': 'Gets the structural configuration of the leds in term of strings\n\n:raises ApplicationError: on application error\n:rtype: :class:`~xled.response.ApplicationResponse`', 'signature': 'def get_led_config(self):'}</s>REALTIME_UDP_PORT_NUMBER = 77... | 0 |
{'name': 'cartesian_to_spherical@fairnr/data/geometry.py', 'description': 'xyz: batch x 3\n ', 'signature': 'def cartesian_to_spherical(xyz):'}</s>{'name': 'uv2cam@fairnr/data/geometry.py', 'description': 'DOCSTRING', 'code': 'def uv2cam(uv, z, intrinsics, homogeneous=False):\n fx, fy, cx, cy = parse_intrinsics(i... | 0 |
{'name': 'start@src/main.py', 'description': 'Avvia il bot', 'signature': 'def start(message, args):'}</s>{'name': 'CallbackQuery@src/main.py', 'description': 'DOCSTRING', 'base_classes': ['botogram.objects.base.BaseObject'], 'methods': [{'name': 'CallbackQuery.__init__@src/main.py', 'description': 'DOCSTRING', 'code':... | 0 |
{'name': 'EngineTest._do_test_reward_and_episode_end@reversibility/pycolab/pycolab/tests/engine_test.py', 'description': 'Core implementation of `testRewardAndEpisodeEndWith*Discount` tests.\n\nArgs:\n q_pre_update: Pre-`update` code to inject for the Q sprite.\n expected_discount: `discount` we expect to observe aft... | 0 |
{'name': 'are_rules_up_to_date@rivalcfg/udev.py', 'description': 'Check if the given udev rules are up to date.\n\n:param str rules: The content of an udev rule file to check.\n:param str current_version: The current rivalcfg version.\n\n:rtype: bool', 'signature': 'def are_rules_up_to_date(rules, current_version=VERSI... | 0 |
{'name': 'main@buildtest/main.py', 'description': 'Entry point to buildtest.', 'signature': 'def main():'}</s>{'name': 'build_history@buildtest/cli/history.py', 'description': 'This is the entry point for command ``buildtest history`` command which reports\n\nArgs:\n args (dict): Parsed arguments from `ArgumentParse... | 1 |
{'name': 'ReplaceByFeeTest.test_spends_of_conflicting_outputs@test/functional/feature_rbf.py', 'description': 'Replacements that spend conflicting tx outputs are rejected', 'signature': 'def test_spends_of_conflicting_outputs(self):'}</s>MAGIC_BYTES = {
"mainnet": b"\x9f\xeb\x4b\x9d", # mainnet
"testnet5": b"... | 0 |
{'name': 'TeamCloudClientOperationsMixin.get_schedule@client/tc/azext_tc/vendored_sdks/teamcloud/operations/_team_cloud_client_operations.py', 'description': 'Gets the Schedule.\n\nGets the Schedule.\n\n:param schedule_id:\n:type schedule_id: str\n:param organization_id:\n:type organization_id: str\n:param project_id:\... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.