text
string
label
int64
{'name': 'build_datetime@yaql/standard_library/date_time.py', 'description': ':yaql:datetime\n\nReturns datetime object built on year, month, day, hour, minute, second,\nmicrosecond, offset.\n\n:signature: datetime(year, month, day, hour => 0, minute => 0, second => 0,\n microsecond => 0, offset => ...
0
{'name': 'RemoveMultiLineCommentsFromRange@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Clears a range of lines for multi-line comments.', 'signature': 'def RemoveMultiLineCommentsFromRange(lines, begin, end):'}</s>{'name': 'CheckVlogArguments@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Checks ...
0
{'name': 'GetBestInterface@comtypes/client/_managing.py', 'description': "Try to QueryInterface a COM pointer to the 'most useful'\ninterface.\n\nGet type information for the provided object, either via\nIDispatch.GetTypeInfo(), or via IProvideClassInfo.GetClassInfo().\nGenerate a wrapper module for the typelib, and QI...
0
{'name': 'format_operand_type@peachpy/x86_64/operand.py', 'description': 'Returns string representation of the operand type in assembly language', 'signature': 'def format_operand_type(operand):'}</s>sae = SuppressAllExceptions("sae")
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': 'plot@boxx/ylimg/ylimgTool.py', 'description': 'plot line or top @maxline lines', 'code': "def plot(array, sort=False, maxl...
0
{'name': 'extract_memory@examples/google2016_unbreakable_1/solve.py', 'description': 'Convience method that returns the flag input memory.', 'signature': 'def extract_memory(state):'}</s>START_ADDR = 4195773
0
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQFMT_AMQP = b'MQAMQP '
0
{'name': 'authenticate@src/server/server.py', 'description': 'Sends a 401 response that enables basic auth.', 'signature': 'def authenticate():'}</s>MIN_PYTHON_MINOR_VERSION = 9
0
{'name': 'p_member_declarator@ctypesgen/parser/cgrammar.py', 'description': 'member_declarator : declarator gcc_attributes\n| COLON constant_expression gcc_attributes\n| declarator COLON constant_expression gcc_attributes', 'signature': 'def p_member_declarator(p):'}</s>{'name': 'p_gcc_attrib@ctypesgen/parser/cgrammar....
0
{'name': 'Task.from_requests@transformer/task.py', 'description': 'Generates a set of Tasks from a given set of Requests.', 'signature': 'def from_requests('}</s>{'name': 'Decoration@transformer/python.py', 'description': 'A function or class definition to which is applied a decorator\n(e.g. ``@task``).', 'base_classes...
0
{'name': 'test_iterator_passthrough@ncnn-20210525-full-source/python/pybind11/tests/test_sequences_and_iterators.py', 'description': '#181: iterator passthrough did not compile', 'signature': 'def test_iterator_passthrough():'}</s>{'name': 'test_map_iterator@ncnn-20210525-full-source/python/pybind11/tests/test_sequence...
0
{'name': 'CosS3Client.ci_list_workflowexecution@qcloud_cos/cos_client.py', 'description': "获取工作流实例列表 https://cloud.tencent.com/document/product/436/80048\n\n:param Bucket(string): 存储桶名称.\n:param WorkflowId(string): 工作流实例ID.\n:param Name(string): 触发对象.\n:param StartCreationTime(string): 开始时间.\n:param EndCreationTime(str...
0
{'name': 'TLP.get_size@fpga/lib/pcie/tb/pcie.py', 'description': 'Return size of TLP in bytes', 'signature': 'def get_size(self):'}</s>{'name': 'BusPort@fpga/lib/pcie/tb/pcie.py', 'description': 'Port for root of bus interconnection, broadcasts TLPs to all connected ports', 'base_classes': ['Port'], 'methods': [{'name'...
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': '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': 'Ints@src/api/python/z3/z3.py', 'description': "Return a tuple of Integer constants.\n\n>>> x, y, z = Ints('x y z')\n>>> Sum(x...
0
{'name': 'install_ngrok@pyngrok/ngrok.py', 'description': 'Download, install, and initialize ``ngrok`` for the given config. If ``ngrok`` and its default\nconfig is already installed, calling this method will do nothing.\n\n:param pyngrok_config: A ``pyngrok`` configuration to use when interacting with the ``ngrok`` bi...
0
{'name': 'bustools_count@kb_python/count.py', 'description': 'Runs `bustools count`.\n\nArgs:\n bus_path: Path to BUS file to correct\n out_prefix: Prefix of the output files to generate\n t2g_path: Path to output transcript-to-gene mapping\n ecmap_path: Path to ecmap file, as generated by `kallisto bus`\n ...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_POLICY_VERSION_ERROR = 3332
0
{'name': 'View._get_scroll_root@qt4a/andrcontrols.py', 'description': '获取当前控件可滚动区域的根控件\n ', 'signature': 'def _get_scroll_root(self):'}</s>{'name': 'View@qt4a/andrcontrols.py', 'description': '控件基类\n ', 'base_classes': ['object'], 'methods': [{'name': 'View.__init__@qt4a/andrcontrols.py', 'description': 'DOCS...
1
{'name': 'TableOne._apply_alt_labels@tableone/tableone.py', 'description': 'Applies alternative labels to the variables if required.', 'signature': 'def _apply_alt_labels(self, table):'}</s>{'name': 'sort_and_reindex@tableone/formatting.py', 'description': 'Sorts and reindexes the table to meet requirements.', 'code': ...
0
{'name': 'VtkFile.addData@pyevtk/vtk.py', 'description': 'Add array description to xml header section.\n\nParameters\n----------\nname : str\n data array name.\ndata : array-like\n one numpy array or a tuple with 3 numpy arrays.\n If a tuple, the individual arrays must represent the components\n of a vector...
0
{'name': 'init_media@soundrts/clientmedia.py', 'description': 'initialize sound, voice, screen, window title, keyboard,\nand sound cache', 'signature': 'def init_media():'}</s>INVISIBLE = [4289]
0
{'name': 'apogee@gaia_tools/load/__init__.py', 'description': "PURPOSE:\n read the APOGEE allStar file\nINPUT:\n IF the apogee package is not installed:\n dr= (14) SDSS data release\n use_astroNN= (False) if True, swap in astroNN (Leung & Bovy 2019a) parameters (get placed in, e.g., TEFF and TEFF_ERR) a...
0
{'name': 'workflow@heudiconv/main.py', 'description': 'Run the HeuDiConv conversion workflow.\n\nParameters\n----------\ndicom_dir_template : str or None, optional\n Location of dicomdir that can be indexed with subject id\n {subject} and session {session}. Tarballs (can be compressed)\n are supported in addit...
0
{'name': 'BIDSLayout.add_derivatives@src/bids/layout/layout.py', 'description': 'Add BIDS-Derivatives datasets to tracking.\n\nParameters\n----------\npath : str or list\n One or more paths to BIDS-Derivatives datasets.\n Each path can point to either a derivatives/ directory\n containing one or more pipeline ...
0
{'name': 'MQuaternion.asAxisAngle@scripts/mpylib/_mpynode/_openmaya.py', 'description': 'Returns the rotation as a tuple containing an axis vector and an angle in radians about that axis.', 'signature': 'def asAxisAngle(self):'}</s>{'name': 'MTimeArray@scripts/mpylib/_mpynode/_openmaya.py', 'description': "Override of ...
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': 'CoCreateInstanceEx@comtypes/_post_coinit/misc.py', 'description': 'The basic windows api to create a COM class object and return a\npointer to an interface, possibly on another machine.\n\nPassing both "machine" and "pServerInfo" results in a ValueError.', 'signature': 'def CoCreateInstanceEx('}</s>BIND_OPTS ...
0
{'name': 'DutTestThread.test_start@examples/protocols/modbus/tcp/example_test.py', 'description': 'The method to initialize and handle test stages\n ', 'signature': 'def test_start(self, timeout_value):'}</s>STACK_CONNECT = 4
1
{'name': 'HTTPRequest.read_request_line@cheroot/server.py', 'description': "Read and parse first line of the HTTP request.\n\nReturns:\n bool: True if the request line is valid or False if it's malformed.", 'signature': 'def read_request_line(self): # noqa: C901 # FIXME'}</s>{'name': 'get_ssl_adapter_class@cheroot...
0
{'name': 'predict_test@transformers_learn_icl_by_gd/src/train.py', 'description': 'Predict test data used for analyses as well as metrics computation.', 'signature': 'def predict_test(data: jnp.ndarray, gd) -> Tuple[jnp.ndarray, jnp.ndarray,'}</s>{'name': 'predict@transformers_learn_icl_by_gd/src/train.py', 'descriptio...
0
{'name': 'ExporterSDF.add_shape@onshape_to_robot/exporter_sdf.py', 'description': 'Add shapes (box, sphere and cylinder) nodes to the SDF.', 'signature': 'def add_shape('}</s>{'name': 'Mesh@onshape_to_robot/geometry.py', 'description': 'DOCSTRING', 'base_classes': ['Geometry'], 'methods': [{'name': 'Mesh.__init__@onsha...
0
{'name': 'TestMSONable.test_save_load@tests/test_json.py', 'description': 'Tests the save and load serialization methods.', 'signature': 'def test_save_load(self, tmp_path):'}</s>{'name': 'Coordinates@tests/test_json.py', 'description': 'DOCSTRING', 'base_classes': ['MSONable'], 'methods': [{'name': 'Coordinates.__init...
0
{'name': 'consume@tools/pydfu.py', 'description': 'Parses the struct defined by `fmt` from `data`, stores the parsed fields\ninto a named tuple using `names`. Returns the named tuple, and the data\nwith the struct stripped off.', 'signature': 'def consume(fmt, data, names):'}</s>{'name': 'main@tools/pydfu.py', 'descrip...
0
{'name': 'convertBezToOutline@python/psautohint/ufoFont.py', 'description': 'Since the UFO outline element as no attributes to preserve,\nI can just make a new one.', 'signature': 'def convertBezToOutline(bezString):'}</s>kFontDictBluePairsName = "BlueValuesPairs"
0
{'name': 'test_set_format_int3@cyvcf2/tests/test_reader.py', 'description': 'test that we can handle multiple (in this case 3) values per sample', 'signature': 'def test_set_format_int3():'}</s>{'name': 'test_type_mnp@cyvcf2/tests/test_reader.py', 'description': 'DOCSTRING', 'code': 'def test_type_mnp():\n vcf = VCF...
0
{'name': 'ConfigDictUpdateTest.testRecursiveRename@ml_collections/config_dict/tests/config_dict_test.py', 'description': 'Test recursive_rename.\n\nThe dictionary should be the same but with the specified name changed.', 'signature': 'def testRecursiveRename(self):'}</s>_STR_NESTED_TEST_DICT = " dict: {float: -1.23, in...
0
{'name': 'tutorials@api/views.py', 'description': 'get: Return all tutorials\npost: submit a tutorial', 'signature': 'def tutorials(request):'}</s>{'name': 'tutorial_tag_category@api/views.py', 'description': 'return tutorials with {tags} and a {category}', 'code': 'def tutorial_tag_category(request, tags, category):\n...
0
{'name': 'DateTimeParser._build_datetime@arrow/parser.py', 'description': 'Build a datetime object from a dictionary of date parts.\n\n:param parts: A dictionary containing the date parts extracted from a date string.\n:type parts: dict\n:return: A datetime object representing the date and time.\n:rtype: datetime.datet...
0
{'name': 'picked_locs@picasso/postprocess.py', 'description': 'Finds picked localizations.\n\nParameters\n----------\nlocs : np.recarray\n Localization list.\ninfo : list of dicts\n Metadata of the localizations list.\npicks : list\n List of picks.\npick_shape : {\'Circle\', \'Rectangle\', \'Polygon\'}\n Sh...
0
{'name': '_populate_face_centerpoints@uxarray/grid/coordinates.py', 'description': "Calculates the face centerpoints using Welzl's algorithm. It is a\nrandomized algorithm for finding the center and radius of the smallest\ncircle that encloses a set of points. It is here adapted to work on a unit\nsphere. Also, this al...
0
{'name': 'run_random_climate@oggm/core/flowline.py', 'description': 'Runs the random mass balance model for a given number of years.\n\nThis will initialize a\n:py:class:`oggm.core.massbalance.MultipleFlowlineMassBalance`,\nand run a :py:func:`oggm.core.flowline.flowline_model_run`.\n\nParameters\n----------\ngdir : :p...
0
{'name': 'merge_tab_notebooks@d2lbook/notebook.py', 'description': 'Merge the tab notebooks into a single one.\n\nThe reserved function of get_tab_notebook.', 'signature': 'def merge_tab_notebooks('}</s>{'name': '_merge_tabs@d2lbook/notebook.py', 'description': 'merge side-by-side tabs into a single one.\n\nReturns a l...
0
{'name': 'test_LocalstackEndpointResolver@tests/integration/test_contrib/test_botocore.py', 'description': 'Test pytest_localstack.botocore.LocalstackEndpointResolver.', 'signature': 'def test_LocalstackEndpointResolver('}</s>{'name': 'Session@pytest_localstack/contrib/botocore.py', 'description': 'A botocore Session s...
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': 'get_best_downloader@ez_setup.py', 'description': 'DOCSTRING', 'code': 'def get...
0
{'name': 'CustomMainWidget.reinstallMods@src/gui/main_widget.py', 'description': 'Reinstalls selected mods', 'signature': 'def reinstallMods(self):'}</s>AUTHORS_MAIL = ["stekos@live.com", "me@systemcluster.me", "amsunderman@gmail.com", "r901042004@yahoo.com.tw", "burduli01@pm.me"]
0
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>{'name': 'if_data@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []}
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': '_align_column@misc/tableutils.py', 'description': '[string] -> [padded_string]\n\n>>> list(map(str,_align_column(["12.345", "-1234.5", "1.23", "1234.5", "1e+234", "1.0e234"], "decimal")))\n[\' 12.345 \', \'-1234.5 \', \' 1.23 \', \' 1234.5 \', \' 1e+234 \', \' 1.0e234\']\n\n>>> list(map(st...
0
{'name': 'apply_flt_dq@grizli/utils.py', 'description': 'Read and apply the compact exposure information file\n\nParameters\n----------\nfilename : str\n FLT/FLC filename.\n\nreplace : (str, str)\n Replace arguments for output DQ filename:\n\n >>> output_filename = filename.replace(replace[0], replace[1])\n\no...
0
{'name': 'BL3Serial.get_serial_number@bl3save/datalib.py', 'description': 'Returns the binary item serial number. If `orig_seed` is `True`, the\nserial number will use the same seed that was used in the savegame.\nOtherwise, it will use a seed of `0`, which will then be unencrypted.', 'signature': 'def get_serial_numb...
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': 'test_element_count@third_party/dawn/third_party/dxc/tools/clang/bindings/python/tests/cindex/test_type.py', 'description': 'Ensure Type.element_count works.', 'signature': 'def test_element_count():'}</s>{'name': 'test_function_argument_types@third_party/dawn/third_party/dxc/tools/clang/bindings/python/tests/...
0
{'name': 'ExternalScenario.create_markets@premise/external.py', 'description': 'Create new markets, and create a `World` market\nif no data is provided for it.', 'signature': 'def create_markets(self) -> None:'}</s>{'name': 'check_inventories@premise/external_data_validation.py', 'description': 'Check that the inventor...
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': 'substitute@src/api/python/z3/z3.py', 'desc...
0
{'name': 'HostRecordV6.ipv6addrs@infoblox_client/objects.py', 'description': ':meta private:', 'signature': 'def ipv6addrs(self):'}</s>{'name': 'InfobloxFieldNotSearchable@infoblox_client/exceptions.py', 'description': 'DOCSTRING', 'base_classes': ['BaseExc'], 'methods': []}
0
{'name': 'PlotCanvasWithToolbar.getFrameRange@utils/mc_log_gui/mc_log_ui/mc_log_plotcanvas.py', 'description': 'Returns the index corresponding to the time from the first non-nan element to the last non-nan element in the non-nan region of the selected time range', 'signature': 'def getFrameRange(self):'}</s>{'name': '...
0
{'name': 'CleanupPolicy.get_artifacts@artifactory_cleanup/rules/base.py', 'description': 'Get artifacts from Artifactory by AQL filters that we collect from all rules in the policy\n:return list of artifacts', 'signature': 'def get_artifacts(self) -> ArtifactsList:'}</s>{'name': 'ArtifactDict@artifactory_cleanup/rules/...
0
{'name': 'PerfectModelEnsemble._compute_persistence@src/climpred/classes.py', 'description': "Verify a simple persistence forecast of the control run against itself.\n\nNote: uses :py:func:`~climpred.reference.compute_persistence_from_first_lead`\nif ``set_options(PerfectModel_persistence_from_initialized_lead_0=True)`...
0
{'name': 'COCOeval.evaluateImg@src/data/pycocotools/cocoeval.py', 'description': 'perform evaluation for single category and image\n:return: dict (single image results)', 'signature': 'def evaluateImg(self, imgId, catId, aRng, maxDet):'}</s>{'name': 'COCOeval@src/data/pycocotools/cocoeval.py', 'description': 'DOCSTRING...
1
{'name': 'setup@remarks.py', 'description': 'Set up the remarks component.', 'signature': 'def setup(hass, config):'}</s>DOMAIN = "remarks"
1
{'name': 'Window.initUI@picasso/gui/render.py', 'description': 'Initializes the main window. Builds dialogs and menu bar.\n\nParameters\n----------\nplugins_loaded : boolean\n If True, plugins have been loaded before.', 'signature': 'def initUI(self, plugins_loaded):'}</s>{'name': 'locs_in_polygon@picasso/lib.py', '...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCMD_MOVE_Q = 127
0
{'name': 'PostgresNode.dump@testgres/node.py', 'description': 'Dump database into a file using pg_dump.\nNOTE: the file is not removed automatically.\n\nArgs:\n filename: database dump taken by pg_dump.\n dbname: database name to connect to.\n username: database user name.\n format: format argument plain/cu...
0
{'name': 'docopt@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\n[optional], (r...
0
{'name': 'fixup_pth_and_egg_link@bootstrap.py', 'description': 'Makes .pth and .egg-link files use relative paths', 'signature': 'def fixup_pth_and_egg_link(home_dir, sys_path=None):'}</s>{'name': 'subst_path@bootstrap.py', 'description': 'DOCSTRING', 'code': "def subst_path(prefix_path, prefix, home_dir):\n prefix_...
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>clip = np.clip
0
{'name': 'colored@src/monty/termcolor.py', 'description': "Colorize text.\n\nAvailable text colors:\n red, green, yellow, blue, magenta, cyan, white.\n\nAvailable text highlights:\n on_red, on_green, on_yellow, on_blue, on_magenta, on_cyan, on_white.\n\nAvailable attributes:\n bold, dark, underline, blink, rev...
1
{'name': 'nestedExpr@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and closing\ndelimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list (default=C{"("}); can also be a pyparsing expres...
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': 'writes@hcl2/api.py', 'description': 'Convert an HCL2 syntax tree to a string.\n:param ast: HCL2 syntax tree, output from `parse` or `parses`', 'signature': 'def writes(ast: Tree) -> str:'}</s>{'name': 'loads@hcl2/api.py', 'description': 'Load HCL2 from a string.\n:param text: Text with hcl2 to be loaded as a ...
0
{'name': 'RSCodec.__init__@reedsolo.py', 'description': 'Initialize the Reed-Solomon codec. Note that different parameters change the internal values (the ecc symbols, look-up table values, etc) but not the output result (whether your message can be repaired or not, there is no influence of the parameters).', 'signatur...
1
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>EASING_IN_OUT_SINE = 3
0
{'name': 'IPDatabase.export_cadence@ipstools/ipstools/IPDatabase.py', 'description': 'Exports analyze scripts to be used for ASIC synthesis in Cadence RTL Compiler.\n\n :param script_path: The path where the Makefiles are collected\n :type script_path: str\n\n :param target_tech: Target si...
0
{'name': 'html_escape@src/back/kite/bottle.py', 'description': 'Escape HTML special characters ``&<>`` and quotes ``\'"``. ', 'signature': 'def html_escape(string):'}</s>{'name': 'ConfigDict@src/back/kite/bottle.py', 'description': 'A dict-like configuration storage with additional support for\nnamespaces, validators, ...
0
{'name': 'TopLevelMixin.repeat@altair/vegalite/v5/api.py', 'description': "Return a RepeatChart built from the chart\n\nFields within the chart can be set to correspond to the row or\ncolumn using `alt.repeat('row')` and `alt.repeat('column')`.\n\nParameters\n----------\nrepeat : list\n a list of data column names t...
0
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>image_texcoords = dvz.dvz_image_texc...
0
{'name': 'process_client_hello@core/packet_processor.py', 'description': 'Extracts the SNI field from the ClientHello packet.', 'signature': 'def process_client_hello(pkt):'}</s>{'name': 'BaseModel@core/model.py', 'description': 'DOCSTRING', 'base_classes': ['Model'], 'methods': []}
0
{'name': 'GeneratedProtocolMessageType.__init__@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': "Here we perform the majority of our work on the class.\nWe add enum getters, an __init__ method, implementations\nof all Message methods, and properties for all field...
0
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>PFTM_TCP_FIN_WAIT = 4
0
{'name': 'PreparedRequest.prepare_body@src/requests/models.py', 'description': 'Prepares the given HTTP body data.', 'signature': 'def prepare_body(self, data, files, json=None):'}</s>{'name': 'guess_filename@src/requests/utils.py', 'description': 'Tries to guess the filename of the given object.', 'code': 'def guess_f...
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_ENVIRONMENT_ERROR = 2012
0
{'name': 'AioJoinableQueue@aioprocessing/__init__.py', 'description': 'Returns an asyncio-friendly version of a multiprocessing.JoinableQueue\n\nReturns an AioJoinableQueue object with the given context. If a context\nis not provided, the default for the platform will be used.', 'signature': 'def AioJoinableQueue(maxsi...
0
{'name': 'AGraph.subgraph_parent@pygraphviz/agraph.py', 'description': 'Return parent graph of subgraph or None if graph is root graph.', 'signature': 'def subgraph_parent(self, nbunch=None, name=None):'}</s>{'name': 'agfstedge@pygraphviz/graphviz.py', 'description': 'DOCSTRING', 'code': 'def agfstedge(g, n):\n retu...
0
{'name': 'is_address@eth_utils/address.py', 'description': 'Is the given string an address in any of the known formats?', 'signature': 'def is_address(value: Any) -> bool:'}</s>{'name': 'to_checksum_address@eth_utils/address.py', 'description': 'Makes a checksum address given a supported format.', 'code': 'def to_check...
0
{'name': 'extract_kalman_boxes@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': 'def extract_kalman_boxes(dataset_test, net, rpn_conf, test_path, data_folder):'}</s>{'name': 'normalize@lib/math_3d.py', 'description': 'DOCSTRING', 'code': 'def normalize(vec):\n\n ve...
0
{'name': 'mock_create_release@tests/test_ghrel.py', 'description': 'Create a mock create_release that checks arguments.', 'signature': 'def mock_create_release(mocker):'}</s>{'name': 'test_no_clear_github_repo@tests/test_ghrel.py', 'description': 'DOCSTRING', 'code': 'def test_no_clear_github_repo(cli_invoke, scenario1...
0
{'name': 'speed_camera@versions/speed-cam_11.26.py', 'description': 'Main speed camera processing function', 'signature': 'def speed_camera():'}</s>{'name': 'subDirLatest@versions/speed-cam_11.26.py', 'description': 'Scan for directories and return most recent', 'code': 'def subDirLatest(directory):\n """Scan for di...
0
{'name': 'Sun.update_as_of@custom_components/sun/__init__.py', 'description': 'Update the attributes containing solar events.', 'signature': 'def update_as_of(self, utc_point_in_time):'}</s>CONFIG_SCHEMA = vol.Schema({ DOMAIN: vol.Schema({ vol.Optional(CONF_MONITORED_CONDITIONS, default=DEFAULT_STATE_ATTRS)...
0
{'name': 'HTTPConnectionPool.is_same_host@src/ahip/connectionpool.py', 'description': 'Check if the given ``url`` is a member of the same host as this\nconnection pool.', 'signature': 'def is_same_host(self, url):'}</s>{'name': 'with_metaclass@src/ahip/packages/six.py', 'description': 'Create a base class with a metacl...
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>MQIACF_MSG_LENGTH = 1248
0
{'name': 'torch_hyp_add@scratch/learning_util.py', 'description': 'Accepts torch tensors u, v and returns their sum in hyperbolic\nspace in tensor format. Radius of the open ball is 1/sqrt(c). ', 'signature': 'def torch_hyp_add(u, v, c=1):'}</s>{'name': 'torch_norm@scratch/learning_util.py', 'description': 'DOCSTRING',...
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_SWAP = CScriptOp(0x7c)
0
{'name': 'on_mouse_scroll@npbg/gl/viewer/camera.py', 'description': 'Record a mouse scroll.\n ', 'signature': 'def on_mouse_scroll(x, y, dx, dy):'}</s>{'name': 'on_mouse_press@npbg/gl/viewer/camera.py', 'description': 'Record an initial mouse press.\n ', 'code': 'def on_mouse_press(x, y, buttons, modifiers):\n ...
0
{'name': 'FileInfo.BaseName@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'File base name - text after the final slash, before the final period.', 'signature': 'def BaseName(self):'}</s>_CHECK_MACROS = [ 'DCHECK', 'CHECK', 'EXPECT_TRUE', 'ASSERT_TRUE', 'EXPECT_FALSE', 'ASSERT_FALSE', ]
0
{'name': 'process_query@da/compiler/incgen.py', 'description': "Generates stub and hook for 'query'.", 'signature': 'def process_query(query, state):'}</s>{'name': 'pyAssign@da/compiler/pygen.py', 'description': 'DOCSTRING', 'code': 'def pyAssign(targets, value):\n ast = Assign(targets, value)\n return propagate_...
0
{'name': 'exec_check_and_lint@check_lint.py', 'description': "Utility function to unconditionally execute 'SublimeHaskellCHeckAndLint.run()' without worrying\nabout the command's status.", 'signature': 'def exec_check_and_lint(view, fly_mode=False, continue_success=None, error_handler=None):'}</s>{'name': 'is_enabled_h...
0
{'name': 'ExportHtml.get_tools@ExportHtml.py', 'description': 'Get tools for toolbar.', 'signature': 'def get_tools(self, tools, use_annotation, use_wrapping):'}</s>TABLE_END = "</table>"
0
{'name': 'sub@example/example_command.py', 'description': 'A sub group', 'signature': 'def sub():'}</s>{'name': 'process_input_output_folder@example/example_command.py', 'description': 'Process a input folder and produce output folder', 'code': 'def process_input_output_folder(input_folder, out_folder):\n "Process a...
0
{'name': 'Arcball.drag@utils/transformations.py', 'description': 'Update current cursor window coordinates.', 'signature': 'def drag(self, point):'}</s>{'name': 'shear_from_matrix@utils/transformations.py', 'description': 'Return shear angle, direction and plane from shear matrix.\n\n>>> angle = (random.random() - 0.5)...
0