text string | label int64 |
|---|---|
{'name': 'ParserElement.searchString@venv/Lib/site-packages/setuptools/_vendor/pyparsing.py', 'description': 'Another extension to C{L{scanString}}, simplifying the access to the tokens found\nto match the given parse expression. May be called with optional\nC{maxMatches} argument, to clip searching after \'n\' matche... | 0 |
{'name': 'ColorJitter.get_params@utils/transforms.py', 'description': 'Get a randomized transform to be applied on image.\nArguments are same as that of __init__.\nReturns:\n Transform which randomly adjusts brightness, contrast and\n saturation in a random order.', 'signature': 'def get_params(brightness, contra... | 0 |
{'name': '_parse_requested_output_file_names@pelicun/tools/DL_calculation.py', 'description': 'Parse the output file names from the output configuration.\n\nParameters\n----------\noutput_config : dict\n Configuration for output files.\n\nReturns\n-------\nset\n Set of requested output file names.', 'signature': ... | 0 |
{'name': 'Configuration.__init__@python-build-with-qt/sip-4.11.2/siputils.py', 'description': 'Initialise an instance of the class.\n\nsub_cfg is the list of sub-class configurations. It should be None\nwhen called normally.', 'signature': 'def __init__(self, sub_cfg=None):'}</s>{'name': 'parse_build_macros@python-bui... | 0 |
{'name': 'lsa@vsm.py', 'description': 'Latent Semantic Analysis using pure scipy.\n\nParameters\n----------\ndf : pd.DataFrame\n The matrix to operate on.\n\nk : int (default: 100)\n Number of dimensions to truncate to.\n\nReturns\n-------\npd.DataFrame\n The SVD-reduced version of `df` with dimension (m x k), ... | 0 |
{'name': 'View.save_pick_properties@picasso/gui/render.py', 'description': "Saves picks' properties in a given channel to path.\n\nProperties include number of locs, mean and std of all locs\ndtypes (x, y, photons, etc) and others.\n\nParameters\n----------\npath : str \n Path for saving picks' properties.\nchannel ... | 0 |
{'name': 'DefinitionSchema.__init__@cerberus/schema.py', 'description': ':param validator: An instance of Validator-(sub-)class that uses this\n schema.\n:param schema: A definition-schema as ``dict``. Defaults to an empty\n one.', 'signature': 'def __init__(self, validator, schema):'}</s... | 0 |
{'name': 'get_settings@jupyterlab_server/settings_utils.py', 'description': 'Get settings.\n\nParameters\n----------\napp_settings_dir:\n Path to applications settings.\nschemas_dir: str\n Path to schemas.\nsettings_dir:\n Path to settings.\nschema_name str, optional\n Schema name. Default is "".\noverrides... | 0 |
{'name': 'save@2018/Pwn/feedback/Admin/exploit.py', 'description': 'libc leak + unsortedbin attack ', 'signature': 'def save():'}</s>one_gadf = libc_base+ 0xf02a4 | 0 |
{'name': 'TestDb.test_get_user_returns_existing_user@src/accounts/userservice/tests/test_db.py', 'description': 'test getting a user', 'signature': 'def test_get_user_returns_existing_user(self):'}</s>{'name': 'TestDb@src/accounts/userservice/tests/test_db.py', 'description': 'Test cases for db module', 'base_classes':... | 1 |
{'name': 'GTestFilterUnitTest.RunAndVerifyWithSharding@swap-ssdb-1.9.2/tests/googletest/googletest/test/gtest_filter_unittest.py', 'description': 'Checks that binary runs correct tests for the given filter and shard.\n\nRuns all shards of gtest_filter_unittest_ with the given filter, and\nverifies that the right set of... | 0 |
{'name': 'sign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'varname,ctype,atype\ninit,init.r,init.i,pytype\nvardebuginfo,vardebugshowvalue,varshowvalue\nvarrfromat\nintent', 'signature': 'def sign2map(a, var):'}</s>{'name': 'islong_double@venv/Lib/site-packages/numpy/f2py/auxfuncs.py', 'descript... | 0 |
{'name': 'TestEularian.test_find_dead_ends_double_correct@tests/test_eularian.py', 'description': 'Find dead ends: Two adjacent triandles with tails on peak and belt.', 'signature': 'def test_find_dead_ends_double_correct(self):'}</s>{'name': 'eularian_path@chinesepostman/eularian.py', 'description': 'Return an Eularia... | 0 |
{'name': 'FancyPage.beforeDrawPage@rst2pdf/createpdf.py', 'description': 'Do adjustments to the page according to where we are in the document.\n\n* Gutter margins on left or right as needed', 'signature': 'def beforeDrawPage(self, canv, doc):'}</s>{'name': 'publish_secondary_doctree@rst2pdf/createpdf.py', 'description... | 0 |
{'name': 'make_path@pystore/utils.py', 'description': 'use this to construct paths for future storage support ', 'signature': 'def make_path(*args):'}</s>{'name': 'get_client@pystore/utils.py', 'description': 'DOCSTRING', 'code': 'def get_client():\n return config._CLIENT'} | 0 |
{'name': 'ToysCalculator._get_toys@src/hepstats/hypotests/calculators/basecalculator.py', 'description': 'Return the generated toys for a given POI.\n\nArgs:\n poigen: POI used to generate the toys.\n poieval: POI values to evaluate the loss function.\n qtilde: if `True` use the :math:` ilde{q}` test statist... | 0 |
{'name': 'to_checksum_address@eth_utils/address.py', 'description': 'Makes a checksum address given a supported format.', 'signature': 'def to_checksum_address(value: Union[AnyAddress, str, bytes]) -> ChecksumAddress:'}</s>{'name': 'is_checksum_formatted_address@eth_utils/address.py', 'description': 'DOCSTRING', 'code'... | 0 |
{'name': 'OGCFeatOpenAPIValidator.perform_request@GeoHealthCheck/plugins/probe/ogcfeat.py', 'description': 'Perform the validation.\nUses https://github.com/p1c2u/openapi-spec-validator on\nthe specfile (dict) returned from the OpenAPI endpoint.', 'signature': 'def perform_request(self):'}</s>{'name': 'Result@GeoHealth... | 1 |
{'name': 'GTestHelpTest.TestHelpFlag@Engine/lib/assimp/contrib/googletest/googletest/test/gtest_help_test.py', 'description': 'Verifies correct behavior when help flag is specified.\n\nThe right message must be printed and the tests must\nskipped when the given flag is specified.\n\nArgs:\n flag: A flag to pass to th... | 0 |
{'name': 'merge_blocks_job@maf/impl/naiveLiftUp.py', 'description': "Combine the lifted blocks and add in the current genome's sequence.", 'signature': 'def merge_blocks_job(job, genome, child_names, block_ids, hal_id, opts):'}</s>{'name': 'merge_blocks_maximize_block_length_job@maf/impl/naiveLiftUp.py', 'description':... | 1 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQFB_COA = 259 | 0 |
{'name': 'PFDivert._to_string@pf/rule.py', 'description': 'Return a string representation of the object.', 'signature': 'def _to_string(self):'}</s>{'name': 'pfioc_limit@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []} | 0 |
{'name': 'Constraint.lhs@linopy/constraints.py', 'description': 'Get the left-hand-side linear expression of the constraint.\n\nThe function raises an error in case no model is set as a\nreference.', 'signature': 'def lhs(self) -> expressions.LinearExpression:'}</s>{'name': 'has_optimized_model@linopy/common.py', 'desc... | 0 |
{'name': 'test_admin_works_with_host_special_values@test/io/test_io.py', 'description': 'Should get a success from the admin live and ready endpoints when using special host values for the main app', 'signature': 'def test_admin_works_with_host_special_values(specialhostvalue, defaultenv):'}</s>BASEDIR = pathlib.Path(o... | 0 |
{'name': 'TestGenericUserToGroupSelf.test_add_user_to_himself_already_added@protector/tests.py', 'description': 'If user was already part of a group of his own without self role, we add self role.', 'signature': 'def test_add_user_to_himself_already_added(self):'}</s>{'name': 'get_all_permission_owners@protector/helper... | 0 |
{'name': 'StaffProfile.get_available_sick_days@small_small_hr/models.py', 'description': 'Get available sick days.', 'signature': 'def get_available_sick_days(self, year: Optional[int] = None):'}</s>{'name': 'StaffDocument@small_small_hr/models.py', 'description': 'StaffDocument model class.', 'base_classes': ['TimeSta... | 0 |
{'name': 'add_matcher@llvm-12.0.0-project/clang/docs/tools/dump_ast_matchers.py', 'description': 'Adds a matcher to one of our categories.', 'signature': 'def add_matcher(result_type, name, args, comment, is_dyncast=False):'}</s>{'name': 'act_on_decl@llvm-12.0.0-project/clang/docs/tools/dump_ast_matchers.py', 'descript... | 0 |
{'name': 'Matrix.cast@python/taichi/lang/matrix.py', 'description': 'Cast the matrix elements to a specified data type.\n\nArgs:\n dtype (:mod:`~taichi.types.primitive_types`): data type of the\n returned matrix.\n\nReturns:\n :class:`taichi.Matrix`: A new matrix with the specified data dtype.\n\nExample::... | 0 |
{'name': 'check_multiple_rvt_shift_opts@src/python_scripts/afnipy/lib_physio_opts.py', 'description': "Can only use at most one '-rvt_shift*' opt. Simplest to check for\nthat at one time.\n\nParameters\n----------\nargs_dict : dict\n The dictionary of arguments and option values.\n\nReturns\n-------\nis_bad : int\n... | 0 |
{'name': 'register_messenger_objects@sitemessage/utils.py', 'description': 'Registers (configures) messengers.\n\n:param messengers: MessengerBase heirs instances.', 'signature': "def register_messenger_objects(*messengers: 'MessengerBase'):"}</s>{'name': 'recipients@sitemessage/utils.py', 'description': 'Structures re... | 0 |
{'name': 'get_tags_node@airflow_code_editor/tree.py', 'description': 'Get tree tags node', 'signature': 'def get_tags_node(path: Optional[str], args: Args) -> TreeOutput:'}</s>{'name': 'git_enabled@airflow_code_editor/git.py', 'description': 'Return true if git is enabled in the configuration', 'code': 'def git_enabled... | 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>SKOSEXT = Namespace("http://purl.org/finnonto/schema/skosext#") | 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': 'prepare_kb_envrioment@src/data_utils.py', 'description': 'Process KB data which was saved as a set of triples.\n (a) Remove train and test triples from the KB envrionment.\n (b) Add reverse triples on demand.\n (c) Index unique entities and relations appeared in the KB.\n\n:param raw_kb_path: Path to... | 0 |
{'name': 'NamespaceLookupTestCase.test_scope_ambiguity_after_using_lookup_with_run_command@tools/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py', 'description': 'Test scope lookup ambiguity after using in lldb.', 'signature': 'def test_scope_ambiguity_after_using_lookup_with_run_command(s... | 1 |
{'name': 'DGPDataset.__getitem__@packnet_sfm/datasets/dgp_dataset.py', 'description': 'Get a dataset sample', 'signature': 'def __getitem__(self, idx):'}</s>{'name': 'is_tensor@packnet_sfm/utils/types.py', 'description': 'Checks if data is a torch tensor.', 'code': 'def is_tensor(data):\n """Checks if data is a torc... | 0 |
{'name': 'SystemTest.test_get_active_mode_hot_water_no_hotwater@tests/test_system.py', 'description': 'Test active mode without hot water.', 'signature': 'def test_get_active_mode_hot_water_no_hotwater(self) -> None:'}</s>THERMOSTAT_MAX_TEMP = 30.0 | 0 |
{'name': 'GTestHelpTest.TestHelpFlag@Engine/lib/gtest/googletest/test/gtest_help_test.py', 'description': 'Verifies correct behavior when help flag is specified.\n\nThe right message must be printed and the tests must\nskipped when the given flag is specified.\n\nArgs:\n flag: A flag to pass to the binary or None.', ... | 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': 'quantize_pact@nemo/transform.py', 'description': "Takes a PyTorch module and makes it quantization-aware with PACT, recursively.\n\nThe function follows recursively the data structures containing PyTorch layers (typically as hierarchical lists, e.g.\nblock-level :py:class:`torch.nn.Sequential` for networks li... | 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': 'ChnsenticorpProcessor.get_test_examples@examples/utils_sequence_level_task.py', 'description': 'See base class.', 'signature': 'def get_test_examples(self, data_dir):'}</s>{'name': 'simple_accuracy@examples/utils_sequence_level_task.py', 'description': 'DOCSTRING', 'code': 'def simple_accuracy(preds, labels):... | 0 |
{'name': 'Solver.solve_next@wfc/wfc_solver.py', 'description': 'Attempt to collapse one wave. Returns True if no more steps remain.', 'signature': 'def solve_next('}</s>{'name': 'Contradiction@wfc/wfc_solver.py', 'description': 'Solving could not proceed without backtracking/restarting.', 'base_classes': ['Exception']... | 1 |
{'name': 'repr_saml@uniauth_saml2_idp/utils.py', 'description': 'Decode SAML from b64 and b64 deflated and\nreturn a pretty printed representation', 'signature': 'def repr_saml(saml_str, b64=False):'}</s>{'name': 'SPConfigurationMissing@uniauth_saml2_idp/exceptions.py', 'description': 'DOCSTRING', 'base_classes': ['Exc... | 0 |
{'name': 'filter_with_bustools@kb_python/count.py', 'description': "Generate filtered count matrices with bustools.\n\nArgs:\n bus_path: Path to sorted, corrected, sorted BUS file\n ecmap_path: Path to matrix ec file\n txnames_path: Path to list of transcripts\n t2g_path: Path to transcript-to-gene mapping\... | 0 |
{'name': '_check_case_sensitive_path@pre_commit_hooks/check_munki_pkgsinfo.py', 'description': 'Check whether a path exists, and on case-sensitive filesystems check\nthat there is no case conflict.', 'signature': 'def _check_case_sensitive_path(path):'}</s>{'name': 'main@pre_commit_hooks/check_munki_pkgsinfo.py', 'desc... | 0 |
{'name': 'ScaleType.__init__@scalecodec/base.py', 'description': 'Initializes an `ScaleType`\n\nParameters\n----------\ndata: ScaleBytes\nsub_type: str\nmetadata: VersionedMetadata\nruntime_config: RuntimeConfigurationObject', 'signature': 'def __init__(self, data=None, sub_type=None, metadata=None, runtime_config=None... | 0 |
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>PF_REASS_NODF = 2 | 0 |
{'name': 'tsv_maker@pyrgg/graph_gen.py', 'description': 'Create output file in tsv format.\n\n:param edge_dic: dictionary containing edges data\n:type edge_dic: dict\n:param weight_dic: dictionary containing weights data\n:type weight_dic: dict\n:param mdata: meta data\n:type mdata: dict\n:return: None', 'signature': '... | 0 |
{'name': 'test_aspls_overflow@tests/test_weighting.py', 'description': 'Ensures exponential overflow does not occur from aspls weighting.', 'signature': 'def test_aspls_overflow(one_d, asymmetric_coef):'}</s>{'name': '_drpls@pybaselines/_weighting.py', 'description': 'The weighting for the doubly reweighted penalized l... | 0 |
{'name': 'draw_pose@demo/demo.py', 'description': 'draw the keypoints and the skeletons.\n:params keypoints: the shape should be equal to [17,2]\n:params img:', 'signature': 'def draw_pose(keypoints,img):'}</s>{'name': 'get_pose_estimation_prediction@demo/demo.py', 'description': 'DOCSTRING', 'code': 'def get_pose_esti... | 0 |
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name... | 0 |
{'name': 'ensure_list@custom_components/zwave_mqtt/discovery.py', 'description': 'Convert a value to a list if needed.', 'signature': 'def ensure_list(value):'}</s>ATTR_INSTANCE_ID = "instance_id" | 0 |
{'name': '_Selector._freeze_relations@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Freeze relation.', 'signature': 'def _freeze_relations(self, relations):'}</s>PSEUDO_COMPLEX = {
':contains',
':has',
':is',
':matches',
':not',
':where'
} | 0 |
{'name': 'video_feed@server/app.py', 'description': 'Video streaming route. Put this in the src attribute of an img tag.', 'signature': 'def video_feed():'}</s>{'name': 'sendjs@server/app.py', 'description': 'DOCSTRING', 'code': "def sendjs(filename):\n return send_from_directory(dir_path+'/dist/js', filename)"} | 0 |
{'name': 'lookup_address@gef.py', 'description': 'Try to find the address in the process address space.\nReturn an Address object, with validity flag set based on success.', 'signature': 'def lookup_address(address: int) -> Address:'}</s>{'name': 'gef_read_canary@gef.py', 'description': 'DOCSTRING', 'code': 'def gef_re... | 0 |
{'name': 'NewDatabase.__import_inventories@premise/new_database.py', 'description': 'This method will trigger the import of a number of pickled inventories\nand merge them into the database dictionary.', 'signature': 'def __import_inventories(self) -> List[dict]:'}</s>{'name': 'DefaultInventory@premise/inventory_import... | 1 |
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i... | 0 |
{'name': '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': 'GCSToGCEImage.Process@dftimewolf/lib/exporters/gcs_to_gce_image.py', 'description': 'Creates a GCE image from an image in GCS.\n\nArgs:\n container (containers.GCSObject): The container to process.', 'signature': 'def Process(self, container: containers.GCSObject'}</s>{'name': 'Telemetry@dftimewolf/lib/conta... | 0 |
{'name': 'View.pick_areas@picasso/gui/render.py', 'description': 'Finds the areas of all current picks in um^2.\n\nReturns\n-------\nareas : np.1darray\n Areas of all picks.', 'signature': 'def pick_areas(self):'}</s>{'name': '_rmsd_at_com@picasso/postprocess.py', 'description': 'DOCSTRING', 'code': 'def _rmsd_at_co... | 0 |
{'name': 'UFOBuilder.__init__@Lib/glyphsLib/builder/builders.py', 'description': 'Create a builder that goes from Glyphs to UFO + designspace.\n\nKeyword arguments:\nfont -- The GSFont object to transform into UFOs. We expect this GSFont\n object to have been pre-processed with\n ``glyphsLib.builder.prefl... | 0 |
{'name': 'get_ngrok_process@pyngrok/ngrok.py', 'description': "Get the current ``ngrok`` process for the given config's ``ngrok_path``.\n\nIf ``ngrok`` is not installed at :class:`~pyngrok.conf.PyngrokConfig`'s ``ngrok_path``, calling this method\nwill first download and install ``ngrok``.\n\nIf ``ngrok`` is not runnin... | 1 |
{'name': 'HACSStore.load@custom_components/hacs/utils/store.py', 'description': 'Load the data from disk if version matches.', 'signature': 'def load(self):'}</s>_LOGGER = LOGGER | 1 |
{'name': 'plot_result_synth@src/erinn/utils/vis_utils.py', 'description': 'Convenient function for saving crossplot, structure plot and heatmap of synthetic data.\n\nParameters\n----------\niterator : iterator of os.DirEntry objects\n For iterating all pkl file in certain directory.\nnum_figs : int\n The number o... | 0 |
{'name': 'CombinationEditor.showPopup@source/dataeditors.py', 'description': 'Override to show a popup entry widget in place of a list view.\n ', 'signature': 'def showPopup(self):'}</s>{'name': 'IntLinkEditor@source/dataeditors.py', 'description': 'An editor widget for internal link fields.\n\nUses a combo box ... | 0 |
{'name': 'Numeral.__rgt__@src/api/python/z3/z3num.py', 'description': 'Return True if `other > self`.\n\n>>> 2 > Numeral(Sqrt(2))\nTrue', 'signature': 'def __rgt__(self, other):'}</s>{'name': 'ChoiceFormatObject@src/api/python/z3/z3printer.py', 'description': 'DOCSTRING', 'base_classes': ['NAryFormatObject'], 'methods'... | 0 |
{'name': '_Underride@reference/ThinkDSP/code/.ipynb_checkpoints/thinkplot-checkpoint.py', 'description': 'Add key-value pairs to d only if key is not in d.\n\nIf d is None, create a new dictionary.\n\nd: dictionary\noptions: keyword args to add to d', 'signature': 'def _Underride(d, **options):'}</s>{'name': 'SubPlot@r... | 0 |
{'name': 'TerragruntTest.__init__@tftest.py', 'description': 'A helper class that could be used for testing terragrunt\n\nMost operations that apply to :func:`~TerraformTest` also apply to this class.\nNotice that to use this class for Terragrunt run-all, `tg_run_all` needs to be set to\nTrue. The class would then onl... | 0 |
{'name': 'common_segment_count@aiohttp_debugtoolbar/utils.py', 'description': 'Return the number of path segments common to both', 'signature': 'def common_segment_count(path, value):'}</s>{'name': 'render@aiohttp_debugtoolbar/utils.py', 'description': 'DOCSTRING', 'code': 'def render(template_name, app, context, *, ap... | 0 |
{'name': 'make_environment_relocatable@bootstrap.py', 'description': 'Makes the already-existing environment use relative paths, and takes out\nthe #!-based environment selection in scripts.', 'signature': 'def make_environment_relocatable(home_dir):'}</s>{'name': 'create_bootstrap_script@bootstrap.py', 'description': ... | 0 |
{'name': 'copy_ctypes@capstone/bindings/python/capstone/__init__.py', 'description': 'Returns a new ctypes object which is a bitwise copy of an existing one', 'signature': 'def copy_ctypes(src):'}</s>CS_SUPPORT_DIET = CS_ARCH_ALL + 1 | 0 |
{'name': 'test_reader_and_writer_noorder@tests/protocol/test_binary.py', 'description': 'Test serialization and deserialization for types\nthat have no guaranteed order.', 'signature': 'def test_reader_and_writer_noorder(spec, value):'}</s>{'name': 'test_unknown_type_id@tests/protocol/test_binary.py', 'description': 'D... | 0 |
{'name': 'ProcessFileData@scripts/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, each representing a ... | 0 |
{'name': 'LossModel.load_model_parameters@pelicun/model/loss_model.py', 'description': 'Load loss model parameters.\n\nParameters\n----------\ndata_paths: list of (string | DataFrame)\n List of paths to data or files with loss model\n information. Default XY datasets can be accessed as\n PelicunDefault/XY. Ord... | 0 |
{'name': 'FletcherBaseArray._np_ufunc_op@fletcher/base.py', 'description': 'Apply a NumPy ufunc on the instance and any other object.', 'signature': 'def _np_ufunc_op(self, op: Callable, other):'}</s>{'name': 'take_on_pyarrow_list@fletcher/_algorithms.py', 'description': 'Return a pyarrow.ListArray or pyarrow.LargeList... | 0 |
{'name': 'current_umask@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_internal/utils/misc.py', 'description': 'Get the current umask which involves having to set it temporarily.', 'signature': 'def current_umask():'}</s>{'name': 'backup_dir@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_internal/utils/misc.py', 'd... | 0 |
{'name': 'HTTPRequest.read_request_line@cheroot/server.py', 'description': "Read and parse first line of the HTTP request.\n\nReturns:\n bool: True if the request line is valid or False if it's malformed.", 'signature': 'def read_request_line(self): # noqa: C901 # FIXME'}</s>SEMICOLON = b';' | 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': 'github_import@code/synchronization/github_import.py', 'description': 'Import various information from Github repositories (like contributors) or stars for Github repos\nGithub rate limiting limits us to 1000 queries an hour (also with a personal token?)', 'signature': 'def github_import():'}</s>{'name': 'load... | 0 |
{'name': 'run_pelicun@pelicun/tools/DL_calculation.py', 'description': "Use settings in the config JSON to prepare and run a Pelicun calculation.\n\nParameters\n----------\nconfig_path: string\n Path pointing to the location of the JSON configuration file.\ndemand_file: string\n Path pointing to the location of a... | 1 |
{'name': 'AdamsBashforthMoulton._has_converged@torchdiffeq/_impl/fixed_adams.py', 'description': 'Checks that each element is within the error tolerance.', 'signature': 'def _has_converged(self, y0, y1):'}</s>_BASHFORTH_COEFFICIENTS = [
[], # order 0
[11],
[3, -1],
[23, -16, 5],
[55, -59, 37, -9],
... | 0 |
{'name': 'Mixin.send_to_alerta@alertlib/alerta.py', 'description': "Sends alert to Alerta.\n\nThis is intended to be used for more urgent 'things are broken'\nalerts. In the case of KA, Alerta (alerta.io) is serving the purpose of\naggregating alerts from multiple sources. The API used to interface\nwith dashboard can ... | 0 |
{'name': 'est_res@wfdb/io/_signal.py', 'description': 'Estimate the resolution of each signal in a multi-channel signal in\nbits. Maximum of 32 bits.\n\nParameters\n----------\nsignals : ndarray, list\n A 2d numpy array representing a uniform multichannel signal, or\n a list of 1d numpy arrays representing multip... | 0 |
{'name': 'LoadBalancerAction.create_loadbalancer@qingcloud/iaas/actions/loadbalancer.py', 'description': 'Create new load balancer.\n@param eips: the IDs of the eips that will be associated to load balancer.\n@param loadbalancer_name: the name of the loadbalancer.\n@param security_group: the id of the security_group yo... | 0 |
{'name': 'MarkdownConverter.get_conv_fn@markdownify/__init__.py', 'description': 'Given a tag name, find and return the conversion function.', 'signature': 'def get_conv_fn(self, tag_name):'}</s>{'name': 'should_remove_whitespace_inside@markdownify/__init__.py', 'description': 'Return to remove whitespace immediately i... | 0 |
{'name': 'send_spoofed_arp@core/arp_spoofer.py', 'description': 'Sends out bidirectional ARP spoofing packets to the victim so that the host running Inspector appears to have the `dest_ip_addr` IP address.', 'signature': 'def send_spoofed_arp(victim_mac_addr, victim_ip_addr, dest_mac_addr, dest_ip_addr):'}</s>project_d... | 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... | 0 |
{'name': 'Display.grab_server@Monika After Story/game/python-packages/Xlib/display.py', 'description': 'Disable processing of requests on all other client connections\nuntil the server is ungrabbed. Server grabbing should be avoided\nas much as possible.', 'signature': 'def grab_server(self, onerror = None):'}</s>{'nam... | 0 |
{'name': 'RPCProtocol.parse_reply@tinyrpc/protocols/__init__.py', 'description': 'De-serializes and validates a response.\n\nCalled by the client to reconstruct the serialized :py:class:`RPCResponse`.\n\n:param bytes data: The data stream received by the transport layer containing the\n serialized response.\n:return... | 0 |
{'name': '_verify_ssl_from_first@cr8/clients.py', 'description': "Check if SSL validation parameter is passed in URI\n\n>>> _verify_ssl_from_first(['https://myhost:4200/?verify_ssl=false'])\nFalse\n\n>>> _verify_ssl_from_first(['https://myhost:4200/'])\nTrue\n\n>>> _verify_ssl_from_first([\n... 'https://h1:4200/?v... | 0 |
{'name': 'main@papis_zotero/__init__.py', 'description': 'Zotero interface for papis.', 'signature': 'def main() -> None:'}</s>logger = papis.logging.get_logger(__name__) | 0 |
{'name': 'SQL@grizli/aws/db.py', 'description': "Send a query to a database through `pandas.read_sql_query`\n\nParameters\n----------\nquery_text : str\n Query text, e.g., 'SELECT count(*) FROM table;'.\n\nengine : `sqlalchemy.engine.Engine`\n DB connection engine initialized with `~grizli.aws.db.get_db_engine`. ... | 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': 'init_mp_pool@oggm/workflow.py', 'description': 'Necessary because at import time, cfg might be uninitialized', 'signature': 'def init_mp_pool(reset=False):'}</s>DATA = dict() | 0 |
{'name': 'IncInterfaceGenerator.do_table3_transformation@da/compiler/incgen.py', 'description': "Transformation defined in Table 3 of OOPSLA paper.\n\nThis transforms single quantifications over comparisons into min/max\naggregates. Returns None if table 3 can not be applied to 'node'.", 'signature': 'def do_table3_tra... | 0 |
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ... | 0 |
{'name': 'routsign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'name,NAME,begintitle,endtitle\nrname,ctype,rformat\nroutdebugshowvalue', 'signature': 'def routsign2map(rout):'}</s>__all__ = [
'applyrules', 'debugcapi', 'dictappend', 'errmess', 'gentitle',
'getargs2', 'getcallprotoargumen... | 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': 'CreateDatatypes@src/api/python/z3/z3.py', 'description': "Create mutually recursive Z3 datatypes using 1 or more Datatype helper objects.\n\nIn the following example we define a Tree-List using two mutually recursive datatypes.\n\n>>> TreeList = Datatype('TreeList')\n>>> Tree = Datatype('Tree')\n>>> # Tre... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.