text string | label int64 |
|---|---|
{'name': 'draw_water_mix_ratio@pymeteo/skewt.py', 'description': 'Plot lines of constant water vapor mixing ratio on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function calculates isolines of constant water vapor\nmixing ratio and plots these lines. Values of w calcul... | 0 |
{'name': 'TestingParser.fill_default_tls_stdout_filename@tests/run_all_tests.py', 'description': 'Sets the default TLS stdout filename for testing if it is not already\nspecified.\n\nThis method checks if the `tls_stdout_filename` attribute in the\n`testing_args` object is set. If it is not set, it assigns a default\nv... | 0 |
{'name': 'CMSISDAPProbe.reset@pyocd/probe/cmsis_dap_probe.py', 'description': 'Reset the target', 'signature': 'def reset(self):'}</s>{'name': 'CMSISDAPProbe@pyocd/probe/cmsis_dap_probe.py', 'description': 'DOCSTRING', 'base_classes': ['DebugProbe'], 'methods': [{'name': 'CMSISDAPProbe.get_all_connected_probes@pyocd/pr... | 1 |
{'name': 'convert_sqlalchemy_hybrid_property_bare_str@graphene_sqlalchemy/converter.py', 'description': 'Convert Bare String into a ForwardRef', 'signature': 'def convert_sqlalchemy_hybrid_property_bare_str(type_arg: str, **kwargs):'}</s>{'name': 'DummyImport@graphene_sqlalchemy/utils.py', 'description': "The dummy mod... | 0 |
{'name': 'Fake.__init__@verif/input.py', 'description': 'A fake input\n\nobs A 1, 2, or 3D array of obsevations.\n If 3D assume the dimensions are (time,leadtime,location)\n If 2D assume the dimensions are (time,leadtime)\n If 1D assume the dimensions are (time)', 'signature': 'def __init__... | 0 |
{'name': '_handleAnswerFileParams@packstack/installer/run_setup.py', 'description': 'handle loading and validating\nparams from answer file\nsupports reading single or group params', 'signature': 'def _handleAnswerFileParams(answerFile):'}</s>ERR_ONLY_1_FLAG = "Error: The %s flag is mutually exclusive to all other comm... | 0 |
{'name': 'type_from_json_schema@typesystem/json_schema.py', 'description': 'Build a typed field or union of typed fields from a JSON schema object.', 'signature': 'def type_from_json_schema(data: dict, definitions: Definitions) -> Field:'}</s>{'name': 'Reference@typesystem/schemas.py', 'description': 'DOCSTRING', 'base... | 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': 'get_messages@libratom/lib/concurrency.py', 'description': 'Message generator to feed a pool of processes from a directory of PST files', 'signature': 'def get_messages('}</s>RATOM_MSG_PROGRESS_STEP = int(os.environ.get("RATOM_MSG_PROGRESS_STEP", 10)) | 1 |
{'name': 'register_websocket_handlers@custom_components/nodered/websocket.py', 'description': 'Register the websocket handlers.', 'signature': 'def register_websocket_handlers(hass: HomeAssistant):'}</s>CONF_ATTRIBUTES = "attributes" | 0 |
{'name': 'Attachments.add_attachment_to_run@testrail_api/_category.py', 'description': 'Adds attachment to test run.\nThe maximum allowable upload size is set to 256mb.\nRequires TestRail 6.3 or later\n\n:param run_id:\n The ID of the test run the attachment should be added to\n:param path:\n The path to the file... | 0 |
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'is_mul@src/api/python/z3/z3.py', 'description': "Return `True` if `a` is an expression of the form b * c.\n\n>>> x, y = Ints(... | 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': 'Controller.get_selected_configs@tools/ipp_custom_library_tool_python/gui/controller.py', 'description': 'Collecting all user-specified information about future dynamic library into dictionary', 'signature': 'def get_selected_configs(self):'}</s>SINGLE_THREADED = "single-threaded" | 1 |
{'name': 'LossModel._apply_consequence_scaling@pelicun/model/loss_model.py', 'description': 'Apply a scale factor to selected loss sample columns.\n\nThe scaling conditions are passed as a dictionary mapping\nlevel names with their required value for the condition to be\nmet. It has to contain `dv` as one of its keys, ... | 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': 'findlines@tests/utils.py', 'description': 'Extract the lines from the buffer which contains the pattern\n`substring`\n\nArgs:\n substring (str): the pattern to look for\n buffer (str): the buffer to look into\n\nReturns:\n List[str]', 'signature': 'def findlines(substring: str, buffer: str) -> List[s... | 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>INVENTORY_DIR = DATA_DIR / "additional_inventories" | 0 |
{'name': 'MaskedArray.__imul__@venv/Lib/site-packages/numpy/ma/core.py', 'description': 'Multiply self by other in-place.', 'signature': 'def __imul__(self, other):'}</s>identity = _convert2ma(
'identity', params=dict(fill_value=None, hardmask=False)) | 0 |
{'name': 'Grid.from_dataset@uxarray/grid/grid.py', 'description': 'Constructs a ``Grid`` object from a dataset.\n\nParameters\n----------\ndataset : xr.Dataset or path-like\n ``xarray.Dataset`` containing unstructured grid coordinates and connectivity variables or a directory\n containing ASCII files represents... | 0 |
{'name': 'decode_file@airtable_local_backup/restore.py', 'description': "Decodes filedata store in backup dumps.\n\nArguments:\n item: the file data to decode\n check_integrity: bool- flag whether to check the resulting data against\n the stored hash.\n\nReturns: dict: {'filename': name of the file, 'data': (b... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIA_MAX_GLOBAL_LOCKS = 83 | 0 |
{'name': 'group_dicoms_into_seqinfos@heudiconv/dicoms.py', 'description': "Process list of dicoms and return seqinfo and file group\n`seqinfo` contains per-sequence extract of fields from DICOMs which\nwill be later provided into heuristics to decide on filenames\n\nParameters\n----------\nfiles : list of str\n List o... | 0 |
{'name': 'api_probes_avail@GeoHealthCheck/app.py', 'description': 'Get available (configured) Probes for this\ninstallation, optional for resource type', 'signature': 'def api_probes_avail(resource_type=None, resource_id=None):'}</s>RESOURCE_TYPES = {
'OGC:WMS': {
'label': 'Web Map Service (WMS)',
'... | 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': 'test_repair_by_hamming@pyFileFixity/tests/test_repair_ecc.py', 'description': 'recc: tamper ecc file and repair by hamming distance ', 'signature': 'def test_repair_by_hamming():'}</s>{'name': 'compute_ecc_hash@pyFileFixity/header_ecc.py', 'description': 'Split a string in blocks given max_block_size and comp... | 0 |
{'name': 'SimditorWidget.build_attrs@simditor/widgets.py', 'description': 'Helper function for building an attribute dictionary.\nThis is combination of the same method from Django<=1.10 and Django1.11', 'signature': 'def build_attrs(self, base_attrs, extra_attrs=None, **kwargs):'}</s>FULL_TOOLBAR = [
'title', 'bol... | 0 |
{'name': 'Asizer._sizer@pyFileFixity/lib/profilers/visual/pympler/asizeof.py', 'description': 'Size an object, recursively.\n ', 'signature': 'def _sizer(self, obj, deep, sized):'}</s>{'name': '_lengstr@pyFileFixity/lib/profilers/visual/pympler/asizeof.py', 'description': 'Object length as a string.\n ', 'cod... | 0 |
{'name': 'IUCoordinator.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data for the system', 'signature': 'def load(self, config: OrderedDict) -> "IUCoordinator":'}</s>DEFAULT_MAX_LOG_ENTRIES = 50 | 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>CapBu... | 0 |
{'name': 'TestCondensedGraphOfReactionFeaturizer.test_calc_node_feature_matrix_shape@tests/unit/featurizers/test_cgr.py', 'description': 'Test that the calc_node_feature_matrix method returns the correct node feature matrix.', 'signature': 'def test_calc_node_feature_matrix_shape(self, rxn_smi, mode_name):'}</s>{'name'... | 0 |
{'name': 'GroupFLT.subtract_median_filter@grizli/multifit.py', 'description': 'Remove a median filter calculated along the dispersion axis.\n\nParameters\n----------\nfilter_size : int\n Size of the median filter.\n\nfilter_central : int\n Mask the central `filter_central` pixels of the filter.\n\nrevert : bool\n... | 0 |
{'name': 'CheckForFunctionLengths@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Reports for long function bodies.\n\nFor an overview why this is done, see:\nhttp://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Write_Short_Functions\n\nUses a simplistic algorithm assuming other style guidelines\... | 0 |
{'name': 'Win32Serial.setRTS@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Set terminal status line: Request To Send', 'signature': 'def setRTS(self, level=1):'}</s>PurgeComm = _stdcall_libraries['kernel32'].PurgeComm | 0 |
{'name': 'write_elements@tools/pydfu.py', 'description': 'Writes the indicated elements into the target memory,\nerasing as needed.', 'signature': 'def write_elements(elements, mass_erase_used, progress=None):'}</s>__DFU_DETACH = 0 | 0 |
{'name': 'safe_dump@Others_Labs/code/Survey-Survey/yaml/__init__.py', 'description': 'Serialize a Python object into a YAML stream.\nProduce only basic YAML tags.\nIf stream is None, return the produced string instead.', 'signature': 'def safe_dump(data, stream=None, **kwds):'}</s>{'name': 'add_implicit_resolver@Others... | 0 |
{'name': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>PF_OP_LE = 5 | 0 |
{'name': 'pre_process_and_fetch_license_dict@src/attributecode/model.py', 'description': 'Return a dictionary containing the license information (key, name, text, url)\nfetched from the ScanCode LicenseDB or DejaCode API.', 'signature': 'def pre_process_and_fetch_license_dict(abouts, from_check=False, api_url=None, api... | 0 |
{'name': 'add_2@tests/python/codegen/test_codegen_integration.py', 'description': 'Pure python agent device function that can be called from a @pyflamegpu.agent_function\nFunction adds two to an int variable', 'signature': 'def add_2(a : int) -> int:'}</s>{'name': 'cond_func@tests/python/codegen/test_codegen_integratio... | 0 |
{'name': 'PacketFilter.kill_states@pf/filter.py', 'description': 'Clear states matching the specified arguments.\n\nStates can be specified by address family, layer-4 protocol, source and\ndestination addresses, interface name, label and routing domain. Return\nthe number of killed states.', 'signature': 'def kill_stat... | 0 |
{'name': 'molecular_hamiltonian_mpo@pytenet/hamiltonian.py', 'description': "Construct a molecular Hamiltonian as MPO,\nusing physicists' convention for the interaction term (note ordering of k and \\ell):\n\n.. math::\n\n H = \\sum_{i,j} t_{i,j} a^{\\dagger}_i a_j + \\frac{1}{2} \\sum_{i,j,k,\\ell} v_{i,j,k,\\ell} ... | 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': 'ensure_env_missing@test/test_utils.py', 'description': 'context manager that makes sure a conda env of a particular name does not\... | 0 |
{'name': 'CheckBraces@third_party/cpplint/cpplint.py', 'description': 'Looks for misplaced braces (e.g. at the end of 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 call with ... | 0 |
{'name': 'geticmptypebynumber@pf/_utils.py', 'description': 'Return the ICMP type as a string.', 'signature': 'def geticmptypebynumber(type, af):'}</s>PF_THRESHOLD_MULT = 1000 | 0 |
{'name': 'BagTopicHelper.get_topic_types@bag_tools/scripts/plot.py', 'description': "Retrieves the type and topic info and cached them.\nThe first time it opens the bag file and then closes it.\nIf there's any error opening or reading the bag file, the error flag is\nset to True.\n\n:returns: array of (topic, type) tup... | 0 |
{'name': 'bisect_steps_remaining@nix_bisect/git.py', 'description': 'Estimate of remaining steps, including the current one.\n\nThis is an approximation.', 'signature': 'def bisect_steps_remaining():'}</s>{'name': 'bisect_status@nix_bisect/git.py', 'description': 'Reproduce the status line git-bisect prints after each ... | 0 |
{'name': 'GTestFailIfNoTestLinkedTest.Run@third_party/libgtest/googletest/test/googletest-fail-if-no-test-linked-test.py', 'description': 'Run the given program with the given flag.\n\nArgs:\n program_name: Name of the program to run.\n flag: The command line flag to pass to the program, or None.\n env: Dictionary w... | 0 |
{'name': '_import_xml@contrib/xml/xmlio.py', 'description': 'Returns the Tulip data structure contained in a parsed XML file.', 'signature': 'def _import_xml('}</s>N_UPPERBOUND = "ub" | 0 |
{'name': 'TestEstimation.test_estimation_basic@modestpy/test/test_estimation.py', 'description': "Will use default methods ('MODESTGA', 'PS')", 'signature': 'def test_estimation_basic(self):'}</s>{'name': 'get_sys_arch@modestpy/utilities/sysarch.py', 'description': "Returns system architecture:\n'win32', 'win64', 'linu... | 0 |
{'name': 'drop_colnames@gaia_tools/util/table_utils.py', 'description': 'helper function for making a table from another table, dropping some names\ncolnames: list\n list of names in the original table\nargs: list\n list of strings of names to drop', 'signature': 'def drop_colnames(colnames, *args):'}</s>__status... | 0 |
{'name': 'Data._get_score@verif/data.py', 'description': 'Load the field variable from input, but only include the common data\n\nScores loaded will have the same dimension, regardless what input_index\nis used.\n\nfield: The type is of verif.field\ninput_index: which input to load from', 'signature': 'def _g... | 1 |
{'name': 'CheckTrailingSemicolon@third_party/cpplint/cpplint.py', 'description': 'Looks for redundant trailing semicolon.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any... | 0 |
{'name': 'MaskedLayer.get_output_mask@modified_keras/keras/layers/core.py', 'description': 'The default output mask is just the input mask unchanged. Override this in your own\nimplementations if, for instance, you are reshaping the input', 'signature': 'def get_output_mask(self, train=False):'}</s>{'name': 'make_tuple... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQSYSP_TYPE_ARCHIVE_TAPE = 14 | 0 |
{'name': 'Message.to_pydict@src/betterproto/__init__.py', 'description': 'Returns a python dict representation of this object.\n\nParameters\n-----------\ncasing: :class:`Casing`\n The casing to use for key values. Default is :attr:`Casing.CAMEL` for\n compatibility purposes.\ninclude_default_values: :class:`bool... | 0 |
{'name': 'generate_builder@marshmallow_peewee/convert.py', 'description': 'Generate builder function for given marshmallow field.', 'signature': 'def generate_builder(ma_field_cls: type[fields.Field]) -> Callable:'}</s>DEFAULT_BUILDER = generate_builder(fields.Raw) | 0 |
{'name': 'Circuit.id@discopy/quantum/circuit.py', 'description': 'The identity circuit on a given domain.\n\nParameters:\n dom : The domain (and codomain) of the identity,\n or ``qubit ** dom`` if ``dom`` is an ``int``.', 'signature': 'def id(cls, dom: int | Ty = None):'}</s>MATRIX_TWO_DTYPES = "Matrix clas... | 0 |
{'name': 'ApiMixIn._parse_watch_event@k8s/base.py', 'description': 'Parse a line from the watch stream into a WatchEvent or WatchBookmark.\nRaises APIServerError if the line is an error event.', 'signature': 'def _parse_watch_event(cls, line) -> Optional[WatchBaseEvent]:'}</s>{'name': 'WatchEvent@k8s/base.py', 'descrip... | 1 |
{'name': 'harmony_client_login_auth@notebooks/cloudwebinar/harmony_subset.py', 'description': 'Set up the request library so that it authenticates against the given Earthdata Login\nendpoint. This looks in the .netrc file first and if no credentials are found, it prompts for them.\n\nValid endpoints include:\n urs.... | 0 |
{'name': 'SegWitTest.test_witness_sigops@test/functional/p2p_segwit.py', 'description': 'Ensure sigop counting is correct inside witnesses.', 'signature': 'def test_witness_sigops(self):'}</s>OP_PUSHDATA1 = CScriptOp(0x4c) | 0 |
{'name': 'Dataset.link_to_here@accelerator/dataset.py', 'description': "Use this to expose a subjob as a dataset in your job:\nDataset(subjid).link_to_here()\nwill allow access to the subjob dataset under your jid.\nSpecify column_filter as an iterable of columns to include\nif you don't want all of them.\nUse override... | 0 |
{'name': 'handle_no_HAR_file_exception@website/web/genericapi.py', 'description': 'The capture has no HAR file, it failed for some reason.', 'signature': 'def handle_no_HAR_file_exception(error: Any) -> Response:'}</s>{'name': 'handle_pydandic_validation_exception@website/web/genericapi.py', 'description': 'Return the ... | 0 |
{'name': 'FaultSupervisionSubscriptionsView.create@FaultManagement/views.py', 'description': 'Create a single subscription\n\nTo create a subscription the representation of the subscription is POSTed on the /subscriptions collection resource.', 'signature': 'def create(self, request, *args, **kwargs):'}</s>... | 0 |
{'name': 'sinc@metrics/equivariance.py', 'description': 'Applies the `sinc` function.', 'signature': 'def sinc(x):'}</s>{'name': 'construct_affine_bandlimit_filter@metrics/equivariance.py', 'description': 'Constructs an oriented low-pass filter.\n\nThis filter applies the appropriate bandlimit with respect to the input... | 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': 'RetrievalSquadProcessor.get_train_examples@third_party/processors/lareqa.py', 'description': 'Returns the training examples from the data directory.\n\nArgs:\n data_dir: Directory containing the data files used for training and evaluating.\n filename: None by default, specify this if the training file h... | 0 |
{'name': 'ITypeComp.Bind@comtypes/typeinfo.py', 'description': 'Bind to a name', 'signature': 'def Bind('}</s>tagVARFLAGS = c_int | 0 |
{'name': 'TopLevelMixin.save@altair/vegalite/v3/api.py', 'description': "Save a chart to file in a variety of formats\n\nSupported formats are json, html, png, svg, pdf; the last three require\nthe altair_saver package to be installed.\n\nParameters\n----------\nfp : string filename or file-like object\n file in whi... | 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': 'weibo_containerid@weibo_base/weibo_api.py', 'description': ':param containerid:\n:param page:\n:return:', 'signature': 'def weibo_containerid(containerid: str, page: int) -> Response:'}</s>{'name': 'weibo_comments@weibo_base/weibo_api.py', 'description': 'https://m.weibo.cn/comments/hotflow?id=425705967702828... | 0 |
{'name': 'test_raise_error_for_unrealistic_kmax@tests/test_oopinterface.py', 'description': 'Error shall be raised if kmax is out of bound of the pressure grid provided in the input data\n\n.. versionadded:: 0.4.0', 'signature': 'def test_raise_error_for_unrealistic_kmax():'}</s>DRY_GAS_CONSTANT = 287.0 | 0 |
{'name': 'read_vessel_time_weighted_metadata_lines@classification/metadata.py', 'description': "For a set of vessels, read metadata; use flat weights\n\nArgs:\n available_ids: a set of all ids for which we have feature data.\n lines: a list of comma-separated vessel metadata lines. Columns are\n the id and... | 0 |
{'name': 'MetricList.get_sql_and_with_clause@metrics.py', 'description': "Gets the SQL query and WITH clause.\n\nThe query is constructed by\n1. Get the query for every children metric.\n2. If all children queries are compatible, we just collect all the columns\n from the children and use the WHERE and GROUP BY clause... | 0 |
{'name': '_check_em_conversion@unyt/unit_object.py', 'description': "Check to see if the units contain E&M units\n\nThis function supports unyt's ability to convert data to and from E&M\nelectromagnetic units. However, this support is limited and only very\nsimple unit expressions can be readily converted. This functio... | 1 |
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>{'name': 'is_or@src/api/python/z3/z3.py', 'descripti... | 0 |
{'name': 'is_text_file@worker/bases.py', 'description': 'Determine whether a file is a text file or binary file.\n:param filename: string, path to the file\n:param block_size: int\n:return: bool', 'signature': 'def is_text_file(filename, block_size=512):'}</s>{'name': 'get_cpu_available@worker/bases.py', 'description':... | 0 |
{'name': 'live_ticket@tests/conftest.py', 'description': "Return an authentication ticket usable with AFIP's test servers.\n\nAFIP doesn't allow requesting tickets too often, so we after a few runs\nof the test suite, we can't generate tickets any more and have to wait.\n\nThis helper generates a ticket, and saves it t... | 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': 'main@examples/hifigan/train_hifigan.py', 'description': 'Run training process.', 'signature': 'def main():'}</s>{'name': 'collater@examples/melgan/train_melgan.py', 'description': 'Initialize collater (mapping function) for Tensorflow Audio-Mel Dataset.\n\nArgs:\n batch_max_steps (int): The maximum length ... | 1 |
{'name': 'BackupJob.backup@freezer/job.py', 'description': ':type app_mode: freezer.mode.mode.Mode\n:return:', 'signature': 'def backup(self, app_mode):'}</s>{'name': 'save_config_to_file@freezer/utils/utils.py', 'description': 'DOCSTRING', 'code': "def save_config_to_file(config, f, section='freezer_default'):\n pa... | 0 |
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>{'name': 'RotateLeft@src/api/python/z3/z3.py', 'desc... | 0 |
{'name': 'Normalizer._cut_too_long_string_values@src/upgini/normalizer/normalize_utils.py', 'description': 'Check that string values less than maximum characters for LLM', 'signature': 'def _cut_too_long_string_values(self, df: pd.DataFrame):'}</s>SEARCH_KEY_UNNEST = "search_key_unnest" | 0 |
{'name': 'blake2_128_concat@substrateinterface/utils/hasher.py', 'description': 'Helper function to calculate a 16 bytes Blake2b hash for provided data, concatenated with data, used as key\nfor Substrate storage items\n\nParameters\n----------\ndata\n\nReturns\n-------', 'signature': 'def blake2_128_concat(data):'}</s>... | 0 |
{'name': 'Bundle.from_elsewhere@floweaver/sankey_definition.py', 'description': 'True if the source of the Bundle is Elsewhere (outside the system\nboundary).', 'signature': 'def from_elsewhere(self):'}</s>{'name': 'Bundle@floweaver/sankey_definition.py', 'description': 'A Bundle represents a set of flows between two :... | 1 |
{'name': 'TranslationFromPretrainedBARTTask.load_dataset@fairseq/tasks/translation_from_pretrained_bart.py', 'description': 'Load a given dataset split.\n\nArgs:\n split (str): name of the split (e.g., train, valid, test)', 'signature': 'def load_dataset(self, split, epoch=1, combine=False, **kwargs):'}</s>{'name': ... | 0 |
{'name': 'Sv1Product.get_quicklook_path@eoreader/products/optical/sv1_product.py', 'description': 'Get quicklook path if existing.\n\nReturns:\n str: Quicklook path', 'signature': 'def get_quicklook_path(self) -> str:'}</s>{'name': 'get_archived_file_list@eoreader/utils.py', 'description': 'Overload of sertit.path.g... | 0 |
{'name': 'docopt@third-party/fmt/support/docopt.py', 'description': 'Parse `argv` based on command-line interface described in `doc`.\n\n`docopt` creates your command-line interface based on its\ndescription that you pass as `doc`. Such description can contain\n--options, <positional-argument>, commands, which could be... | 0 |
{'name': 'sliding_windows@lib/cluster_tools.py', 'description': 'Returns a sliding sliding_windows (of width n) over data from the iterable\ns -> (s0,s1,...s[n-1]), (s1,s2,...,sn), ...', 'signature': 'def sliding_windows(seq, n=2):'}</s>{'name': 'process_cluster_input@lib/cluster_tools.py', 'description': 'DOCSTRING', ... | 0 |
{'name': 'Message.to_dict@src/betterproto/__init__.py', 'description': 'Returns a JSON serializable dict representation of this object.\n\nParameters\n-----------\ncasing: :class:`Casing`\n The casing to use for key values. Default is :attr:`Casing.CAMEL` for\n compatibility purposes.\ninclude_default_values: :cl... | 0 |
{'name': 'test_random_valid_mutation_without_insert@tests/unit/test_ea_mutation.py', 'description': 'Test if a valid mutation is applied at random.\n\nI am honestly not sure of the best way to test this.\nBecause of the random nature, we repeat this enough times to ensure\neach mutation is tried with probability >0.999... | 0 |
{'name': 'OrderFileTestCase.test@llvm-project/lldb/test/API/macosx/order/TestOrderFile.py', 'description': 'Test debug symbols follow the correct order by the order file.', 'signature': 'def test(self):'}</s>{'name': 'state_type_to_str@llvm-project/lldb/packages/Python/lldbsuite/test/lldbutil.py', 'description': 'Retur... | 0 |
{'name': 'default_if_empty@yaql/standard_library/queries.py', 'description': ':yaql:defaultIfEmpty\n\nReturns default value if collection is empty.\n\n:signature: collection.defaultIfEmpty(default)\n:receiverArg collection: input collection\n:argType collection: iterable\n:arg default: value to be returned if collectio... | 0 |
{'name': 'TransformerMulti._check_shape@src/opinf/pre/_multi.py', 'description': 'Verify the shape of the snapshot set Q.', 'signature': 'def _check_shape(self, states):'}</s>{'name': 'OpInfWarning@src/opinf/errors.py', 'description': 'Generic warning for package usage.', 'base_classes': ['UserWarning'], 'methods': []} | 0 |
{'name': 'get_local_file_content@etc/scripts/utils_thirdparty.py', 'description': 'Return the content at `url` as text. Return the content as bytes is\n`as_text` is False.', 'signature': 'def get_local_file_content(path, as_text=True):'}</s>EXTENSIONS_INSTALLABLE = EXTENSIONS_SDIST + (".whl",) | 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': 'HomographyTransform.__match_character@util/homg_trans.py', 'description': 'Find the tile where the character is located.\nResult will write into the corresponded tile in battle_map.\nDependencies: init_map_coordinate\n:param screen_trans: the color screen to find the arrow of the character\n:param battle_map:... | 0 |
{'name': 'SysTrayIcon.update@python/site-packages/winsystray/traybar.py', 'description': 'update icon image and/or hover text ', 'signature': 'def update(self, icon=None, hover_text=None, menu=None):'}</s>NIM_DELETE = 2 | 0 |
{'name': 'Windows.getRemoteWordList@addon/addonWindow.py', 'description': '根据选中到分组获取分组下到全部单词,并添加到 newWordListWidget', 'signature': 'def getRemoteWordList(self, selected_groups: [str]):'}</s>{'name': 'fatal_error@addon/addonWindow.py', 'description': 'DOCSTRING', 'code': 'def fatal_error(exc_type, exc_value, exc_traceba... | 0 |
{'name': 'find_stop@tools/hadb.py', 'description': 'Find time HA stopped # of times ago.', 'signature': 'def find_stop(stops: int) -> dt.datetime | None:'}</s>DEF_DATABASE = "~/homeassistant/production/config/home-assistant_v2.db" | 0 |
{'name': 'Test.test_MCD43A4@tests/test_image.py', 'description': 'Test the image module for MCD43A4', 'signature': 'def test_MCD43A4(self):'}</s>MYD16A2 = ee.ImageCollection("MODIS/006/MYD16A2").first() | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.