text string | label int64 |
|---|---|
{'name': 'ECMA376Agile._derive_iterated_hash_from_password@msoffcrypto/method/ecma376_agile.py', 'description': 'Do a partial password-based hash derivation.\nNote the block key is not taken into consideration in this function.', 'signature': 'def _derive_iterated_hash_from_password('}</s>blkKey_encryptedVerifierHashVa... | 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': 'gis_prepro_tasks@oggm/workflow.py', 'description': 'Run all flowline preprocessing tasks on a list of glaciers.\n\nParameters\n----------\ngdirs : list of :py:class:`oggm.GlacierDirectory` objects\n the glacier directories to process', 'signature': 'def gis_prepro_tasks(gdirs):'}</s>{'name': '_join_lines@o... | 0 |
{'name': 'scope_vars@agents/bdq/common/tf_util.py', 'description': 'Get variables inside a scope\nThe scope can be specified as a string\n\nParameters\n----------\nscope: str or VariableScope\n scope in which the variables reside.\ntrainable_only: bool\n whether or not to return only the variables that were marke... | 0 |
{'name': 'TarInfo.frombuf@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/distlib/_backport/tarfile.py', 'description': 'Construct a TarInfo object from a 512 byte bytes object.\n ', 'signature': 'def frombuf(cls, buf, encoding, errors):'}</s>{'name': 'StreamError@SneakerBot 201... | 0 |
{'name': 'TestJWT.test_validate_iss_with_non_str_issuer@tests/test_api_jwt.py', 'description': 'Regression test for #1039', 'signature': 'def test_validate_iss_with_non_str_issuer(self, jwt):'}</s>{'name': 'InvalidJTIError@jwt/exceptions.py', 'description': "Raised when a token's ``jti`` claim is not a string", 'base_c... | 0 |
{'name': 'import_@twitter_to_sqlite/cli.py', 'description': 'Import data from a Twitter exported archive. Input can be the path to a zip\nfile, a directory full of .js files or one or more direct .js files.', 'signature': 'def import_(db_path, paths):'}</s>{'name': 'cursor_paginate@twitter_to_sqlite/utils.py', 'descrip... | 0 |
{'name': 'BaseCircuit.plot@impedance/models/circuits/circuits.py', 'description': "visualizes the model and optional data as a nyquist,\n bode, or altair (interactive) plots\n\nParameters\n----------\nax: matplotlib.axes\n axes to plot on\nf_data: np.array of type float\n Frequencies of input data (for Bode pl... | 0 |
{'name': 'fill_filter_mosaics@grizli/pipeline/auto_script.py', 'description': 'Fill field mosaics with the average value taken from other filters so that all images have the same coverage\n\nParameters\n----------\nfield_root : str', 'signature': 'def fill_filter_mosaics(field_root):'}</s>{'name': 'region_mask_from_ds9... | 0 |
{'name': 'is_unix_socket@haproxyadmin/utils.py', 'description': 'Return ``True`` if path is a valid UNIX socket otherwise False.\n\n:param path: file name path\n:type path: ``string``\n:rtype: ``bool``', 'signature': 'def is_unix_socket(path):'}</s>METRICS_AVG = [
'act',
'bck',
'check_duration',
'ctime'... | 0 |
{'name': 'compute_sidechain_dihedrals@sidechainnet/utils/measure.py', 'description': "Compute all angles to predict for a given residue.\n\nIf the residue is the first in the protein chain, a fictitious C atom is\nplaced before the first N. This is used to compute a [ C-1, N, CA, CB]\ndihedral angle. If it is not the f... | 0 |
{'name': 'add_common_flags@agfusion/cli.py', 'description': 'Add commaond line flags that are common to multiple sub parsers', 'signature': 'def add_common_flags(parser):'}</s>CODING_COMBINATIONS = {
i: {"protein_coding_potential": False, "truncated": False} for i in CODING_COMBINATIONS
} | 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>MOUSE_STATE_RELEASE = 0 | 0 |
{'name': 'View.scale_contrast@picasso/gui/render.py', 'description': 'Scales image based on contrast values from Display Settings\nDialog.\n\nParameters\n----------\nimage : np.array or list of np.arrays\n Array with rendered locs (grayscale)\nautoscale : boolean (default=False)\n If True, finds optimal contrast\... | 0 |
{'name': 'TableBase.print_linear_hist@src/python/bcc/table.py', 'description': 'print_linear_hist(val_type="value", section_header="Bucket ptr",\n section_print_fn=None, bucket_fn=None,\n strip_leading_zero=None, bucket_sort_fn=None)\n\nPrints a table as a linear histogram. This is i... | 0 |
{'name': 'solve_only@diffcp/cone_program.py', 'description': 'Solves a cone program and returns its solution.\n\nFor more information on the arguments and return values,\nsee the docstring for `solve_and_derivative` function. However, note\nthat only x, y, and s are being returned from this function.\n\nThis is another... | 0 |
{'name': 'WorkingSet.resolve@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pkg_resources/__init__.py', 'description': 'List all distributions needed to (recursively) meet `requirements`\n\n`requirements` must be a sequence of ``Requirement`` objects. `env`,\nif supplied, should be an ``Environment`` instance... | 0 |
{'name': 'cpython_tags@gyp/pylib/packaging/tags.py', 'description': "Yields the tags for a CPython interpreter.\n\nThe tags consist of:\n- cp<python_version>-<abi>-<platform>\n- cp<python_version>-abi3-<platform>\n- cp<python_version>-none-<platform>\n- cp<less than python_version>-abi3-<platform> # Older Python versi... | 1 |
{'name': 'AutoCompleter.get_completions@autocomplete.py', 'description': 'Get all the completions related to the current file.', 'signature': 'def get_completions(self, view, locations):'}</s>{'name': 'view_is_inspected_source@sublime_haskell_common.py', 'description': 'DOCSTRING', 'code': 'def view_is_inspected_source... | 0 |
{'name': 'BaseRequest.POST@src/back/kite/bottle.py', 'description': 'The values of :attr:`forms` and :attr:`files` combined into a single\n:class:`FormsDict`. Values are either strings (form values) or\ninstances of :class:`cgi.FieldStorage` (file uploads).', 'signature': 'def POST(self):'}</s>TEMPLATES = {} | 0 |
{'name': '_IsType@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check if expression looks like a type name, returns true if so.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n nesting_state: A NestingState instance which maintains information about\n the current stac... | 0 |
{'name': 'perm_argmin@app/ops.py', 'description': "This Op finds permutation that gives smallest sum, in a batched manner.\n\nArgs:\n s_x: tensor\n axes: 2-tuple of int, tensor shape on the two axes must be the same\n perm_size: size of permutation, infer from tensor shape by default\n name: string\n _ca... | 0 |
{'name': 'is_unix_socket@haproxyadmin/utils.py', 'description': 'Return ``True`` if path is a valid UNIX socket otherwise False.\n\n:param path: file name path\n:type path: ``string``\n:rtype: ``bool``', 'signature': 'def is_unix_socket(path):'}</s>METRICS_SUM = [
'CompressBpsIn',
'CompressBpsOut',
'Compres... | 0 |
{'name': 'check_and_process_entry@code/utils/osg.py', 'description': ':param entry:\n:return:', 'signature': 'def check_and_process_entry(entry):'}</s>developer_file = root_path / 'developers.md' | 0 |
{'name': 'PacketFilter.get_queues@pf/filter.py', 'description': 'Retrieve the currently loaded queues.\n\nReturn a tuple of PFQueue objects.', 'signature': 'def get_queues(self):'}</s>{'name': 'PFTStats@pf/table.py', 'description': 'Class containing statistics for a PF table.', 'base_classes': ['PFObject'], 'methods': ... | 0 |
{'name': 'LeastSquares@reference/ThinkDSP/code/thinkstats2.py', 'description': 'Computes a linear least squares fit for ys as a function of xs.\n\nArgs:\n xs: sequence of values\n ys: sequence of values\n\nReturns:\n tuple of (intercept, slope)', 'signature': 'def LeastSquares(xs, ys):'}</s>{'name': 'EvalHyper... | 0 |
{'name': 'Kconfig.__repr__@tools/kconfig_new/kconfiglib.py', 'description': 'Returns a string with information about the Kconfig object when it is\nevaluated on e.g. the interactive Python prompt.', 'signature': 'def __repr__(self):'}</s>{'name': '_make_depend_on@tools/kconfig_new/kconfiglib.py', 'description': "Adds '... | 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': 'ServiceBrowser.__init__@stino/pyarduino/base/zeroconf.py', 'description': 'Creates a browser for a specific type', 'signature': 'def __init__(self, zc, type, listener):'}</s>{'name': 'DNSQuestion@stino/pyarduino/base/zeroconf.py', 'description': 'A DNS question entry', 'base_classes': ['DNSEntry'], 'methods':... | 1 |
{'name': 'Application._load_environment@robopianist/viewer/application.py', 'description': 'Loads a new environment.', 'signature': 'def _load_environment(self, zoom_to_scene):'}</s>KEY_LEFT_SUPER = 343 | 0 |
{'name': 'Installer.installMod@src/core/installer.py', 'description': 'Installs mod from given path. If given mod is an archive first extracts it', 'signature': 'def installMod(self, modPath: str) -> Tuple[bool, int, int]:'}</s>{'name': 'fetchXmlKeys@src/core/fetcher.py', 'description': 'DOCSTRING', 'code': 'def fetchX... | 0 |
{'name': 'createPerson@python/app/mob_loc.py', 'description': 'create person', 'signature': 'def createPerson():'}</s>transportSpeedDistr = CategoricalRejectSampler(("15", 20), ("30", 50), ("50", 70)) | 0 |
{'name': 'HandleMysql.get_all@common/handle_mysql.py', 'description': '获取sql语句查询到的所有数据', 'signature': 'def get_all(self, sql):'}</s>{'name': 'HandleMysql@common/handle_mysql.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'HandleMysql.__init__@common/handle_mysql.py', 'description': 'DOCSTRING... | 1 |
{'name': 'GetDefaultStyleForDir@tools/yapf/yapf/yapflib/file_resources.py', 'description': 'Return default style name for a given directory.\n\nLooks for .style.yapf or setup.cfg in the parent directories.\n\nArguments:\n dirname: (unicode) The name of the directory.\n\nReturns:\n The filename if found, otherwise ret... | 1 |
{'name': 'inspector_gui.goto_folder@trial_purifier.py', 'description': 'Get the path from folder data frame. We should check if the upcomming folder\nhas already a dataframe for its images. if not, create one.\n:param idx: index of current folder to be shown', 'signature': 'def goto_folder(self, idx):'}</s>{'name': 'an... | 0 |
{'name': 'TestAdminTreeList.test_result_tree_list_escapes_labels@treebeard/tests/test_treebeard.py', 'description': 'Verifies that inclusion tag result_list generates a table when with\ndefault ModelAdmin settings.', 'signature': 'def test_result_tree_list_escapes_labels(self, model_with_unicode):'}</s>{'name': 'TestIn... | 0 |
{'name': 'MessageSender.send@uamqp/sender.py', 'description': 'Add a single message to the internal pending queue to be processed\nby the Connection without waiting for it to be sent.\n\n:param message: The message to send.\n:type message: ~uamqp.message.Message\n:param callback: The callback to be run once a dispositi... | 0 |
{'name': 'Connection.is_writeable@runner/tez/apache-hive-0.13.0.2.1.0.0-92-bin/lib/py/thrift/server/TNonblockingServer.py', 'description': 'Returns True if connection should be added to write list of select.', 'signature': 'def is_writeable(self):'}</s>{'name': 'Connection@runner/tez/apache-hive-0.13.0.2.1.0.0-92-bin/l... | 1 |
{'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': 'Architecture.__get_register@gef.py', 'description': "Return a register's value.", 'signature': 'def __get_register(self, regname: str) -> int:'}</s>{'name': 'set_arch@gef.py', 'description': 'DOCSTRING', 'code': 'def set_arch(arch: str | None = None, _: str | None = None) -> None:\n return reset_architectu... | 0 |
{'name': 'add_taxonomy@bin/ncbi-gtdb_map.py', 'description': 'Add taxonomy nodes/edits to the graph.\nParams:\n line: iterable, line of metadata file\n line_num: int, line number of metadata file\n header : dict, index of header for metadata file\n G : taxonomy graph\n tax : ncbi or gtdb?\nReturn:\n None; in-plac... | 0 |
{'name': 'gen_graph@pyrgg/__main__.py', 'description': 'Generate a single graph.\n\n:param input_dict: input data\n:type input_dict: dict\n:param file_name: file name\n:type file_name: str\n:return: None', 'signature': 'def gen_graph(input_dict, file_name):'}</s>PYRGG_LINKS = "
Webpage : https://www.pyrgg.site
Reposito... | 0 |
{'name': 'SD1Watson.spherical_harmonics_representation@dmipy/distributions/distributions.py', 'description': 'The Watson spherical distribution model in spherical harmonics.\nThe minimum order is automatically derived from numerical experiments\nto ensure fast function executation and accurate results.\n\nParameters\n-... | 0 |
{'name': 'extract_from_coords@grizli/aws/sky_wfss.py', 'description': ' ', 'signature': "def extract_from_coords(ra=189.0706488, dec=62.2089502, grisms=['F356W-GRISMR','F410M-GRISMR','F444W-GRISMR'], size=48, grp=None, clean=False, get_cutout=True, cutout_filter='F444W-CLEAR', prefix='gdn-grism', verbose=True, mb_kw... | 0 |
{'name': 'TestRemoveDeclaration.testNotRemoved@src/tests/testXmlEncodingDecode.py', 'description': "Make sure that invalid, or missing, declarations aren't affected.", 'signature': 'def testNotRemoved(self):'}</s>{'name': 'AvoidTextInput@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['RSS20... | 0 |
{'name': 'makedb@cblaster/database.py', 'description': 'makedb module entry point.\n\nWill parse genome files in `paths` and create:\n\n 1. `database`.sqlite3\n SQLite3 database used for looking up genome context of hit genes\n\n 2. `database`.dmnd\n DIAMOND search database\n\n 3. `database`.fasta\n F... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIAMO_SUBS_NDUR = 765 | 0 |
{'name': 'attach_thread_to_jvm@local_data_api/resources/jdbc/__init__.py', 'description': 'https://github.com/baztian/jaydebeapi/issues/14#issuecomment-261489331', 'signature': 'def attach_thread_to_jvm() -> None:'}</s>{'name': 'BadRequestException@local_data_api/exceptions.py', 'description': 'DOCSTRING', 'base_classe... | 0 |
{'name': 'XMLFeedsTest.test_sanitize_1@feeds/tests.py', 'description': "Make sure feedparser's sanitization is running", 'signature': 'def test_sanitize_1(self, mock):'}</s>TEST_FILES_FOLDER = os.path.join(os.path.dirname(os.path.abspath(__file__)), "testdata") | 0 |
{'name': 'CScript.GetSigOpCount@qa/rpc-tests/test_framework/script.py', 'description': 'Get the SigOp count.\n\nfAccurate - Accurately count CHECKMULTISIG, see BIP16 for details.\n\nNote that this is consensus-critical.', 'signature': 'def GetSigOpCount(self, fAccurate):'}</s>OP_INVALIDOPCODE = CScriptOp(0xff) | 1 |
{'name': 'BL3Profile.get_sdus@bl3save/bl3profile.py', 'description': 'Returns a dict containing the SDU type and the number purchased. The SDU\ntype key will be a constant by default, or an English label if `eng` is `True`', 'signature': 'def get_sdus(self, eng=False):'}</s>{'name': 'ArbitraryBits@bl3save/datalib.py',... | 0 |
{'name': 'JDETracker.update@tracker/multitracker.py', 'description': 'Processes the image frame and finds bounding box(detections).\n\nAssociates the detection with corresponding tracklets and also handles lost, removed, refound and active tracklets\n\nParameters\n----------\nim_blob : torch.float32\n Tensor o... | 0 |
{'name': 'countedArray@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pyparsing.py', 'description': "Helper to define a counted list of expressions.\n\nThis helper defines a pattern of the form::\n\n integer expr expr expr...\n\nwhere the leading integer tells how many expr expressions follow.\nThe matched ... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCAMO_END_TIME = 2708 | 0 |
{'name': 'test_update_machine_info_hook_detection@tests/test_benchmark.py', 'description': 'Tests detection and execution and update_machine_info_hooks.\n\nVerifies that machine info hooks are detected and executed in nested\n`conftest.py`s.', 'signature': 'def test_update_machine_info_hook_detection(testdir):'}</s>{'n... | 0 |
{'name': '_Printer._FieldToJsonObject@python/google/protobuf/json_format.py', 'description': 'Converts field value according to Proto3 JSON Specification.', 'signature': 'def _FieldToJsonObject(self, field, value):'}</s>{'name': 'Descriptor@python/google/protobuf/descriptor.py', 'description': 'Descriptor for a protoco... | 0 |
{'name': 'NVMeOFConnectorTestCase.test_connect_volume_not_replicated_fails@os_brick/tests/initiator/connectors/test_nvmeof.py', 'description': 'Single vol attach fails and disconnects on failure.', 'signature': 'def test_connect_volume_not_replicated_fails('}</s>{'name': 'VolumePathNotRemoved@os_brick/exception.py', 'd... | 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': '_GenerateRenderMethod.write_toplevel@mako/codegen.py', 'description': 'Traverse a template structure for module-level directives and\ngenerate the start of module-level code.', 'signature': 'def write_toplevel(self):'}</s>{'name': 'restore__ast@mako/util.py', 'description': 'Attempt to restore the required cl... | 0 |
{'name': 'read_schism_vgrid@src/Utility/Pre-Processing/STOFS-3D-Atl-operation/pysh/schism_file.py', 'description': 'read schism vgrid information', 'signature': 'def read_schism_vgrid(fname):'}</s>{'name': 'save_schism_grid@src/Utility/Pre-Processing/STOFS-3D-Atl-operation/pysh/schism_file.py', 'description': "read and... | 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>MQIAMO_ACKS_RCVD = 806 | 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': 'BracketOrder@... | 0 |
{'name': 'decode@whisper/decoding.py', 'description': 'Performs decoding of 30-second audio segment(s), provided as Mel spectrogram(s).\n\nParameters\n----------\nmodel: Whisper\n the Whisper model instance\n\nmel: torch.Tensor, shape = (80, 3000) or (*, 80, 3000)\n A tensor containing the Mel spectrogram(s)\n\no... | 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': 'compute_bbox_stats@lib/rpn_util.py', 'description': 'Computes the mean and standard deviation... | 0 |
{'name': '_match_defaults@punq/__init__.py', 'description': 'Matches args with their defaults in the result of getfullargspec.\n\ninspect.getfullargspec returns a complex object that includes the defaults\non args and kwonly args. This function takes a list of args, and a tuple of\nthe last N defaults and returns a dic... | 0 |
{'name': 'build@tools/ipp_custom_library_tool_python/tool/core.py', 'description': 'Builds dynamic library\n\n:return: True if build was successful and False in the opposite case', 'signature': 'def build():'}</s>STATIC_LIB_EXTENSION = {WINDOWS: ".lib", LINUX: ".a"} | 0 |
{'name': 'media@gedgo/views/media.py', 'description': "Authenticated media endpoint - accepts a 'size' parameter that will\ngenerate previews", 'signature': 'def media(request, storage_name, pathname):'}</s>MIDDLEWARE = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMi... | 0 |
{'name': 'records2geojson@meza/convert.py', 'description': "Converts records into a GeoJSON file like object.\n\n Args:\n records (Iter[dict]): Rows of data whose keys are the field names.\n E.g., output from any `meza.io.read_geojson`.\n\n kwargs (dict): Keyword arguments.\n\nKwargs:\n key (str): GeoJS... | 0 |
{'name': 'nestedExpr@venv/Lib/site-packages/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 ex... | 0 |
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ... | 0 |
{'name': 'build_forcefield_with_mods@vermouth/tests/test_repair_graph.py', 'description': 'Build a force field that describe some modifications.\n\nReturns\n-------\nvermouth.ForceField', 'signature': 'def build_forcefield_with_mods():'}</s>{'name': 'renamed_graph@vermouth/tests/test_repair_graph.py', 'description': 'D... | 0 |
{'name': 'IsDerivedFunction@tools/cpplint.py', 'description': 'Check if current line contains an inherited function.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\nReturns:\n True if current line contains a function with "override"\n virt-specifier... | 0 |
{'name': 'TestingParser.convert_json_to_testing_args@tests/run_all_tests.py', 'description': 'Converts JSON config data to TestingArgs.\n\nThis method validates and converts JSON config data to a TestingArgs\nobject. It checks the data types of various fields and sets the\ncorresponding attributes in the TestingArgs ob... | 0 |
{'name': 'chapters@module/save.py', 'description': 'create chapters folder ', 'signature': 'def chapters(url, course_folder_path):'}</s>{'name': 'aliases_bat@module/save.py', 'description': 'Create aliases file', 'code': 'def aliases_bat():\n \'\'\'Create aliases file\'\'\'\n os.chdir(install.LYNDOR_PATH)\n if... | 0 |
{'name': 'GefRemoteSessionManager.connect@gef.py', 'description': 'Connect to remote target. If in extended mode, also attach to the given PID.', 'signature': 'def connect(self, pid: int) -> bool:'}</s>{'name': 'use_stdtype@gef.py', 'description': 'DOCSTRING', 'code': 'def use_stdtype() -> str:\n if is_32bit(): retu... | 0 |
{'name': 'IULogger.log_service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Message that we have received a service call', 'signature': 'def log_service_call('}</s>ATTR_DEFAULT_DELAY = "default_delay" | 0 |
{'name': 'DummyCache.distinct@tests/__init__.py', 'description': 'Get all distinct package names', 'signature': 'def distinct(self):'}</s>{'name': 'make_dist@tests/__init__.py', 'description': 'DOCSTRING', 'code': 'def make_dist(\n url=None,\n name="mypkg",\n version="1.0",\n summary="A package summary",\n ... | 0 |
{'name': 'TestSanitizeTxData.test_no_combine_with_fee@tests/test_transaction.py', 'description': 'Verify that unused unspents do not increase fee.', 'signature': 'def test_no_combine_with_fee(self):'}</s>UNSPENTS_SEGWIT = [
Unspent(
100000000,
1,
'76a914905aa72f3d1747094a24d3adbc38905bb451ff... | 0 |
{'name': 'get_domain_literal@src/future/backports/email/_header_value_parser.py', 'description': 'domain-literal = [CFWS] "[" *([FWS] dtext) [FWS] "]" [CFWS]\n\n ', 'signature': 'def get_domain_literal(value):'}</s>{'name': 'DisplayName@src/future/backports/email/_header_value_parser.py', 'description': 'DOCSTRING',... | 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_tamper_index@pyFileFixity/tests/test_repair_ecc.py', 'description': 'recc: tamper index file and see if it can repair itself (hecc) ', 'signature': 'def test_tamper_index():'}</s>{'name': 'main@pyFileFixity/header_ecc.py', 'description': 'DOCSTRING', 'code': 'def main(argv=None, command=None):\n if ar... | 1 |
{'name': 'ae_transformer_internal@tensor2tensor_envi/models/research/transformer_nat.py', 'description': 'Main step used for training.', 'signature': 'def ae_transformer_internal(inputs, targets, target_space, hparams, cache=None):'}</s>{'name': 'decode_transformer@tensor2tensor_envi/models/research/transformer_nat.py'... | 1 |
{'name': 'VimPlugin.LookupTag@vimdoc/module.py', 'description': 'Returns the tag name for the given type and name.', 'signature': 'def LookupTag(self, typ, name):'}</s>{'name': 'IsContinuation@vimdoc/parser.py', 'description': 'DOCSTRING', 'code': 'def IsContinuation(line):\n return regex.line_continuation.match(line)... | 0 |
{'name': 'RedFetcher._response_start@redbot/resource/fetch.py', 'description': 'Process the response start-line and headers.', 'signature': 'def _response_start('}</s>{'name': 'BAD_CHUNK@redbot/resource/fetch.py', 'description': 'DOCSTRING', 'base_classes': ['Note'], 'methods': []} | 0 |
{'name': 'test_SVRG_data_np_array@tests/test_gradient_estimation.py', 'description': "SVRG estimator: check that having data as numpy arrays doesn't raise a `TracerArrayConversionError`", 'signature': 'def test_SVRG_data_np_array():'}</s>params = jnp.zeros(D) | 1 |
{'name': 'process_line@scripts/pdns/lib/python2.7/site-packages/pip/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 SUPPORTED_OPTIONS_R... | 0 |
{'name': 'ModelTester._on_rows_removed@src/pytestqt/modeltest.py', 'description': 'Confirm that what was said was going to happen actually did.', 'signature': 'def _on_rows_removed(self, parent, start, end):'}</s>HAS_QT_TESTER = hasattr(qt_api.QtTest, "QAbstractItemModelTester") | 0 |
{'name': 'dictOf@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper to easily and clearly define a dictionary by specifying the respective patterns\nfor the key and value. Takes care of defining the C{L{Dict}}, C{L{ZeroOrMore}}, and C{L{Group}} tokens\nin the proper order. The key pattern ... | 0 |
{'name': 'dotted_netmask@Retired Content/MimeCast/SumoLogic-Mimecast-Data-Collection/requests/utils.py', 'description': 'Converts mask from /xx format to xxx.xxx.xxx.xxx\n\nExample: if mask is 24 function returns 255.255.255.0\n\n:rtype: str', 'signature': 'def dotted_netmask(mask):'}</s>_CLEAN_HEADER_REGEX_BYTE = re.c... | 0 |
{'name': 'WebSocket.send_close@vertx-web/src/test/sockjs-protocol/websocket/_core.py', 'description': 'send close data to the server.\n\nstatus: status code to send. see STATUS_XXX.\n\nreason: the reason to close. This must be string or bytes.', 'signature': 'def send_close(self, status=STATUS_NORMAL, reason=six.b(""))... | 0 |
{'name': 'Image._preamble_read@wand/image.py', 'description': 'Set-up MagickWand properties before reading an image file. The\nproperties are unique to the image decoder.\n\n:param background: Defines the default background color.\n:type background: :class:`Color`, :class:`str`\n:param colorspace: Defines what colorspa... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_PASSWORD_PROTECTION_ERROR = 2594 | 0 |
{'name': 'make_list@cesium_app/ext/sklearn_models.py', 'description': "Wrap `x` in a list if it isn't already a list or tuple.\n\nParameters\n----------\nx : any valid object\n The parameter to be wrapped in a list.\n\nReturns\n-------\nlist or tuple\n Returns `[x]` if `x` is not already a list or tuple, otherwis... | 0 |
{'name': 'PosixSerial.read@stino/pyarduino/base/pyserial/serialposix.py', 'description': 'Read size bytes from the serial port. If a timeout is set it may\nreturn less characters as requested. With no timeout it will block\nuntil the requested number of bytes is read.', 'signature': 'def read(self, size=1):'}</s>writeT... | 0 |
{'name': 'RegionVariable.scope@libspn_keras/region.py', 'description': 'Obtain scope as a list of nodes.\n\nReturns:\n A list of Regions', 'signature': 'def scope(self) -> List[Region]:'}</s>{'name': 'DenseSum@libspn_keras/layers/dense_sum.py', 'description': 'Computes densely connected sums per scope and decomposit... | 0 |
{'name': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': 'ContextObj@src/api/python/z3/z3types.py', 'description': 'DOCSTRING', 'base_classes': ['ctypes.c_void_p'], 'meth... | 0 |
{'name': 'TLP.set_completion@fpga/lib/pcie/tb/pcie.py', 'description': 'Prepare completion for TLP', 'signature': 'def set_completion(self, tlp, completer_id, has_data=False, status=CPL_STATUS_SC):'}</s>MSG_PME_TO_ACK = 26 | 0 |
{'name': 'compute_sparse_agent_cell_f@self_organising_systems/biomakerca/env_logic.py', 'description': "Compute a sparse agent cell_f.\n\nThis works for ExclusiveOp, ParallelOp and ReproduceOp.\nNote that the cell_f *requires* to have the proper argument name 'programs',\nso this is an informal interface.\n\nif it is u... | 0 |
{'name': 'GCSToGCEImage.Process@dftimewolf/lib/exporters/gcs_to_gce_image.py', 'description': 'Creates a GCE image from an image in GCS.\n\nArgs:\n container (containers.GCSObject): The container to process.', 'signature': 'def Process(self, container: containers.GCSObject'}</s>{'name': 'GCSToGCEImage@dftimewolf/lib/e... | 1 |
{'name': 'AlarmoStorage.__init__@custom_components/alarmo/store.py', 'description': 'Initialize the storage.', 'signature': 'def __init__(self, hass: HomeAssistant) -> None:'}</s>{'name': 'ModeEntry@custom_components/alarmo/store.py', 'description': 'Mode storage Entry.', 'base_classes': [], 'methods': []} | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.