text string | label int64 |
|---|---|
{'name': 'exec_check_and_lint@check_lint.py', 'description': "Utility function to unconditionally execute 'SublimeHaskellCHeckAndLint.run()' without worrying\nabout the command's status.", 'signature': 'def exec_check_and_lint(view, fly_mode=False, continue_success=None, error_handler=None):'}</s>{'name': 'view_is_hask... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQLR_ONE = 1 | 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': 'TileMatrixSet.rasterio_crs@morecantile/models.py', 'description': 'Return rasterio CRS.', 'signature': 'def rasterio_crs(self):'}</s>NumType = Union[float, int] | 0 |
{'name': 'visualize_pdb@enzynet/visualization.py', 'description': 'Plots PDB in a volume and saves it in a file.', 'signature': 'def visualize_pdb(pdb_id: Text, p: int = 5, v_size: int = 32, num: int = 1,'}</s>MAKE_FILES_DIR = os.path.join(ROOT_DIR, 'datasets/make_files/') | 0 |
{'name': 'on_shutdown_pi@src/server/server.py', 'description': 'Shutdown the raspberry pi.', 'signature': 'def on_shutdown_pi(*args):'}</s>{'name': 'ms_to_race_start@src/server/server.py', 'description': 'Return milliseconds since race start.', 'code': "def ms_to_race_start():\n '''Return milliseconds since race sta... | 0 |
{'name': 'run_pelicun@pelicun/tools/DL_calculation.py', 'description': "Use settings in the config JSON to prepare and run a Pelicun calculation.\n\nParameters\n----------\nconfig_path: string\n Path pointing to the location of the JSON configuration file.\ndemand_file: string\n Path pointing to the location of a... | 1 |
{'name': 'JalaliDate.strftime@persiantools/jdatetime.py', 'description': 'Format a Jalali date according to the given format string.\n\nThis method returns a string representing the Jalali date, controlled by an explicit format string.\nIt is similar to the `strftime` method used with `datetime` objects.\n\nArgs:\n ... | 0 |
{'name': 'PBTAgent.save@human_aware_rl/pbt/pbt.py', 'description': 'Save agent model, logs, and parameters', 'signature': 'def save(self, save_folder):'}</s>{'name': 'get_agent_from_model@human_aware_rl/baselines_utils.py', 'description': 'Get Agent corresponding to a loaded model', 'code': 'def get_agent_from_model(mo... | 0 |
{'name': 'TopLevelMixin.repeat@altair/vegalite/v5/api.py', 'description': "Return a RepeatChart built from the chart\n\nFields within the chart can be set to correspond to the row or\ncolumn using `alt.repeat('row')` and `alt.repeat('column')`.\n\nParameters\n----------\nrepeat : list\n a list of data column names t... | 0 |
{'name': '_dependents@shipwright/_lib/dependencies.py', 'description': "Returns a target it's dependencies and everything that depends on it", 'signature': 'def _dependents(target, tree):'}</s>{'name': '_make_tree@shipwright/_lib/dependencies.py', 'description': 'Converts a list of images into a tree represented by a z... | 0 |
{'name': 'heisenberg_xxz_mpo@pytenet/hamiltonian.py', 'description': 'Construct XXZ Heisenberg Hamiltonian `sum J X X + J Y Y + D Z Z - h Z`\non a 1D lattice as MPO.\n\nArgs:\n L: number of lattice sites\n J: J parameter\n D: Delta parameter\n h: field strength\n\nReturns:\n MPO: XXZ Heisenberg Hamil... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCO_KEEP_SUB = 4 | 0 |
{'name': 'RerankingParser.parse_constrained@python/bllipparser/RerankingParser.py', 'description': "Parse pre-tokenized text with part of speech and/or phrasal\nconstraints. Constraints is a dictionary of\n\n {(start, end): [terms]}\n\nwhich represents the constraint that all spans between [start,end)\nmust be one o... | 0 |
{'name': 'CScript.raw_iter@test/functional/test_framework/script.py', 'description': 'Raw iteration\n\nYields tuples of (opcode, data, sop_idx) so that the different possible\nPUSHDATA encodings can be accurately distinguished, as well as\ndetermining the exact opcode byte indexes. (sop_idx)', 'signature': 'def raw_ite... | 0 |
{'name': 'PythonModuleSourceFileGenerator._GetSequenceType@yaldevtools/source_generators/python_module.py', 'description': 'Determines if the function prototype implies a sequence type.\n\nArgs:\n python_function_prototype (PythonTypeObjectFunctionPrototype): Python\n type object function prototype.\n\nReturns:\n... | 0 |
{'name': 'cmd@lib/charliecloud.py', 'description': 'Run command using cmd_base(). If fail_ok, return the exit code whether\nor not the process succeeded; otherwise, return (zero) only if the\nprocess succeeded and exit with fatal error if it failed.', 'signature': 'def cmd(argv, fail_ok=False, **kwargs):'}</s>{'name': ... | 0 |
{'name': 'pre_process_and_fetch_license_dict@src/attributecode/model.py', 'description': 'Return a dictionary containing the license information (key, name, text, url)\nfetched from the ScanCode LicenseDB or DejaCode API.', 'signature': 'def pre_process_and_fetch_license_dict(abouts, from_check=False, api_url=None, api... | 0 |
{'name': 'ResourceManager.lookup@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Search for a resource and return an absolute file path, or `None`.\n\nThe :attr:`path` list is searched in order. The first match is\nreturend. Symlinks are followed. The result is cached to speed up\nfuture lookups. ', 's... | 0 |
{'name': 'ProcessFileData@runtimes/compiler-rt/lib/sanitizer_common/scripts/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:... | 0 |
{'name': 'get_runs@mne_bids_pipeline/_config_utils.py', 'description': 'Return a list of runs in the BIDS input data.\n\nParameters\n----------\nsubject\n Returns a list of the runs of this subject.\nverbose\n Notify if different subjects do not share the same runs.\n\nReturns\n-------\nThe list of runs of the su... | 0 |
{'name': '_parabolic_bed_from_topo@oggm/core/centerlines.py', 'description': 'this returns the parabolic bedshape for all points on idl', 'signature': 'def _parabolic_bed_from_topo(gdir, idl, interpolator):'}</s>_doc = "The historical monthly climate timeseries stored in a netCDF file." | 0 |
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>_on_model_eh = on_model_eh_type(_global_on_model) | 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': 'ParseArguments@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args)... | 0 |
{'name': 'update_model_for_controls@wntr/sim/hydraulics.py', 'description': 'Parameters\n----------\nm: wntr.sim.aml.aml.Model\nwn: wntr.network.model.WaterNetworkModel\nmodel_updater: wntr.sim.models.utils.ModelUpdater\nchange_tracker: wntr.network.controls.ControlChangeTracker', 'signature': 'def update_model_for_con... | 0 |
{'name': 'VxmDenseSemiSupervisedSeg.__init__@voxelmorph/tf/networks.py', 'description': 'Parameters:\n inshape: Input shape. e.g. (192, 192, 192)\n nb_labels: Number of labels used for ground truth segmentations.\n nb_unet_features: Unet convolutional features. \n See VxmDense documentation for more inf... | 1 |
{'name': '_extract_predictions_and_losses@object_detection/legacy/evaluator.py', 'description': 'Constructs tensorflowFolder detection graph and returns output tensors.\n\nArgs:\n model: model to perform predictions with.\n create_input_dict_fn: function to create input tensor dictionaries.\n ignore_groundtruth: whe... | 0 |
{'name': 'Afni1D.label_prefix_to_ints@src/python_scripts/afnipy/lib_afni1D.py', 'description': 'return a list of label indices, based on what is kept or dropped\n keep labels in their original order\n\n if keep_pre and one of keep_pre matches, keep\n if drop_pre and one of drop_pre matches, remove\n\nreturn 0 on ... | 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': 'swap2@src/python_scripts/afnipy/afni_util.py', 'description': 'swap data elements in pairs', '... | 0 |
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>ICMP6_DST_UNREACH_NOROUTE = 0 | 0 |
{'name': 'read_section_header@pcapng/structs.py', 'description': "Read a section header block from a stream.\n\n.. note::\n The byte order magic will be removed from the returned data\n This is ok as we don't need it anymore once we determined\n the correct endianness of the section.\n\n:returns: a dict contai... | 0 |
{'name': 'ImputationKernel.tune_parameters@miceforest/imputation_kernel.py', 'description': "Perform hyperparameter tuning on models at the current iteration.\nThis method is not meant to be robust, but to get a decent set of\nparameters to help with imputation. A few notes:\n\n- The parameters are tuned on the data th... | 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': 'StringStart@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/pyp... | 0 |
{'name': 'stream_decode_response_unicode@src/requests/utils.py', 'description': 'Stream decodes an iterator.', 'signature': 'def stream_decode_response_unicode(iterator, r):'}</s>bytes = bytes | 0 |
{'name': 'SvddDualQP.fit@tilitools/svdd_dual_qp.py', 'description': ':param X: Data matrix is assumed to be feats x samples.\n:param max_iter: *ignored*, just for compatibility.\n:return: Alphas and threshold for dual SVDDs.', 'signature': 'def fit(self, X, max_iter=-1, center=False, normalize=False):'}</s>{'name': 'Sv... | 1 |
{'name': 'get_versions@cameo/_version.py', 'description': 'Get version information or return default if unable to do so.', 'signature': 'def get_versions():'}</s>{'name': 'render_git_describe_long@cameo/_version.py', 'description': "TAG-DISTANCE-gHEX[-dirty].\n\nLike 'git describe --tags --dirty --always -long'.\nThe d... | 0 |
{'name': 'wait_on_last_job@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/ordering.py', 'description': 'wait on a bigquery job or raise informative exception.\n\nArgs:\n gcs_client: storage.Client\n bq_client: bigquery.Client\n lock_blob: storage.Blob _bqlock blob\n backfill_blob: sto... | 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': 'clean_number@nova/utils.py', 'description': 'Utility method to clean up a number contained in a string to dot decimal format\n\nArgs:\n string (str): Number contained in a string\n\nReturns:\n str: The formatted number as a string', 'signature': 'def clean_number(string):'}</s>ADDON_VERSION = ADDON.getA... | 0 |
{'name': 'Normalizer.__init__@PyBioMed/PyPretreat/PyPretreatMolutil.py', 'description': 'Initialize a Normalizer with an optional custom list of :class:`~molvs.normalize.Normalization` transforms.\n\n:param normalizations: A list of :class:`~molvs.normalize.Normalization` transforms to apply.\n:param int max_restarts:... | 0 |
{'name': 'CScriptOp.decode_op_n@test/functional/test_framework/script.py', 'description': 'Decode a small integer opcode, returning an integer', 'signature': 'def decode_op_n(self):'}</s>OP_RETURN = CScriptOp(0x6a) | 0 |
{'name': 'CalculateNumRotatableBonds@scopy/ScoDruglikeness/molproperty.py', 'description': 'Calculation of the number of rotatableBonds\n--->nRot\n\nNote:\n In some situaion Amide C-N bonds are not considered \n because of their high rotational energy barrier\n\n:param mol: molecule\n:type mol: rdkit.Chem.rdchem.... | 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': 'variance_ub@src/python_scripts/afnipy/afni_util.py', 'description': 'unbiased variance (divide... | 0 |
{'name': 'SingleSubjectWindow.CB_line_text@src/python_scripts/afnipy/gui_uber_subj.py', 'description': 'call-back for text updates in the level 3 gbox', 'signature': 'def CB_line_text(self):'}</s>{'name': 'glob_form_matches_list@src/python_scripts/afnipy/afni_util.py', 'description': 'given a list of strings, make a gl... | 0 |
{'name': 'ProcessGlobalSuppresions@tools/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 if the file is... | 0 |
{'name': 'TodoistAPI.query@todoist/api.py', 'description': 'DEPRECATED: query endpoint is deprecated for a long time and this\nmethod will be removed in the next major version of todoist-python', 'signature': 'def query(self, queries, **kwargs):'}</s>{'name': 'Collaborator@todoist/models.py', 'description': 'Implements... | 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': 'HostRecordV6.ipv6addrs@infoblox_client/objects.py', 'description': ':meta private:', 'signature': 'def ipv6addrs(self):'}</s>{'name': 'NaptrDtcRecord@infoblox_client/objects.py', 'description': 'NaptrDtcRecord: DTC NAPTR Record object.\nCorresponds to WAPI object \'dtc:record:naptr\'\n\nA DTC NAPTR object rep... | 0 |
{'name': 'on_shutdown_pi@src/server/server.py', 'description': 'Shutdown the raspberry pi.', 'signature': 'def on_shutdown_pi(*args):'}</s>{'name': 'on_set_scan@src/server/server.py', 'description': 'DOCSTRING', 'code': "def on_set_scan(data):\n global HEARTBEAT_DATA_RATE_FACTOR\n node_index = data['node']\n m... | 0 |
{'name': 'kill@pyngrok/ngrok.py', 'description': "Terminate the ``ngrok`` processes, if running, for the given config's ``ngrok_path``. This method will not\nblock, it will just issue a kill request.\n\n:param pyngrok_config: A ``pyngrok`` configuration to use when interacting with the ``ngrok`` binary,\n overriding... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCACF_EVENT_APPL_ORIGIN = 3051 | 0 |
{'name': 'Dataset.__init__@lib/imdb_util.py', 'description': "This function reads in all datasets to be used in training and stores ANY relevant\ninformation which may be needed during training as a list of edict()\n(referred to commonly as 'imobj').\n\nThe function also optionally stores the image database (imdb) file... | 0 |
{'name': 'KafkaTestRunner._get_address@kafka/verify_kafka_running.py', 'description': 'Generates full address from cluster name, suffix and port.\n\nArgs:\n node_suffix (str): node suffix\n port (str): connection port for worker node\n\nReturns:\n string: address specified by node_suffix and port', 'signature': 'def... | 0 |
{'name': 'fig_to_html@mpld3/_display.py', 'description': 'Output html representation of the figure\n\nParameters\n----------\nfig : matplotlib figure\n The figure to display\nd3_url : string (optional)\n The URL of the d3 library. If not specified, a standard web path\n will be used.\nmpld3_url : string (opti... | 1 |
{'name': 'test_input_validation@gplearn/tests/test_genetic.py', 'description': 'Check that guarded input validation raises errors', 'signature': 'def test_input_validation():'}</s>{'name': 'test_invalid_feature_names@gplearn/tests/test_genetic.py', 'description': 'Check invalid feature names raise errors', 'code': 'def... | 0 |
{'name': 'expand_pairs@pairtools/lib/parse.py', 'description': 'Perform combinatorial expansion of the pairs.\n\nParameters\n----------\npairs_list: List of formatted pairs (triplets: algn1, algn2, pair_index).\nmax_expansion_depth: maximum depth of expansion; all by default (None),\n number will enforce... | 0 |
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>PF_POOL_LEASTSTATES = 5 | 0 |
{'name': 'TrainingJob.start@loudml/server.py', 'description': 'Submit training job to worker pool', 'signature': 'def start(self, config):'}</s>{'name': 'err_gone@loudml/server.py', 'description': 'DOCSTRING', 'code': 'def err_gone(e):\n return "gone", 410'} | 0 |
{'name': 'CombinedFunction.add_penalty@parsimony/functions/combinedfunctions.py', 'description': 'Add a penalty, i.e. a constraint on the Lagrange form.\n\nParameters\n----------\npenalty : Penalty\n A function that penalises the objective function.\n\naccepts_params : 2-tuple or list of 2-tuples\n The outer func... | 0 |
{'name': 'parse_ifdef_block@sqf/parser.py', 'description': 'Given a IfDefStatement and the defines, converts the statement.tokens into\na list of tokens that can be analyzed after processing the #ifdef statement.\n`position_until_here` used to compute position of errors', 'signature': 'def parse_ifdef_block(expression,... | 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>ERROR_OPERATION_ABORTED = 995 | 0 |
{'name': 'ProcessLine@scripts/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a line of the file,\n ... | 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': '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 ... | 1 |
{'name': 'FutureBase._computed@asynq/futures.py', 'description': 'Protected method invoked when value or error property\nis set.\n\nRaises on_computed event.', 'signature': 'def _computed(self):'}</s>{'name': 'dump_asynq_stack@asynq/debug.py', 'description': 'Dumps the current asynq stack to stdout.', 'code': 'def dump... | 0 |
{'name': 'Token.flatten@libs/sqlparse/sql.py', 'description': 'Resolve subgroups.', 'signature': 'def flatten(self):'}</s>Token = _TokenType() | 0 |
{'name': 'test_fail_if_model_outputs_do_not_match_shapes@tests/mlmc/test_MLMCSimulator.py', 'description': 'Ensures simulator throws an exception if inputs and outputs with differing\nnumbers of samples are provided.', 'signature': 'def test_fail_if_model_outputs_do_not_match_shapes(filename_2d_5_column_data,'}</s>{'na... | 1 |
{'name': 'HTTP2ClientConnection.process_settings@th2c/connection.py', 'description': 'Called to process a RemoteSettingsChanged event.\n:param event: a RemoteSettingsChanged event\n:type event: h2.events.RemoteSettingsChanged', 'signature': 'def process_settings(self, event):'}</s>DEFAULT_CONNECTION_TIMEOUT = 5 | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQROUTE_DELIVER_NO = 8192 | 0 |
{'name': 'handle_scene_activated@custom_components/zwave_mqtt/__init__.py', 'description': 'Handle a (central) scene activation message.', 'signature': 'def handle_scene_activated(hass: HomeAssistant, scene_value: OZWValue):'}</s>ATTR_SECURE = "secure" | 0 |
{'name': 'BaseTemplate.search@src/back/kite/bottle.py', 'description': 'Search name in all directories specified in lookup.\nFirst without, then with common extensions. Return first hit. ', 'signature': 'def search(cls, name, lookup=[]):'}</s>mako_template = functools.partial(template, template_adapter=MakoTemplate) | 0 |
{'name': 'GroupFLT.subtract_median_filter@grizli/multifit.py', 'description': 'Remove a median filter calculated along the dispersion axis.\n\nParameters\n----------\nfilter_size : int\n Size of the median filter.\n\nfilter_central : int\n Mask the central `filter_central` pixels of the filter.\n\nrevert : bool\n... | 0 |
{'name': 'FancyPage.afterDrawPage@rst2pdf/createpdf.py', 'description': 'Draw header/footer.', 'signature': 'def afterDrawPage(self, canv, doc):'}</s>{'name': 'version_fn@rst2pdf/roles/package.py', 'description': 'DOCSTRING', 'code': 'def version_fn(name, rawtext, text, lineno, inliner, options=None, content=None):\n ... | 0 |
{'name': 'DebPkgToolsTestCase.test_custom_pretty_printer@deb_pkg_tools/tests.py', 'description': 'Test pretty printing of control file fields and parsed relationships.', 'signature': 'def test_custom_pretty_printer(self):'}</s>{'name': 'clean_package_tree@deb_pkg_tools/package.py', 'description': 'Clean up files that s... | 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': 'compute_bbox_stats@lib/rpn_util.py', 'description': 'Computes the mean and standard deviation for each regression\nparameter (usually pertaining to [dx, dy, sw, sh] but sometimes\nfor 3d parameters too).\n\nOnce these stats are known we normalize the regression targets\nto have 0 mean and 1 variance, to hypot... | 0 |
{'name': 'ModelSerializer.build_primary_key_field@rest_witchcraft/serializers.py', 'description': 'Builds a field for the primary key of the model.', 'signature': 'def build_primary_key_field(self, field_name, column_info):'}</s>{'name': 'ImplicitExpandableListField@rest_witchcraft/fields.py', 'description': 'List fiel... | 0 |
{'name': 'CrashDuringStepTestCase.test_step_inst_with@llvm-12.0.0-project/lldb/test/API/functionalities/thread/crash_during_step/TestCrashDuringStep.py', 'description': 'Test thread creation during step-inst handling.', 'signature': 'def test_step_inst_with(self):'}</s>{'name': 'skipUnlessArch@llvm-12.0.0-project/lldb/... | 0 |
{'name': 'GetImagesFromJobs@utils/pyHDLC/map.py', 'description': 'Return a list of all the image names in all the jobs defined in the configuration.\nFirst, extract the keys/names of all jobs types.\nThen, get the images generate in each job, for the selected Collection and Architecture.\nLast, flatten the lists of ima... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCMD_CHANGE_SUBSCRIPTION = 178 | 0 |
{'name': 'design_and_init_agc@python/jax/carfac.py', 'description': 'Design the AGC implementation from the parameters.\n\nArgs:\n ear: the index of the ear.\n params: all the design parameters.\n hypers: all the coefficients. This is needed because things like `n_ch` is\n not in `Parameters`.\n\nReturns:\n The ... | 0 |
{'name': 'init@tilemapbase/tiles.py', 'description': 'Initialise the cache. To avoid spamming the tile server, we cache the\nresulting tiles. We are a little paranoid, so by default, the package will\nnot work if no cache file exists. Fix this by running\n\n init(create=True)\n\nto build the cache. Optionally se... | 0 |
{'name': 'Video.select_best_media@plex_mpv_shim/media.py', 'description': 'Nodes are accessed via XPath, which is technically 1-indexed, while\nPlex is 0-indexed.', 'signature': 'def select_best_media(self, part=0):'}</s>{'name': 'MediaType@plex_mpv_shim/media.py', 'description': 'DOCSTRING', 'base_classes': ['Enum'], ... | 0 |
{'name': 'affine_forward@numpy/lab-06-2-softmax_zoo_classifier.py', 'description': 'Returns a logit\n\nlogit = X @ W + b\n\nArgs:\n X (2-D Array): Input array of shape (N, D)\n W (2-D Array): Weight array of shape (D, C)\n b (1-D Array): Bias array of shape (C,)\n\nReturns:\n logit (2-D Array): Logit array ... | 0 |
{'name': 'PyMolecule.GetAllDescriptor@PyBioMed/Pymolecule.py', 'description': '#################################################################\nCalculate all descriptors (608).\n\nUsage:\n\n res=GetAllDescriptor()\n\n res is a dict form.\n#################################################################', 'sign... | 0 |
{'name': 'on_download_logs@src/server/server.py', 'description': 'Download logs (as .zip file).', 'signature': 'def on_download_logs(data):'}</s>{'name': 'clear_ui_message@src/server/server.py', 'description': 'DOCSTRING', 'code': 'def clear_ui_message(mainclass):\n if mainclass in UI_server_messages:\n UI_se... | 0 |
{'name': 'render@versioneer.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces: dict[str, Any], style: str) -> dict[str, Any]:'}</s>{'name': 'render_pep440@versioneer.py', 'description': 'Build up version string, with post-release "local version identifier".... | 1 |
{'name': 'LPIPS.forward@piqa/lpips.py', 'description': 'Args:\n x: An input tensor, :math:`(N, 3, H, W)`.\n y: A target tensor, :math:`(N, 3, H, W)`.\n\nReturns:\n The LPIPS vector, :math:`(N,)` or :math:`()` depending on `reduction`.', 'signature': 'def forward(self, x: Tensor, y: Tensor) -> Tensor:'}</s>{'na... | 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': 'createMakefileTemplate@example/STM32F051K4_linker/ideScripts/importKeilProject.py', 'description': 'Create Makefile template with CubeMX.', 'signature': 'def createMakefileTemplate(paths: Paths, keilProjData: KeilProjectData):'}</s>{'name': '_checkCubeMxFirmwarePackage@example/STM32F051K4_linker/ideScripts/im... | 1 |
{'name': 'create_estimator_and_inputs@object_detection/model_lib.py', 'description': "Creates `Estimator`, input functions, and steps.\n\nArgs:\n run_config: A `RunConfig`.\n hparams: A `HParams`.\n pipeline_config_path: A path to a pipeline config file.\n config_override: A pipeline_pb2.TrainEvalPipelineConfig tex... | 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': 'CortexM.reset@pyocd/coresight/cortex_m.py', 'description': "! @brief Reset the core.\n\nThe reset method is selectable via the reset_type parameter as well as the reset_type\nsession option. If the reset_type parameter is not specified or None, then the reset_type\noption will be used. If the option is not se... | 0 |
{'name': 'IUController.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data for the controller', 'signature': 'def load(self, config: OrderedDict) -> "IUController":'}</s>{'name': 's2b@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Conv... | 0 |
{'name': 'Stylus.find_imports@src/static_precompiler/compilers/stylus.py', 'description': 'Find the imported files in the source code.\n\n:param source: source code', 'signature': 'def find_imports(self, source: str) -> List[str]:'}</s>{'name': 'convert@src/static_precompiler/url_converter.py', 'description': 'DOCSTRIN... | 0 |
{'name': 'AGraph.draw@pygraphviz/agraph.py', 'description': 'Output graph to path in specified format.\n\n.. caution:: EXPERIMENTAL\n\nThis version of the draw command uses libgvc for drawing instead\nof command line GraphViz tools like in versions <1.6 and the default.\n\nAn attempt will be made to guess the output fo... | 0 |
{'name': 'PreparedRequest.prepare_url@Retired Content/MimeCast/SumoLogic-Mimecast-Data-Collection/requests/models.py', 'description': 'Prepares the given HTTP URL.', 'signature': 'def prepare_url(self, url, params):'}</s>{'name': 'cookiejar_from_dict@Retired Content/MimeCast/SumoLogic-Mimecast-Data-Collection/requests/... | 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': 'FindStartOfExpressionInLine@tools/cpplint.py', 'description': 'Find position at the matching start of current expression.\n\nThis is almost the reverse of FindEndOfExpressionInLine, but note\nthat the input position and returned position differs by 1.\n\nArgs:\n line: a CleansedLines line.\n endpos: start s... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.