text
string
label
int64
{'name': 'BitcoinTestFramework._initialize_chain@test/functional/test_framework/test_framework.py', 'description': 'Initialize a pre-mined blockchain for use by the test.\n\nCreate a cache of a 200-block-long chain (with wallet) for MAX_NODES\nAfterward, create num_nodes copies from the cache.', 'signature': 'def _init...
1
{'name': '_makeTags@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'LineStart@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/pypar...
0
{'name': 'load_key_pubkey@src/M2Crypto/EVP.py', 'description': 'Load an M2Crypto.EVP.PKey from a public key as a file.\n\n:param file: Name of file containing the key in PEM format.\n\n:param callback: A Python callable object that is invoked\n to acquire a passphrase with which to protect the\n ...
0
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
0
{'name': '_search_coarse@source/tomopy/recon/rotation.py', 'description': 'Coarse search for finding the rotation center.', 'signature': 'def _search_coarse(sino, smin, smax, ratio, drop, ncore=None):'}</s>{'name': 'find_center_pc@source/tomopy/recon/rotation.py', 'description': 'Find rotation axis location by finding ...
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>{'name': 'DvzViewport@datoviz/__init...
0
{'name': 'populate_intended_for@heudiconv/bids.py', 'description': "Adds the 'IntendedFor' field to the fmap .json files in a session folder.\nIt goes through the session folders and for every json file, it finds\ncompatible_fmaps: fmaps that have the same matching_parameters as the json\nfile (e.g., same 'Shims').\n\n...
0
{'name': 'get_argument_sources@varname/utils.py', 'description': "Get the sources for argument from an ast.Call node\n\n>>> def func(a, b, c, d=4):\n>>> ...\n>>> x = y = z = 1\n>>> func(y, x, c=z)\n>>> # argument_sources = {'a': 'y', 'b', 'x', 'c': 'z'}\n>>> func(y, x, c=1)\n>>> # argument_sources = {'a': 'y', 'b', 'x...
1
{'name': '_Selector._freeze_relations@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Freeze relation.', 'signature': 'def _freeze_relations(self, relations):'}</s>{'name': 'get_pattern_context@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/util.py', 'description':...
0
{'name': 'ParseArguments@llvm-12.0.0-project/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.', 'sign...
0
{'name': 'HandGarble.Garble@ap2/fairplay3.py', 'description': 'Sizes at function ingress should be:\n20, 210, 35, 132, 21', 'signature': 'def Garble(self, buffer0: [], buffer1: [], buffer2: [], buffer3: [], buffer4: []):'}</s>default_sap = [ 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x79, 0x79, 0x79, 0x79, 0x...
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': 'CheckLanguage@tools/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 file.\n clean_lines: A ...
1
{'name': '_read_csv@meza/io.py', 'description': "Helps read a csv file.\n\nArgs:\n f (obj): The csv file like object.\n header (Seq[str]): Sequence of column names.\n has_header (bool): Whether or not file has a header.\n\nKwargs:\n first_col (int): The first column (default: 0).\n\nYields:\n dict: A csv...
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': 'processLabelItems@python/label_data_utils.py', 'description': '_summary_\n\nArgs:\n map_item (Map<string, LabelItem>): _description_\n LabelItem (_type_): _description_\n\nReturns:\n ParsedLabelItem[]: _description_', 'signature': 'def processLabelItems(map_item)->List:'}</s>labelInputPath = os.path....
0
{'name': 'ExperimentsModuleTest.testExperimentIsBucketTinyPercentEnabled@gmacpyutil/gmacpyutil/experiments_test.py', 'description': 'Ensure that we can turn experiments on for small percentages.', 'signature': 'def testExperimentIsBucketTinyPercentEnabled(self, mock_sha):'}</s>SAMPLE_INVALID_EXPERIMENT = {EXP_NAME: {'o...
0
{'name': 'BSDataSet.has_unique_cell_type@brainspace/vtk_interface/wrappers/data_object.py', 'description': 'bool: Returns True if object has a unique cell type.\nFalse, otherwise.', 'signature': 'def has_unique_cell_type(self):'}</s>{'name': 'BSVTKObjectWrapper@brainspace/vtk_interface/wrappers/base.py', 'description':...
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': 'update_model_for_controls@wntr/sim/hydraulics.py', 'description': 'Parameters\n----------\nm: wntr.sim.aml.aml.Model\nwn: wntr.network.model.WaterNetworkModel\nmodel_updater: wntr.sim.models.utils.ModelUpdater\nchange_tracker: wntr.network.controls.ControlChangeTracker', 'signature': 'def update_model_for_con...
0
{'name': 'info@ascmhl/commands.py', 'description': 'Prints information from the ASC MHL history\n\n\x08', 'signature': 'def info(verbose, single_file, root_path):'}</s>{'name': 'info@ascmhl/logger.py', 'description': 'Logs a message to stdout.', 'code': 'def info(msg, *args):\n """Logs a message to stdout."""\n i...
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>MQADOPT_CHECK_ALL = 1
0
{'name': 'export_error_cases@src/eval.py', 'description': 'Export indices of examples to which the top-1 prediction is incorrect.', 'signature': 'def export_error_cases(examples, scores, all_answers, output_path):'}</s>{'name': 'hits_and_ranks_by_seen_queries@src/eval.py', 'description': 'DOCSTRING', 'code': "def hits_...
0
{'name': 'kallisto_bus@kb_python/count.py', 'description': 'Runs `kallisto bus`.\n\nArgs:\n fastqs: List of FASTQ file paths, or a single path to a batch file\n index_path: Path to kallisto index\n technology: Single-cell technology used\n out_dir: Path to output directory\n threads: Number of threads to...
0
{'name': 'TestModel.test_variations_deepcopy@tests/test_models.py', 'description': 'Tests test_variations() with a deep copied object', 'signature': 'def test_variations_deepcopy(self):'}</s>{'name': 'CustomManager@tests/models.py', 'description': "Just like Django's default, but a different class.", 'base_classes': ['...
0
{'name': 'FuncWebTestMixin.get_element_inner_text@src/django_functest/funcwebtest.py', 'description': 'Returns the "inner text" (innerText in JS) of the element matching\nthe css_selector, or None if there is none.', 'signature': 'def get_element_inner_text(self, css_selector):'}</s>{'name': 'FuncWebTestMixin@src/djang...
1
{'name': 'PackageFinder._link_package_versions@scripts/pdns/lib/python2.7/site-packages/pip/index.py', 'description': 'Return an InstallationCandidate or None', 'signature': 'def _link_package_versions(self, link, search):'}</s>prefixes = dict([(v, k) for k, v in namespaces.items()])
0
{'name': 'TestReadMemCString.test_read_memory_c_string@llvm-project/lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py', 'description': 'Test corner case behavior of SBProcess::ReadCStringFromMemory', 'signature': 'def test_read_memory_c_string(self):'}</s>{'name': 'getsource_if_available@llvm-proj...
0
{'name': 'plot_legend@pymeteo/skewt.py', 'description': 'Plot skew-t legend', 'signature': 'def plot_legend(axes):'}</s>linecolor_Td = "green"
1
{'name': 'default_engine_reporting_signature@graphene_tornado/apollo_tooling/operation_id.py', 'description': 'The engine reporting signature function consists of removing extra whitespace,\nsorting the AST in a deterministic manner, hiding literals, and removing\nunused definitions.', 'signature': 'def default_engine_...
1
{'name': 'fab@scripts/build_mod_ic.py', 'description': 'Generate a drawing of the chip on the Fab layer, including its outline,\nthe outline of the pins, and a pin 1 indicator.', 'signature': 'def fab(conf):'}</s>{'name': 'footprint@scripts/build_mod_ic.py', 'description': 'DOCSTRING', 'code': 'def footprint(conf):\n ...
0
{'name': 'ExceptionState.dump@javaobj/v2/beans.py', 'description': 'Returns a dump representation of the exception', 'signature': 'def dump(self, indent=0):'}</s>{'name': 'ContentType@javaobj/v2/beans.py', 'description': 'Types of objects', 'base_classes': ['IntEnum'], 'methods': []}
0
{'name': 'Block._write@pcapng/blocks.py', 'description': 'Writes this block into the given output stream', 'signature': 'def _write(self, outstream):'}</s>LINKTYPE_IBM_SP = 145
0
{'name': 'validate_operation@swagger_spec_validator/validator12.py', 'description': 'Validate an Operation Object (§5.2.3).', 'signature': 'def validate_operation(operation: dict[str, Any], model_ids: list[str]) -> None:'}</s>{'name': 'read_resource_file@swagger_spec_validator/common.py', 'description': 'DOCSTRING', 'c...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_SEND_FAILED = 4014
0
{'name': 'PostgresNode.__init__@testgres/node.py', 'description': "PostgresNode constructor.\n\nArgs:\n name: node's application name.\n port: port to accept connections.\n base_dir: path to node's data directory.\n bin_dir: path to node's binary directory.", 'signature': 'def __init__(self, name=None, base...
0
{'name': 'BreakpointAfterJoinTestCase.test@llvm-project/lldb/test/API/functionalities/thread/break_after_join/TestBreakAfterJoin.py', 'description': 'Test breakpoint handling after a thread join.', 'signature': 'def test(self):'}</s>{'name': 'skipIfWindows@llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py'...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_DURABILITY_NOT_ALLOWED = 3314
0
{'name': '_get_key@tc_aws/loaders/s3_loader.py', 'description': "Retrieves key from path\n:param string path: Path to analyze\n:param Context context: Thumbor's context\n:return: Extracted key\n:rtype: string", 'signature': 'def _get_key(path, context):'}</s>{'name': 'Bucket@tc_aws/aws/bucket.py', 'description': 'DOCST...
0
{'name': 'getSubArrays@training_codes/utils/utils_model.py', 'description': "We want to split the array A=[start:end] in numSubArrays arrays of \nequal length so that all the elements in A are included in at least one of \nthe created sub-arrays.\n\nReturns the starting (s) and ending points (e) of each sub-array.\n\n...
0
{'name': 'bounding_parallelogram@morphomnist/morpho.py', 'description': 'Estimates a bounding parallelogram for the given image.\n\nParameters\n----------\nimg : (H, W) array_like\n Input image.\nfrac : float\n Fraction of image mass to discard along each dimension, for robustness to outliers.\nmoments : ImageMom...
0
{'name': 'parse_1dplot_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for Pythony 1dplotter.\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.', 'sig...
0
{'name': 'CheckHeaderFileIncluded@third_party/cpplint/cpplint.py', 'description': 'Logs an error if a source file does not include its header.', 'signature': 'def CheckHeaderFileIncluded(filename, include_state, error):'}</s>{'name': 'CheckOperatorSpacing@third_party/cpplint/cpplint.py', 'description': 'Checks for hori...
0
{'name': 'EstimatorTest.setUp@trimmed_match/estimator_test.py', 'description': 'Setup reusable data.', 'signature': 'def setUp(self):'}</s>RATE_TO_TRIM_HALF_DATA = 0.25
0
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>MATCH_MULHSU = 33562675
0
{'name': 'SingleSubjectWindow.CB_line_text@src/python_scripts/afnipy/gui_uber_subj.py', 'description': 'call-back for text updates in the level 3 gbox', 'signature': 'def CB_line_text(self):'}</s>g_subject_sort_key = None
0
{'name': '_StreamBase.__init__@sounddevice.py', 'description': "Base class for PortAudio streams.\n\nThis class should only be used by library authors who want to\ncreate their own custom stream classes.\nMost users should use the derived classes\n`Stream`, `InputStream`, `OutputStream`,\n`RawStream`, `RawInputStream` ...
0
{'name': 'loadFonts@rst2pdf/findfonts.py', 'description': 'Search the system and build lists of available fonts.', 'signature': 'def loadFonts():'}</s>{'name': 'findFont@rst2pdf/findfonts.py', 'description': 'DOCSTRING', 'code': 'def findFont(fname):\n loadFonts()\n # So now we are sure we know the families and f...
0
{'name': 'run_pelicun@pelicun/tools/DL_calculation.py', 'description': "Use settings in the config JSON to prepare and run a Pelicun calculation.\n\nParameters\n----------\nconfig_path: string\n Path pointing to the location of the JSON configuration file.\ndemand_file: string\n Path pointing to the location of a...
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': 'TestBytesSigner.test_dumps_loads@tests/signing/tests.py', 'description': 'dumps and loads be reversible for any JSON serializable object', 'signature': 'def test_dumps_loads(self):'}</s>{'name': 'dumps@django_cryptography/core/signing.py', 'description': "Return URL-safe, hmac signed base64 compressed JSON st...
1
{'name': 'aioredis1_hash@ring/func/asyncio.py', 'description': "Redis interface for :mod:`asyncio`.\n\nExpected client package is aioredis_.\n\nThis implements HASH commands in aioredis.\n\naioredis expect `Redis` client or dev package is installed on your\nmachine. If you are new to Memcached, check how to install it ...
0
{'name': 'process_line@venv/Lib/site-packages/pip-19.0.3-py3.6.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 an effect\nare from SUPPOR...
0
{'name': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>_user_prop_push = Z3_push_eh(user_prop_push)
0
{'name': 'Product._load@eoreader/products/product.py', 'description': 'Core function loading optical data bands\n\nArgs:\n bands (list): Band list\n pixel_size (float): Pixel size of the band, in meters\n size (Union[tuple, list]): Size of the array (width, height). Not used if pixel_size is provided.\n kwa...
0
{'name': 'design_and_init_filters@python/jax/carfac.py', 'description': 'Design the actual CAR filters.\n\nArgs:\n ear: the index of the ear to be designed and initialised.\n params: The design parameters.\n hypers: The hyperparameters. This is needed because things like `n_ch`\n are not in `DesignParameters`.\n\nR...
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': 'nextiter@boxx/tool/toolStructObj.py', 'description': "do next(iter(iterAble)) then return resoult\n\nwhile iterr is empty ...
0
{'name': 'PACT_Conv1d.get_output_eps@nemo/quant/pact.py', 'description': 'Get the output quantum (:math:`\\varepsilon`) given the input one.\n\n:param eps_in: input quantum :math:`\\varepsilon_{in}`.\n:type eps_in: :py:class:`torch.Tensor`\n:return: output quantum :math:`\\varepsilon_{out}`.\n:rtype: :py:class:`torch...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQREORG_ENABLED = 1
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': 'loads@hcl2/api.py', 'description': 'Load HCL2 from a string.\n:param text: Text with hcl2 to be loaded as a dict.\n:param with_meta: If set to true then adds `__start_line__` and `__end_line__`\nparameters to the output dict. Default to false.', 'signature': 'def loads(text: str, with_meta=False) -> dict:'}</...
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': '_is_infix@src/api/python/z3/z3printer.py', 'description': 'DOCSTRING', 'code': 'def _is_infix(k):\n global _infix_map\n return _infix_map.get(k, False)'}
0
{'name': 'TreeData.__init__@src/data.py', 'description': 'Args:\n config: optional config file to override\n data_dir: override data location, defaults to ROOT \n regenerate: Whether to recreate raw data\n debug: a test mode for small samples', 'signature': 'def __init__(self, csv_file, config, HSI=True, ...
1
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
0
{'name': 'validate_config_path@kayobe/utils.py', 'description': 'Validate the Kayobe configuration path.\n\nCheck whether we are executing from inside a Kayobe configuration\nrepository, and if so, assert that matches the Kayobe configuration path\ndefined in CLI args or environment variables.\n\nExit 1 if validation f...
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': 'Bridge@fpga/lib/pcie/tb/pcie.py', 'description': 'PCIe bridge function, implements bridge config space and TLP routing', 'base_classes': ['Function'], 'methods': [{'name': 'Br...
0
{'name': 'parse_data@global_scraper.py', 'description': 'Parse and store all the data\n ', 'signature': 'def parse_data():'}</s>{'name': 'main@getters.py', 'description': 'DOCSTRING', 'code': "def main():\n data = get_data()\n with open('raw.json', 'w') as outf:\n json.dump(data, outf)"}
0
{'name': 'Application.__init__@robopianist/viewer/application.py', 'description': 'Instance initializer.', 'signature': 'def __init__(self, title="Explorer", width=1024, height=768):'}</s>MOD_SHIFT_CONTROL = MOD_SHIFT | MOD_CONTROL
0
{'name': 'Session.append@codebraid/code_collections.py', 'description': 'Append a code chunk to internal code chunk list. Check code chunk\noptions for validity and update chunk summary data.', 'signature': 'def append(self, code_chunk: CodeChunk):'}</s>{'name': 'RunError@codebraid/message.py', 'description': 'DOCSTRI...
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': '_htmlentity_transform@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Transforms an HTML entity to a character.', 'signature': 'def _htmlentity_transform(entity_with_semicolon):'}</s>{'name': 'str_or_none@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'DOCSTRING', 'code':...
0
{'name': 'PerfectModelEnsemble.verify@src/climpred/classes.py', 'description': 'Verify initialized predictions against a configuration of its members.\n\n.. note::\n The configuration of the other ensemble members is based off of the\n ``comparison`` keyword argument.\n\nArgs:\n metric: Metric to apply for ver...
1
{'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': 'combineNNNer@code/parseJsontoFeatures.py', 'description': 'add more named entities pronoun into dict', 'signature': 'def combineNNNer(nnlist,features,corefs):'}</s>devicelist = ['wificam','hardware','appliance','kit','gateway','bear','toy','doll','thermostat','fridge','door','kettle','monitor', 'webcam','desk...
1
{'name': 'test_create_new_symbol@unyt/tests/test_units.py', 'description': 'Create unit with unknown symbol.', 'signature': 'def test_create_new_symbol():'}</s>{'name': 'test_hPa_mbar@unyt/tests/test_units.py', 'description': 'DOCSTRING', 'code': 'def test_hPa_mbar():\n assert Unit("hPa").dimensions == Unit("bar").d...
0
{'name': 'ProcessGlobalSuppresions@third_party/cpplint/cpplint.py', 'description': 'Updates the list of global error suppressions.\n\nParses any lint directives in the file that have global effect.\n\nArgs:\n lines: An array of strings, each representing a line of the file, with the\n last element being empty ...
0
{'name': 'PPO.update@ppo_continuous2.py', 'description': 'Update parameter with the constraint of KL divergent\n:return: None', 'signature': 'def update(self):'}</s>ACTION_RANGE = 2.0
0
{'name': 'VersatileImageFieldBaseTestCase.tearDownClass@tests/tests.py', 'description': 'Delete files made by VersatileImageFields during tests.', 'signature': 'def tearDownClass(cls):'}</s>{'name': 'VersatileImageTestUploadDirectoryModel@tests/models.py', 'description': 'DOCSTRING', 'base_classes': ['models.Model'], '...
0
{'name': 'lookup_sorted_geom@postprocessing/science/compute_diff_seissol_data.py', 'description': 'return the indices to sort the\ngeometry array by x, then y, then z\nand the associated inverse look-up table', 'signature': 'def lookup_sorted_geom(geom, atol):'}</s>{'name': 'compute_areas@postprocessing/science/compute...
0
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>CSR_HPMCOUNTER9H = 3209
0
{'name': 'idmapper.map_column@py2cytoscape/cyrest/idmapper.py', 'description': 'Uses the BridgeDB service to look up analogous identifiers from a wide\nselection of other databases\n\n:param only_use_one (string, optional): When multiple identifiers can be\n mapped from a single term, this forces a singular result\n...
0
{'name': 'maybe_curry@nbinteract/util.py', 'description': 'If maybe_fn is a function, curries it and passes in first_arg. Otherwise\nreturns maybe_fn.', 'signature': "def maybe_curry(maybe_fn, first_arg) -> 'Function | Any':"}</s>VAR_ARGS = {inspect.Parameter.VAR_POSITIONAL, inspect.Parameter.VAR_KEYWORD}
0
{'name': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p...
0
{'name': 'estimate_fao56@cfg/hass/custom_components/wb_irrigation/sensor.py', 'description': 'Estimate fao56 from weather ', 'signature': 'def estimate_fao56(day_of_year,'}</s>{'name': 'kelvin2celsius@cfg/hass/custom_components/wb_irrigation/pyeto/convert.py', 'description': 'Convert temperature in degrees Kelvin to d...
0
{'name': 'parse_ionex@laika/iono.py', 'description': ':param ionex_file: path to the IONEX file\n:return: TEC interpolation function `f( (lat,lon), datetime )`', 'signature': 'def parse_ionex(ionex_file):'}</s>{'name': 'LocalCoord@laika/lib/coordinates.py', 'description': 'Allows conversions to local frames. In this ca...
0
{'name': 'Client.__init__@SalesforcePy/sfdc.py', 'description': 'Constructor.\n\n:Parameters:\n - `*username` (`string`) - Salesforce username.\n - `*password` (`string`) - Salesforce password.\n - `*login_url` (`string`) - Salesforce login URL.\n - `*client_id` (`string`) - Salesforce client ID.\n - `*c...
0
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=...
0
{'name': 'NormalizedConfiguration.__init__@config/parse.py', 'description': 'Normalize a JSON configuration in preparation for parsing ', 'signature': 'def __init__(self, config_file, verbose=False):'}</s>ptw_deprecation_keys = { 'ptw_mshr_size': 'mshr_size', 'ptw_max_read': 'max_read', 'ptw_max_write': 'ma...
0
{'name': 'SerialNode.write_block@src/interface/serial_node.py', 'description': 'Write serial data given command, and data.', 'signature': 'def write_block(self, interface, command, data, check_multi_flag=True):'}</s>SEND_STATUS_MESSAGE = 117
0
{'name': 'RuntimeAPI.do_show_tables@tools/runtime_CLI.py', 'description': 'List tables defined in the P4 program: show_tables', 'signature': 'def do_show_tables(self, line):'}</s>{'name': 'parse_param@tools/runtime_CLI.py', 'description': 'DOCSTRING', 'code': 'def parse_param(input_str, bitwidth):\n if bitwidth == 3...
0
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
0
{'name': 'get_versions@versioneer.py', 'description': "Get the project version from whatever source is available.\n\nReturns dict with two keys: 'version' and 'full'.", 'signature': 'def get_versions(verbose=False):'}</s>CONFIG_ERROR = " setup.cfg is missing the necessary Versioneer configuration. You need a section li...
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': '_IncludeState.CheckNextIncludeOrder@scripts/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 defined above.\n\nRe...
0
{'name': 'normalize@src/packageurl/__init__.py', 'description': 'Return normalized purl components', 'signature': 'def normalize('}</s>{'name': 'quote@src/packageurl/__init__.py', 'description': 'Return a percent-encoded unicode string, except for colon :, given an `s`\nbyte or unicode string.', 'code': 'def quote(s: A...
0
{'name': 'get_argument_sources@varname/utils.py', 'description': "Get the sources for argument from an ast.Call node\n\n>>> def func(a, b, c, d=4):\n>>> ...\n>>> x = y = z = 1\n>>> func(y, x, c=z)\n>>> # argument_sources = {'a': 'y', 'b', 'x', 'c': 'z'}\n>>> func(y, x, c=1)\n>>> # argument_sources = {'a': 'y', 'b', 'x...
0
{'name': 'remove_real_time_thread@vmprof/__init__.py', 'description': "Removes a thread from the list of threads to be sampled in real time mode.\nWhen disabling in real time mode, *all* threads are removed automatically.\nReturns the number of registered threads, or -1 if we can't remove thread.\nRemoves the current t...
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': 'all_component_templates@scripts/generators/es_template.py', 'description': 'Generate one component template per field set', 'signature': 'def all_component_templates('}</s>YAML_EXT = {'yml', 'yaml'}
0
{'name': 'get_deltas@k8s_snapshots/rule.py', 'description': 'Helper annotation-deltas-getter\n\nParameters\n----------\nannotations\n\nReturns\n-------', 'signature': 'def get_deltas(annotations: Dict, deltas_annotation_key: str) -> List[timedelta]:'}</s>{'name': 'Context@k8s_snapshots/context.py', 'description': 'DOCS...
0