text string | label int64 |
|---|---|
{'name': 'PACT_Linear.forward@nemo/quant/pact.py', 'description': 'Forward-prop function for PACT-quantized linear layer.\n\n:param input: input activations tensor.\n:type input: `torch.Tensor`', 'signature': 'def forward(self, input):'}</s>{'name': 'Precision@nemo/precision.py', 'description': 'DOCSTRING', 'base_clas... | 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': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>{'name': 'py23long@code/pymqi/CMQC.py', 'description': 'DOCSTRING', 'code': 'def py23long(x):\n # this will convert py2\'s int to py2\'s long without need to suffix it with L (which doesn\'t w... | 0 |
{'name': 'Helpfile.WriteRow@vimdoc/output.py', 'description': 'Writes a horizontal divider row.', 'signature': 'def WriteRow(self):'}</s>{'name': 'DuplicateBackmatter@vimdoc/error.py', 'description': 'DOCSTRING', 'base_classes': ['BadStructure'], 'methods': [{'name': 'DuplicateBackmatter.__init__@vimdoc/error.py', 'des... | 0 |
{'name': 'CheckForNonConstReference@third_party/cpplint/cpplint.py', 'description': 'Check for non-const references.\n\nSeparate from CheckLanguage since it scans backwards from current\nline, instead of scanning forward.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance conta... | 0 |
{'name': 'qald_run@utils/data_preparation_rdf_type.py', 'description': "'\n\nIf the query contains only rdf constraint and no other triple, it will push the rdf type to the\nconstraint candidate and there will be no positive or negative path in the query.\n\n'path_id': [u'+25212']", 'signature': 'def qald_run(test = T... | 0 |
{'name': 'p_member_declarator@ctypesgen/parser/cgrammar.py', 'description': 'member_declarator : declarator gcc_attributes\n| COLON constant_expression gcc_attributes\n| declarator COLON constant_expression gcc_attributes', 'signature': 'def p_member_declarator(p):'}</s>{'name': 'p_direct_abstract_declarator@ctypesgen/... | 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': '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>FORMAT_R32G32B32_SINT = 105 | 0 |
{'name': 'readMPS@pulp/mps_lp.py', 'description': 'adapted from Julian Märte (https://github.com/pchtsp/pysmps)\nreturns a dictionary with the contents of the model.\nThis dictionary can be used to generate an LpProblem\n\n:param path: path of mps file\n:param sense: 1 for minimize, -1 for maximize\n:param dropConsName... | 1 |
{'name': 'TestReadMemCString.test_read_memory_c_string@llvm-project/lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py', 'description': 'Test corner case behavior of SBProcess::ReadCStringFromMemory', 'signature': 'def test_read_memory_c_string(self):'}</s>{'name': 'expectedFlakeyAndroid@llvm-proje... | 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': 'CARFACCell.__init__@python/tf/carfac.py', 'description': 'Initializes a CAR cell.\n\nArgs:\n car_params: CARParams defining the CAR step of this cell.\n ihc_params: IHCParams defining the IHC step of this cell.\n agc_params: AGCParams defining the AGC step of this cell.\n num_ears: Number of simulated ear... | 1 |
{'name': 'NodeList.init@shingetsu/node.py', 'description': 'Connect initial node.', 'signature': 'def init(self):'}</s>archive_dir = _get_value(_extconf, 'Path', 'archive_dir',
'/var/local/www/archive', 'path') | 0 |
{'name': 'build_rpn_targets@driving/maskModel.py', 'description': 'Given the anchors and GT boxes, compute overlaps and identify positive\nanchors and deltas to refine them to match their corresponding GT boxes.\n\nanchors: [num_anchors, (y1, x1, y2, x2)]\ngt_class_ids: [num_gt_boxes] Integer class IDs.\ngt_boxes: [num... | 0 |
{'name': 'cyvcf2@cyvcf2/cli.py', 'description': 'fast vcf parsing with cython + htslib', 'signature': 'def cyvcf2(context, vcf, include, exclude, chrom, start, end, loglevel, silent,'}</s>{'name': 'print_header@cyvcf2/cli.py', 'description': 'Print the header of a vcf obj\n\nParameters\n----------\nvcf_obj: cyvcf2.VCF\... | 1 |
{'name': 'TokenList.get_parent_name@libs/sqlparse/sql.py', 'description': 'Return name of the parent object if any.\n\nA parent object is identified by the first occurring dot.', 'signature': 'def get_parent_name(self):'}</s>Comment = Token.Comment | 0 |
{'name': 'BareValidator._validate_items@cerberus/validator.py', 'description': "{'type': 'list', 'check_with': 'items'}", 'signature': 'def _validate_items(self, items, field, values):'}</s>BAD_TYPE = ErrorDefinition(0x24, 'type') | 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': 'FrameRecord.get_link_urls@disdat/hyperframe.py', 'description': 'Assuming a link FrameRecord, return all the URLs in the frame\n\nReturns:\n (:list:str): An ordered set of link URLs', 'signature': 'def get_link_urls(self):'}</s>{'name': 'detect_s3_fs_path@disdat/hyperframe.py', 'description': 'Given a ser... | 0 |
{'name': 'readCpio@fwtool/archive/cpio.py', 'description': 'Unpacks a cpio archive and returns the contained files', 'signature': 'def readCpio(file):'}</s>{'name': '_findType@fwtool/archive/__init__.py', 'description': 'DOCSTRING', 'code': 'def _findType(data):\n types = [\n (axfs.isAxfs, axfs.readAxfs),\n (cpio.isC... | 0 |
{'name': 'Printer.__init__@tools/hadb.py', 'description': 'Initialize printer.', 'signature': 'def __init__('}</s>{'name': 'NameValueExpr@tools/hadb.py', 'description': 'Name/value expression.', 'base_classes': [], 'methods': [{'name': 'NameValueExpr.__init__@tools/hadb.py', 'description': 'Initialize.', 'code': 'def _... | 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': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools subclasses used by Versioneer.\n\nIf the package uses a different cmdclass (e.g. one from numpy), it\nshould be provide as an argument.', 'signature': 'def get_cmdclass(cmdclass=None):'}</s>{'name': 'NotThisMethod@versioneer.py', 'descript... | 0 |
{'name': 'Response.iter_content@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/requests/models.py', 'description': 'Iterates over the response data. When stream=True is set on the\nrequest, this avoids reading the content at once into memory for\nlarge responses. The chunk size is the number of bytes it shou... | 0 |
{'name': 'gpt2_345m@kogpt2/model/gpt.py', 'description': "Generic GPT-2 model.\n\nThe number of layers (L) is 24, number of units (H) is 1024, and the\nnumber of self-attention heads (A) is 24.\n\nParameters\n----------\ndataset_name : str or None, default None\n If not None, the dataset name is used to load a vocab... | 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 |
{'name': 'get_means_and_ci@scripts/plot_obj.py', 'description': 'Returns means and CI np arrays\nargs:\n values: dict of trials by variant, each value a list of trial data\n window_size: window smoothing of trials\nreturns:\n mean and CI dict, keyed by same variants', 'signature': 'def get_means_and_ci(values,... | 0 |
{'name': 'PacketFilter.kill_states@pf/filter.py', 'description': 'Clear states matching the specified arguments.\n\nStates can be specified by address family, layer-4 protocol, source and\ndestination addresses, interface name, label and routing domain. Return\nthe number of killed states.', 'signature': 'def kill_stat... | 0 |
{'name': 'ExtractResult.registered_domain@SneakerBot 2019/venv/lib/python3.7/site-packages/tldextract/tldextract.py', 'description': "Joins the domain and suffix fields with a dot, if they're both set.\n\n>>> extract('http://forums.bbc.co.uk').registered_domain\n'bbc.co.uk'\n>>> extract('http://localhost:8080').registe... | 0 |
{'name': 'TestRequestViewerHook.test_deal_with_pecan_configs@pecan/tests/test_hooks.py', 'description': 'If config comes from pecan.conf convert it to dict', 'signature': 'def test_deal_with_pecan_configs(self):'}</s>{'name': 'TestRestControllerWithHooks@pecan/tests/test_hooks.py', 'description': 'DOCSTRING', 'base_cla... | 0 |
{'name': 'authenticate@src/server/server.py', 'description': 'Sends a 401 response that enables basic auth.', 'signature': 'def authenticate():'}</s>{'name': 'on_list_backups@src/server/server.py', 'description': 'List database files in db_bkp', 'code': 'def on_list_backups(*args):\n \'\'\'List database files in db_... | 0 |
{'name': 'RIPPER._grow_ruleset_cn@build/lib/wittgenstein/ripper.py', 'description': 'Grow a Ruleset with pruning.', 'signature': 'def _grow_ruleset_cn('}</s>{'name': 'neg@wittgenstein/base_functions.py', 'description': 'Return subset of instances that are labeled negative.', 'code': 'def neg(df, class_feat, pos_class):... | 0 |
{'name': 'loadSwagger@apim-traffic-tool/lib/traffic-tool/src/python/multi_tenant_create_scenario.py', 'description': 'This function will load and set the swagger definitions for APIs\n:return: None', 'signature': 'def loadSwagger():'}</s>log_file = abs_path + '/../../../../../logs/attack-tool.log' | 0 |
{'name': 'make_SEP_catalog@grizli/prep.py', 'description': "Make a catalog from drizzle products using the SEP implementation of SourceExtractor\n\nParameters\n----------\nroot : str\n Rootname of the FITS images to use for source extraction. This\n function is designed to work with the single-image products fro... | 0 |
{'name': 'DebuggerAPI.do_resume_packet_in@tools/p4dbg.py', 'description': 'Start accepting packets into the switch again (undoes stop_packet_in)', 'signature': 'def do_resume_packet_in(self, line):'}</s>{'name': 'Msg_FieldValue@tools/p4dbg.py', 'description': 'DOCSTRING', 'base_classes': ['EventMsg'], 'methods': []} | 0 |
{'name': 'register_cmap@src/cmasher/utils.py', 'description': "Creates a :obj:`~matplotlib.colors.ListedColormap` object using the\nprovided `name` and `data`, and registers the colormap in the\n:mod:`cmasher.cm` and :mod:`matplotlib.cm` modules.\nA reversed version of the colormap will be registered as well.\n\nParame... | 1 |
{'name': 'do_setup@versioneer.py', 'description': 'Main VCS-independent setup function for installing Versioneer.', 'signature': 'def do_setup():'}</s>{'name': 'render_pep440_post@versioneer.py', 'description': 'TAG[.postDISTANCE[.dev0]+gHEX] .\n\nThe ".dev0" means dirty. Note that .dev0 sorts backwards\n(a dirty tree ... | 0 |
{'name': 'error@paver/easy.py', 'description': 'Displays an error message to the user.', 'signature': 'def error(message, *args):'}</s>{'name': 'path@paver/path.py', 'description': 'DOCSTRING', 'base_classes': ['_orig_path'], 'methods': [{'name': 'path.chdir@paver/path.py', 'description': 'DOCSTRING', 'code': 'def chdi... | 0 |
{'name': 'cleanup_properties@skosify/skosify.py', 'description': 'Remove unnecessary property definitions.\n\nRemoves SKOS and DC property definitions and definitions of unused\nproperties.', 'signature': 'def cleanup_properties(rdf):'}</s>{'name': 'enrich_relations@skosify/skosify.py', 'description': 'Enrich the SKOS ... | 0 |
{'name': 'IUSequence.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this sequence as a dict', 'signature': 'def as_dict(self, extended=False, sqr: IUSequenceRun = None) -> OrderedDict:'}</s>{'name': 'IULogger@custom_components/irrigation_unlimited/irrigation_unlimited.py... | 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': 'ProcessLine@tools/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 wi... | 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': 'createCG@gcd/gcd_main.py', 'description': 'Creates a CompositeGate cgate with a series of instructions controlled\nby ClassicalRegister anc_cl holding the value num. \nParameters:\ncirc: QuantumCircuit\nargs: List containing (Register, index) pairs that the CompositeGate\n will affect.\nreg, reg2, reg3, ... | 0 |
{'name': 'getSegmentation@DigiPathAI/new_Segmentation.py', 'description': "Saves the prediction at the same location as the input image\nargs:\n img_path: WSI tiff image path (str)\n patch_size: patch size for inference (int)\n stride_size: stride to skip during segmentation (int)\n batch_size: batch_size d... | 0 |
{'name': 'matchPreviousLiteral@scripts/pdns/lib/python2.7/site-packages/pip/_vendor/pyparsing.py', 'description': 'Helper to define an expression that is indirectly defined from\nthe tokens matched in a previous expression, that is, it looks\nfor a \'repeat\' of a previous expression. For example::\n first = Word(n... | 0 |
{'name': 'Client.client_id@mqttools/client.py', 'description': 'The client identifier string.\n\n ', 'signature': 'def client_id(self):'}</s>{'name': 'DisconnectReasonCode@mqttools/common.py', 'description': 'DOCSTRING', 'base_classes': ['enum.IntEnum'], 'methods': []} | 0 |
{'name': 'prepare_structure@kinoml/modeling/OEModeling.py', 'description': 'Prepare an OpenEye molecule holding a protein ligand complex for docking.\n\nParameters\n----------\nstructure: oechem.OEMolBase\n An OpenEye molecule holding a structure with protein and optionally a ligand.\nhas_ligand: bool\n If struct... | 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': 'save_cmd_orig@src/python_scripts/afnipy/lib_physio_logs.py', 'description': 'Write out input cmd output dir.', 'signature': 'def save_cmd_orig(retobj, verb=1):'}</s>opt = "start_time" | 1 |
{'name': 'process_line@scripts/pdns/lib/python2.7/site-packages/pip/req/req_file.py', 'description': 'Process a single requirements line; This can result in creating/yielding\nrequirements, or updating the finder.\n\nFor lines that contain requirements, the only options that have an effect\nare from SUPPORTED_OPTIONS_R... | 1 |
{'name': 'check_hierarchy@skosify/skosify.py', 'description': 'Check for, and optionally fix, problems in the skos:broader hierarchy\nusing a recursive depth first search algorithm.\n\n:param Graph rdf: An rdflib.graph.Graph object.\n:param bool fix_cycles: Break cycles.\n:param bool fix_disjoint_relations: Remoe skos:... | 0 |
{'name': '_determine_arch_and_proj@s2e_env/commands/new_project.py', 'description': "Check that the given target is supported by S2E.\n\nThe target's magic is checked to see if it is a supported file type (e.g.\nELF, PE, etc.). The architecture and operating system that the target was\ncompiled for (e.g., i386 Windows,... | 1 |
{'name': 'config_file@test/conftest.py', 'description': 'Prepares Bioconda config.yaml', 'signature': 'def config_file(tmpdir: py.path.local, case):'}</s>{'name': 'pytest_runtest_makereport@test/conftest.py', 'description': 'DOCSTRING', 'code': 'def pytest_runtest_makereport(item, call):\n if "successive" in item.ke... | 0 |
{'name': 'RuntimeAPI.do_table_add@tools/runtime_CLI.py', 'description': 'Add entry to a match table: table_add <table name> <action name> <match fields> => <action parameters> [priority]', 'signature': 'def do_table_add(self, line):'}</s>{'name': 'enum@tools/runtime_CLI.py', 'description': 'DOCSTRING', 'code': "def enu... | 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>MQCFH_STRUC_LENGTH = 36 | 0 |
{'name': 'findpeaks.preprocessing@findpeaks/findpeaks.py', 'description': 'Preprocessing steps of the 2D array (image).\n\nThe pre-processing has 4 (optional) steps.\n 1. Resizing (to reduce computation time).\n 2. Scaling color pixels between [0-255].\n 3. Conversion to gray-scale. This is required for some a... | 0 |
{'name': 'update_price_figure@dash-stock-pricing/app.py', 'description': 'Create a plot of stock prices\n\nArgs:\n tickers: ticker symbols from the dropdown select\n price: the radio button price selection\nReturns:\n a graph `figure` dict containing the specificed\n price data points per stock', 'signature... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCO_IMMEDIATE = 0 | 0 |
{'name': 'TestParseTagInput.test_tags_with_double_quotes_can_contain_commas@tagging/tests/tests.py', 'description': 'Double quotes can contain commas ', 'signature': 'def test_tags_with_double_quotes_can_contain_commas(self):'}</s>{'name': 'Link@tagging/tests/models.py', 'description': 'DOCSTRING', 'base_classes': ['mo... | 0 |
{'name': 'RIPPER._optimize_ruleset_cn@build/lib/wittgenstein/ripper.py', 'description': 'Optimization phase.', 'signature': 'def _optimize_ruleset_cn('}</s>{'name': '_convert_to_training_df@wittgenstein/preprocess.py', 'description': 'Make a labeled Xy DataFrame from data.', 'code': 'def _convert_to_training_df(X_or_Xy... | 0 |
{'name': 'NacosClient.list_naming_instance@nacos/client.py', 'description': ':param service_name: 服务名\n:param clusters: 集群名称 字符串,多个集群用逗号分隔\n:param namespace_id: 命名空间ID\n:param group_name: 分组名\n:param healthy_only: 是否只返回健康实例 否,默认为false', 'signature': 'def list_namin... | 1 |
{'name': 'User.initialize@src/astrobotany/models.py', 'description': 'Register a new player.', 'signature': 'def initialize(cls, username: str) -> User:'}</s>badge_23 = Badge("raccoon", series=1, number=23, symbol="🦝") | 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': 'IB.reqMktData@ib_insync/ib.py', 'description': 'Subscribe to tick data or request a snapshot.\nReturns the Ticker that holds the market data. The ticker will\ninitially be empty and gradually (after a couple of seconds)\nbe filled.\n\nhttps://interactivebrokers.github.io/tws-api/md_request.html\n\nArgs:\n ... | 0 |
{'name': 'Confidence.to_flashlfq@mokapot/confidence.py', 'description': 'Save confidenct peptides for quantification with FlashLFQ.', 'signature': 'def to_flashlfq(self, out_file="mokapot.flashlfq.txt"):'}</s>{'name': 'TDHistData@mokapot/peps.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'TD... | 0 |
{'name': 'RenderCar._render_pascal@car/render_car.py', 'description': "Parameters\n----------\nmode: string\n ['train', 'valid']\nr1: resize ratio of height to width\n\nReturns\n----------", 'signature': 'def _render_pascal(self, mode, r1=1.0):'}</s>{'name': 'get_iou@yolo_modules/yolo_gluon.py', 'description': 'Parame... | 0 |
{'name': '_BinaryLogisticHeadWithSigmoidCrossEntropyLoss._create_tpu_estimator_spec@07_train/privacy/tensorflow_privacy/privacy/estimators/v1/head.py', 'description': "Returns an `EstimatorSpec`.\n\nArgs:\n features: Input `dict` of `Tensor` or `SparseTensor` objects.\n mode: Estimator's `ModeKeys`.\n logits: logits... | 1 |
{'name': 'Ct.enc@examples/tormedian.py', 'description': 'Produce a ciphertext, from a public key and message ', 'signature': 'def enc(pub, m):'}</s>{'name': 'test_Ct@examples/tormedian.py', 'description': 'DOCSTRING', 'code': 'def test_Ct():\n assert True\n G = EcGroup()\n x = G.order().random()\n y = x * G... | 0 |
{'name': 'ImportErrorTests.test_no_module@didyoumean/didyoumean_sugg_tests.py', 'description': "Should be 'math'.", 'signature': 'def test_no_module(self):'}</s>NOBINDING = (SyntaxError, re.NO_BINDING_NONLOCAL_RE) | 0 |
{'name': 'takePano@source/pi-timolo.py', 'description': 'Take a series of overlapping images using pantilt at specified PANO_CAM_STOPS\nthen attempt to stitch the images into one panoramic image. Note this\nwill take time so depending on number of cpu cores and speed. The PANO_TIMER\nshould be set to avoid multiple sti... | 0 |
{'name': 'OrderFileTestCase.test@llvm-project/lldb/test/API/macosx/order/TestOrderFile.py', 'description': 'Test debug symbols follow the correct order by the order file.', 'signature': 'def test(self):'}</s>{'name': 'print_registers@llvm-project/lldb/packages/Python/lldbsuite/test/lldbutil.py', 'description': 'Prints ... | 0 |
{'name': 'test_root_neighbors_invalid@tests/test_morecantile.py', 'description': 'test neighbors.', 'signature': 'def test_root_neighbors_invalid():'}</s>{'name': 'test_is_power_of_two@tests/test_morecantile.py', 'description': 'is power ot 2?', 'code': 'def test_is_power_of_two():\n """is power ot 2?"""\n assert... | 0 |
{'name': 'ZoneToRegion@deprecated/gcp/R80.40-R81/autoscale-byol/common.py', 'description': 'Derives the region from a zone name.', 'signature': 'def ZoneToRegion(zone):'}</s>{'name': 'OrderedItems@deprecated/gcp/R80.40-R81/autoscale-byol/common.py', 'description': 'Convenient method to yield sorted iteritems of a dicti... | 0 |
{'name': 'fillAvailableBlenderDists@BlendNet/addon.py', 'description': 'Cached blender dists list for the UI interface', 'signature': 'def fillAvailableBlenderDists(scene = None, context = None):'}</s>{'name': 'CopyStringIO@BlendNet/utils.py', 'description': 'Class to store the logs to get them with timestamps later', ... | 0 |
{'name': 'TestingParser.fill_default_tls_stdout_filename@tests/run_all_tests.py', 'description': 'Sets the default TLS stdout filename for testing if it is not already\nspecified.\n\nThis method checks if the `tls_stdout_filename` attribute in the\n`testing_args` object is set. If it is not set, it assigns a default\nv... | 0 |
{'name': 'test_on_order_events@warehouse/tests/integ/test_on_order_events.py', 'description': 'Test if received Order Events create resources in DynamoDB', 'signature': 'def test_on_order_events(order_created, order_modified_products, order_modified_status, table_name, order, metadata, products):'}</s>{'name': 'event_b... | 0 |
{'name': 'add_children@parenting.py', 'description': 'Adds parent-child relationships to sequences\nArguments:\n parent_sequence: VSE Sequence to set as the parent\n child_sequences: List of VSE Sequence objects to set as children', 'signature': 'def add_children(parent_sequence, child_sequences):'}</s>{'name': '... | 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_TRUNCATED_MSG_ACCEPTED = 2079 | 0 |
{'name': 'TestHttpHandler.test_read@papermill/tests/test_iorw.py', 'description': 'Tests that the `read` function performs a request to the giving path\nand returns the response.', 'signature': 'def test_read(self):'}</s>{'name': 'StreamHandler@papermill/iorw.py', 'description': 'Handler for Stdin/Stdout streams', 'bas... | 0 |
{'name': 'compute_ap@yolov3/utils/utils.py', 'description': 'Compute the average precision, given the recall and precision curves.\nSource: https://github.com/rbgirshick/py-faster-rcnn.\n# Arguments\n recall: The recall curve (list).\n precision: The precision curve (list).\n# Returns\n The average precisio... | 0 |
{'name': 'TestRemoveDeclaration.testNotRemoved@src/tests/testXmlEncodingDecode.py', 'description': "Make sure that invalid, or missing, declarations aren't affected.", 'signature': 'def testNotRemoved(self):'}</s>{'name': 'DuplicateEnclosure@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['W... | 0 |
{'name': 'Wrapper.execDetails@ib_insync/wrapper.py', 'description': 'This wrapper handles both live fills and responses to\nreqExecutions.', 'signature': 'def execDetails('}</s>{'name': 'HistoricalNews@ib_insync/objects.py', 'description': 'DOCSTRING', 'base_classes': ['NamedTuple'], 'methods': []} | 0 |
{'name': 'Input.get_fields@verif/input.py', 'description': 'Get the available fields in this input\n\nReturns:\n list(verif.field): The available fields', 'signature': 'def get_fields(self):'}</s>{'name': 'proj4_string_to_dict@verif/util.py', 'description': 'Parse a proj4 string and create a dictionary\n\nArguments:\... | 0 |
{'name': 'TestSubTask.test_save_subtask_no_errors@orderable/tests/test_models.py', 'description': 'Ensure Orderable.save does not raise IntegrityError.', 'signature': 'def test_save_subtask_no_errors(self, sort_orders):'}</s>{'name': 'Task@orderable/tests/models.py', 'description': 'A basic orderable model for tests.',... | 1 |
{'name': 'automodsumm_to_autosummary_lines@sphinx_automodapi/automodsumm.py', 'description': 'Generates lines from a file with an "automodsumm" entry suitable for\nfeeding into "autosummary".\n\nSearches the provided file for `automodsumm` directives and returns\na list of lines specifying the `autosummary` commands fo... | 0 |
{'name': 'ls@heudiconv/heuristics/reproin.py', 'description': 'Additional ls output for a seqinfo', 'signature': 'def ls(_study_session: StudySessionInfo, seqinfo: list[SeqInfo]) -> str:'}</s>{'name': '_apply_substitutions@heudiconv/heuristics/reproin.py', 'description': 'DOCSTRING', 'code': 'def _apply_substitutions(\... | 0 |
{'name': 'Double_DQN_target_func@example/dqn-her.py', 'description': 'Double DQN: https://arxiv.org/abs/1509.06461', 'signature': 'def Double_DQN_target_func(model,target,next_obs,rew,done,gamma,act_shape):'}</s>max_episode_len = 100 | 0 |
{'name': 'nestedExpr@scripts/pdns/lib/python2.7/site-packages/pip/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and closing\ndelimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list (default=C{"("}); can also be a pypa... | 0 |
{'name': 'topology@findpeaks/stats.py', 'description': 'Determine peaks using toplogy method.\n\nDescription\n-----------\nThe idea behind the topology method: Consider the function graph of the function that assigns each pixel its level.\nNow consider a water level that continuously descents to lower levels. At local ... | 1 |
{'name': 'onnx_to_trt_name@shenlan_homework_bert/builder.py', 'description': 'Converting variables in the onnx checkpoint to names corresponding to the naming convention used in the TF version, expected by the builder', 'signature': 'def onnx_to_trt_name(onnx_name):'}</s>{'name': 'load_onnx_weights_and_quant@shenlan_ho... | 0 |
{'name': 'spenders_taproot_active@test/functional/feature_taproot.py', 'description': 'Return a list of Spenders for testing post-Taproot activation behavior.', 'signature': 'def spenders_taproot_active():'}</s>ERR_NO_SUCCESS = {"err_msg": "Script evaluated without error but finished with a false/empty top stack elemen... | 1 |
{'name': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p... | 0 |
{'name': 'ChainstateWriteCrashTest.restart_node@test/functional/feature_dbcrash.py', 'description': 'Start up a given node id, wait for the tip to reach the given block hash, and calculate the utxo hash.\n\nExceptions on startup should indicate node crash (due to -dbcrashratio), in which case we try again. Give up\naft... | 0 |
{'name': '_fit@diffxpy/testing/tests.py', 'description': ':param noise_model: str, noise model to use in model-based unit_test. Possible options:\n\n - \'nb\': default\n:param design_loc: Design matrix of location model.\n:param design_loc: Design matrix of scale model.\n:param constraints_loc: : Constraints for loc... | 0 |
{'name': 'ZiGate._set_device@zigate/core.py', 'description': 'add/update device to cache list', 'signature': 'def _set_device(self, device):'}</s>DETECT_FASTCHANGE = False | 0 |
{'name': 'corrupt_one_client_data@models/utils/main_utils.py', 'description': 'Apply corruption to train data of given client in-place. Note: eval data is unchanged', 'signature': 'def corrupt_one_client_data(dataset, client, corruption):'}</s>AGGR_GEO_MED = "geom_median" | 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': 'bytes_to_unicode@versions/2023/multimodal/python/models/multimodal_preprocessors.py', 'description': "Returns list of utf-8 byte and a corresponding list of unicode strings.\nThe reversible bpe codes work on unicode strings.\nThis means you need a large # of unicode characters in your vocab if you want to avo... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.