text string | label int64 |
|---|---|
{'name': 'connect_one_in_two_out@python/erdos/__init__.py', 'description': "Registers a :py:class:`.OneInTwoOut` operator to the dataflow graph that\nreceives input from the given :code:`read_stream`, and returns the pair of\n:py:class:`OperatorStream` instances that the operator will write data on.\n\nArgs:\n op_ty... | 1 |
{'name': 'expr_value@tools/kconfig_new/kconfiglib.py', 'description': "Evaluates the expression 'expr' to a tristate value. Returns 0 (n), 1 (m),\nor 2 (y).\n\n'expr' must be an already-parsed expression from a Symbol, Choice, or\nMenuNode property. To evaluate an expression represented as a string, use\nKconfig.eval_s... | 0 |
{'name': 'poisson_mbo.__init__@graphlearning/ssl.py', 'description': "PoissonMBO \n===================\n\nSemi-supervised learning via Poisson MBO method [1]. class_priors must be provided.\n\nParameters\n----------\nW : numpy array, scipy sparse matrix, or graphlearning graph object (optional), default=None\n Weigh... | 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>MQOT_SAVED_CHANNEL = 1012 | 0 |
{'name': 'CosS3Client.get_async_fetch_task@qcloud_cos/cos_client.py', 'description': "获取异步拉取对象到COS的任务状态\n\n:param Bucket(string): 存储桶名称.\n:param TaskId(string): 异步拉取任务查询的唯一标识.\n:kwargs(dict): 扩展参数.\n:return(dict): 异步任务的状态\n\n.. code-block:: python\n\n config = CosConfig(Region=region, SecretId=secret_id, SecretKey=s... | 0 |
{'name': 'LoadBalancerAction.create_loadbalancer@qingcloud/iaas/actions/loadbalancer.py', 'description': 'Create new load balancer.\n@param eips: the IDs of the eips that will be associated to load balancer.\n@param loadbalancer_name: the name of the loadbalancer.\n@param security_group: the id of the security_group yo... | 0 |
{'name': 'SetCriterion.loss_masks@models/detr.py', 'description': 'Compute the losses related to the masks: the focal loss and the dice loss.\ntargets dicts must contain the key "masks" containing a tensor of dim [nb_target_boxes, h, w]', 'signature': 'def loss_masks(self, outputs, targets, indices, num_boxes):'}</s>{'... | 1 |
{'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': 'BradleyTerryFull._sum_q@openskill/models/weng_lin/bradley_terry_full.py', 'description': 'Sum up all the values of :code:`mu / c` raised to :math:`e`.\n\n*Represented by:*\n\n.. math::\n\n \\sum_{s \\in C_q} e^{\\theta_s / c}, q=1, ...,k, \\text{where } C_q = \\{i: r(i) \\geq r(q)\\}\n\nAlgorithm 4: Procedu... | 0 |
{'name': 'CvCamera._post_process_capture@pibooth/camera/opencv.py', 'description': 'Rework capture data.\n\n:param capture_data: couple (frame, effect)\n:type capture_data: tuple', 'signature': 'def _post_process_capture(self, capture_data):'}</s>{'name': 'CvCamera@pibooth/camera/opencv.py', 'description': 'OpenCV came... | 1 |
{'name': 'create_cmap_overview@src/cmasher/utils.py', 'description': 'Creates an overview plot containing all colormaps defined in the provided\n`cmaps`.\n\nOptional\n--------\ncmaps : list of {str; :obj:`~matplotlib.colors.Colormap` objects}, dict of lists or None. Default: None\n A list of all colormaps th... | 1 |
{'name': 'Parser._consume@src/parsita/parsers/_base.py', 'description': 'Abstract method for matching this parser at the given location.\n\nThis is the central method of every parser combinator.\n\nArgs:\n state: The mutable state of the parse\n reader: The current state of the input\n\nReturns:\n If the patte... | 0 |
{'name': 'init_media@soundrts/clientmedia.py', 'description': 'initialize sound, voice, screen, window title, keyboard,\nand sound cache', 'signature': 'def init_media():'}</s>SERVER_HOSTED_BY = [4073] | 0 |
{'name': 'WebcamVideoStream.stop@versions/speed-cam_8.87.py', 'description': 'indicate that the thread should be stopped ', 'signature': 'def stop(self):'}</s>{'name': 'subDirCreate@versions/speed-cam_8.87.py', 'description': 'Create media subdirectories base on required naming ', 'code': 'def subDirCreate(directory, p... | 0 |
{'name': 'build@bioconda_utils/build.py', 'description': "Build a single recipe for a single env\n\nArguments:\n recipe: Path to recipe\n pkg_paths: List of paths to expected packages\n testonly: Only run the tests described in the meta.yaml\n mulled_test: Run tests in minimal docker container\n channels: Channels... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQPUBO_IS_RETAINED_PUBLICATION = 16 | 0 |
{'name': '_covhelper@venv/Lib/site-packages/numpy/ma/extras.py', 'description': 'Private function for the computation of covariance and correlation\ncoefficients.', 'signature': 'def _covhelper(x, y=None, rowvar=True, allow_masked=True):'}</s>{'name': 'masked_object@venv/Lib/site-packages/numpy/ma/core.py', 'descriptio... | 0 |
{'name': 'collect_device_health_self_assessment@smartmon.py', 'description': 'Collect metric about the device health self assessment.\n\nArgs:\n device: (Device) Device in question.', 'signature': 'def collect_device_health_self_assessment(device):'}</s>smart_attributes_whitelist = (
'airflow_temperature_cel',
... | 0 |
{'name': 'parse_cli@isi_data_insights_config.py', 'description': 'Setup the command line args and parse them.', 'signature': 'def parse_cli():'}</s>{'name': '_build_equation_expression@isi_data_insights_config.py', 'description': 'DOCSTRING', 'code': 'def _build_equation_expression(cfg_expression, eq_stat_names):\n ... | 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': 'VectorWind.__init__@windspharm/iris.py', 'description': "Initialize a VectorWind instance.\n\n**Arguments:**\n\n*u*, *v*\n Zonal and meridional components of the vector wind\n respectively. Both components should be `~iris.cube.Cube`\n instances. The components must have the same dimension\n coord... | 1 |
{'name': 'lift_job@maf/impl/naiveLiftUp.py', 'description': "Lift this genome's blocks file to another genome.", 'signature': 'def lift_job(job, up_or_down, genome, other_genome, blocks_id, hal_id, opts):'}</s>{'name': 'clone_node@maf/impl/naiveLiftUp.py', 'description': 'Get a new Node with the same properties, but no... | 0 |
{'name': 'run@TDScanner/sqlmap/thirdparty/bottle/bottle.py', 'description': 'Start a server instance. This method blocks until the server terminates.\n\n:param app: WSGI application or target string supported by\n :func:`load_app`. (default: :func:`default_app`)\n:param server: Server adapter to use. See :data:`s... | 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': 'transliteration_cleaners@text/cleaners.py', 'description': 'Pipeline for non-English text that transliterates to ASCII.', 'signature': 'def transliteration_cleaners(text):'}</s>{'name': 'basic_cleaners@text/cleaners.py', 'description': 'Basic pipeline that lowercases and collapses whitespace without translite... | 0 |
{'name': '_visible_width@misc/tabulate.py', 'description': 'Visible width of a printed string. ANSI color codes are removed.\n\n>>> _visible_width(\'\x1b[31mhello\x1b[0m\'), _visible_width("world")\n(5, 5)', 'signature': 'def _visible_width(s):'}</s>{'name': '_padright@misc/tabulate.py', 'description': "Flush left.\n\n... | 0 |
{'name': 'get_multi_metrics@smart-chatbot-zero/Rerank/metrics.py', 'description': '得到多分类的性能指标\n:param pred_y:\n:param true_y:\n:param labels:\n:param f_beta:\n:return:', 'signature': 'def get_multi_metrics(pred_y, true_y, labels, f_beta=1.0):'}</s>{'name': 'multi_precision@smart-chatbot-zero/Rerank/metrics.py', 'descri... | 1 |
{'name': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>PF_NOBINAT = 7 | 0 |
{'name': 'A1DInterface.process_data@src/python_scripts/scripts/1d_tool.py', 'description': 'return None on completion, else error code (0 being okay)', 'signature': 'def process_data(self):'}</s>{'name': 'calc_zero_dtype@src/python_scripts/afnipy/afni_util.py', 'description': 'Calc an appropriate zero for initializing ... | 0 |
{'name': 'Gama._search_phase@gama/gama.py', 'description': 'Invoke the search algorithm, populate `final_pop`.', 'signature': 'def _search_phase('}</s>{'name': 'Metric@gama/utilities/metrics.py', 'description': 'A thin layer around the `scorer` class of scikit-learn.', 'base_classes': [], 'methods': [{'name': 'Metric._... | 0 |
{'name': 'DistModel.initialize@libs/PerceptualSimilarity/models/dist_model.py', 'description': "INPUTS\n model - ['net-lin'] for linearly calibrated network\n ['net'] for off-the-shelf network\n ['L2'] for L2 distance in Lab colorspace\n ['SSIM'] for ssim in RGB colorspace\n net -... | 0 |
{'name': 'fsn2text@Monika After Story/game/python-packages/mutagen/_senf/_fsnative.py', 'description': 'Args:\n path (fsnative): The path to convert\n strict (bool): Fail in case the conversion is not reversible\nReturns:\n `text`\nRaises:\n TypeError: In case no `fsnative` has been passed\n ValueError: ... | 0 |
{'name': 'RemoteTest.fill_default_arguments@tests/run_all_tests.py', 'description': 'Fills in default arguments for the RemoteTest object.\n\nThis method fills in default arguments for the RemoteTest object based\non the specified test name. It sets default values for test name filters,\nMinIO configurations, Google te... | 0 |
{'name': 'dictOf@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper to easily and clearly define a dictionary by specifying the respective patterns\nfor the key and value. Takes care of defining the C{L{Dict}}, C{L{ZeroOrMore}}, and C{L{Group}} tokens\nin the proper order. The key pattern ... | 0 |
{'name': 'get_address_list@src/future/backports/email/_header_value_parser.py', 'description': 'address_list = (address *("," address)) / obs-addr-list\n obs-addr-list = *([CFWS] ",") address *("," [address / CFWS])\n\nWe depart from the formal grammar here by continuing to parse until the end\nof the input, assumin... | 0 |
{'name': 'BaseImage.caption@wand/image.py', 'description': 'Writes a caption ``text`` into the position.\n\n:param text: text to write\n:type text: :class:`str`\n:param left: x offset in pixels\n:type left: :class:`numbers.Integral`\n:param top: y offset in pixels\n:type top: :class:`numbers.Integral`\n:param width: wi... | 0 |
{'name': '_network@kayobe/plugins/filter/networkd.py', 'description': 'Return a networkd network for an interface.\n\n:param context: a Jinja2 Context object.\n:param name: name of the network.\n:param inventory_hostname: Ansible inventory hostname.\n:param bridge: Name of a bridge into which the interface is plugged, ... | 1 |
{'name': 'PacketFilter.set_limit@pf/filter.py', 'description': "Set hard limits on the memory pools used by Packet Filter.\n\n'limit' can be either one of the PF_LIMIT_* constants or a string; a\n'value' of UINT_MAX means unlimited. Raise PFError if the current pool\nsize exceeds the requested hard limit.", 'signature'... | 0 |
{'name': 'rs_correct_msg_nofsynd@reedsolo.py', 'description': 'Reed-Solomon main decoding function, without using the modified Forney syndromes', 'signature': 'def rs_correct_msg_nofsynd(msg_in, nsym, fcr=0, generator=2, erase_pos=None, only_erasures=False):'}</s>{'name': 'gf_mult_noLUT_slow@reedsolo.py', 'description'... | 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': 'main@swagger_to/bin/swagger_to_py_client.py', 'description': 'Execute the main routine.', 'signature': 'def main() -> None:'}</s>PRIMITIVE_SWAGGER_TYPES = ['string', 'number', 'integer', 'boolean', 'file'] | 0 |
{'name': 'schedule_messages@sitemessage/toolbox.py', 'description': 'Schedules a message or messages.\n\n:param messages: str or MessageBase heir or list - use str to create PlainTextMessage.\n\n:param recipients: recipients addresses or Django User model heir instances\n If `None` Dispatches should be created befor... | 0 |
{'name': 'ReplaceByFeeTest.test_new_unconfirmed_inputs@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that add new unconfirmed inputs are rejected', 'signature': 'def test_new_unconfirmed_inputs(self):'}</s>VALID_OPCODES = {
OP_1NEGATE,
OP_RESERVED,
OP_1,
OP_2,
OP_3,
OP_4,
OP_... | 0 |
{'name': 'SensorThermalComfort.__init__@custom_components/thermal_comfort/sensor.py', 'description': 'Initialize the sensor.', 'signature': 'def __init__('}</s>CONF_TEMPERATURE_SENSOR = "temperature_sensor" | 0 |
{'name': 'height_width@object_detection/core/box_list_ops.py', 'description': 'Computes height and width of boxes in boxlist.\n\nArgs:\n boxlist: BoxList holding N boxes\n scope: name scope.\n\nReturns:\n Height: A tensor with shape [N] representing box heights.\n Width: A tensor with shape [N] representing box wid... | 0 |
{'name': '_clean_up_temporary_files@datasets/download_and_convert_mnist.py', 'description': 'Removes temporary files used to create the dataset.\n\nArgs:\n dataset_dir: The directory where the temporary files are stored.', 'signature': 'def _clean_up_temporary_files(dataset_dir):'}</s>{'name': 'write_label_file@datase... | 0 |
{'name': 'multihead_attention@tensor2tensor_envi/layers/common_attention.py', 'description': 'Multihead scaled-dot-product attention with input/output transformations.\n\nArgs:\n query_antecedent: a Tensor with shape [batch, length_q, channels]\n memory_antecedent: a Tensor with shape [batch, length_m, channels] or N... | 0 |
{'name': 'Hist@reference/ThinkDSP/code/thinkplot.py', 'description': "Plots a Pmf or Hist with a bar plot.\n\nThe default width of the bars is based on the minimum difference\nbetween values in the Hist. If that's too small, you can override\nit by providing a width keyword argument, in the same units\nas the values.\... | 1 |
{'name': 'BasicTokenizer.tokenize@pytorch_pretrained_bert/tokenization.py', 'description': 'Tokenizes a piece of text.', 'signature': 'def tokenize(self, text):'}</s>{'name': 'BertTokenizer@pytorch_pretrained_bert/tokenization.py', 'description': 'Runs end-to-end tokenization: punctuation splitting + wordpiece', 'base_... | 0 |
{'name': 'Numeral.__rgt__@src/api/python/z3/z3num.py', 'description': 'Return True if `other > self`.\n\n>>> 2 > Numeral(Sqrt(2))\nTrue', 'signature': 'def __rgt__(self, other):'}</s>{'name': '_get_args_ast_list@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def _get_args_ast_list(args):\n try:\n ... | 0 |
{'name': 'SetValuesTestCase.test@llvm-project/lldb/test/API/lang/c/set_values/TestSetValues.py', 'description': 'Test settings and readings of program variables.', 'signature': 'def test(self):'}</s>{'name': 'PrintableRegex@llvm-project/lldb/packages/Python/lldbsuite/test/lldbutil.py', 'description': 'DOCSTRING', 'base... | 0 |
{'name': 'Parser.__init__@util/py_lib/pyratemp.py', 'description': 'Init the parser.\n\n:Parameters:\n - `loadfunc`: function to load included templates\n (i.e. ``LoaderFile(...).load``)\n - `testexpr`: function to test if a template-expressions is valid\n (i.e. ``EvalPseudoSandbox().compile``)\n - `... | 0 |
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQRCCF_OBJECT_NAME_RESTRICTED = 3208 | 0 |
{'name': 'Bottle.reset@src/back/kite/bottle.py', 'description': 'Reset all routes (force plugins to be re-applied) and clear all\ncaches. If an ID or route object is given, only that specific route\nis affected. ', 'signature': 'def reset(self, route=None):'}</s>{'name': 'BaseResponse@src/back/kite/bottle.py', 'descrip... | 0 |
{'name': 'func@python/taichi/lang/kernel_impl.py', 'description': 'Marks a function as callable in Taichi-scope.\n\nThis decorator transforms a Python function into a Taichi one. Taichi\nwill JIT compile it into native instructions.\n\nArgs:\n fn (Callable): The Python function to be decorated\n is_real_function ... | 0 |
{'name': 'housekeeping@app/__init__.py', 'description': 'Check if the services we need are running.', 'signature': 'def housekeeping():'}</s>{'name': 'page_not_found@app/__init__.py', 'description': '404 handler.', 'code': 'def page_not_found(e):\n """404 handler."""\n logger.info("404 triggered: Path %s" % (requ... | 0 |
{'name': 'backlog_subscriber@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/ordering.py', 'description': 'Pick up the table lock, poll BQ job id until completion and process next\nitem in the backlog.', 'signature': 'def backlog_subscriber(gcs_client: Optional[storage.Client],'}</s>{'name': 'chec... | 0 |
{'name': 'Modules@vimdoc/module.py', 'description': 'Creates modules from a plugin directory.\n\nNote that there can be many, if a plugin has standalone parts that merit their\nown helpfiles.\n\nArgs:\n directory: The plugin directory.\nYields:\n Module objects as necessary.', 'signature': 'def Modules(directory):'}<... | 0 |
{'name': 'test_when_inheriting_a_singleton_instance@tests/test_scoped_resolution.py', 'description': 'In this test, we have a FancyDbMessageWriter in the parent\nBoth scopes should resolve, with the same connection string.', 'signature': 'def test_when_inheriting_a_singleton_instance():'}</s>{'name': 'test_when_overrid... | 0 |
{'name': 'LeastSquares@reference/ThinkDSP/code/thinkstats2.py', 'description': 'Computes a linear least squares fit for ys as a function of xs.\n\nArgs:\n xs: sequence of values\n ys: sequence of values\n\nReturns:\n tuple of (intercept, slope)', 'signature': 'def LeastSquares(xs, ys):'}</s>{'name': 'MakeParet... | 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': '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': 'TarInfo.frombuf@venv/Lib/site-packages/pip-19.0.3-py3.8.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>{'name': '_LowLevelFile@venv/Lib/site-packages/pip-19.0.3-py3.... | 0 |
{'name': 'LogException.__writeLog@boxx/tool/toolLog.py', 'description': '判断是否打印和写入', 'signature': 'def __writeLog(self,strr):'}</s>{'name': 'SuperG@boxx/tool/toolLog.py', 'description': 'Author: DIYer22@GitHub (ylxx@live.com)\n**用于debug的全局变量**, 用了不少旁门左道以达到最低使用负担\n本身是类似JavaScript对象的超级字典,可以动态添加属性\n其中 g.keys,g.values,g.it... | 0 |
{'name': 'SubstationFormat.from_file@pysubs2/formats/substation.py', 'description': 'See :meth:`pysubs2.formats.FormatBase.from_file()`', 'signature': 'def from_file(cls, subs: "SSAFile", fp: TextIO, format_: str, **kwargs: Any) -> None:'}</s>STYLE_FIELDS = {
"ass": ["fontname", "fontsize", "primarycolor", "seconda... | 1 |
{'name': 'ResetNolintSuppressions@scripts/cpplint.py', 'description': 'Resets the set of NOLINT suppressions to empty.', 'signature': 'def ResetNolintSuppressions():'}</s>_RE_PATTERN_CLEANSE_LINE_ESCAPES = re.compile(
r'\\([abfnrtv?"\\\']|\d+|x[0-9a-fA-F]+)') | 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': 'BaseImage.range_threshold@wand/image.py', 'description': "Applies soft & hard thresholding.\n\nFor a soft thresholding, parameters should be monotonically increasing:\n\n with Image(filename='text.png') as img:\n img.range_threshold(0.2, 0.4, 0.6, 0.8)\n\nFor a hard thresholding, parameters should b... | 0 |
{'name': 'NewDatabase.update@premise/new_database.py', 'description': 'Update a specific sector by name.', 'signature': 'def update(self, sectors: [str, list, None] = None) -> None:'}</s>FILEPATH_LIS_BATTERY = INVENTORY_DIR / "lci-batteries-LiS.xlsx" | 0 |
{'name': '_cg_independent@gpflow_sampling/sampling/updates/cg_updates.py', 'description': 'Return (independent) pathwise updates for each of the latent prior processes\n$f$ subject to the condition $p(f | u) = N(f | u, diag)$ on $f = f(Z)$.', 'signature': 'def _cg_independent(kern: kernels.MultioutputKernel,'}</s>{'nam... | 0 |
{'name': 'run@benchmarking/phantom.py', 'description': 'Run reconstruction benchmarks for phantoms.\n\nParameters\n----------\nphantom : string\n The name of the phantom to use.\nalgorithm : string\n The name of the algorithm to test.\nargs : argparser args\n\nReturns\n-------\nEither rec or imgs\nrec : np.ndarra... | 0 |
{'name': 'TestArticle.test_get_field_bibtex@ads/tests/test_search.py', 'description': 'should emit a warning when calling _get_field with bibtex but otherwise work\nas expected both in the case of fl=bibtex and fl=None', 'signature': 'def test_get_field_bibtex(self):'}</s>{'name': 'MockResponse@ads/tests/mocks.py', 'de... | 0 |
{'name': 'lint@scripts/build.py', 'description': 'Run all linters and type checkers in order of importance - returns the first non-zero exit code or zero.', 'signature': 'def lint(*, fix: bool = False) -> None:'}</s>{'name': '_python_base_paths@scripts/build.py', 'description': 'DOCSTRING', 'code': 'def _python_base_pa... | 0 |
{'name': 'CastlingTestCase.test_castling_into_check@tests/test_utilities.py', 'description': '. . . . . . . .\n. . . . . . . .\n. . . . . . . .\n. . . . . . . .\n. . . . . . q .\n. . . . . . . .\n. . . . . . . .\n. . . . K . . R', 'signature': 'def test_castling_into_check(self):'}</s>BACK_RANKS = list(chess.SquareSet(... | 0 |
{'name': 'RestModelTestMixin.track_query@rest_models/test.py', 'description': ':return: the middleware that tracked the queeries\n:rtype: TrackRequestMiddleware', 'signature': 'def track_query(self, using=None):'}</s>{'name': 'not_found_raise@rest_models/test.py', 'description': 'raise an exception if the query is not ... | 0 |
{'name': 'Zeroconf.checkService@stino/pyarduino/base/zeroconf.py', 'description': 'Checks the network for a unique service name, modifying the\nServiceInfo passed in if it is not unique.', 'signature': 'def checkService(self, info):'}</s>_TYPES = {_TYPE_A: "a",
_TYPE_NS: "ns",
_TYPE_MD: "md",
... | 0 |
{'name': 'ReadAlignmentStats.getReadAlignmentStats@src/margin/utils.py', 'description': 'Gets a list of ReadAlignmentStats objects, one for each alignment in the same file\n ', 'signature': 'def getReadAlignmentStats(samFile, readFastqFile, referenceFastaFile, globalAlignment=True):'}</s>{'name': 'getFirstNonCli... | 0 |
{'name': 'View.save_pick_properties@picasso/gui/render.py', 'description': "Saves picks' properties in a given channel to path.\n\nProperties include number of locs, mean and std of all locs\ndtypes (x, y, photons, etc) and others.\n\nParameters\n----------\npath : str \n Path for saving picks' properties.\nchannel ... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQXCC_SEND_AND_REQUEST_SEC_MSG = py23long(-3) | 0 |
{'name': '_ctypes.strides_as@venv/Lib/site-packages/numpy/core/_internal.py', 'description': 'Return the strides tuple as an array of some other\nc-types type. For example: ``self.strides_as(ctypes.c_longlong)``.', 'signature': 'def strides_as(self, obj):'}</s>{'name': '_copy_fields@venv/Lib/site-packages/numpy/core/_i... | 0 |
{'name': 'IUSequenceRun.running@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Indicate if this sequence is running', 'signature': 'def running(self) -> bool:'}</s>ATTR_FINAL_DURATION = "final_duration" | 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': '_makeTags@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.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': 'PrecededBy@SneakerBot 2019/venv/lib/python3.7... | 0 |
{'name': 'find_on_path@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'Yield distributions accessible on a sys.path directory', 'signature': 'def find_on_path(importer, path_item, only=False):'}</s>_provider_factories = {} | 0 |
{'name': 'update_notice_box_ui@addon_updater_ops.py', 'description': 'Update notice draw, to add to the end or beginning of a panel.\n\nAfter a check for update has occurred, this function will draw a box\nsaying an update is ready, and give a button for: update now, open website,\nor ignore popup. Ideal to be placed a... | 1 |
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i... | 0 |
{'name': 'lookup_address@gef.py', 'description': 'Try to find the address in the process address space.\nReturn an Address object, with validity flag set based on success.', 'signature': 'def lookup_address(address: int) -> Address:'}</s>{'name': 'MIPS64@gef.py', 'description': 'DOCSTRING', 'base_classes': ['MIPS'], 'm... | 0 |
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>{'name': 'divert@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []} | 0 |
{'name': 'HTTPConnectionPool.urlopen@blockchain-env/lib/python3.7/site-packages/urllib3/connectionpool.py', 'description': "Get a connection from the pool and perform an HTTP request. This is the\nlowest level call for making a request, so you'll need to specify all\nthe raw details.\n\n.. note::\n\n More commonly, i... | 0 |
{'name': 'strip_space@libc/kernel/tools/cpp.py', 'description': 'Strip out redundant space in a given string.', 'signature': 'def strip_space(s):'}</s>tokELLIPSIS = "..." | 0 |
{'name': 'SceneFlow.__init__@datasets/sceneflow.py', 'description': 'SceneFlow dataset is downloaded from\nhttps://lmb.informatik.uni-freiburg.de/resources/datasets/SceneFlowDatasets.en.html\nVirtual image sensor size: 960 px x 540 px or 32mm x 18mm\nVirtual focal length: 35mmx\nBaseline: 1 Blender unit', 'signature':... | 1 |
{'name': 'DetectionNetwork.postprocess_fastrcnn@libs/networks/build_whole_network.py', 'description': ':param rois:[-1, 4]\n:param bbox_ppred: [-1, (cfgs.Class_num+1) * 4]\n:param scores: [-1, cfgs.Class_num + 1]\n:return:', 'signature': 'def postprocess_fastrcnn(self, rois, bbox_ppred, scores, img_shape):'}</s>FAST_RC... | 0 |
{'name': 'assert_content_equals_array@tests/test_algorithms.py', 'description': 'Assert that the result is an Arrow structure and the content matches an array.', 'signature': 'def assert_content_equals_array(result, expected):'}</s>{'name': 'test_vector16_auto@tests/test_algorithms.py', 'description': 'DOCSTRING', 'cod... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQZFP_STRUC_ID = b'ZFP ' | 0 |
{'name': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>PF_DEFER = 11 | 0 |
{'name': 'get_hconfig_view@hier_config/constructors.py', 'description': 'Instantiates the appropriate HConfigView.\n\nIf you implement your own HConfigView, you will likely need to create a function like this one locally.', 'signature': 'def get_hconfig_view(config: HConfig) -> HConfigViewBase:'}</s>{'name': 'HConfigDr... | 1 |
{'name': 'StateManagerInstance.__getattr__@src/coaster/sqlalchemy/statemanager.py', 'description': 'Retrieve a state.', 'signature': 'def __getattr__(self, name: str) -> ManagedStateInstance[_T]:'}</s>{'name': 'LabeledEnum@src/coaster/utils/classes.py', 'description': 'Labeled enumerations.\n\n.. deprecated:: 0.7.0\n ... | 0 |
{'name': 'add_translation_fields@modeltranslation/translator.py', 'description': 'Monkey patches the original model class to provide additional fields for\nevery language.\n\nAdds newly created translation fields to the given translation options.', 'signature': 'def add_translation_fields(model: type[Model], opts: Tran... | 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': 'ResnetGenerator.__init__@upit/models/junyanz.py', 'description': 'Construct a Resnet-based generator\n\nParameters:\n input_nc (int) -- the number of channels in input images\n output_nc (int) -- the number of channels in output images\n ngf (int) -- the number of filters in the la... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.