text string | label int64 |
|---|---|
{'name': 'test_page_needs_updating_content_replace_all_labels_and_labels_not_changed@test_package/unit/test_upsert.py', 'description': 'We want to replace all the labels, but they have not changed', 'signature': 'def test_page_needs_updating_content_replace_all_labels_and_labels_not_changed(mocker):'}</s>{'name': 'Mini... | 0 |
{'name': 'MarkerManager.mark_compiler_output@parseoutput.py', 'description': 'Parse text into a list of OutputMessage objects.\n ', 'signature': 'def mark_compiler_output(self, view, banner, base_dir, text, exit_code):'}</s>{'name': 'ReplResult@symbols.py', 'description': 'DOCSTRING', 'base_classes': ['object'],... | 0 |
{'name': 'assert_rank@araelectra/model/modeling.py', 'description': "Raises an exception if the tensor rank is not of the expected rank.\n\nArgs:\n tensor: A tf.Tensor to check the rank of.\n expected_rank: Python integer or list of integers, expected rank.\n name: Optional name of the tensor for the error message.\... | 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': 'Printer.__init__@tools/hadb.py', 'description': 'Initialize printer.', 'signature': 'def __init__('}</s>{'name': 'process_args@tools/hadb.py', 'description': 'Process arguments.', 'code': 'def process_args(args: ArgsNamespace, params: Params) -> int:\n """Process arguments."""\n\n def days_ago(days: int... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_MAX_MSG_LENGTH_ERROR = 2485 | 0 |
{'name': 'GaussianMixtureCopula.dim@copulae/mixtures/gmc/gmc.py', 'description': 'Number of dimensions for each copula in the :class:`GaussianMixtureCopula`', 'signature': 'def dim(self):'}</s>{'name': 'GMCParam@copulae/mixtures/gmc/parameter.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'GM... | 0 |
{'name': 'TransfoXLCorpus.from_pretrained@source/pytorch_transformers/tokenization_transfo_xl.py', 'description': 'Instantiate a pre-processed corpus.', 'signature': 'def from_pretrained(cls, pretrained_model_name_or_path, cache_dir=None, *inputs, **kwargs):'}</s>logger = logging.getLogger(__name__) | 1 |
{'name': 'RIPPER.fit@build/lib/wittgenstein/ripper.py', 'description': "Fit a Ruleset model.\n\nParameters\n----------\ntrainset : DataFrame, numpy array, or other iterable\n Training dataset. Optional whether to include or exclude class labels column.\ny : iterable of str, int, bool\n Class labels corresponding ... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQSRO_LENGTH_1 = 16 | 0 |
{'name': 'NodeManager.list_volume_targets@ironicclient/v1/node.py', 'description': 'List all the volume targets for a given node.\n\n:param node_id: Name or UUID of the node.\n:param marker: Optional, the UUID of a volume target, eg the last\n volume target from a previous result set. Return\n ... | 1 |
{'name': 'CorpusAligner.evaluate_alignments@montreal_forced_aligner/alignment/base.py', 'description': 'Evaluate alignments against a reference directory\n\nParameters\n----------\nmapping: dict[str, Union[str, list[str]]], optional\n Mapping between phones that should be considered equal across different phone set ... | 0 |
{'name': 'Cache.get_with_range@shingetsu/cache.py', 'description': 'Get data in range.', 'signature': 'def get_with_range(self, node=None):'}</s>search = run_dir + "/search.txt" | 0 |
{'name': 'save_objects@io_scene_minecraft_json/export_minecraft_json.py', 'description': 'Main exporter function. Parses Blender objects into Minecraft\ncuboid format, uvs, and handles texture read and generation.\nWill save .json file to output paths.\n\nInputs:\n- filepath: Output file path name.\n- object: Iterable ... | 1 |
{'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>MQCUOWC_ONLY = 273 | 0 |
{'name': 'babel_extract@venv/Lib/site-packages/jinja2/ext.py', 'description': 'Babel extraction method for Jinja templates.\n\n.. versionchanged:: 2.3\n Basic support for translation comments was added. If `comment_tags`\n is now set to a list of keywords for extraction, the extractor will\n try to find the best... | 1 |
{'name': 'ConfigObj._parse@BlDevCube/lib.bflb_configobj.pyc.py', 'description': 'Actually parse the config file.', 'signature': 'def _parse(self, infile):'}</s>OPTION_DEFAULTS = {'interpolation':True,
'raise_errors':False,
'list_values':True,
'create_empty':False,
'file_error':False,
'configspec':None,
'str... | 0 |
{'name': 'SyntaxErrorTests.test_nonlocal3@didyoumean/didyoumean_sugg_tests.py', 'description': 'nonlocal must be used only when binding to non-global exists.', 'signature': 'def test_nonlocal3(self):'}</s>NONLOCALMODULE = (SyntaxError, re.NONLOCAL_AT_MODULE_RE) | 0 |
{'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>OP_MAX = CScriptOp(0xa4) | 0 |
{'name': '_strict_random_crop_image@object_detection/core/preprocessor.py', 'description': 'Performs random crop.\n\nNote: Keypoint coordinates that are outside the crop will be set to NaN, which\nis consistent with the original keypoint encoding for non-existing keypoints.\nThis function always crops the image and is ... | 0 |
{'name': 'HTMLTestRunner.run@util/HTMLTestRunner.py', 'description': 'Run the given test case or test suite.', 'signature': 'def run(self, test):'}</s>TestResult = unittest.TestResult | 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': 'CheckStyle@tools/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 f... | 0 |
{'name': 'install_python@python/virtualenv/virtualenv.py', 'description': 'Install just the base environment, no distutils patches etc', 'signature': 'def install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages, clear, symlink=True):'}</s>{'name': 'make_environment_relocatable@python/virtualenv/virtualenv.py'... | 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': 'OOXMLFile.encrypt@msoffcrypto/format/ooxml.py', 'description': '>>> from msoffcrypto.format.ooxml import OOXMLFile\n>>> from io import BytesIO; outfile = BytesIO()\n>>> with open("tests/outputs/example.docx", "rb") as f:\n... officefile = OOXMLFile(f)\n... officefile.encrypt("1234", outfile)', 'signat... | 0 |
{'name': 'MicrosoftAuthenticationBackend._get_user_from_microsoft@microsoft_auth/backends.py', 'description': 'Retrieves existing Django user or creates\na new one from Xbox Live profile data', 'signature': 'def _get_user_from_microsoft(self, data):'}</s>{'name': 'MicrosoftAuthenticationBackend@microsoft_auth/backends.... | 1 |
{'name': 'parse_return_val@disdat/hyperframe.py', 'description': 'Interpret the return values and create an HFrame to wrap them.\nThis means setting the correct presentation bit in the HFrame so that\nwe call downstream tasks with parameters as the author intended.\n\nPOLICY / NOTE: An non-HF output is a Presentable.\... | 0 |
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24... | 0 |
{'name': 'im_detect_3d@lib/rpn_util.py', 'description': 'Object detection in 3D', 'signature': 'def im_detect_3d(im, net, rpn_conf, preprocess, p2, gpu=0, synced=False, return_base=False):'}</s>{'name': 'draw_line@lib/util.py', 'description': 'DOCSTRING', 'code': 'def draw_line(im, v1, v2, color=(0, 200, 200), thicknes... | 0 |
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>PF_ADDR_DYNIFTL = 2 | 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>get_function_globals = operator.attrgett... | 0 |
{'name': 'Update0@ac.py', 'description': "update with R(s') instead of V(s') in the TD-error;\nwith entropy boosting exploration", 'signature': 'def Update0(rewards, gamma=0.99, entropy_lambda=1e-3): '}</s>critic_optimizer = optim.Adam(critic_net.parameters(), lr=1e-2) | 1 |
{'name': 'haversine@haversine/haversine.py', 'description': "Calculate the great-circle distance between two points on the Earth surface.\n\nTakes two 2-tuples, containing the latitude and longitude of each point in decimal degrees,\nand, optionally, a unit of length.\n\n:param point1: first point; tuple of (latitude, ... | 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': 'Response.from_raw@nsq/response.py', 'description': 'Return a new response from a raw buffer', 'signature': 'def from_raw(conn, raw):'}</s>{'name': 'MpubFailedException@nsq/exceptions.py', 'description': 'Exception for E_MPUB_FAILED', 'base_classes': ['NSQException'], 'methods': []} | 0 |
{'name': 'Application._perform_deferred_reload@robopianist/viewer/application.py', 'description': 'Performs the deferred part of initialization related to Physics reload.\n\nArgs:\n params: Deferred reload parameters, an instance of ReloadParams.', 'signature': 'def _perform_deferred_reload(self, params):'}</s>KEY_P =... | 0 |
{'name': 'CheckPrintf@tools/cpplint.py', 'description': 'Check for printf related issues.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any errors found.', 'signature': 'd... | 0 |
{'name': 'ImportNode.modules@redbaron/nodes.py', 'description': 'return a list of string of modules imported', 'signature': 'def modules(self):'}</s>{'name': 'FloatExponantComplexNode@redbaron/nodes.py', 'description': 'DOCSTRING', 'base_classes': ['Node', 'LiteralyEvaluable'], 'methods': []} | 0 |
{'name': 'Architecture.__get_register@gef.py', 'description': "Return a register's value.", 'signature': 'def __get_register(self, regname: str) -> int:'}</s>{'name': 'ScanSectionCommand@gef.py', 'description': 'Search for addresses that are located in a memory mapping (haystack) that belonging\nto another (needle).', ... | 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': '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': 'cli@sql-cli/src/odfe_sql_cli/main.py', 'description': 'Provide endpoint for Elasticsearch client.\nBy default, it uses http://localhost:9200 to connect.', 'signature': 'def cli('}</s>{'name': 'Formatter@sql-cli/src/odfe_sql_cli/formatter.py', 'description': 'Formatter instance is used to format the data retri... | 1 |
{'name': 'Module._AddMaktabaFlagHelp@vimdoc/module.py', 'description': 'If any maktaba flags were documented, add a default configuration section\nto explain how to use them.', 'signature': 'def _AddMaktabaFlagHelp(self):'}</s>{'name': 'UnrecognizedBlockDirective@vimdoc/error.py', 'description': 'DOCSTRING', 'base_clas... | 0 |
{'name': 'main@tools/yapf/yapf/__init__.py', 'description': 'Main program.\n\nArguments:\n argv: command-line arguments, such as sys.argv (including the program name\n in argv[0]).\n\nReturns:\n 0 if there were no changes, non-zero otherwise.\n\nRaises:\n YapfError: if none of the supplied files were Python files... | 0 |
{'name': 'StatementSplitter.process@libs/sqlparse/engine/statement_splitter.py', 'description': 'Process the stream', 'signature': 'def process(self, stream):'}</s>Generic = Token.Generic | 0 |
{'name': 'test_genotypes@cyvcf2/tests/test_reader.py', 'description': '. 1\n./. ./1\n./. 1\n0/1 0\n0 0/1\n ', 'signature': 'def test_genotypes():'}</s>{'name': 'test_reader_context_manager@cyvcf2/tests/test_reader.py', 'description': 'DOCSTRING', 'code': 'def test_reader_context_manager():\n with VCF(VCF_PATH) a... | 0 |
{'name': '_filter_lines_slope@oggm/core/centerlines.py', 'description': 'Filter the centerline candidates by slope: if they go up, remove\n\nKienholz et al. (2014), Ch. 4.3.1\n\nParameters\n----------\nlines : list of shapely.geometry.LineString instances\n The lines to filter out (in raster coordinates).\ntopo : th... | 0 |
{'name': '_ZTextTestResult.addExpectedFailure@zpycore/zunittest.py', 'description': 'Replacement of addExpectedFailure to fixup the _ZTodo hack', 'signature': 'def addExpectedFailure(self, test: unittest.TestCase,'}</s>{'name': 'wipe_children_register@zpycore/util.py', 'description': 'DOCSTRING', 'code': 'def wipe_chil... | 0 |
{'name': 'write_recipe@bioconda_utils/bioconductor_skeleton.py', 'description': 'Write the meta.yaml and build.sh files. If the package is detected to be\na data package (bsed on the detected URL from Bioconductor), then also\ncreate a post-link.sh and pre-unlink.sh script that will download and\ninstall the package. I... | 0 |
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=... | 0 |
{'name': 'test_clockwise_rotation@tests/test_traffic_scheduling_problem.py', 'description': 'A simple loop of 4 locations, where 3 loads need to move\nclockwise. ', 'signature': 'def test_clockwise_rotation():'}</s>{'name': 'test_small_gridlock@tests/test_traffic_scheduling_problem.py', 'description': 'a grid lock is g... | 0 |
{'name': 'gen_audio_features@tensorflow_tts/bin/preprocess.py', 'description': 'Generate audio features and transformations\nArgs:\n item (Dict): dictionary containing the attributes to encode.\n config (Dict): configuration dictionary.\nReturns:\n (bool): keep this sample or not.\n mel (ndarray): mel matri... | 0 |
{'name': 'clear_message@mail_panel/views.py', 'description': 'Clears a message from the cache', 'signature': 'def clear_message(request, message_id):'}</s>{'name': 'clear_all_messages@mail_panel/views.py', 'description': 'Clears all message from the cache', 'code': 'def clear_all_messages(request):\n """\n Clears... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQPROP_COMPATIBILITY = 0 | 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': 'About.dump_lic@src/attributecode/model.py', 'description': 'Write LICENSE files and return the a list of key, name, context and the url\nas these information are needed for the ABOUT file', 'signature': 'def dump_lic(self, location, license_dict):'}</s>{'name': 'UrlListField@src/attributecode/model.py', 'desc... | 0 |
{'name': 'Command.__is_valid_value_for_arg@sievelib/commands.py', 'description': 'Check if value is allowed for arg\n\nSome commands only allow a limited set of values. The method\nalways returns True for methods that do not provide such a\nset.\n\n:param arg: the argument\n:param value: the value to check\n:param chec... | 0 |
{'name': 'test_minimal_data@tests/builder/builder_test.py', 'description': 'Test the minimal data that must be provided to generate UFOs, and in\nsome cases that additional redundant data is not set.', 'signature': 'def test_minimal_data(ufo_module):'}</s>{'name': 'test_mark_nonspacing_zero_width@tests/builder/builder_... | 0 |
{'name': 'get_random_vector@articles/inversion.py', 'description': "Return a random vector with a maximum length of 'max_step'.", 'signature': 'def get_random_vector(max_step):'}</s>{'name': 'is_close_in_R3@articles/inversion.py', 'description': 'Check if two points are close in R^3.', 'code': 'def is_close_in_R3(p1, p... | 0 |
{'name': 'ModelMeta.build_absolute_uri@meta/models.py', 'description': 'Return the full url for the provided url argument', 'signature': 'def build_absolute_uri(self, url):'}</s>{'name': 'ModelMeta@meta/models.py', 'description': 'Meta information mixin.', 'base_classes': ['FullUrlMixin'], 'methods': [{'name': 'ModelMe... | 1 |
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes... | 0 |
{'name': 'run@pretf/pretf/cli.py', 'description': 'This is the pretf CLI tool entrypoint.', 'signature': 'def run() -> Union[CompletedProcess, int]:'}</s>{'name': 'require_files@pretf/pretf/workflow.py', 'description': 'Raises an exception if the specified files are not found in the current\ndirectory. Pretf will catch... | 0 |
{'name': 'sum_string@pytils/numeral.py', 'description': "Get sum in words\n\n@param amount: amount of objects\n@type amount: C{integer types}\n\n@param gender: gender of object (MALE, FEMALE or NEUTER)\n@type gender: C{int}\n\n@param items: variants of object in three forms:\n for one object, for two objects and for... | 1 |
{'name': 'Client.get_1k_tournaments@clashroyale/royaleapi/client.py', 'description': 'Get a list of tournaments that have at least 1000\nmax players\n\n\\*\\*open: Optional[int] = 0\n Set to 1 to filter tournaments that are\n open\n\\*\\*full: Optional[int] = 0\n Set to 1 to filter tournaments that are\n fu... | 0 |
{'name': 'Receipt.formatted_number@django_afip/models.py', 'description': "This receipt's number in the usual format: ``0001-00003087``.", 'signature': 'def formatted_number(self) -> str | None:'}</s>{'name': 'default_generated@django_afip/models.py', 'description': 'The default generated date for new tickets.', 'code'... | 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': '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': 'SetAdd@src/api/python/z3/z3.py', 'de... | 0 |
{'name': 'from_si@wntr/epanet/util.py', 'description': "Convert an EPANET parameter from SI standard units back to internal units.\n\n.. note:: \n\n See the `Units <../units.html>`__ page for details on the units for each :class:`~HydParam` or :class:`~QualParam`.\n Other than for flows, most parameters only have... | 0 |
{'name': 'get_post_selection_dict@discopy/quantum/pennylane.py', 'description': 'Return post-selections based on qubit indices.\n\nParameters\n----------\ntk_circ : :class:`discopy.quantum.tk.Circuit`\n The pytket circuit to extract the post-selections from.\n\nReturns\n-------\ndict of int: int\n A mapping from ... | 0 |
{'name': '_remove_absolute_rpaths@delocate/tools.py', 'description': 'Remove absolute filename rpaths in `filename`.\n\nParameters\n----------\nfilename : str\n filename of library\nad_hoc_sign : {True, False}, optional\n If True, sign file with ad-hoc signature', 'signature': 'def _remove_absolute_rpaths(filenam... | 0 |
{'name': 'processPEreads@amptk/process_illumina_folder.py', 'description': 'function for multiprocessing of the data, so take file list as input, need global forward/reverse list available', 'signature': 'def processPEreads(input, args=False):'}</s>{'name': 'checkRversion@amptk/amptklib.py', 'description': 'DOCSTRING',... | 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>MQRC_SSL_INITIALIZATION_ERROR = 2393 | 0 |
{'name': 'User.christmas_mode@src/astrobotany/models.py', 'description': 'Return if the user is in "christmas" mode.\n\nCache the results because this is a relatively expensive query that\nwill be checked multiple times per request.', 'signature': 'def christmas_mode(self) -> bool:'}</s>badge_252 = Badge("person rowing... | 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': 'MakeGamma... | 0 |
{'name': 'predict_main@text_classification/inference.py', 'description': '预测主入口 ', 'signature': 'def predict_main(test_file, out_path):'}</s>filter = "./??;。(())【】{}[]!!,,<>《》+" | 1 |
{'name': 'xlsx2html@xlsx2html/core.py', 'description': ':param filepath: the path to open or a file-like object\n:type filepath: string or a file-like object open in binary mode c.f., :class:`zipfile.ZipFile`\n:param output: the path to open or a file-like object\n:param locale: string or a file-like object open in bin... | 0 |
{'name': 'parse_binary_acl@msldap/external/bloodhoundpy/acls.py', 'description': 'Main ACL structure parse function.\nThis is offloaded to subprocesses and takes the current entry and the\nacl data as argument. This is then returned and processed back in the main process', 'signature': 'def parse_binary_acl(dn, entry, ... | 1 |
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>figure = dvz.dvz_figure | 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_NOP10 = CScriptOp(0xb9) | 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': 'EgoMap.convert_to_pointcloud@soundspaces/tasks/nav.py', 'description': 'Inputs:\n depth = (H, W, 1) numpy array\nReturns:\n xyz_camera = (N, 3) numpy array for (X, Y, Z) in egocentric world coordinates', 'signature': 'def convert_to_pointcloud(self, depth):'}</s>{'name': 'Category@soundspaces/tasks/nav.... | 0 |
{'name': 'vae_pop@util.py', 'description': 'Assume that the vae uses an isotropic Gaussian for its prior and diagonal\nGaussian for its posterior.', 'signature': 'def vae_pop('}</s>{'name': 'categoricals_pop@util.py', 'description': 'Assume that the last dim of probs contains the probability vectors,\ni.e. np.sum(probs... | 0 |
{'name': 'GenericMeta.__new__@vendor/typing.py', 'description': 'Create a new generic class. GenericMeta.__new__ accepts\nkeyword arguments that are used for internal bookkeeping, therefore\nan override should pass unused keyword arguments to super().', 'signature': 'def __new__(cls, name, bases, namespace,'}</s>{'name... | 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': 'test_1@mord/tests/test_fit.py', 'description': 'Test two model in overfit mode', 'signature': 'def test_1():'}</s>n_samples = 100 | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQPL_NSK = 13 | 0 |
{'name': 'Mask.apply@flask_restx/mask.py', 'description': 'Apply a fields mask to the data.\n\n:param data: The data or model to apply mask on\n:raises MaskError: when unable to apply the mask', 'signature': 'def apply(self, data):'}</s>{'name': 'ParseError@flask_restx/mask.py', 'description': 'Raised when the mask par... | 0 |
{'name': 'RstToPdf.createPdf@rst2pdf/createpdf.py', 'description': "Create a PDF from text (ReST input),\nor doctree (docutil nodes) and save it in outfile.\n\nIf outfile is a string, it's a filename.\nIf it's something with a write method, (like a StringIO,\nor a file object), the data is saved there.", 'signature': '... | 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.\... | 0 |
{'name': 'profile@src/utils/logger.py', 'description': 'Usage:\n@profile("my_func")\ndef my_func(): code', 'signature': 'def profile(n):'}</s>WARN = 30 | 0 |
{'name': 'HTTPConnectionPool._make_request@Retired Content/MimeCast/SumoLogic-Mimecast-Data-Collection/requests/packages/urllib3/connectionpool.py', 'description': 'Perform a request on a given urllib connection object taken from our\npool.\n\n:param conn:\n a connection from one of our connection pools\n\n:param ti... | 0 |
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>_user_prop_decide = Z3_decide_eh(user_prop_decide) | 0 |
{'name': 'MessageSetItemEncoder@python/google/protobuf/internal/encoder.py', 'description': 'Encoder for extensions of MessageSet.\n\nThe message set message looks like this:\n message MessageSet {\n repeated group Item = 1 {\n required int32 type_id = 2;\n required string message = 3;\n }\n }', 'sign... | 0 |
{'name': 'init_tables@reedsolo.py', 'description': "Precompute the logarithm and anti-log tables for faster computation later, using the provided primitive polynomial.\nThese tables are used for multiplication/division since addition/substraction are simple XOR operations inside GF of characteristic 2.\nThe basic idea ... | 0 |
{'name': 'typecasted@clashroyale/official_api/utils.py', 'description': 'Decorator that converts arguments via annotations.', 'signature': 'def typecasted(func):'}</s>{'name': 'crtag@clashroyale/official_api/utils.py', 'description': 'DOCSTRING', 'code': "def crtag(tag):\n tag = tag.strip('#').upper().replace('O', '... | 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': 'CheckStyle@third_party/cpplint/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.... | 0 |
{'name': 'register_captcha@小红书/shumei_slide.py', 'description': '注册验证码', 'signature': 'def register_captcha(organization):'}</s>{'name': 'test@小红书/shumei_slide.py', 'description': 'DOCSTRING', 'code': "def test():\n # 表示小红书\n organization = 'eR46sBuqF0fdw7KWFLYa'\n\n # rid是验证过程中响应的标示,r是最后提交验证返回的响应\n rid, r ... | 0 |
{'name': 'test_ipv6_local@qa/rpc-tests/test_framework/netutil.py', 'description': 'Check for (local) IPv6 support.', 'signature': 'def test_ipv6_local():'}</s>STATE_CLOSE = "07" | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.