text string | label int64 |
|---|---|
{'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': 'non_max_suppression@exp2/utils/utils.py', 'description': "Removes detections with lower object confidence score than 'conf_thres'\nNon-Maximum Suppression to further filter detections.\nReturns detections with shape:\n (x1, y1, x2, y2, object_conf, class_conf, class)", 'signature': 'def non_max_suppression... | 0 |
{'name': 'Block._write@pcapng/blocks.py', 'description': 'Writes this block into the given output stream', 'signature': 'def _write(self, outstream):'}</s>LINKTYPE_AX25 = 3 | 0 |
{'name': 'get_async_stack_root_addrs@folly/coro/scripts/co_bt.py', 'description': 'Gets all the async stack roots that exist for the current thread.', 'signature': 'def get_async_stack_root_addrs('}</s>{'name': 'AsyncStackRootHolder@folly/coro/scripts/co_bt.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods'... | 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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQXPT_SPX = 4 | 0 |
{'name': 'set_M4A_data@ytmdl/song.py', 'description': 'Set the tags in the m4a file passed.', 'signature': 'def set_M4A_data(song, song_path):'}</s>{'name': '__replace_special_characters@ytmdl/dir.py', 'description': 'In the passed name, replace the special characters like\n/ with a `-` so that it does not raise any er... | 0 |
{'name': 'Architecture.__get_register@gef.py', 'description': "Return a register's value.", 'signature': 'def __get_register(self, regname: str) -> int:'}</s>{'name': 'gef_on_continue_unhook@gef.py', 'description': 'DOCSTRING', 'code': 'def gef_on_continue_unhook(func: Callable[["gdb.ThreadEvent"], None]) -> None:\n ... | 0 |
{'name': 'TokenList.token_first@sqlparse/sql.py', 'description': 'Returns the first child token.\n\nIf *skip_ws* is ``True`` (the default), whitespace\ntokens are ignored.\n\nif *skip_cm* is ``True`` (default: ``False``), comments are\nignored too.', 'signature': 'def token_first(self, skip_ws=True, skip_cm=False):'}</... | 0 |
{'name': 'collect_naive_merge_results_at_res@mseg_semantic/scripts/collect_results.py', 'description': 'For all test datasets, aggregate the results of the naive-merge model at a specific evaluation resolution\n(from resolution-specific .txt files in subfolders).\n\nArgs:\n resolution: either "360", "720", "1080", o... | 0 |
{'name': 'add_multi_constructor@strictyaml/ruamel/main.py', 'description': 'Add a multi-constructor for the given tag prefix.\nMulti-constructor is called for a node if its tag starts with tag_prefix.\nMulti-constructor accepts a Loader instance, a tag suffix,\nand a node object and produces the corresponding Python ob... | 0 |
{'name': 'split_scopes@info_popup.py', 'description': 'Splits "foo, bar, baz" into ["foo", "bar", "baz"]', 'signature': 'def split_scopes(scopes):'}</s>{'name': 'StatusMessageContext@sublime_haskell_common.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'StatusMessageContext.__init__@s... | 0 |
{'name': 'cpython_tags@gyp/pylib/packaging/tags.py', 'description': "Yields the tags for a CPython interpreter.\n\nThe tags consist of:\n- cp<python_version>-<abi>-<platform>\n- cp<python_version>-abi3-<platform>\n- cp<python_version>-none-<platform>\n- cp<less than python_version>-abi3-<platform> # Older Python versi... | 0 |
{'name': 'show_most_common_types@contrib/objgraph.py', 'description': 'Count the names of types with the most instances.\n\nNote that the GC does not track simple objects like int or str.\n\nNote that classes with the same name but defined in different modules\nwill be lumped together.', 'signature': 'def show_most_com... | 0 |
{'name': 'BaseAddon.get_lite_plugin_settings@py/jupyterlite-core/jupyterlite_core/addons/base.py', 'description': 'Get the plugin settings from a config path.\n\nThe keys follow the JupyterLab settings naming convention, of module and\nidentifier e.g.\n\n @jupyterlite/contents:plugin', 'signature': 'def get_lite_plu... | 1 |
{'name': 'Lexer.wrap@third_party/dawn/third_party/jinja2/lexer.py', 'description': 'This is called with the stream as returned by `tokenize` and wraps\nevery token in a :class:`Token` and converts the value.', 'signature': 'def wrap('}</s>{'name': 'Lexer@third_party/dawn/third_party/jinja2/lexer.py', 'description': "Cl... | 1 |
{'name': 'get_formatted_scans_key_row@heudiconv/bids.py', 'description': 'Parameters\n----------\ndcm_fn: str\n\nReturns\n-------\nrow: list\n [ISO acquisition time, performing physician name, random string]', 'signature': 'def get_formatted_scans_key_row(dcm_fn: str | Path) -> list[str]:'}</s>{'name': 'find_compati... | 0 |
{'name': 'make_visit_mosaic@grizli/aws/visit_processor.py', 'description': "Make a mosaic of the exposures from a visit with a tangent point selected\nfrom the sky tile grid\n\nParameters\n----------\nassoc : str\n grizli association name\n\nbase_path : str\n Base working directory. Working directory will be\n ... | 0 |
{'name': 'SimpleScrapingLocator.get_page@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/distlib/locators.py', 'description': "Get the HTML for an URL, possibly from an in-memory cache.\n\nXXX TODO Note: this cache is never actually cleared. It's assumed that\nthe data won't get stale over the lifetime of a loc... | 0 |
{'name': 'render@pygeos/_version.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'render_pep440@pygeos/_version.py', 'description': 'Build up version string, with post-release "local version identifier".\n\nOur goal: TAG[+DISTANCE.g... | 1 |
{'name': 'kill@pyngrok/ngrok.py', 'description': "Terminate the ``ngrok`` processes, if running, for the given config's ``ngrok_path``. This method will not\nblock, it will just issue a kill request.\n\n:param pyngrok_config: A ``pyngrok`` configuration to use when interacting with the ``ngrok`` binary,\n overriding... | 0 |
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>PFR_REFCNT_MAX = 2 | 0 |
{'name': 'process_lookup_path@gef.py', 'description': 'Look up for a path in the process memory mapping.\nReturn a Section object if found, None otherwise.', 'signature': 'def process_lookup_path(name: str, perm: Permission = Permission.ALL) -> Section | None:'}</s>{'name': 'use_rust_type@gef.py', 'description': 'DOCST... | 0 |
{'name': 'Context.__init__@lib/rule_engine/engine.py', 'description': ':param int regex_flags: The flags to provide to functions in the :py:mod:`re` module when calling either the\n :py:func:`~re.match` or :py:func:`~re.search` functions for comparison expressions.\n:param resolver: An optional callback function... | 1 |
{'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>ATTR_DISARM_AFTER_TRIGGER = "disarm_after_trigger" | 0 |
{'name': 'Tagger.decode@nagisa/tagger.py', 'description': 'Return the words with tags of the given words.\n\nargs:\n - words (list): Input words.\n - lower (bool, optional): If lower is True, all uppercase characters in a list of the words are converted into lowercase characters.\nretu... | 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': 'rs_simple_encode_msg@reedsolo6.py', 'description': "Simple Reed-Solomon encoding (mainly an example for you to understand how it works, because it's slower than the inlined function below)", 'signature': 'def rs_simple_encode_msg(msg_in, nsym, fcr=0, generator=2, gen=None):'}</s>{'name': 'gf_poly_mul_simple@r... | 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 |
{'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': 'Router._send_remote@da/sim.py', 'description': 'Forward `mesg` to remote process `dest`.\n\n ', 'signature': 'def _send_remote(self, src, dest, mesg, flags=0, transport=None, **params):'}</s>{'name': 'PatternElement@da/pattern.py', 'description': 'Tree structure representing a message pattern.\n ', ... | 0 |
{'name': 'downsample_with_parcellation@brainspace/mesh/mesh_operations.py', 'description': "Downsample surface according to labeling.\n\nSuch that, each parcel centroid is used as a point in the new downsampled\nsurface. Connectivity is based on neighboring parcels.\n\nParameters\n----------\nsurf : vtkPolyData or BSPo... | 0 |
{'name': 'ProcessLine@scripts/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a line of the file,\n ... | 0 |
{'name': 'spbasis_from_MomSpaceBasis@doc/src/week46/Programs/NeutronMatterCCD_Ladders.py', 'description': 'converts a lattice to a single particle basis for spin-isospin degeneracy st_degen\nparam lattice_vecs: list of lattice vectors for 1st particle\nparam st_degen: spin-isospin degeneracy\nreturn: basis as a list of... | 0 |
{'name': 'PythonModuleSourceFileGenerator._GenerateTypeSourceFileTypeObjectMethods@yaldevtools/source_generators/python_module.py', 'description': 'Generates the type object methods for a Python type source file.\n\nArgs:\n project_configuration (ProjectConfiguration): project configuration.\n template_mappings (dict... | 0 |
{'name': 'get_apps@test/test_apps/test_apps.py', 'description': 'Get all apps from apps_dir. If the WHITELIST contains any elements,\nit only obtains those apps. Skips the BLACKLIST apps.\n\nReturns the list of apps.', 'signature': 'def get_apps(apps_dir):'}</s>COMPILERS = ["gcc", "clang"] | 0 |
{'name': 'estimate_fao56@cfg/hass/custom_components/wb_irrigation/sensor.py', 'description': 'Estimate fao56 from weather ', 'signature': 'def estimate_fao56(day_of_year,'}</s>{'name': 'psy_const_of_psychrometer@cfg/hass/custom_components/wb_irrigation/pyeto/fao.py', 'description': 'Calculate the psychrometric constan... | 0 |
{'name': 'RenderCar._render_pascal@car/render_car.py', 'description': "Parameters\n----------\nmode: string\n ['train', 'valid']\nr1: resize ratio of height to width\n\nReturns\n----------", 'signature': 'def _render_pascal(self, mode, r1=1.0):'}</s>{'name': 'test_inference_rate@yolo_modules/yolo_gluon.py', 'descripti... | 0 |
{'name': 'PythonModuleSourceFileGenerator._GetSequenceType@yaldevtools/source_generators/python_module.py', 'description': 'Determines if the function prototype implies a sequence type.\n\nArgs:\n python_function_prototype (PythonTypeObjectFunctionPrototype): Python\n type object function prototype.\n\nReturns:\n... | 0 |
{'name': 'run_simple@SneakerBot 2019/venv/lib/python3.7/site-packages/werkzeug/serving.py', 'description': "Start a WSGI application. Optional features include a reloader,\nmultithreading and fork support.\n\nThis function has a command-line interface too::\n\n python -m werkzeug.serving --help\n\n.. versionadded:: ... | 0 |
{'name': 'IUCoordinator.service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Entry point for all service calls.', 'signature': 'def service_call('}</s>ATTR_TOTAL_DELAY = "total_delay" | 0 |
{'name': 'GetKappa@PyBioMed/PyMolecule/kappa.py', 'description': '#################################################################\nCalculation of all kappa values.\n\nUsage:\n\n result=GetKappa(mol)\n\n Input: mol is a molecule object.\n\n Output: result is a dcit form containing 6 kappa values.\n###########... | 1 |
{'name': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>{'name': 'get_map_func@src/api/python/z3/z3.py', 'description': "Return the function declaration associated with a Z3 map array expression.\n\n>>> f = Function('f', IntS... | 0 |
{'name': '_parse_edge_nodes@uxarray/io/_mpas.py', 'description': 'Parses edge node connectivity for either the Primal or Dual Mesh.', 'signature': 'def _parse_edge_nodes(in_ds, out_ds, mesh_type):'}</s>{'name': '_parse_edge_latlon_coords@uxarray/io/_mpas.py', 'description': 'Parses latlon edge node coordinates.', 'code... | 0 |
{'name': 'Sheet.sort@tksheet/sheet.py', 'description': "Sort the data within specified box regions in the table.\n\nThis method sorts the data within one or multiple box regions defined by their coordinates.\nEach box's columns are sorted independently.\n\nArgs:\n boxes (CreateSpanTypes): A type that can create a Sp... | 0 |
{'name': 'CheckForNonConstReference@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check for non-const references.\n\nSeparate from CheckLanguage since it scans backwards from current\nline, instead of scanning forward.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instan... | 0 |
{'name': 'read_fixed_fmt@meza/io.py', 'description': "Reads a fixed-width csv file.\n\nArgs:\n filepath (str): The fixed width formatted file path or file like object.\n widths (List[int]): The zero-based 'start' position of each column.\n mode (Optional[str]): The file open mode (default: 'r').\n kwargs (d... | 0 |
{'name': 'S2TheiaProduct._load_masks@eoreader/products/optical/s2_theia_product.py', 'description': 'Load cloud files as xarrays. Overload to manage associated bands.\n\nArgs:\n bands (list): List of the wanted bands\n pixel_size (int): Band pixel size in meters\n size (Union[tuple, list]): Size of the array (... | 0 |
{'name': 'document@api/project/__init__.py', 'description': 'Returns the matching document(s) from the specified index\n\nParameters\n----------\nrequest : Request\n Uses \'from\', \'to\', \'limit\', \'filter\', and \'doctype\' from request arguments\n\nReturns\n-------\nfilter\n dict containing the filters, e.g.... | 0 |
{'name': '_MatchesReValidator.__call__@vendor/attr/validators.py', 'description': 'We use a callable class to be able to change the ``__repr__``.', 'signature': 'def __call__(self, inst, attr, value):'}</s>{'name': 'ge@vendor/attr/validators.py', 'description': 'A validator that raises `ValueError` if the initializer i... | 0 |
{'name': 'stop_flops_count@src/utils/flops_counter.py', 'description': 'A method that will be available after add_flops_counting_methods() is called\non a desired net object.\nStops computing the mean flops consumption per image.\nCall whenever you want to pause the computation.', 'signature': 'def stop_flops_count(sel... | 0 |
{'name': 'PFAddr._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, a):'}</s>icmp6_types = {
ICMP6_DST_UNREACH: "unreach",
ICMP6_PACKET_TOO_BIG: "toobig",
ICMP6_TIME_EXCEEDED: "timex",
ICMP6_PARAM_PROB: ... | 0 |
{'name': 'numeric_expr_type@bowler/type_inference.py', 'description': 'Infer the type of an expression from its literals.\n\nWe broaden the definition of "literal" a bit to also include calls to\ncertain functions like int() and float() where the return type does not\nchange based on the arguments.\n\nArgs:\n node: ... | 1 |
{'name': 'advance_hlt@first-analysis-steps/code/tistos.py', 'description': 'Advance until HLT decision is true, returns\nnumber of events by which we advanced', 'signature': 'def advance_hlt(decision):'}</s>n = None | 1 |
{'name': 'excape@spider/utils/tools.py', 'description': '转译', 'signature': 'def excape(str):'}</s>{'name': 'get_chinese_word@spider/utils/tools.py', 'description': 'DOCSTRING', 'code': 'def get_chinese_word(content):\n regex = "[\\u4e00-\\u9fa5]+"\n chinese_word = get_info(content, regex)\n return chinese_word... | 0 |
{'name': 'plot_legend@pymeteo/skewt.py', 'description': 'Plot skew-t legend', 'signature': 'def plot_legend(axes):'}</s>{'name': 'plot_sounding@pymeteo/skewt.py', 'description': 'Plot sounding data\n\nThis plots temperature, dewpoint and wind data on a Skew-T/Log-P plot.\nThis will also plot derived values such as wetb... | 0 |
{'name': 'NestingState.Update@scripts/cpplint.py', 'description': 'Update nesting state with current line.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any errors found.'... | 0 |
{'name': 'scnym_train@scnym/api.py', 'description': 'Train an scNym model.\n\nParameters\n----------\nadata : AnnData\n [Cells, Genes] experiment containing annotated\n cells to train on.\nconfig : dict\n configuration options.\n\nReturns\n-------\nNone.\nSaves model outputs to `config["out_path"]` and adds mo... | 0 |
{'name': '_build_absolute_path@python/src/multi_language_broadcast_ts.py', 'description': 'Builds an absolute path by concatenating the S3_OUTPUT_BASE_PATH configuration parameter, the\nname of this example and the given relative path\n\n<p>e.g.: /s3/base/path/exampleName/relative/path\n\n:param relative_path: The rela... | 0 |
{'name': 'SensorHandler.start_arm_timer@custom_components/alarmo/sensors.py', 'description': 'start timer for automatical arming', 'signature': 'def start_arm_timer(self, entity):'}</s>SERVICE_ARM_SCHEMA = vol.Schema(
{
vol.Required(ATTR_ENTITY_ID): cv.entity_id,
vol.Optional(CONF_CODE, default=""):... | 0 |
{'name': 'check_Markovian_uncertainty@msppy/utils/statistics.py', 'description': 'Check Markovian uncertainty is in the right form. Return\nthe dimension of MC.', 'signature': 'def check_Markovian_uncertainty(Markovian_uncertainty, T):'}</s>{'name': 'allocate_jobs@msppy/utils/statistics.py', 'description': 'DOCSTRING',... | 0 |
{'name': 'urljoin@furl/furl.py', 'description': 'Parameters:\n base: Base URL to join with <url>.\n url: Relative or absolute URL to join with <base>.\n\nReturns: The resultant URL from joining <base> and <url>.', 'signature': 'def urljoin(base, url):'}</s>{'name': 'is_valid_encoded_query_key@furl/furl.py', 'descript... | 0 |
{'name': 'plot_sounding_data_uwyo@pymeteo/skewt.py', 'description': 'Plot SkewT from University of Wyoming sounding data\n\n:param filename: The name of the file containing sounding data\n:type filemane: str\n:param output: The name of the file to output plot\n:type output: str\n:param stationID: The station ID of a so... | 0 |
{'name': 'TestInboundESL.test_event_without_handler@tests/test_lib_esl.py', 'description': 'Should not break if receive an event without handler.', 'signature': 'def test_event_without_handler(self):'}</s>{'name': 'ESLProtocol@greenswitch/esl.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'na... | 0 |
{'name': 'PDFParser.do_keyword@pdfminer3/pdfparser.py', 'description': 'Handles PDF-related keywords.', 'signature': 'def do_keyword(self, pos, token):'}</s>{'name': 'int_value@pdfminer3/pdftypes.py', 'description': 'DOCSTRING', 'code': "def int_value(x):\n x = resolve1(x)\n if not isinstance(x, int):\n if... | 1 |
{'name': '_assign_with_converter@vendor/attr/_make.py', 'description': 'Unless *attr_name* has an on_setattr hook, use normal assignment after\nconversion. Otherwise relegate to _setattr_with_converter.', 'signature': 'def _assign_with_converter(attr_name, value_var, has_on_setattr):'}</s>NO_OP = object() | 0 |
{'name': '_process_dataset@preproc.py', 'description': 'Process a complete data set and save it as a TFRecord.\nArgs:\nname: string, unique identifier specifying the data set.\ndirectory: string, root path to the data set.\nnum_shards: integer number of shards for this data set.\nlabels_file: string, path to the labels... | 0 |
{'name': 'BaseView.get_id@py2cytoscape/data/base_view.py', 'description': 'Get SUID of the object\n\nNote that this is node/edge SUID, NOT node view/edge view SUID.\n\n:return: SUID as integer', 'signature': 'def get_id(self):'}</s>BASE_URL_NETWORK = BASE_URL + 'networks' | 0 |
{'name': 'CheckPrintf@tools/cpplint.py', 'description': 'Check for printf related issues.\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 errors found.', 'signature': 'd... | 0 |
{'name': 'Tasks.decode_log@proxmoxer/tools/tasks.py', 'description': "Takes in a task's log data and returns a multiline string representation\n\n:param log_list: The log formatting returned by the Proxmox API\n:type log_list: list of dicts\n:return: a multiline string of the log\n:rtype: str", 'signature': 'def decode... | 0 |
{'name': '_ClassifyInclude@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Figures out what kind of header \'include\' is.\n\nArgs:\n fileinfo: The current file cpplint is running over. A FileInfo instance.\n include: The path to a #included file.\n is_system: True if the #include used <> rather than ""... | 0 |
{'name': 'analyze_timer_frame@analyze.py', 'description': 'analyze frame to find timer name\n\nanalyze timer roi and find best match time\nmin, 10 sec, 1sec values search\n\nArgs\n frame (ndarray): edited frame from movie\n roi (list): search roi\n data_num (int): number of digits\n time_data (string): now ... | 1 |
{'name': 'TLP.set_ca_completion@fpga/lib/pcie/tb/pcie.py', 'description': 'Prepare completer abort (CA) completion for TLP', 'signature': 'def set_ca_completion(self, tlp, completer_id):'}</s>TLP_MSG_DATA_GATHER = (FMT_4DW_DATA, 0x15) | 0 |
{'name': 'Message.from_pydict@src/betterproto/__init__.py', 'description': 'Parse the key/value pairs into the current message instance. This returns the\ninstance itself and is therefore assignable and chainable.\n\nParameters\n-----------\nvalue: Dict[:class:`str`, Any]\n The dictionary to parse from.\n\nReturns\n... | 0 |
{'name': 'parse@docstring_parser/rest.py', 'description': 'Parse the ReST-style docstring into its components.\n\n:returns: parsed docstring', 'signature': 'def parse(text: str) -> Docstring:'}</s>RETURNS_KEYWORDS = {"return", "returns"} | 0 |
{'name': 'APIConnection.__init__@qingcloud/iaas/connection.py', 'description': '@param qy_access_key_id - the access key id\n@param qy_secret_access_key - the secret access key\n@param zone - the zone id to access\n@param host - the host to make the connection to\n@param port - the port to use when connect to host\n@pa... | 0 |
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i... | 0 |
{'name': 'GTestFilterUnitTest.testUniversalFilters@swap-ssdb-1.9.2/tests/googletest/googletest/test/gtest_filter_unittest.py', 'description': 'Tests filters that match everything.', 'signature': 'def testUniversalFilters(self):'}</s>SHARD_STATUS_FILE_ENV_VAR = "GTEST_SHARD_STATUS_FILE" | 0 |
{'name': 'CheckStyle@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/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 leng... | 0 |
{'name': 'create_model@supervized_partition/supervized_partition.py', 'description': 'Creates model ', 'signature': 'def create_model(args):'}</s>{'name': 'get_vkitti_info@supervized_partition/graph_processing.py', 'description': 'DOCSTRING', 'code': "def get_vkitti_info(args):\n #for now, no edge attributes\n re... | 0 |
{'name': 'axes_check_and_normalize@csbdeep/utils/utils.py', 'description': 'S(ample), T(ime), C(hannel), Z, Y, X', 'signature': 'def axes_check_and_normalize(axes,length=None,disallowed=None,return_allowed=False):'}</s>{'name': 'backend_channels_last@csbdeep/utils/utils.py', 'description': 'DOCSTRING', 'code': "def bac... | 0 |
{'name': 'TableOne._generate_remarks@tableone/tableone.py', 'description': 'Generate a series of remarks that the user should consider\nwhen interpreting the summary statistics.', 'signature': "def _generate_remarks(self, newline='\\n') -> str:"}</s>{'name': 'load_dataset@tableone/tableone.py', 'description': 'Load an ... | 0 |
{'name': 'TokenizerTrainer._lexicon_covering@montreal_forced_aligner/tokenization/trainer.py', 'description': 'Builds covering grammar and lexicon FARs.', 'signature': 'def _lexicon_covering(self, input_path=None, output_path=None) -> None:'}</s>OVERWRITE = False | 0 |
{'name': 'weighted_sum@bimpm/layer_utils.py', 'description': ':param atten_scores: # [batch_size, len1, len2]\n:param in_values: [batch_size, len2, dim]\n:return:', 'signature': 'def weighted_sum(atten_scores, in_values):'}</s>{'name': 'compute_gradients@bimpm/layer_utils.py', 'description': 'DOCSTRING', 'code': 'def c... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_INSUFFICIENT_BUFFER = 6113 | 0 |
{'name': 'plot_tuning_curves1D@nelpy/plotting/core.py', 'description': "WARNING! This function is not complete, and hence 'private',\nand may be moved somewhere else later on.\n\nIf pad=0 then the y-axis is assumed to be firing rate", 'signature': 'def plot_tuning_curves1D(ratemap, ax=None, normalize=False, pad=None, u... | 0 |
{'name': 'template@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Get a rendered template as a string iterator.\nYou can use a name, a filename or a template string as first parameter.\nTemplate rendering arguments can be passed as dictionaries\nor directly (as keyword arguments).', 'signature': 'def ... | 0 |
{'name': 'cjkFragSplit@xhtml2pdf/reportlab_paragraph.py', 'description': 'This attempts to be wordSplit for frags using the dumb algorithm.', 'signature': 'def cjkFragSplit(frags, maxWidths, calcBounds, encoding="utf8"):'}</s>PARAGRAPH_DEBUG = False | 0 |
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24... | 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': 'ParseArguments@compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseAr... | 0 |
{'name': 'create_and_configure_vpc@lib/workshop.py', 'description': 'Create VPC', 'signature': "def create_and_configure_vpc(tag='research-workshop'): "}</s>{'name': 'create_bucket@lib/workshop.py', 'description': 'DOCSTRING', 'code': "def create_bucket(region, session, bucket_prefix, with_uuid=True):\n if with_uuid... | 0 |
{'name': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>PF_THRESHOLD_MULT = 1000 | 0 |
{'name': 'get_svg_size@make_bw_font.py', 'description': 'Takes a path to an SVG file and reads it.\nChecks for the existence of a \'viewBox\' property in the \'svg\' element.\nConfirms that the viewBox is square.\nReturns the viewBox dimension as an integer.\n\nThe regex match will contain 4 groups:\n 1. String from... | 0 |
{'name': 'MessageSetItemDecoder@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/decoder.py', 'description': 'Returns a decoder for a MessageSet item.\n\nThe parameter is the message Descriptor.\n\nThe message set message looks like this:\n message MessageSet {\n repeated group Item = 1 {\n ... | 0 |
{'name': 'streets_per_node_proportions@osmnx/stats.py', 'description': 'Calculate streets-per-node proportions.\n\nParameters\n----------\nG\n Input graph.\n\nReturns\n-------\nspnp\n Dictionary keyed by count of streets incident on each node, and with\n values of what proportion of nodes in the graph have thi... | 0 |
{'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': 'debug_trace@snakefire/mainframe.py', 'description': 'set a tracepoint in the python debugger that works with qt', 'signature': 'def debug_trace():'}</s>{'name': 'Snakefire@snakefire/mainframe.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Snakefire.__init__@snakefire/mainfr... | 0 |
{'name': 'save_json@heudiconv/utils.py', 'description': 'Save data to a json file\n\nParameters\n----------\nfilename : str or Path\n Filename to save data in.\ndata : dict\n Dictionary to save in json file.\nindent : int, optional\nsort_keys : bool, optional\npretty : bool, optional', 'signature': 'def save_json... | 1 |
{'name': 'TestReviews.test_reply_data@tests/e2e_tests/test_reviews.py', 'description': 'tests reply', 'signature': 'def test_reply_data(self):'}</s>{'name': '_ContinuationToken@google_play_scraper/features/reviews.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': '_ContinuationToken.__init__@goo... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.