text string | label int64 |
|---|---|
{'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>FORMAT_R8_SINT = 14 | 0 |
{'name': 'babel_extract@blockchain-env/lib/python3.7/site-packages/jinja2/ext.py', 'description': 'Babel extraction method for Jinja templates.\n\n.. versionchanged:: 2.3\n Basic support for translation comments was added. If `comment_tags`\n is now set to a list of keywords for extraction, the extractor will\n ... | 0 |
{'name': 'get_captures@datasets/dualpixel.py', 'description': 'Gets a list of captures.', 'signature': 'def get_captures(base_dir):'}</s>CROP_WIDTH = 20 | 0 |
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name... | 0 |
{'name': 'Pipe.get_valid_filename@tcd/pipe.py', 'description': 'Strip invalid filename characters from value.\n:param string: Filename with potentially invalid characters\n:return: Valid filename', 'signature': 'def get_valid_filename(string: str) -> str:'}</s>{'name': 'Logger@tcd/logger.py', 'description': 'DOCSTRING'... | 1 |
{'name': 'combine4Role@code/parseJsontoFeatures.py', 'description': 'find features for role identification and add into dict', 'signature': 'def combine4Role(tokens,arglist,deptree,enh):'}</s>{'name': 'combineNearTrggr@code/parseJsontoFeatures.py', 'description': 'find nearest trigger in dependency path', 'code': 'def ... | 0 |
{'name': 'BaseCheckTypesTestCase.test_base_check_types_are_public@oslo_policy/tests/test_policy.py', 'description': 'Check that those check types are part of public API.\n\nThey are blessed to be used by library consumers.', 'signature': 'def test_base_check_types_are_public(self):'}</s>{'name': 'BaseCheckTypesTestCase... | 1 |
{'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': 'read@python-shell/setup.py', 'description': 'Build an absolute path from *parts* and and return the contents of the\nresulting file. Assume UTF-8 encoding.', 'signature': 'def read(*parts):'}</s>uri = find_meta("uri") | 0 |
{'name': 'IB.cancelOrder@ib_insync/ib.py', 'description': 'Cancel the order and return the Trade it belongs to.\n\nArgs:\n order: The order to be canceled.\n manualCancelOrderTime: For audit trail.', 'signature': "def cancelOrder(self, order: Order, manualCancelOrderTime: str = '') \\"}</s>{'name': 'RealTimeBarLi... | 0 |
{'name': 'all_gather@camera2car/auto_calib/util/misc.py', 'description': 'Run all_gather on arbitrary picklable data (not necessarily tensors)\nArgs:\n data: any picklable object\nReturns:\n list[data]: list of data gathered from each rank', 'signature': 'def all_gather(data):'}</s>{'name': 'init_distributed_mode... | 0 |
{'name': 'test_root_neighbors_invalid@tests/test_morecantile.py', 'description': 'test neighbors.', 'signature': 'def test_root_neighbors_invalid():'}</s>{'name': 'test_tiles@tests/test_morecantile.py', 'description': 'Test tiles from bbox.', 'code': 'def test_tiles():\n """Test tiles from bbox."""\n tms = moreca... | 0 |
{'name': 'read_emails@src/autogpt_plugins/email/email_plugin/email_plugin.py', 'description': 'Read emails from an IMAP mailbox.\n\nThis function reads emails from a specified IMAP folder, using a given IMAP search command, limits, and page numbers.\nIt returns a list of emails with their details, including the sender,... | 1 |
{'name': 'get_versions@cytoolz/_version.py', 'description': 'Get version information or return default if unable to do so.', 'signature': 'def get_versions():'}</s>{'name': 'render_pep440@cytoolz/_version.py', 'description': 'Build up version string, with post-release "local version identifier".\n\nOur goal: TAG[+DISTA... | 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': 'add_ucsc_name_column@bioframe/core/construction.py', 'description': "Auto-creates a UCSC name 'chrom:start-end' for each region\n(chrom,start,end) in reg_df.\n\nReplaces name_col if it exists.", 'signature': 'def add_ucsc_name_column(reg_df, name_col="name", cols=None):'}</s>{'name': 'is_overlapping@bioframe/... | 0 |
{'name': 'lava_cell_op@self_organising_systems/biomakerca/extensions/eruption.py', 'description': 'Create the exclusive function of LAVA cells.\n\nLAVA expires after a minimum age.\nLAVA has a falling-sand property. But, if it cannot fall, it then may\nburn nearby burnable cells (making them FIRE).', 'signature': 'def ... | 0 |
{'name': 'AzureRMApplicationGateways.exec_module@library/azure_rm_appgateway.py', 'description': 'Main module execution method', 'signature': 'def exec_module(self, **kwargs):'}</s>{'name': 'probe_id@library/azure_rm_appgateway.py', 'description': 'Generate the id for a probe', 'code': 'def probe_id(subscription_id, re... | 1 |
{'name': 'main@databricks-adx-integration/src/code/functions/databricksmetadatahandler/__app__/metadatahandler/__init__.py', 'description': 'Main function, triggered by Azure Storage Queue, parsed queue content and\ntry to download the databricks output metadata file to get each succefully processed file location.\nThe... | 1 |
{'name': 'get_dir@util/io.py', 'description': 'return the directory it belongs to.\nif path is a directory itself, itself will be return ', 'signature': 'def get_dir(path):'}</s>{'name': 'join_path@util/io.py', 'description': 'DOCSTRING', 'code': 'def join_path(a, *p):\n return os.path.join(a, *p)'} | 0 |
{'name': 'record_coverage@runtests.py', 'description': 'Start the coverage module if we chose to run with test coverage enabled.', 'signature': 'def record_coverage(enable_coverage=False):'}</s>{'name': 'runtests@runtests.py', 'description': "Invoke Django's test runner and collect output.\nReturns 0 if there were no f... | 0 |
{'name': 'XmpTag._convert_to_python@source/py3exiv2-arm/pyexiv2/xmp.py', 'description': 'Convert a raw value to its corresponding python type.\n\nArgs:\nvalue -- the raw value to be converted\ntype_ -- the simple type of the raw value\n\nReturn: the value converted to its corresponding python type\n\nRaise XmpValueErro... | 0 |
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name... | 0 |
{'name': 'NestingState.CheckCompletedBlocks@scripts/cpplint.py', 'description': 'Checks that all classes and namespaces have been completely parsed.\n\nCall this when all lines in a file have been processed.\nArgs:\n filename: The name of the current file.\n error: The function to call with any errors found.', 'signa... | 0 |
{'name': 'parse_tcsh_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for tcsh scripter.\n\nInput\n-----\nargv : list of args (not including prog name)\n\nReturn\n------\n\niopts : an object with the argument values stored, including a\n self-"check_req()" method, as well.', 'signature... | 0 |
{'name': 'Beam.plot_analytical@indeterminatebeam/indeterminatebeam.py', 'description': 'Auxiliary function for plotting a sympy.Piecewise analytical\nfunction.\n\nParameters\n-----------\nfunc: str\n String representing function to query:\n \'nf\' if normal force.\n \'sf\' if shear force.\n \'bm... | 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': 'select_hfr_db@disdat/hyperframe.py', 'description': 'Create an HFrame Record from a row in our DB.\nWhere uuid= && owner= && human_name= && processing_name=\n\nArgs:\n engine_g:\n uuid (str): add to where clause\n owner (str): add to where clause\n human_name (str): add to where clause\n proce... | 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': 'OSClientManager.clean_snapshot@freezer/openstack/osclients.py', 'description': 'Deletes snapshot\n:param snapshot: snapshot name', 'signature': 'def clean_snapshot(self, snapshot):'}</s>{'name': 'create_subprocess@freezer/utils/utils.py', 'description': 'Create a new subprocess in the OS\n:param cmd: command ... | 0 |
{'name': 'test_non_string_metadata_key@tests/test_make.py', 'description': 'A non-string key in the attrib metadata comes through in the mm field.', 'signature': 'def test_non_string_metadata_key(module: DataclassModule) -> None:'}</s>{'name': 'test_concise_attrib@tests/test_make.py', 'description': 'Concisely create a... | 0 |
{'name': 'displayInfo@source/pi-timolo.py', 'description': 'Display variable settings with plugin overlays if required', 'signature': 'def displayInfo(motioncount, timelapsecount):'}</s>{'name': 'PiVideoStream@source/pi-timolo.py', 'description': 'Create a picamera in memory video stream and\nreturn a frame when update... | 0 |
{'name': 'install_python@bootstrap.py', 'description': 'Install just the base environment, no distutils patches etc', 'signature': 'def install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages, clear, symlink=True):'}</s>ACTIVATE_FISH = convert("""
eJyFVVFv2zYQftevuMoOnBS1gr0WGIZ08RADSRw4boBhGGhGOsUcKFIjKbUu9u... | 0 |
{'name': 'plot_sounding_data_csv@pymeteo/skewt.py', 'description': 'Plot SkewT from a CSV sounding data file\n\n:param filename: The name of the file to open.\n:type filename: str\n:param output: The name of the file to output plot\n:type output: str\n\nThe datafile format is CSV with the following columns: \n\n- press... | 0 |
{'name': 'main@run.py', 'description': 'Main function ', 'signature': 'def main():'}</s>{'name': 'videos@module/save.py', 'description': 'Download all the videos in course folder', 'code': 'def videos(url, cookie_path, course_folder):\n \'\'\' Download all the videos in course folder\'\'\'\n os.chdir(course_folde... | 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_genotypes@cyvcf2/tests/test_reader.py', 'description': '. 1\n./. ./1\n./. 1\n0/1 0\n0 0/1\n ', 'signature': 'def test_genotypes():'}</s>{'name': 'test_num_records_indexed_csi_tabix@cyvcf2/tests/test_reader.py', 'description': 'DOCSTRING', 'code': 'def test_num_records_indexed_csi_tabix(suffix):\n ... | 0 |
{'name': 'LinksRepository.find_links@etc/scripts/utils_thirdparty.py', 'description': 'Return a list of link URLs found in the HTML page at `self.url`', 'signature': 'def find_links(self, _CACHE=[]):'}</s>{'name': 'get_local_file_content@etc/scripts/utils_thirdparty.py', 'description': 'Return the content at `url` as t... | 0 |
{'name': '_parse_requested_output_file_names@pelicun/tools/DL_calculation.py', 'description': 'Parse the output file names from the output configuration.\n\nParameters\n----------\noutput_config : dict\n Configuration for output files.\n\nReturns\n-------\nset\n Set of requested output file names.', 'signature': ... | 0 |
{'name': 'MPyNode._getGenericInput@scripts/mpylib/_mpynode/mpynode_obj.py', 'description': 'Generic method fot getting the plugs input value using the given MDataHandle function name (get_func_name).\nReturns a value or tuple of values depending on the is_array arg.', 'signature': 'def _getGenericInput(self, data_block... | 0 |
{'name': 'ITypeComp.Bind@comtypes/typeinfo.py', 'description': 'Bind to a name', 'signature': 'def Bind('}</s>TYPEFLAG_FRESTRICTED = 512 | 0 |
{'name': 'HostRecordV6.ipv6addrs@infoblox_client/objects.py', 'description': ':meta private:', 'signature': 'def ipv6addrs(self):'}</s>{'name': 'DbObjects@infoblox_client/objects.py', 'description': 'DbObjects: The DB Objects object.\nCorresponds to WAPI object \'db_objects\'\n\nThe DB Objects object is used to search ... | 0 |
{'name': 'read_html@meza/io.py', 'description': "Reads tables from an html file\n\nTODO: convert to lxml.etree.iterparse\nhttp://lxml.de/parsing.html#iterparse-and-iterwalk\n\nArgs:\n filepath (str): The html file path or file like object.\n If you have a url, use the following pattern:\n\n r = request... | 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': 'MomSpaceBasis.__init__@doc/src/week46/Programs/NeutronMatterCCD_Ladders.py', 'description': 'the constructor\n\nGenerates a cubic lattice in momentum space\nparam Nmax: Number of lattice points in positive kx-direction\nparam kmax: Highest lattice momentum (in 1/fm)\nparam ordered: Optional parameter, True by... | 0 |
{'name': 'main@alphapy/__main__.py', 'description': 'AlphaPy Main Program\n\nNotes\n-----\n(1) Initialize logging.\n(2) Parse the command line arguments.\n(3) Get the model configuration.\n(4) Create the model object.\n(5) Call the main AlphaPy pipeline.', 'signature': 'def main(args=None):'}</s>{'name': 'training_pipe... | 0 |
{'name': 'lprint@art/functions.py', 'description': 'Print a grid (length X height) of the given character.\n\n:param length: the grid length\n:type length: int\n:param height: the grid height\n:type height: int\n:param char: target character\n:type char: str\n:return: None', 'signature': "def lprint(length=15, height=1... | 0 |
{'name': 'InfobloxObject.fetch@infoblox_client/objects.py', 'description': 'Fetch object from NIOS by _ref or searchfields\n\nUpdate existent object with fields returned from NIOS\n\nReturns:\n True if object successfully fetched. False otherwise.\nRaises:\n InfobloxFetchGotMultipleObjects:\n If fetch got ... | 0 |
{'name': 'Simulation.__init__@ciw/simulation.py', 'description': 'Initialise an instance of the simualation.', 'signature': 'def __init__('}</s>{'name': 'no_routing@ciw/auxiliary.py', 'description': 'Process-based routing fucntion that sends the customer straight\nto exit node. It is a placeholder for when NoArrivals i... | 0 |
{'name': 'run_applescript@src/workflow/util.py', 'description': 'Execute an AppleScript script and return its output.\n\n.. versionadded:: 1.31\n\nRun AppleScript either by filepath or code. If ``script`` is a valid\nfilepath, that script will be run, otherwise ``script`` is treated\nas code.\n\nArgs:\n script (str,... | 0 |
{'name': 'make_utxo@qa/rpc-tests/replace-by-fee.py', 'description': 'Create a txout with a given amount and scriptPubKey\n\nMines coins as needed.\n\nconfirmed - txouts created will be confirmed in the blockchain;\n unconfirmed otherwise.', 'signature': 'def make_utxo(node, amount, confirmed=True, scriptPubK... | 0 |
{'name': 'identify_token@sqf/parser.py', 'description': 'The function that converts a token from tokenize to a BaseType.', 'signature': 'def identify_token(token):'}</s>KEYWORDS = {'=', '\\'} | 1 |
{'name': 'GTestHelpTest.TestHelpFlag@3rdparty/googletest/googletest/test/gtest_help_test.py', 'description': 'Verifies correct behavior when help flag is specified.\n\nThe right message must be printed and the tests must\nskipped when the given flag is specified.\n\nArgs:\n flag: A flag to pass to the binary or None.... | 0 |
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>pf_hint_conservative = {
"tcp.first": 60 * 60,
"tcp.opening": 15 * 60,
"tcp.established": 5 * 24 * 60 * 60,
"tcp.closing": 60 * 60,
"tcp.finwait": 10... | 0 |
{'name': 'mpl_palette@nelpy/plotting/palettes.py', 'description': 'Return discrete colors from a matplotlib palette.\n\nNote that this handles the qualitative colorbrewer palettes\nproperly, although if you ask for more colors than a particular\nqualitative palette can provide you will get fewer than you are\nexpecting... | 0 |
{'name': 'CacheList.remove_removed@shingetsu/cache.py', 'description': 'Remove removed record from disk.', 'signature': 'def remove_removed(self):'}</s>{'name': 'file_decode@shingetsu/title.py', 'description': 'Decode filename.\n ', 'code': "def file_decode(query, type=None):\n '''Decode filename.\n '''\n q... | 0 |
{'name': 'get_name_addr@src/future/backports/email/_header_value_parser.py', 'description': 'name-addr = [display-name] angle-addr\n\n ', 'signature': 'def get_name_addr(value):'}</s>{'name': 'CFWSList@src/future/backports/email/_header_value_parser.py', 'description': 'DOCSTRING', 'base_classes': ['WhiteSpaceTokenL... | 0 |
{'name': 'S2V_Tests.test2@blockchain-env/lib/python3.7/site-packages/Cryptodome/SelfTest/Protocol/test_KDF.py', 'description': 'Verify that no more than 127(AES) and 63(TDES)\ncomponents are accepted.', 'signature': 'def test2(self):'}</s>_cproto = "
int AES_start_operation(const uint8_t key[],
... | 0 |
{'name': 'process_line@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_internal/req/req_file.py', 'description': 'Process a single requirements line; This can result in creating/yielding\nrequirements, or updating the finder.\n\nFor lines that contain requirements, the only options that have ... | 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': 'multihead_attention@tensor2tensor_envi/layers/common_attention.py', 'description': 'Multihead scaled-dot-product attention with input/output transformations.\n\nArgs:\n query_antecedent: a Tensor with shape [batch, length_q, channels]\n memory_antecedent: a Tensor with shape [batch, length_m, channels] or N... | 0 |
{'name': 'CheckREOS@scopy/ScoDruglikeness/rulesfilter.py', 'description': "Check molecular under REOS program\n\nReference:\n Walters, W. Patrick, and Mark Namchuk.\n Nat Rev Drug Discov, 2.4 (2003): 259.\n \nRule details:\n 200 <= MW <= 500\n -5 <= logP <= 5\n nHD <= 5\n nHA <= 10\n nRot <= 8\n... | 0 |
{'name': 'Problems.cancel_problems@dwave/cloud/api/resources.py', 'description': 'Initiate problem cancel for a list of problems.', 'signature': 'def cancel_problems(self, problem_ids: list[str]) -> \\'}</s>{'name': 'UnstructuredProblemAnswer@dwave/cloud/api/models.py', 'description': 'DOCSTRING', 'base_classes': ['Bas... | 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': 'Node.type@snimpy/mib.py', 'description': 'Get the basic type associated with this node.\n\n:return: The class from :mod:`basictypes` module which can\n represent the node. When retrieving a valid value for\n this node, the returned class can be instanciated to get\n an appropriate representation.', '... | 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_SYSP_LOG_SUSPEND = 1218 | 0 |
{'name': 'show_refs@contrib/objgraph.py', 'description': 'Generate an object reference graph starting at ``objs``\n\nThe graph will show you what objects are reachable from ``objs``, directly\nand indirectly.\n\n``objs`` can be a single object, or it can be a list of objects.\n\nProduces a Graphviz .dot file and spawns... | 0 |
{'name': '_build_classification_loss@object_detection/builders/losses_builder.py', 'description': 'Builds a classification loss based on the loss config.\n\nArgs:\n loss_config: A losses_pb2.ClassificationLoss object.\n\nReturns:\n Loss based on the config.\n\nRaises:\n ValueError: On invalid loss_config.', 'signatu... | 0 |
{'name': 'euler_from_matrix@Engine/lib/assimp/port/PyAssimp/scripts/transformations.py', 'description': 'Return Euler angles from rotation matrix for specified axis sequence.\n\naxes : One of 24 axis sequences as string or encoded tuple\n\nNote that many Euler angle triplets can describe one matrix.\n\n>>> R0 = euler_m... | 1 |
{'name': 'test_example_server_authentication@tests/test_example.py', 'description': 'Authentication example', 'signature': 'def test_example_server_authentication(client): # pylint: disable=redefined-outer-name'}</s>server = Fido2Server(rp) | 0 |
{'name': 'get_user@backend/app/routers/user.py', 'description': "Endpoint to get a user's info by id.\n\nWarnings:\n Need security on this endpoint.", 'signature': 'def get_user(user_id: int, db: Session = Depends(get_db)):'}</s>{'name': 'VolunteerProject@backend/app/schemas.py', 'description': 'DOCSTRING', 'base_cl... | 0 |
{'name': 'main@plugins/modules/dcnm_image_upgrade.py', 'description': 'main entry point for module execution', 'signature': 'def main():'}</s>{'name': 'ParamsSpec@plugins/module_utils/image_upgrade/params_spec.py', 'description': '### Summary\nParameter specifications for the dcnm_image_upgrade module.\n\n## Raises\n- ... | 0 |
{'name': 'create_test_db@tests/mssqltestutils.py', 'description': 'Creates database for test, using various status checks and retry logic for reliability.\n- Calls helper method to check status of create db task, if possible\n- Exits on successful response or retry period exceeds time limit', 'signature': 'def create_t... | 1 |
{'name': 'clean_merged_flowlines@oggm/core/flowline.py', 'description': 'Order and cut merged flowlines to size.\n\nAfter matching flowlines were found and merged to one glacier directory\nthis function makes them nice:\nThere should only be one flowline per bed, so overlapping lines have to be\ncut, attributed to a an... | 0 |
{'name': 'CosS3Client.get_vod_playlist@qcloud_cos/cos_client.py', 'description': "查询指定时间段播放列表文件\n\n:param Bucket(string): 存储桶名称.\n:param ChannelName(string): 直播通道名称.\n:param StartTime(int): 播放列表ts文件的起始时间,格式为unix时间戳.\n:param EndTime(int): 播放列表ts文件的结束时间,格式为unix时间戳.\n:param kwargs(dict): 设置请求headers.\n:return(string).\n\n... | 1 |
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>ND_REDIRECT_ROUTER = 1 | 0 |
{'name': 'parse@ascmhl/hashlist_xml_parser.py', 'description': 'parsing the MHL XML file and building the MHLHashList for the hash_list member variable', 'signature': 'def parse(file_path):'}</s>{'name': 'MHLMediaHash@ascmhl/hashlist.py', 'description': 'class for representing one media hash for a (media) file\nmanaged... | 1 |
{'name': 'import_graphite_dashboards@tessera-server/tasks.py', 'description': 'Import dashboards from a Graphite vanilla dashboard.', 'signature': 'def import_graphite_dashboards('}</s>DASHBOARD_THEMES = [
'snow',
'light',
'dark',
'solarized-light',
'solarized-dark'
] | 0 |
{'name': '_IncludeState.CheckNextIncludeOrder@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Returns a non-empty error message if the next header is out of order.\n\nThis function also updates the internal state to be ready to check\nthe next include.\n\nArgs:\n header_type: One of the _XXX_HEADER constants ... | 0 |
{'name': 'git_pieces_from_vcs@versioneer.py', 'description': "Get version from 'git describe' in the root of the source tree.\n\nThis only gets called if the git-archive 'subst' keywords were *not*\nexpanded, and _version.py hasn't already been rewritten with a short\nversion string, meaning we're inside a checked out ... | 0 |
{'name': 'CheckBraces@scripts/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 any errors f... | 0 |
{'name': '_collect_metrics@test/common.py', 'description': 'Verify metrics by running the given api query\n@param: dimension (metric dimension)\n@param: metric_name (metric name)\n@param: start_time (search start time)\n@param: end_time (search end time)\nreturns events', 'signature': 'def _collect_metrics('}</s>{'name... | 0 |
{'name': 'func@python/taichi/lang/kernel_impl.py', 'description': 'Marks a function as callable in Taichi-scope.\n\nThis decorator transforms a Python function into a Taichi one. Taichi\nwill JIT compile it into native instructions.\n\nArgs:\n fn (Callable): The Python function to be decorated\n is_real_function ... | 0 |
{'name': 'EnumDecoder@python/google/protobuf/internal/decoder.py', 'description': 'Returns a decoder for enum field.', 'signature': 'def EnumDecoder(field_number, is_repeated, is_packed, key, new_default,'}</s>Int32Encoder = _SimpleEncoder(
wire_format.WIRETYPE_VARINT, _EncodeSignedVarint, _SignedVarintSize) | 0 |
{'name': 'excape@spider/utils/tools.py', 'description': '转译', 'signature': 'def excape(str):'}</s>{'name': 'del_html_js_css@spider/utils/tools.py', 'description': 'DOCSTRING', 'code': 'def del_html_js_css(content):\n content = replace_str(content, "(?i)<script(.|\\n)*?</script>") # (?)忽略大小写\n content = replace_s... | 0 |
{'name': 'ProcessFileData@llvm-4.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.... | 0 |
{'name': 'Builtins.from_defaults@lib/rule_engine/builtins.py', 'description': 'Initialize a :py:class:`Builtins` instance with a set of default values.', 'signature': 'def from_defaults(cls, values=None, **kwargs):'}</s>{'name': 'StringExpression@lib/rule_engine/ast.py', 'description': 'Literal string expressions repre... | 0 |
{'name': 'CheckLanguage@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Checks rules from the 'C++ language rules' section of cppguide.html.\n\nSome of these rules are hard to test (function overloading, using\nuint32 inappropriately), but we do the best we can.\n\nArgs:\n filename: The name of the current fi... | 0 |
{'name': 'SourceGenerator._SortVariableDeclarations@scripts/dtfabric-generate.py', 'description': 'Sorts the variable declarations within a source file.\n\nArgs:\n output_filename (str): path of the output file.', 'signature': 'def _SortVariableDeclarations(self, output_filename):'}</s>{'name': 'SourceGenerator@script... | 1 |
{'name': 'make_combined_mosaics@grizli/pipeline/auto_script.py', 'description': 'Drizzle combined mosaics\n\nmosaic_driz_cr_type : int\n (mosaic_driz_cr_type & 1) : flag CRs on all IR combined\n (mosaic_driz_cr_type & 2) : flag CRs on IR filter combinations\n (mosaic_driz_cr_type & 4) : flag CRs on all OPT com... | 0 |
{'name': 'diff_entire_folder_against_full_history_subcommand@ascmhl/commands.py', 'description': 'Checks MHL hashes from all generations against all file hash entries.\n\nROOT_PATH: the root path to use for the asc mhl history\n\nTraverses through the content of a folder. The command finds all files that are existent i... | 0 |
{'name': 'SignatureHash@qa/rpc-tests/test_framework/script.py', 'description': 'Consensus-correct SignatureHash\n\nReturns (hash, err) to precisely match the consensus-critical behavior of\nthe SIGHASH_SINGLE bug. (inIdx is *not* checked for validity)', 'signature': 'def SignatureHash(script, txTo, inIdx, hashtype):'}<... | 0 |
{'name': 'CheckForNewlineAtEOF@third_party/cpplint/cpplint.py', 'description': 'Logs an error if there is no newline char at the end of the file.\n\nArgs:\n filename: The name of the current file.\n lines: An array of strings, each representing a line of the file.\n error: The function to call with any errors found.... | 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': 'Problems.submit_problem@dwave/cloud/api/resources.py', 'description': 'Blocking problem submit with timeout, returning final status and\nanswer, if problem is solved within the (undisclosed) time limit.', 'signature': 'def submit_problem(self,'}</s>{'name': 'compress_if@dwave/cloud/api/resources.py', 'descrip... | 0 |
{'name': 'networkd_networks@kayobe/plugins/filter/networkd.py', 'description': 'Return a dict representation of networkd network configuration.\n\nThe format is compatible with the systemd_networkd_network variable in the\nstackhpc.linux.systemd_networkd role.\n\n:param context: a Jinja2 Context object.\n:param names: ... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQMDE_STRUC_ID = b'MDE ' | 0 |
{'name': 'test_update_postgres_db_name_from_single_database@tests/test_config.py', 'description': 'Simulate upgrade from single database to two databases.\nWith two databases, KoboCat has its own database. We ensure that\n`kc_postgres_db` gets `postgres_db` value.', 'signature': 'def test_update_postgres_db_name_from_s... | 0 |
{'name': '_load_released_version@source-builder/sb/version.py', 'description': "Load the release data if present. If not found the package is not released.\n\nA release can be made by adding a file called `VERSION` to the top level\ndirectory of a package. This is useful for user deploying a package and\nmaking custom ... | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.