text string | label int64 |
|---|---|
{'name': 'test_symbolic_regressor@gplearn/tests/test_examples.py', 'description': 'Check that SymbolicRegressor example works', 'signature': 'def test_symbolic_regressor():'}</s>{'name': 'SymbolicClassifier@gplearn/genetic.py', 'description': 'A Genetic Programming symbolic classifier.\n\nA symbolic classifier is an es... | 0 |
{'name': 'expect_author@tests/radish/steps.py', 'description': 'Then I will find <author>', 'signature': 'def expect_author(step, author):'}</s>{'name': 'execute_instable_function@tests/radish/steps.py', 'description': 'When I execute it', 'code': 'def execute_instable_function(step):\n "When I execute it"\n pass... | 0 |
{'name': 'test_image_upgrade_01010@tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_upgrade.py', 'description': '### Classes and Methods\n- ``ImageUpgrade``\n - ``commit``\n\n### Test\n\n- ``upgrade.nxos`` set to invalid value\n\n### Setup\n\n- ``devices`` is set to a list of one dict for a device t... | 0 |
{'name': 'GlacierDirectory.__init__@oggm/utils/_workflow.py', 'description': "Creates a new directory or opens an existing one.\n\nParameters\n----------\nrgi_entity : a ``geopandas.GeoSeries`` or str\n glacier entity read from the shapefile (or a valid RGI ID if the\n directory exists)\nbase_dir : str\n path ... | 0 |
{'name': 'Logger.level_matches@bootstrap.py', 'description': '>>> l = Logger([])\n>>> l.level_matches(3, 4)\nFalse\n>>> l.level_matches(3, 2)\nTrue\n>>> l.level_matches(slice(None, 3), 3)\nFalse\n>>> l.level_matches(slice(None, 3), 2)\nTrue\n>>> l.level_matches(slice(1, 3), 1)\nTrue\n>>> l.level_matches(slice(2, 3), 1)... | 0 |
{'name': 'link_fixes_to_bugs@gitrisky/gitcmds.py', 'description': 'Link a bugfix commit to the commits which introduced the bug it fixes.\n\nParameters\n----------\nfix_commits: list(str)\n A list of hashes for commits which fix bugs.\n\nReturns\n-------\nbug_commits: list(str)\n A list of hashes for commits whic... | 1 |
{'name': 'Client.add_archive_stream@opentok/opentok.py', 'description': 'This method will add streams to the archive with addStream for new participant(choosing audio, video or both).\n\n:param String archive_id: the ID of the archive that will be updated\n:param String stream_id: the id of the stream that will get add... | 0 |
{'name': 'ResourceManager.lookup@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Search for a resource and return an absolute file path, or `None`.\n\nThe :attr:`path` list is searched in order. The first match is\nreturend. Symlinks are followed. The result is cached to speed up\nfuture lookups. ', 's... | 0 |
{'name': 'test_https_h2_tls_context_configuration_rsa@test/integration/test_integration_basics.py', 'description': 'Test that specifying RSA compatible tls cipher suites works with the h2 pool.', 'signature': 'def test_https_h2_tls_context_configuration_rsa(https_test_server_fixture):'}</s>{'name': 'test_multiple_liste... | 0 |
{'name': 'TestRedisCache.test_distinct@tests/test_cache.py', 'description': 'distinct() returns all unique package names', 'signature': 'def test_distinct(self):'}</s>{'name': 'TestMySQLCache@tests/test_cache.py', 'description': 'Test the SQLAlchemy cache on a MySQL DB', 'base_classes': ['TestSQLiteCache'], 'methods': ... | 0 |
{'name': 'SingleSubjectWindow.CB_line_text@src/python_scripts/afnipy/gui_uber_subj.py', 'description': 'call-back for text updates in the level 3 gbox', 'signature': 'def CB_line_text(self):'}</s>{'name': 'TcshCommandWindow@src/python_scripts/afnipy/lib_qt_gui.py', 'description': 'DOCSTRING', 'base_classes': ['QtGui.QM... | 0 |
{'name': 'GarageOpenerEntityWrapper.device_class@custom_components/meross_cloud/cover.py', 'description': 'Return the class of this device, from component DEVICE_CLASSES.', 'signature': 'def device_class(self):'}</s>HA_COVER = "cover" | 0 |
{'name': 'RuntimeAPI.do_show_tables@tools/runtime_CLI.py', 'description': 'List tables defined in the P4 program: show_tables', 'signature': 'def do_show_tables(self, line):'}</s>ACTION_PROFS = {} | 0 |
{'name': 'transform_relations@skosify/skosify.py', 'description': 'Transform YSO-style concept relations into SKOS equivalents.', 'signature': 'def transform_relations(rdf, relationmap):'}</s>{'name': 'replace_object@skosify/rdftools/modify.py', 'description': 'Replace all occurrences of fromuri as object with touri in... | 0 |
{'name': 'LF_denies_list@trove/contrib/labelers/clinical/polarity.py', 'description': 'Patient denies X,Y,Z. ', 'signature': 'def LF_denies_list(span):'}</s>{'name': 'LF_pseudo_negation_rule_out@trove/contrib/labelers/clinical/polarity.py', 'description': 'DOCSTRING', 'code': "def LF_pseudo_negation_rule_out(span):\n ... | 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': 'apply_flt_dq@grizli/utils.py', 'description': 'Read and apply the compact exposure information file\n\nParameters\n----------\nfilename : str\n FLT/FLC filename.\n\nreplace : (str, str)\n Replace arguments for output DQ filename:\n\n >>> output_filename = filename.replace(replace[0], replace[1])\n\no... | 0 |
{'name': 'get_supported@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_internal/pep425tags.py', 'description': 'Return a list of supported tags for each version specified in\n`versions`.\n\n:param versions: a list of string versions, of the form ["33", "32"],\n or None. The first version will be assumed to support... | 0 |
{'name': 'predict@latent_rationale/beer/predict.py', 'description': 'Make predictions with a saved model.', 'signature': 'def predict():'}</s>{'name': 'beer_annotations_reader@latent_rationale/beer/util.py', 'description': 'Reads in Beer annotations from json\n:param path:\n:param aspect: which aspect to evaluate\n:ret... | 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': 'response_ok@consulate/utils.py', 'description': 'Evaluate the HTTP response and raise the appropriate exception if\nrequired.\n\n:param requests.response response: The HTTP response\n:param bool raise_on_404: Raise an exception on 404 error\n:rtype: bool\n:raises: consulate.exceptions.ConsulateException', 'si... | 0 |
{'name': '_validate_units_consistency_v2@unyt/_array_functions.py', 'description': 'raise UnitInconsistencyError if units are mixed\nif all args are pure numbers, they are treated as having ref_units,\notherwise they are treated as dimensionless', 'signature': 'def _validate_units_consistency_v2(ref_units, *args) -> No... | 0 |
{'name': 'get_permission_owners_query@protector/internals.py', 'description': "This functions generate SQL statement for selecting groups and perms.\nSadly, Django doesn't support join in ORM\nShould not select users that hasn't got any role\nShould select perms that assigned to any role", 'signature': 'def get_permiss... | 0 |
{'name': 'remove_slug@pages/phttp.py', 'description': "Return the remainin part of the path\n\n >>> remove_slug('/test/some/function/')\n test/some", 'signature': 'def remove_slug(path):'}</s>{'name': '_default_tagging_field@pages/settings.py', 'description': 'DOCSTRING', 'code': 'def _default_tagging_field():\n ... | 0 |
{'name': 'Type.of_type@pygraphy/introspection.py', 'description': 'NON_NULL and LIST only', 'signature': "def of_type(self) -> Optional['Type']:"}</s>{'name': 'InputValue@pygraphy/introspection.py', 'description': 'DOCSTRING', 'base_classes': ['Object'], 'methods': [{'name': 'InputValue.name@pygraphy/introspection.py',... | 0 |
{'name': 'GlyphsBuilder._fake_designspace@Lib/glyphsLib/builder/builders.py', 'description': 'Build a fake designspace with the given UFOs as sources, so that all\nbuilder functions can rely on the presence of a designspace.', 'signature': 'def _fake_designspace(self, ufos):'}</s>Glyphs = GSApplication() | 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_SHA1 = CScriptOp(0xa7) | 0 |
{'name': 'test_validate_program@gplearn/tests/test_genetic.py', 'description': 'Check that valid programs are accepted & invalid ones raise error', 'signature': 'def test_validate_program():'}</s>{'name': 'test_gridsearch@gplearn/tests/test_genetic.py', 'description': 'Check that SymbolicRegressor can be grid-searched'... | 0 |
{'name': 'TLP.get_size@fpga/lib/pcie/tb/pcie.py', 'description': 'Return size of TLP in bytes', 'signature': 'def get_size(self):'}</s>{'name': 'highlight@fpga/lib/pcie/tb/pcie.py', 'description': 'DOCSTRING', 'code': 'def highlight(s):\n return "\\033[32m%s\\033[0m" % s'} | 0 |
{'name': 'Architecture.__get_register@gef.py', 'description': "Return a register's value.", 'signature': 'def __get_register(self, regname: str) -> int:'}</s>{'name': 'ChangePermissionBreakpoint@gef.py', 'description': 'When hit, this temporary breakpoint will restore the original code, and position\n$pc correctly.', '... | 0 |
{'name': 'FillInf.transform@lightautoml/transformers/numeric.py', 'description': 'Replace inf to nan.\n\nArgs:\n dataset: Pandas or Numpy dataset of categorical features.\n\nReturns:\n Numpy dataset with encoded labels.', 'signature': 'def transform(self, dataset: NumpyTransformable) -> NumpyDataset:'}</s>{'name'... | 0 |
{'name': 'ProcessLine@runtimes/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each represe... | 0 |
{'name': '_create_ssl_context_no_verify@icesat2_toolkit/utilities.py', 'description': 'Creates an SSL context for unverified connections\n ', 'signature': 'def _create_ssl_context_no_verify() -> ssl.SSLContext:'}</s>{'name': 'nsidc_list@icesat2_toolkit/utilities.py', 'description': "List a directory on NSIDC\n\nPara... | 0 |
{'name': 'get_single_news@Chapter12/NewsOrchestrator/views.py', 'description': 'Get single user details', 'signature': 'def get_single_news(news_type, news_id):'}</s>{'name': 'rpc_get_all_news@Chapter12/NewsOrchestrator/views.py', 'description': 'DOCSTRING', 'code': "def rpc_get_all_news(news_type, num_page, limit):\n ... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCOMPRESS_ZLIBHIGH = 4 | 0 |
{'name': 'TestHighWatermark.test_partial_munmap@tests/integration/test_tracking.py', 'description': "Partial munmap operations should be accurately tracked: we should\nonly account for the removal of the actually munmap'd chunk and not\nthe entire mmap'd region when a partial munmap is performed.", 'signature': 'def te... | 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': 'showBox@source/pi-timolo.py', 'description': 'Show stream image detection area on image to align camera\nThis is a quick fix for restricting motion detection\nto a portion of the final image. Change the stream image size\non line 206 and 207 above\nAdjust track config.py file MOTION_TRACK_TRIG_LEN as required... | 0 |
{'name': 'set_jwst_to_hst_keywords@grizli/jwst_utils.py', 'description': 'Make primary header look like an HST instrument\n\nParameters\n----------\ninput : str, `~astropy.io.fits.HDUList`\n Filename or FITS HDUList object to modify.\n\nreset : bool\n Reset original JWST keywords to their original values.\n\nverb... | 0 |
{'name': 'onion_redirect@ahmia/views.py', 'description': 'Add clicked information and redirect to .onion address.', 'signature': 'def onion_redirect(request):'}</s>{'name': 'remove_non_ascii@ahmia/views.py', 'description': 'Remove non-ASCI characters ', 'code': 'def remove_non_ascii(text):\n """ Remove non-ASCI char... | 0 |
{'name': 'DetectionNetwork.build_loss@libs/networks/build_whole_network.py', 'description': ':param rpn_box_pred: [-1, 4]\n:param rpn_bbox_targets: [-1, 4]\n:param rpn_cls_score: [-1]\n:param rpn_labels: [-1]\n:param bbox_pred: [-1, 4*(cls_num+1)]\n:param bbox_targets: [-1, 4*(cls_num+1)]\n:param cls_score: [-1, cls_nu... | 0 |
{'name': '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': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCNO_ACCOUNTING_MQI_DISABLED = 8192 | 0 |
{'name': 'cmr_readable_granules@icesat2_toolkit/utilities.py', 'description': 'Create list of readable granule names for CMR queries\n\nParameters\n----------\nproduct: str\n ICESat-2 data product\ncycles: str, list or NoneType, default None\n 91-day orbital cycle strings to query\ntracks: str, list or NoneType, ... | 0 |
{'name': 'post_processor@automated_logging/signals/m2m.py', 'description': 'if the change is in reverse or not, the processing of the changes is still\nthe same, so we have this method to take care of constructing the changes\n:param sender:\n:param instance:\n:param model:\n:param operation:\n:param targets:\n:return:... | 0 |
{'name': 'Flask.run@SneakerBot 2019/venv/lib/python3.7/site-packages/flask/app.py', 'description': "Runs the application on a local development server.\n\nDo not use ``run()`` in a production setting. It is not intended to\nmeet security and performance requirements for a production server.\nInstead, see :ref:`deployme... | 0 |
{'name': 'document@llvm-12.0.0-project/clang/tools/scan-build-py/libscanbuild/report.py', 'description': 'Generates cover report and returns the number of bugs/crashes. ', 'signature': 'def document(args):'}</s>{'name': 'prettify_bug@llvm-12.0.0-project/clang/tools/scan-build-py/libscanbuild/report.py', 'description': ... | 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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQFMT_CICS_ARRAY = [b"M", b"Q", b"C", b"I", b"C", b"S", b" ", b" "] | 0 |
{'name': 'Client.login_via_device_flow@SalesforcePy/sfdc.py', 'description': 'Performs OAuth device flow end-to-end and returns final authentication response if successful. Raises `SFDCRequestException` otherwise.\n\n:param: **kwargs: kwargs\n:type: **kwargs: dict\n:return: Authentication response\n:rtype: (dict, devic... | 0 |
{'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': 'test_single_build_pkg_dir@test/test_utils.py', 'description': 'Builds the "one" recipe with pkg_dir.', 'signature': 'def test_single_build_pkg_dir(recipes_fixture):'}</s>{'name': 'do_not_consider_for_additional_platform@bioconda_utils/build.py', 'description': "Given a recipe, check this recipe should skip in... | 0 |
{'name': 'normalize_prevalence@quapy/functional.py', 'description': "Normalizes a vector or matrix of prevalence values. The normalization consists of applying a L1 normalization in\ncases in which the prevalence values are not all-zeros, and to convert the prevalence values into `1/n_classes` in\ncases in which all va... | 0 |
{'name': 'GenerateOutput@gyp/pylib/gyp/generator/msvs.py', 'description': "Generate .sln and .vcproj files.\n\nThis is the entry point for this generator.\nArguments:\n target_list: List of target pairs: 'base/base.gyp:base'.\n target_dicts: Dict of target properties keyed on target pair.\n data: Dictionary containi... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQ_ACCOUNTING_TOKEN_LENGTH = 32 | 0 |
{'name': 'PModel.mlp@src/fitly/api/spotifyAPI.py', 'description': 'Implements Multilayer Perceptron (Neural Net) algorithm', 'signature': 'def mlp(self):'}</s>parser = Parser(queue=q) | 0 |
{'name': 'add_sections@bin/docs/build_standalone_md.py', 'description': 'Add a new section to a markdown documentation, using a list of files to concatenate', 'signature': 'def add_sections(doc: MarkdownDoc, title: str | None, files: [str]):'}</s>{'name': 'rewrite_links@bin/docs/build_standalone_md.py', 'description': ... | 1 |
{'name': 'Resize.__call__@src/Pix2Pix/Pix2Pix.py', 'description': 'Parameters: \n sample: Dictionary containing image and label', 'signature': 'def __call__(self, sample):'}</s>img_sz = 256 | 0 |
{'name': 'JupyterWidget.set_default_style@qtconsole/jupyter_widget.py', 'description': 'Sets the widget style to the class defaults.\n\nParameters\n----------\ncolors : str, optional (default lightbg)\n Whether to use the default light background or dark\n background or B&W style.', 'signature': "def set_default_... | 0 |
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>pf_ops = {
"": PF_OP_NONE,
"><": PF_OP_IRG,
"<>": PF_OP_XRG,
"=": PF_OP_EQ,
"!=": PF_OP_NE,
"<": PF_OP_LT,
"<=": PF_OP_LE,
">": PF_OP_... | 0 |
{'name': 'LogisticRegressionGD.activation@Chapter03/ch03.py', 'description': 'Compute logistic sigmoid activation', 'signature': 'def activation(self, z):'}</s>svm = SVC(kernel='linear', C=1.0, random_state=1) | 0 |
{'name': '_disjoint@stix2matcher/matcher.py', 'description': "Checks whether the values in first sequence are disjoint from the\nvalues in the sequences in rest_seq.\n\nAll 'None' values in the sequences are ignored.\n\n:return: True if first_seq is disjoint from the rest, False otherwise.", 'signature': 'def _disjoint... | 0 |
{'name': 'ParserSpec.p_service@thriftrw/idl/parser.py', 'description': "service : SERVICE IDENTIFIER '{' function_seq '}' annotations\n| SERVICE IDENTIFIER EXTENDS IDENTIFIER '{' function_seq '}' annotations", 'signature': 'def p_service(self, p):'}</s>{'name': 'ConstPrimitiveValue@thriftrw/idl/ast... | 0 |
{'name': 'pick@pdfminer3/utils.py', 'description': 'Picks the object obj where func(obj) has the highest value.', 'signature': 'def pick(seq, func, maxobj=None):'}</s>{'name': 'matrix2str@pdfminer3/utils.py', 'description': 'DOCSTRING', 'code': "def matrix2str(m):\n (a, b, c, d, e, f) = m\n return '[%.2f,%.2f,%.2... | 0 |
{'name': 'Bottle._cast@src/back/kite/bottle.py', 'description': 'Try to convert the parameter into something WSGI compatible and set\ncorrect HTTP headers when possible.\nSupport: False, str, unicode, dict, HTTPResponse, HTTPError, file-like,\niterable of strings and iterable of unicodes', 'signature': 'def _cast(self,... | 0 |
{'name': 'IntegrationTestFiltering.test_filter_with_queryset@tests/rest_framework/test_integration.py', 'description': 'Regression test for #814.', 'signature': 'def test_filter_with_queryset(self):'}</s>{'name': 'AllValuesMultipleFilter@django_filters/filters.py', 'description': 'DOCSTRING', 'base_classes': ['Multiple... | 0 |
{'name': '_runcog@paver/doctools.py', 'description': 'Common function for the cog and runcog tasks.', 'signature': 'def _runcog(options, uncog=False):'}</s>no_help = tasks.no_help | 0 |
{'name': 'type_inference@06_prepare/data-wrangler/data_wrangler_antje.py', 'description': 'Core type inference logic\n\nArgs:\n df: spark dataframe\n\nReturns: dict a schema that maps from column name to mohave datatype', 'signature': 'def type_inference(df): # noqa: C901 # pylint: disable=R0912'}</s>{'name': 'elem... | 0 |
{'name': 'upsert_pipe@d6tpipe/api.py', 'description': 'Convenience function to create or update a pipe\n\nArgs:\n api (obj): api\n settings (dict): pipe settings\n\nReturns:\n response (obj): server response\n data (dict): json returned by server', 'signature': 'def upsert_pipe(api, settings):'}</s>{'name':... | 0 |
{'name': 'test_fail_with_invalid_dbname_and_automatic_recovery_disabled@test/io/test_io.py', 'description': 'Should fail without retries when automatic recovery is disabled and dbname is invalid', 'signature': 'def test_fail_with_invalid_dbname_and_automatic_recovery_disabled(defaultenv):'}</s>{'name': 'test_jwt_secret... | 0 |
{'name': 'Grid.extent_in_crs@salem/gis.py', 'description': 'Get the extent of the grid in a desired crs.\n\nParameters\n----------\ncrs : crs\n the target coordinate reference system.\n\nReturns\n-------\n[left, right, bottom, top] boundaries of the grid.', 'signature': 'def extent_in_crs(self, crs=wgs84):'}</s>{'na... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQ_ARCHIVE_PFX_LENGTH = 36 | 0 |
{'name': 'BaseRequest.POST@src/back/kite/bottle.py', 'description': 'The values of :attr:`forms` and :attr:`files` combined into a single\n:class:`FormsDict`. Values are either strings (form values) or\ninstances of :class:`cgi.FieldStorage` (file uploads).', 'signature': 'def POST(self):'}</s>{'name': 'RouteReset@src/... | 0 |
{'name': 'PDFPage.__init__@pdfminer3/pdfpage.py', 'description': 'Initialize a page object.\n\ndoc: a PDFDocument object.\npageid: any Python object that can uniquely identify the page.\nattrs: a dictionary of page attributes.', 'signature': 'def __init__(self, doc, pageid, attrs):'}</s>{'name': 'int_value@pdfminer3/pd... | 1 |
{'name': 'check_music@tests/utils.py', 'description': 'Check example music.', 'signature': 'def check_music(music, ext=None, resolution=24):'}</s>{'name': 'check_annotations@tests/utils.py', 'description': 'Check annotations.', 'code': 'def check_annotations(annotations):\n """Check annotations."""\n assert len(a... | 1 |
{'name': 'pyin@librosa/core/pitch.py', 'description': 'Fundamental frequency (F0) estimation using probabilistic YIN (pYIN).\n\npYIN [#]_ is a modificatin of the YIN algorithm [#]_ for fundamental frequency (F0) estimation.\nIn the first step of pYIN, F0 candidates and their probabilities are computed using the YIN alg... | 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': 'bug_report@libscanbuild/report.py', 'description': 'Creates a fragment from the analyzer reports. ', 'signature': 'def bug_report(output_dir, prefix):'}</s>{'name': 'reindent@libscanbuild/report.py', 'description': 'Utility function to format html output and keep indentation. ', 'code': 'def reindent(text, in... | 1 |
{'name': '_synchronize_async_fixture@pytest_asyncio/plugin.py', 'description': 'Wraps the fixture function of an async fixture in a synchronous function.', 'signature': 'def _synchronize_async_fixture(fixturedef: FixtureDef) -> None:'}</s>{'name': '_retrieve_scope_root@pytest_asyncio/plugin.py', 'description': 'DOCSTRI... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCOMPRESS_SYSTEM = 8 | 0 |
{'name': 'LightOSConnector.disconnect_volume@os_brick/initiator/connectors/lightos.py', 'description': 'Disconnect a volume from the local host.\n\nThe connection_properties are the same as from connect_volume.\nThe device_info is returned from connect_volume.\n:param connection_properties: The dictionary that describe... | 0 |
{'name': 'pytest_transform@redbaron_pylint_plugin.py', 'description': 'Let pylint know the pytest module ', 'signature': 'def pytest_transform(module):'}</s>{'name': 'register@redbaron_pylint_plugin.py', 'description': 'Registers this plugin to pylint\n\npylint calls this function when loading', 'code': 'def register(_... | 0 |
{'name': 'run_model_on_ep@onnxruntime/python/tools/tensorrt/perf/benchmark.py', 'description': 'Benchmarks and/or validates the given model on the given EP.\n\n:param args: The command-line arguments to this script.\n:param model_name: The name of the model to run.\n:param model_info: A dictionary that contains paths t... | 0 |
{'name': 'gf_poly_eval@reedsolo6.py', 'description': "Evaluates a polynomial in GF(2^p) given the value for x. This is based on Horner's scheme for maximum efficiency.", 'signature': 'def gf_poly_eval(poly, x):'}</s>{'name': 'init_tables@reedsolo6.py', 'description': "Precompute the logarithm and anti-log tables for fa... | 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': '_get_path_kind@tests/integration/differ.py', 'description': "Returns a string describing the kind of path.\nPossible values are 'file', 'folder', and 'invalid'.", 'signature': 'def _get_path_kind(pth):'}</s>{'name': '_validate_path@tests/integration/differ.py', 'description': 'DOCSTRING', 'code': 'def _valida... | 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': 'test_wavefield_too_big2@tests/test_propagator.py', 'description': 'Check error when wavefield is bigger than model.', 'signature': 'def test_wavefield_too_big2(prop):'}</s>{'name': 'test_receiver_outside_model@tests/test_propagator.py', 'description': 'Check error when receiver location not inside model.', 'c... | 0 |
{'name': 'IopyIopEnvironmentTests.test_iop_env_isolation@tests/iopy/z_iopy.py', 'description': 'Test IOP environment isolation', 'signature': 'def test_iop_env_isolation(self) -> None:'}</s>{'name': 'z_monkey_patch@tests/iopy/z_iopy.py', 'description': 'DOCSTRING', 'code': "def z_monkey_patch(iop_cls: type) -> Callable... | 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': 'TranslatableSiteRootPage.serve@src/wagtailtrans/models.py', 'description': 'Serve TranslatablePage in the correct language\n\n:param request: request object\n:return: Http302 or Http404', 'signature': 'def serve(self, request, *args, **kwargs):'}</s>{'name': 'TranslatablePage@src/wagtailtrans/models.py', 'des... | 1 |
{'name': 'ThreadPool.start@cli/rpc2socks/utils/threadpool.py', 'description': 'Start the maintenance thread', 'signature': 'def start(self):'}</s>DEBUG = loggex.DEBUG | 0 |
{'name': 'macroexpand@hy/macros.py', 'description': "If `tree` isn't an `Expression` that might be a macro call,\nreturn it unchanged. Otherwise, try to expand it. Do this\nrepeatedly unless `once` is true. Call `as_model` after each\nexpansion. If the return value is a compiler `Result` object, and\n`result_ok` is fal... | 0 |
{'name': '_NestingState.Update@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Update nesting state with current line.\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 cal... | 0 |
{'name': 'na_cmp@pint_pandas/testsuite/test_pandas_extensiontests.py', 'description': 'Binary operator for comparing NA values.', 'signature': 'def na_cmp():'}</s>_base_numeric_dtypes = [
{"np_dtype": np.float64, "pd_dtype": pd.Float64Dtype()},
{"np_dtype": np.float64, "pd_dtype": pd.core.dtypes.dtypes.NumpyEAD... | 0 |
{'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': '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... | 0 |
{'name': 'go@grizli/pipeline/auto_script.py', 'description': 'Run the full pipeline for a given target\n\nParameters\n----------\nroot : str\n Rootname of the `mastquery` file.\n\nextract_maglim : [min, max]\n Magnitude limits of objects to extract and fit.', 'signature': "def go(root='j010311+131615', "}</s>{'na... | 0 |
{'name': 'writePreamble@cxxtest/cxxtestgen.py', 'description': 'Write the CxxTest header (#includes and #defines)', 'signature': 'def writePreamble( output ):'}</s>preamble_re = re.compile( r"^\s*<CxxTest\s+preamble>\s*$" ) | 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_Attach@tools/p4dbg.py', 'description': 'DOCSTRING', 'base_classes': ['BasicMsg'], 'methods': []} | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.