text string | label int64 |
|---|---|
{'name': 'setup_openapi@src/rororo/openapi/openapi.py', 'description': 'Setup OpenAPI schema to use with aiohttp.web application.\n\nUnlike `aiohttp-apispec <https://aiohttp-apispec.readthedocs.io/>`_ and\nother tools, which provides OpenAPI/Swagger support for aiohttp.web\napplications, *rororo* changes the way of usi... | 1 |
{'name': 'grouped_count_sizes@pyFileFixity/lib/aux_funcs.py', 'description': 'Compute the total size per group and total number of files. Useful to check that everything is OK.', 'signature': 'def grouped_count_sizes(fileslist, fgrouped): # pragma: no cover'}</s>{'name': 'get_next_entry@pyFileFixity/lib/aux_funcs.py',... | 0 |
{'name': 'train_model@chapter03-advanced-cnn-models/resnet.py', 'description': 'Train one epoch', 'signature': 'def train_model(model, loss_function, optimizer, data_loader):'}</s>{'name': 'test_model@chapter03-advanced-cnn-models/resnet.py', 'description': 'Test for a single epoch', 'code': 'def test_model(model, loss... | 0 |
{'name': 'ClusterAction.start_clusters@qingcloud/iaas/actions/cluster.py', 'description': 'Start one or more clusters.\n@param clusters: the array of clusters IDs.', 'signature': 'def start_clusters(self, clusters,'}</s>ACTION_DESCRIBE_USER_GROUP_MEMBERS = "DescribeUserGroupMembers" | 0 |
{'name': 'parse_atom@support/docopt.py', 'description': "atom ::= '(' expr ')' | '[' expr ']' | 'options'\n| long | shorts | argument | command ;", 'signature': 'def parse_atom(tokens, options):'}</s>{'name': 'Dict@support/docopt.py', 'description': 'DOCSTRING', 'base_classes': ['dict'], 'methods': [{'name': 'Dict.__re... | 0 |
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=... | 0 |
{'name': 'vcmp@tests/test_fuzz.py', 'description': 'cmp()-style version comparison', 'signature': 'def vcmp(v1, v2):'}</s>{'name': 'tempdir@tests/tools.py', 'description': 'DOCSTRING', 'code': "def tempdir():\n d = tempfile.mkdtemp(prefix='python-afl.')\n try:\n yield d\n finally:\n shutil.rmtree... | 0 |
{'name': 'CheckRespiratory@scopy/ScoDruglikeness/rulesfilter.py', 'description': "Check mol under Respiratory\n\nReference:\n Ritchie, Timothy J., Christopher N. Luscombe, and Simon JF Macdonald. \n J Chem Inf Model, 49.4 (2009): 1025-1032.\n \nRule details:\n 240<=MW<= 520\n -2.0<=logP<=4.7\n 6<=nHB<... | 0 |
{'name': 'InnerProductTest.test_inner_product_inputs@tensorflow_quantum/core/ops/math_ops/inner_product_op_test.py', 'description': 'Makes sure that inner_product fails gracefully on bad inputs.', 'signature': 'def test_inner_product_inputs(self):'}</s>{'name': '_inner_product_grad@tensorflow_quantum/core/ops/math_ops/... | 0 |
{'name': 'apply_along_axis@venv/Lib/site-packages/numpy/ma/extras.py', 'description': '(This docstring should be overwritten)', 'signature': 'def apply_along_axis(func1d, axis, arr, *args, **kwargs):'}</s>mod = _DomainedBinaryOperation(umath.mod, _DomainSafeDivide(), 0, 1) | 0 |
{'name': 'PacketFilter.set_limit@pf/filter.py', 'description': "Set hard limits on the memory pools used by Packet Filter.\n\n'limit' can be either one of the PF_LIMIT_* constants or a string; a\n'value' of UINT_MAX means unlimited. Raise PFError if the current pool\nsize exceeds the requested hard limit.", 'signature'... | 0 |
{'name': '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': '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': 'Note.reset_progress@src/apyanki/note.py', 'description': 'Reset progress for a card', 'signature': 'def reset_progress(self) -> None:'}</s>{'name': 'print_stats@src/apyanki/cards.py', 'description': 'Print the card statistics', 'code': 'def print_stats(card: Card) -> None:\n """Print the card statistics"""... | 1 |
{'name': 'BareValidator._error@cerberus/validator.py', 'description': "Creates and adds one or multiple errors.\n\n:param args: Accepts different argument's signatures.\n\n *1. Bulk addition of errors:*\n\n - :term:`iterable` of\n :class:`~cerberus.errors.ValidationError`-instances... | 0 |
{'name': 'ProtocolTest.test_complete_packet@test/test_protocol.py', 'description': 'Protocol should assemble incoming lines into complete packet.', 'signature': 'def test_complete_packet(self):'}</s>P1_MESSAGE_TIMESTAMP = "^\d-\d:1\.0\.0.+?\r\n" | 0 |
{'name': 'UVd.step@preconditioned_stochastic_gradient_descent.py', 'description': "Performs a single step of PSGD with low-rank modification (UVd) preconditioner, i.e., \nupdating the trainable parameters once, and returning what closure returns.\n\nArgs:\n closure (callable): a closure that evaluates the function o... | 0 |
{'name': '_makeTags@venv/Lib/site-packages/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml,'}</s>{'name': '_defaultSuccessDebugAction@venv/Lib/site-packages/pip/_vendor/pyparsing.py', 'description': '... | 0 |
{'name': 'prettyArray@boxx/ylimg/ylimgTool.py', 'description': 'return str of pretty discrib for array, include nan inf (shape type max min) ', 'signature': 'def prettyArray(array):'}</s>{'name': 'pipe@boxx/tool/toolFunction.py', 'description': '将一组函数组成一个管道函数\n\nParameters\n----------\nfunList : Function or list of Fu... | 0 |
{'name': 'ImageInfoViewSet.delete_image@vulfocus-api/dockerapi/views.py', 'description': '删除镜像\n:param request:\n:param pk:\n:return:', 'signature': 'def delete_image(self, request, pk=None):'}</s>{'name': 'get_request_ip@vulfocus-api/dockerapi/views.py', 'description': '获取请求IP\n:param request:\n:return:', 'code': 'def... | 1 |
{'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': 'MultipleChoiceFilterTests.test_filter_conjoined_true@tests/test_filters.py', 'description': 'Tests that a filter with `conjoined=True` returns objects that\nhave all the values included in `value`. For example filter\nusers that have all of these books.', 'signature': 'def test_filter_conjoined_true(self):'}<... | 0 |
{'name': 'lift_blocks@maf/impl/naiveLiftUp.py', 'description': 'Lift the given blocks file to a new reference using the given pairwise alignments file.\n\nThe pairwise alignments must point from the old reference to the new.', 'signature': 'def lift_blocks(alignments, blocks, other_genome, output):'}</s>{'name': 'split... | 0 |
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils subclasses used by Versioneer.', 'signature': 'def get_cmdclass():'}</s>{'name': 'register_vcs_handler@versioneer.py', 'description': 'Decorator to mark a method as the handler for a particular VCS.', 'code': 'def register_vcs_ha... | 0 |
{'name': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>PF_ADDR_RTLABEL = 4 | 0 |
{'name': 'scan_four_digit_hex@simplejson/decoder.py', 'description': 'Scan a four digit hex number from s[end:end + 4]\n ', 'signature': "def scan_four_digit_hex(s, end, _m=re.compile(r'^[0-9a-fA-F]{4}$').match):"}</s>DEFAULT_ENCODING = "utf-8" | 0 |
{'name': '_sampling_strategy_auto@self_paced_ensemble/utils/_validation.py', 'description': 'Returns sampling target auto for over-sampling and not-minority for\nunder-sampling.', 'signature': 'def _sampling_strategy_auto(y, sampling_type):'}</s>{'name': '_sampling_strategy_not_majority@self_paced_ensemble/utils/_valid... | 1 |
{'name': 'safe_run2@amptk/process_illumina_folder.py', 'description': 'Call run(), catch exceptions.', 'signature': 'def safe_run2(*args, **kwargs):'}</s>{'name': 'losslessTrim@amptk/amptklib.py', 'description': 'function to trim primers if found from SE reads\nand then trim/pad to a set length', 'code': "def losslessT... | 0 |
{'name': 'AdbDevice.push@adb_shell/adb_device.py', 'description': "Push a file or directory to the device.\n\nParameters\n----------\nlocal_path : str, BytesIO\n A filename, directory, or BytesIO stream to push to the device\ndevice_path : str\n Destination on the device to write to.\nst_mode : int\n Stat mode... | 0 |
{'name': 'as_latest@dependency-update-helper.py', 'description': 'Create a list of version specification strings at the latest version for the\npackages in contents.\n\nArgs:\n contents: The packages dictionary to build the dependency specification from.\n\nReturns:\n The sorted list of packages.\n\nYields:\n ... | 0 |
{'name': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>ICMP_UNREACH_FILTER_PROHIB = 13 | 0 |
{'name': 'chroma_cens@librosa/feature/spectral.py', 'description': 'Compute the chroma variant "Chroma Energy Normalized" (CENS)\n\nTo compute CENS features, following steps are taken after obtaining chroma vectors\nusing `chroma_cqt`: [#]_.\n\n 1. L-1 normalization of each chroma vector\n 2. Quantization of ampl... | 1 |
{'name': 'convert_loras_to_safeloras_with_embeds@lora_diffusion/lora.py', 'description': 'Converts the Lora from multiple pytorch .pt files into a single safetensor file.\n\nmodelmap is a dictionary of {\n "module name": (pytorch_model_path, target_replace_module, rank)\n}', 'signature': 'def convert_loras_to_safelo... | 0 |
{'name': 'test_check_classic_valid_with_preprocessor@test/test_utils.py', 'description': 'Test that valid inputs when using a preprocessor raises no warning', 'signature': 'def test_check_classic_valid_with_preprocessor(points):'}</s>Dataset = namedtuple('Dataset', ('data target preprocessor to_transform')) | 0 |
{'name': 'Preset.__new__@ValveFileSystem/presets.py', 'description': 'locale should be one of either GLOBAL or LOCAL object references. tool is the toolname\nused to refer to all presets of that kind, while ext is the file extension used to\ndifferentiate between multiple preset types a tool may have', 'signature': 'd... | 1 |
{'name': 'is_numeric@lib/rule_engine/types.py', 'description': 'Check whether *value* is a numeric value (i.e. capable of being represented as a floating point value without loss\nof information).\n\n:param value: The value to check. This value is a native Python type.\n:return: Whether or not the value is numeric.\n:r... | 0 |
{'name': 'get_tags@thread.py', 'description': 'Returns a list of Tag objects from the given tag list.', 'signature': 'def get_tags(args: dict) -> List[Tag]:'}</s>{'name': 'get_instance_name@app.py', 'description': 'DOCSTRING', 'code': 'def get_instance_name():\n def instance_name():\n return app.config["INSTA... | 0 |
{'name': 'test_escaped_html@tests/test_linkify.py', 'description': 'If I pass in escaped HTML, it should probably come out escaped.', 'signature': 'def test_escaped_html():'}</s>{'name': 'test_links_https@tests/test_linkify.py', 'description': 'DOCSTRING', 'code': 'def test_links_https():\n assert (\n linkify... | 0 |
{'name': '_clean_if_branches_old@d2lbook/notebook.py', 'description': 'Handle speciall if branchs\n ', 'signature': 'def _clean_if_branches_old(lines, tab):'}</s>{'name': 'print_dict@d2lbook/common.py', 'description': 'DOCSTRING', 'code': "def print_dict(x):\n print(f'len: {len(x)}')\n for k in x:\n pri... | 0 |
{'name': 'IUController.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this controller as a dict', 'signature': 'def as_dict(self, extended=False) -> OrderedDict:'}</s>CONF_VOLUME = "volume" | 0 |
{'name': 'CheckStyle@third_party/cpplint/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces inside code, etc.... | 0 |
{'name': 'Neo4jTest.fill_default_arguments@tests/run_all_tests.py', 'description': 'Fills in default arguments for the Neo4jTest object\n\nThis function fills in default arguments for the Neo4jTest object\nbased on the specified test name. It sets default values for test name\nfilters, VDMS configurations, MinIO values... | 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': 'utc_from_timestamp@custom_components/mikrotik_router/apiparser.py', 'description': 'Return a UTC time from a timestamp.', 'signature': 'def utc_from_timestamp(timestamp: float) -> datetime:'}</s>{'name': 'fill_vals_proc@custom_components/mikrotik_router/apiparser.py', 'description': 'Add custom keys.', 'code'... | 0 |
{'name': '_check_is_max_context@third_party/processors/squad.py', 'description': "Check if this is the 'max context' doc span for the token.", 'signature': 'def _check_is_max_context(doc_spans, cur_span_index, position):'}</s>{'name': 'SquadFeatures@third_party/processors/squad.py', 'description': 'Single squad example... | 0 |
{'name': 'dual_contour_2d@dual_contour_2d.py', 'description': 'Iterates over a cells of size one between the specified range, and evaluates f and f_normal to produce\na boundary by Dual Contouring. Returns an unordered list of Edge objects.', 'signature': 'def dual_contour_2d(f, f_normal, xmin=XMIN, xmax=XMAX, ymin=YMI... | 0 |
{'name': 'RepeatChart.interactive@altair/vegalite/v3/api.py', 'description': 'Make chart axes scales interactive\n\nParameters\n----------\nname : string\n The selection name to use for the axes scales. This name should be\n unique among all selections within the chart.\nbind_x : boolean, default True\n If tru... | 0 |
{'name': 'JsonProtocolEncoder.default@tests/coaster_tests/sqlalchemy_roles_test.py', 'description': 'Encode JSON.', 'signature': 'def default(self, o: Any) -> Any:'}</s>{'name': 'MultiroleDocument@tests/coaster_tests/sqlalchemy_roles_test.py', 'description': 'Test model that grants multiple roles via RoleMembership.', ... | 0 |
{'name': 'TDClient.preferences@tdameritrade/client.py', 'description': 'get preferences for account\n\nArgs:\n accountId (int): account to get preferences for', 'signature': 'def preferences(self, accountId=None):'}</s>PLACE_ORDER = BASE + "accounts/{accountId}/orders" | 0 |
{'name': 'resnet50@habitat_baselines/slambased/monodepth.py', 'description': 'Constructs a ResNet-50 model.\nArgs:\n pretrained (bool): If True, returns a model pre-trained on ImageNet', 'signature': 'def resnet50(pretrained=False, **kwargs):'}</s>{'name': 'define_model@habitat_baselines/slambased/monodepth.py', 'de... | 0 |
{'name': 'get_attr@cruds/templatetags/crud_tags.py', 'description': 'Filter returns obj attribute.', 'signature': 'def get_attr(obj, attr):'}</s>{'name': 'crud_url_list@cruds/utils.py', 'description': 'DOCSTRING', 'code': 'def crud_url_list(model, *args, **kwargs):\n return crud_url(model, ACTION_LIST, *args, **kwar... | 0 |
{'name': 'pick_areas_rectangle@picasso/lib.py', 'description': 'Returns pick areas for each pick in picks.\n\nParameters\n----------\npicks : list\n List of picks, each pick is a list of coordinates of the \n rectangle corners.\nw : float\n Pick width.\n\nReturns\n-------\nareas : np.1darray\n Pick areas, s... | 0 |
{'name': 'load_libdmtx@pylibdmtx/wrapper.py', 'description': 'Loads the libdmtx shared library.\n\nPopulates the globals LIBDMTX and EXTERNAL_DEPENDENCIES.', 'signature': 'def load_libdmtx():'}</s>{'name': 'DmtxFlip@pylibdmtx/wrapper.py', 'description': 'DOCSTRING', 'base_classes': ['IntEnum'], 'methods': []} | 0 |
{'name': 'load_data@pelicun/file_io.py', 'description': "Load data assuming it follows standard SimCenter tabular schema.\n\nThe data is assumed to have a single header line and an index column. The\nsecond line may start with 'Units' in the index and provide the units for\neach column in the file.\n\nParameters\n-----... | 0 |
{'name': 'BertTokenizer.save_vocabulary@albert/albert_zh/tokenization_bert.py', 'description': 'Save the tokenizer vocabulary to a directory or file.', 'signature': 'def save_vocabulary(self, vocab_path):'}</s>VOCAB_FILES_NAMES = {'vocab_file': 'vocab.txt'} | 1 |
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie... | 0 |
{'name': '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': 'TestUnusualSocketConditions.test_handle_recv_wantread_upload@test/test_sync_connection.py', 'description': 'When a socket is marked readable during request upload but returns\nWANT_READ when read from, the code ignores it and continues with upload.', 'signature': 'def test_handle_recv_wantread_upload(self):'}... | 1 |
{'name': 'thanksgiving@src/convertdate/holidays.py', 'description': "In the United States, Thanksgiving is celebrated on the last Thursday\nof November. In Canada, on the second Monday of October.\n\nArguments:\n year (int): Gregorian year\n country (str): either ``'usa'`` (default) or ``'canada'``", 'signature':... | 0 |
{'name': 'tt_entails@aimacode/logic.py', 'description': "Does kb entail the sentence alpha? Use truth tables. For propositional\nkb's and sentences. [Figure 7.10]. Note that the 'kb' should be an\nExpr which is a conjunction of clauses.\n>>> tt_entails(expr('P & Q'), expr('Q'))\nTrue", 'signature': 'def tt_entails(kb, ... | 0 |
{'name': 'validateURL@src/feedvalidator/__init__.py', 'description': 'validate RSS from URL, returns events list, or (events, rawdata) tuple', 'signature': 'def validateURL(url, firstOccurrenceOnly=1, wantRawData=0):'}</s>{'name': 'InvalidMediaExpression@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_... | 0 |
{'name': 'VersatileImageFieldTestCase.test_create_on_demand_boolean@tests/tests.py', 'description': 'Ensure create_on_demand boolean is set appropriately.', 'signature': 'def test_create_on_demand_boolean(self):'}</s>{'name': 'validate_ppoi_tuple@versatileimagefield/validators.py', 'description': 'Validates that a tupl... | 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_SELECTOR_WRONG_TYPE = 2312 | 0 |
{'name': 'delete_employee@app/admin/views.py', 'description': 'Assign a department and a role to an employee', 'signature': 'def delete_employee(id):'}</s>{'name': 'add_role@app/admin/views.py', 'description': 'Add a role to the database', 'code': 'def add_role():\n """\n Add a role to the database\n """\n ... | 0 |
{'name': 'UnitTestCase.test_urlconf_registry@pages/tests/test_unit.py', 'description': 'Test urlconf_registry basic functions.', 'signature': 'def test_urlconf_registry(self):'}</s>{'name': 'TestCase@pages/tests/testcase.py', 'description': 'Django page CMS test suite class', 'base_classes': ['TestCase'], 'methods': [{... | 0 |
{'name': 'get_frame@asynq/debug.py', 'description': 'Given a generator, returns its current frame.', 'signature': 'def get_frame(generator):'}</s>{'name': 'dump_stack@asynq/debug.py', 'description': 'Dumps current stack trace.', 'code': 'def dump_stack(skip=0, limit=None):\n """Dumps current stack trace."""\n ski... | 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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQDMHO_STRUC_ID_ARRAY = [b"D", b"M", b"H", b"O"] | 0 |
{'name': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>ICMP_UNREACH_NET_PROHIB = 9 | 0 |
{'name': 'MfaWorker.configuration@montreal_forced_aligner/abc.py', 'description': 'Configuration parameters', 'signature': 'def configuration(self) -> MetaDict:'}</s>{'name': 'KaldiFunction@montreal_forced_aligner/abc.py', 'description': 'Abstract class for running Kaldi functions', 'base_classes': [], 'methods': [{'na... | 0 |
{'name': 'MikrotikCoordinator.__init__@custom_components/mikrotik_router/coordinator.py', 'description': 'Initialize MikrotikCoordinator.', 'signature': 'def __init__(self, hass: HomeAssistant, config_entry: ConfigEntry):'}</s>CONF_SENSOR_ENVIRONMENT = "sensor_environment" | 0 |
{'name': 'info_for_entire_history@ascmhl/commands.py', 'description': 'ROOT_PATH: the root path to use for the asc mhl history', 'signature': 'def info_for_entire_history(root_path, verbose):'}</s>{'name': 'MHLAuthor@ascmhl/hashlist.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'MHLAuthor.__... | 0 |
{'name': 'ShutIt.process_args@shutit_class.py', 'description': "Process the args we have. 'args' is always a ShutItInit object.\n ", 'signature': 'def process_args(self, args):'}</s>{'name': 'LayerConfigParser@shutit_class.py', 'description': 'DOCSTRING', 'base_classes': ['ConfigParser.RawConfigParser'],... | 0 |
{'name': 'set_comments@kam1n0-clients/ida-plugin/Kam1n0/IDAUtils.py', 'description': '[summary] \nArgs:\n cmts ([type]): [description]', 'signature': 'def set_comments(cmts, ignore_offset_error=False):'}</s>ICONS = namedtuple("Icons", list(ALL_ICONS.keys())) | 0 |
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=... | 0 |
{'name': 'extcap_interfaces@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'List available interfaces to capture from', 'signature': 'def extcap_interfaces():'}</s>in_follow_mode = False | 0 |
{'name': 'openLabJack@src/LabJackPython.py', 'description': 'openLabJack(deviceType, connectionType, firstFound = True, pAddress = 1, LJSocket = None)\n\nNote: On Windows, UE9 over Ethernet, pAddress MUST be the IP address. ', 'signature': 'def openLabJack(deviceType, connectionType, firstFound = True, pAddress = 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': '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': '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': 'SyncReference.to_resource@fhirpy/base/lib_sync.py', 'description': 'Returns Resource instance for this reference\nfrom fhir server otherwise.', 'signature': 'def to_resource(self) -> TResource:'}</s>TSyncClient = TypeVar("TSyncClient", bound=SyncClient) | 0 |
{'name': 'get_from_cache@albert/albert_zh/file_utils.py', 'description': "Given a URL, look for the corresponding dataset in the local cache.\nIf it's not there, download it. Then return the path to the cached file.", 'signature': 'def get_from_cache(url, cache_dir=None, force_download=False, proxies=None):'}</s>PYTORC... | 1 |
{'name': 'vqt@librosa/core/constantq.py', 'description': 'Compute the variable-Q transform of an audio signal.\n\nThis implementation is based on the recursive sub-sampling method\ndescribed by [#]_.\n\n.. [#] Schörkhuber, Christian, Anssi Klapuri, Nicki Holighaus, and Monika Dörfler.\n "A Matlab toolbox for efficie... | 0 |
{'name': 'execute_sql@pg_partitioning/shortcuts.py', 'description': 'Execute SQL sequence and returning result.', 'signature': 'def execute_sql(sql_sequence: Union[str, List[str], Tuple[str]], fetch: bool = False) -> Optional[List]:'}</s>{'name': 'generate_set_indexes_tablespace_sql@pg_partitioning/shortcuts.py', 'desc... | 0 |
{'name': 'generate@scons/site_tools/doxygen.py', 'description': 'Add builders and construction variables for the\nDoxygen tool. This is currently for Doxygen 1.4.6.', 'signature': 'def generate(env):'}</s>{'name': 'DoxyEmitter@scons/site_tools/doxygen.py', 'description': 'Doxygen Doxyfile emitter', 'code': 'def DoxyEm... | 1 |
{'name': 'Record.remove@shingetsu/cache.py', 'description': 'Remove record.\n\nThe record is removed from cache,\nbut do not removed from file-system.', 'signature': 'def remove(self):'}</s>gateway_protocol = _get_value(_extconf, 'Gateway', 'protocol', 'http') | 0 |
{'name': 'AreaTestCase.test_area_illinois_with_string@geojson_area/test.py', 'description': 'Computer the area of illinois with string input', 'signature': 'def test_area_illinois_with_string(self):'}</s>illinois_area = 145978332359.36746 | 1 |
{'name': 'generate_assignment_stub_and_hook@da/compiler/incgen.py', 'description': "Generate assignment stub and hook node for 'nameobj'.\n\nAssignment stubs notifies the incrementalizer of changes to value of\nvariables, and gives the incrementalizer a chance to perform necessary\nhousekeeping.", 'signature': 'def gen... | 0 |
{'name': 'model_init@analyze.py', 'description': 'init model\n\ninit model for template matching\n\nArgs:\n video_type (int): movie resolution type\n\nReturns:', 'signature': 'def model_init(video_type):'}</s>MENU_ROI = (0, 0, 0, 0) | 0 |
{'name': 'smimeplus.verify@contrib/smimeplus.py', 'description': "Verify to see if 'smsg' was signed by 'scert', and scert was\nissued by cacert of this object. Return message signed if success,\nNone otherwise", 'signature': 'def verify(self, smsg, scert):'}</s>{'name': 'openfile@src/M2Crypto/BIO.py', 'description': ... | 0 |
{'name': 'AlarmoMasterEntity.__init__@custom_components/alarmo/alarm_control_panel.py', 'description': 'Initialize the alarm_control_panel entity.', 'signature': 'def __init__(self, hass: HomeAssistant, name: str, entity_id: str) -> None:'}</s>COMMAND_ARM_CUSTOM_BYPASS = "arm_custom_bypass" | 0 |
{'name': 'MediaWikiPage._handle_redirect@mediawiki/mediawikipage.py', 'description': 'handle redirect', 'signature': 'def _handle_redirect(self, redirect: bool, preload: bool, query: Dict, page: Dict[str, Any]):'}</s>{'name': 'DisambiguationError@mediawiki/exceptions.py', 'description': 'Exception raised when a page re... | 0 |
{'name': 'use_setuptools@ez_setup.py', 'description': 'Ensure that a setuptools version is installed.\n\nReturn None. Raise SystemExit if the requested version\nor later cannot be installed.', 'signature': 'def use_setuptools('}</s>{'name': 'download_file_curl@ez_setup.py', 'description': 'DOCSTRING', 'code': "def down... | 0 |
{'name': 'build_fit_ensemble@gama/postprocessing/ensemble.py', 'description': 'Construct an Ensemble of models, optimizing for metric.', 'signature': 'def build_fit_ensemble('}</s>log = logging.getLogger(__name__) | 1 |
{'name': 'TestDecode.testDecodeBadUTF8@src/tests/testXmlEncodingDecode.py', 'description': 'Ensure bad UTF-8 is flagged as such, but still decoded.', 'signature': 'def testDecodeBadUTF8(self):'}</s>{'name': 'InvalidYear@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['InvalidValue'], 'method... | 0 |
{'name': 'BasicTokenizer._clean_text@pytorch_pretrained_bert/tokenization.py', 'description': 'Performs invalid character removal and whitespace cleanup on text.', 'signature': 'def _clean_text(self, text):'}</s>{'name': 'BertTokenizer@pytorch_pretrained_bert/tokenization.py', 'description': 'Runs end-to-end tokenizati... | 0 |
{'name': 'uberenv_build@scripts/llnl_scripts/llnl_lc_build_tools.py', 'description': 'Calls uberenv to install tpls for a given spec to given prefix.', 'signature': 'def uberenv_build(prefix, spec, project_file, mirror_path):'}</s>{'name': 'get_shared_mirror_dir@scripts/llnl_scripts/llnl_lc_build_tools.py', 'descriptio... | 0 |
{'name': 'test_make_importer@elpis/transformer/test_transformer.py', 'description': 'Use the make_importer function to create an importer data transformer.', 'signature': 'def test_make_importer(tdtaf, tmpdir):'}</s>{'name': 'test_factory_import_directory_correct_arguments@elpis/transformer/test_transformer.py', 'descr... | 0 |
{'name': 'initialize_ad_tracking_db@core/friendly_organizer.py', 'description': 'Initializes the AdTracker table with the default list of trackers. Ran only once at startup.', 'signature': 'def initialize_ad_tracking_db():'}</s>packet_queue = queue.Queue() | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIACF_AUTH_PROFILE_ATTRS = 1114 | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.