text string | label int64 |
|---|---|
{'name': 'test_email_validation_with_none@voluptuous/tests/tests.py', 'description': 'Test with invalid None email address', 'signature': 'def test_email_validation_with_none():'}</s>{'name': 'Length@voluptuous/validators.py', 'description': 'The length of a value must be in a certain range.', 'base_classes': ['object'... | 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': 'check_multiple_rvt_shift_opts@src/python_scripts/afnipy/lib_physio_opts.py', 'description': "Can only use at most one '-rvt_shift*' opt. Simplest to check for\nthat at one time.\n\nParameters\n----------\nargs_dict : dict\n The dictionary of arguments and option values.\n\nReturns\n-------\nis_bad : int\n... | 0 |
{'name': 'Bottle.route@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': "A decorator to bind a function to a request URL. Example::\n\n @app.route('/hello/:name')\n def hello(name):\n return 'Hello %s' % name\n\nThe ``:name`` part is a wildcard. See :class:`Router` for syntax\ndetails.\n\n:p... | 0 |
{'name': 'Afni1D.label_prefix_to_ints@src/python_scripts/afnipy/lib_afni1D.py', 'description': 'return a list of label indices, based on what is kept or dropped\n keep labels in their original order\n\n if keep_pre and one of keep_pre matches, keep\n if drop_pre and one of drop_pre matches, remove\n\nreturn 0 on ... | 0 |
{'name': 'r6d2mat@fairnr/data/geometry.py', 'description': 'Converts 6D rotation representation by Zhou et al. [1] to rotation matrix\nusing Gram--Schmidt orthogonalisation per Section B of [1].\nArgs:\n d6: 6D rotation representation, of size (*, 6)\n\nReturns:\n batch of rotation matrices of size (*, 3, 3)\n\n[... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQ_FORMAT_LENGTH = 8 | 0 |
{'name': 'CSSParser.parse_selectors@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Parse selectors.', 'signature': 'def parse_selectors(self, iselector, index=0, flags=0):'}</s>_MAXCACHE = 500 | 0 |
{'name': 'convert_developers@code/html/generate_static_website.py', 'description': ':param developers:\n:param entries:\n:return:', 'signature': 'def convert_developers(developers, entries):'}</s>platform_icon_map = {
'Windows': 'windows',
'Linux': 'tux',
'macOS': 'appleinc',
'Android': 'android',
'... | 0 |
{'name': 'test_https_h2_tls_context_configuration_rsa@test/integration/test_integration_basics.py', 'description': 'Test that specifying RSA compatible tls cipher suites works with the h2 pool.', 'signature': 'def test_https_h2_tls_context_configuration_rsa(https_test_server_fixture):'}</s>{'name': 'test_http_h1_failur... | 0 |
{'name': 'CellReference.get_labels@gdspy/library.py', 'description': 'Return the list of labels created by this reference.\n\nParameters\n----------\ndepth : integer or None\n If not None, defines from how many reference levels to\n retrieve labels from.\nset_transform : bool\n If True, labels will include the... | 0 |
{'name': '_export_xml@contrib/xml/xmlio.py', 'description': 'Exports Tulip data structures to XML structures for later import.\n\nThis function is called both internal\n\n@param data:\n the data structure to be exported into an XML tree.\n@return:\n `None` (if parent is not `None`), or\n an xml tree', 'signatu... | 0 |
{'name': 'AcousticCorpusMixin.load_reference_alignments@montreal_forced_aligner/corpus/acoustic_corpus.py', 'description': 'Load reference alignments to use in alignment evaluation from a directory\n\nParameters\n----------\nreference_directory: :class:`~pathlib.Path`\n Directory containing reference alignments', 's... | 0 |
{'name': 'gen_system_facts@fauxfactory/factories/systems.py', 'description': "Generate system facts.\n\nSee https://docs.puppet.com/facter/3.6/core_facts.html for more\ninformation.\n\n:param str name: Name to be used as the system's hostname.\n:returns: A Dictionary representing a system's facts.\n:rtype: dict", 'sign... | 1 |
{'name': '_getTestStatus@python/DisplayTests.py', 'description': "Return the status for all tests in the given directory, and compute\na summary status given the build type.\nReturn a tuple (dict, string, string, dict, dict) where the first entry maps\ntest suite names to a string describing their status, the second is... | 0 |
{'name': 'ParseArguments@tools/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args):'}</s>{'name': 'GetHe... | 0 |
{'name': 'map_vertex_to_ogm@goblin/mapper.py', 'description': 'Map a vertex returned by DB to OGM vertex', 'signature': 'def map_vertex_to_ogm(result, props, element, *, mapping=None):'}</s>{'name': 'ClientError@goblin/exception.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': []} | 0 |
{'name': 'ResourceManager.lookup@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Search for a resource and return an absolute file path, or `None`.\n\nThe :attr:`path` list is searched in order. The first match is\nreturend. Symlinks are followed. The result is cached to speed up\nfuture lookups. ', 's... | 0 |
{'name': 'run_eruption_env@self_organising_systems/biomakerca/extensions/eruption.py', 'description': 'Create a video running Eruption.', 'signature': 'def run_eruption_env('}</s>{'name': 'get_eruption_config@self_organising_systems/biomakerca/extensions/eruption.py', 'description': "Return a new Eruption config.\n\nTh... | 0 |
{'name': 'test_put_get_delete_bucket_domain_certificate@ut/test.py', 'description': '测试设置获取删除bucket自定义域名证书', 'signature': 'def test_put_get_delete_bucket_domain_certificate():'}</s>{'name': 'ci_delete_file_meta_index@ut/test.py', 'description': 'DOCSTRING', 'code': 'def ci_delete_file_meta_index():\n kwargs = {"Cach... | 0 |
{'name': 'clip_to_window@alphaction/dataset/datasets/evaluation/ava/pascal_evaluation/np_box_list_ops.py', 'description': 'Clip bounding boxes to a window.\n\nThis op clips input bounding boxes (represented by bounding box\ncorners) to a window, optionally filtering out boxes that do not\noverlap at all with the window... | 1 |
{'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': 'localtime@tool/mkarchive.py', 'description': 'Return YYYY-mm-dd HH:MM.', 'signature': 'def localtime(stamp=0):'}</s>{'name': 'opentext@shingetsu/util.py', 'description': 'DOCSTRING', 'code': "def opentext(path, mode='r'):\n if mode == 'r':\n newline = None\n else:\n newline = '\\n'\n re... | 0 |
{'name': 'InitializerListTestCase.test@lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py', 'description': 'Test that that file and class static variables display correctly.', 'signature': 'def test(self):'}</s>{'name': 'EXP_MSG@lldb/packa... | 0 |
{'name': 'CommandLineTestCase.test_running_install_hosts@tests/installer/test_run_setup.py', 'description': 'Test packstack.installer.run_setup.main\n\nThis test effectivly runs all of the python code ran by\npackstack --install-hosts=127.0.0.1 --os-swift-install=y\n\nIt is a fairly wide net but boost code coverage of ... | 0 |
{'name': 'HyperFrameRecord.add_frames@disdat/hyperframe.py', 'description': "Add frames to the PB. If UUID, just add the UUID. If a FrameRecord,\nthen add both the UUID in the pb.frames map and the FrameRecord in the frame_cache.\n\nArgs:\n frames (:list:'FrameRecord' or :list:tuple:str,str): List of Frames to app... | 0 |
{'name': 'wasm_vec_to_list@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a vector or a POINTER(vector) to a list\nvector of type pointers -> list of type pointers', 'signature': 'def wasm_vec_to_list(vec):'}</s>{'name': 'wasm_importtype_module@language-bindings/python/src/wamr/wasmcapi/bi... | 0 |
{'name': 'split_scopes@info_popup.py', 'description': 'Splits "foo, bar, baz" into ["foo", "bar", "baz"]', 'signature': 'def split_scopes(scopes):'}</s>{'name': 'format_type@symbols.py', 'description': "Format type expression for popup\nSet span 'type' for types and 'tyvar' for type variables", 'code': 'def format_type... | 0 |
{'name': 'TokenList._get_first_name@sqlparse/sql.py', 'description': 'Returns the name of the first token with a name', 'signature': 'def _get_first_name(self, idx=None, reverse=False, keywords=False,'}</s>{'name': 'Comparison@sqlparse/sql.py', 'description': 'A comparison used for example in WHERE clauses.', 'base_cla... | 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>MQEPH_NONE = 0 | 0 |
{'name': 'to_tk@discopy/quantum/tk.py', 'description': 'Takes a :class:`discopy.quantum.Circuit`, returns a :class:`Circuit`.', 'signature': 'def to_tk(circuit):'}</s>MISSING_TYPES_FOR_EMPTY_SUM = "Empty sum needs a domain and codomain." | 0 |
{'name': 'find_all_lineages@ncbitax2lin/lineage.py', 'description': 'Finds the lineages for all tax ids\n\nArgs:\n tax_id: all tax ids to find lineages for.\n tax_dict: a dictionary of tax_id => tax_unit.', 'signature': 'def find_all_lineages('}</s>Lineage = NewType("Lineage", List[Tuple[int, str, str]]) | 1 |
{'name': 'p_member_declarator@ctypesgen/parser/cgrammar.py', 'description': 'member_declarator : declarator gcc_attributes\n| COLON constant_expression gcc_attributes\n| declarator COLON constant_expression gcc_attributes', 'signature': 'def p_member_declarator(p):'}</s>{'name': 'p_argument_expression_list@ctypesgen/pa... | 0 |
{'name': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo... | 0 |
{'name': 'test_flux_sed@tests/test_models.py', 'description': 'test IC calculation', 'signature': 'def test_flux_sed(particle_dists):'}</s>{'name': 'test_tablemodel@tests/test_models.py', 'description': 'DOCSTRING', 'code': 'def test_tablemodel():\n lemin, lemax = -4, 2\n # test an exponential cutoff PL with inde... | 0 |
{'name': 'sniffPossibleFeed@src/feedvalidator/__init__.py', 'description': 'Use wild heuristics to detect something that might be intended as a feed.', 'signature': 'def sniffPossibleFeed(rawdata):'}</s>{'name': 'ImageLinkDoesntMatch@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['Warning']... | 0 |
{'name': 'Parser.p_expression_bytes@lib/rule_engine/parser/__init__.py', 'description': 'object : BYTES', 'signature': 'def p_expression_bytes(self, p):'}</s>{'name': 'ArrayExpression@lib/rule_engine/ast.py', 'description': 'Literal array expressions containing 0 or more sub-expressions.', 'base_classes': ['_Collection... | 0 |
{'name': 'remove_y@test/test_utils.py', 'description': 'Quadruplets and triplets learners have no y in fit, but to write test for\nall estimators, it is convenient to have this function, that will return X\nand y if the estimator needs a y to fit on, and just X otherwise.', 'signature': 'def remove_y(estimator, X, y):'... | 0 |
{'name': 'SemisupervisedTranslationTask.load_dataset@fairseq/tasks/semisupervised_translation.py', 'description': 'Load a dataset split.', 'signature': 'def load_dataset(self, split, epoch=1, **kwargs):'}</s>{'name': 'BacktranslationDataset@fairseq/data/backtranslation_dataset.py', 'description': 'Sets up a backtransla... | 1 |
{'name': 'add_Waasmaier@data_sources/create_db.py', 'description': 'add f0 data from Waasmaier and Kirfel', 'signature': 'def add_Waasmaier(dest, append=True):'}</s>{'name': 'parse_EADL@data_sources/create_db.py', 'description': 'DOCSTRING', 'code': "def parse_EADL(fname):\n '''Parse the EADL data file\n\n Data s... | 0 |
{'name': 'host_setup@source-builder/sb/check.py', 'description': 'Basic sanity check. All executables and directories must exist.', 'signature': 'def host_setup(opts):'}</s>_git = False | 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': '_ignorespec_xml_element@ascmhl/hashlist_xml_parser.py', 'description': 'DOCSTRING', 'code': 'def _ignorespec_xml_el... | 0 |
{'name': 'BitcoinTestFramework.setup_chain@test/functional/test_framework/test_framework.py', 'description': 'Override this method to customize blockchain setup', 'signature': 'def setup_chain(self):'}</s>{'name': 'connect_nodes_bi@test/functional/test_framework/util.py', 'description': 'DOCSTRING', 'code': 'def connec... | 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': 'Annotation.calc_cl_bytes@wfdb/io/annotation.py', 'description': 'Calculate the bytes written to the annotation file for the\ncustom_labels field.\n\nParameters\n----------\nN/A\n\nReturns\n-------\nlist, ndarray\n All of the bytes to be written to the annotation file.', 'signature': 'def calc_cl_bytes(self... | 0 |
{'name': 'default_settings@tasks/_inv/_default_settings.py', 'description': 'Create default settings\n\nReturns:\n dict: Default settings', 'signature': 'def default_settings():'}</s>{'name': 'glob@tasks/_inv/shell.py', 'description': "glob(*pattern, prune=None, prune_base=('.git', '.svn', 'CVS')):\n\nFind files or di... | 0 |
{'name': 'getsource@dill/source.py', 'description': "Return the text of the source code for an object. The source code for\ninteractively-defined objects are extracted from the interpreter's history.\n\nThe argument may be a module, class, method, function, traceback, frame,\nor code object. The source code is returne... | 0 |
{'name': 'mean@smart-chatbot-zero/Rerank/metrics.py', 'description': '计算列表中元素的平均值\n:param item: 列表对象\n:return:', 'signature': 'def mean(item: list) -> float:'}</s>{'name': 'get_binary_metrics@smart-chatbot-zero/Rerank/metrics.py', 'description': '得到二分类的性能指标\n:param pred_y:\n:param true_y:\n:param f_beta:\n:return:', 'c... | 0 |
{'name': 'HubConnectionBuilder.build@signalrcore/hub_connection_builder.py', 'description': 'Configures the connection hub\n\nRaises:\n TypeError: Checks parameters an raises TypeError\n if one of them is wrong\n\nReturns:\n [HubConnectionBuilder]: [self object for fluent interface purposes]', 'signature':... | 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': 'Device._buildReadRegisterPacket@src/LabJackPython.py', 'description': 'self._buildReadRegisterPacket(addr, numReg)\n\nBuilds a raw modbus "Read Register" packet to be written to a device\n\nReturns a tuple:\n(<Packet as a list>, <number of bytes to read>)', 'signature': 'def _buildReadRegisterPacket(self, add... | 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': 'jwst_snowblind_mask@... | 0 |
{'name': '_sanitise_hostvar@kayobe/ansible.py', 'description': 'Sanitise a host variable.', 'signature': 'def _sanitise_hostvar(var):'}</s>{'name': 'is_readable_file@kayobe/utils.py', 'description': 'Check whether a path references a readable file.', 'code': 'def is_readable_file(path):\n """Check whether a path ref... | 0 |
{'name': 'test_db_error_logging_to_stderr@test/io/test_io.py', 'description': 'verify that DB errors are logged to stderr', 'signature': 'def test_db_error_logging_to_stderr(level, defaultenv, metapostgrest):'}</s>{'name': 'test_max_rows_notify_reload@test/io/test_io.py', 'description': 'max-rows should be reloaded fro... | 0 |
{'name': 'ParseArguments@third_party/cpplint/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args):'}</s>{... | 0 |
{'name': 'BaseRequest.POST@3rdparty/mongo-c-driver-1.26.2/build/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>{'... | 0 |
{'name': 'CalculateNumRotatableBonds@scopy/ScoDruglikeness/molproperty.py', 'description': 'Calculation of the number of rotatableBonds\n--->nRot\n\nNote:\n In some situaion Amide C-N bonds are not considered \n because of their high rotational energy barrier\n\n:param mol: molecule\n:type mol: rdkit.Chem.rdchem.... | 0 |
{'name': 'K@src/api/python/z3/z3.py', 'description': "Return a Z3 constant array expression.\n\n>>> a = K(IntSort(), 10)\n>>> a\nK(Int, 10)\n>>> a.sort()\nArray(Int, Int)\n>>> i = Int('i')\n>>> a[i]\nK(Int, 10)[i]\n>>> simplify(a[i])\n10", 'signature': 'def K(dom, v):'}</s>{'name': 'get_param@src/api/python/z3/z3.py', ... | 0 |
{'name': 'PFAddr._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, a):'}</s>{'name': 'pfsync_state_peer@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []} | 0 |
{'name': 'RFC6979.test_SECP256k1@components/esptool_py/esptool/ecdsa/test_pyecdsa.py', 'description': "RFC doesn't contain test vectors for SECP256k1 used in bitcoin.\nThis vector has been computed by Golang reference implementation instead.", 'signature': 'def test_SECP256k1(self):'}</s>NIST521p = Curve("NIST521p", ec... | 0 |
{'name': 'Application._load_environment@robopianist/viewer/application.py', 'description': 'Loads a new environment.', 'signature': 'def _load_environment(self, zoom_to_scene):'}</s>_MAX_FRONTBUFFER_SIZE = 2048 | 0 |
{'name': '_convert_dataset_one_pair_rec_withFlip@datasets/convert_market.py', 'description': "Converts the given pairs to a TFRecord dataset.\n\nArgs:\n split_name: The name of the dataset, either 'train' or 'validation'.\n pairs: A list of image name pairs.\n labels: label list to indicate positive(1) or nega... | 0 |
{'name': 'compute_bbox_stats@lib/rpn_util.py', 'description': 'Computes the mean and standard deviation for each regression\nparameter (usually pertaining to [dx, dy, sw, sh] but sometimes\nfor 3d parameters too).\n\nOnce these stats are known we normalize the regression targets\nto have 0 mean and 1 variance, to hypot... | 0 |
{'name': 'FSIM.forward@piqa/fsim.py', 'description': 'Args:\n x: An input tensor, :math:`(N, 3, H, W)`.\n y: A target tensor, :math:`(N, 3, H, W)`.\n\nReturns:\n The FSIM vector, :math:`(N,)` or :math:`()` depending on `reduction`.', 'signature': 'def forward(self, x: Tensor, y: Tensor) -> Tensor:'}</s>{'name'... | 1 |
{'name': 'SysTrayIcon.__enter__@python/site-packages/winsystray/traybar.py', 'description': 'Context manager so SysTray can automatically close', 'signature': 'def __enter__(self):'}</s>SZTIP_MAX_LENGTH = 128 | 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': '_AddMessageMethods@python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>_V = TypeVar('_V') | 0 |
{'name': 'Mixin.send_to_alerta@alertlib/alerta.py', 'description': "Sends alert to Alerta.\n\nThis is intended to be used for more urgent 'things are broken'\nalerts. In the case of KA, Alerta (alerta.io) is serving the purpose of\naggregating alerts from multiple sources. The API used to interface\nwith dashboard can ... | 0 |
{'name': 'simxGetVisionSensorImage@7_Demo_youBotPickAndPlace/code/vrep/VREP_RemoteAPIs/sim.py', 'description': 'Please have a look at the function description/documentation in the CoppeliaSim user manual', 'signature': 'def simxGetVisionSensorImage(clientID, sensorHandle, options, operationMode):'}</s>c_SetSphericalJoi... | 0 |
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQRC_CFH_ERROR = 2235 | 0 |
{'name': 'RedFetcher.sample_decoded@redbot/resource/fetch.py', 'description': 'Sample the decoded response content.', 'signature': 'def sample_decoded(self, decoded_chunk: bytes) -> None:'}</s>{'name': 'HEADER_NAME_SPACE@redbot/resource/fetch.py', 'description': 'DOCSTRING', 'base_classes': ['Note'], 'methods': []} | 0 |
{'name': 'get_activations_from_files@utils/fid_score.py', 'description': 'Calculates the activations of the pool_3 layer for all images.\n\nParams:\n-- files : list of paths to image files. Images need to have same dimensions for all files.\n-- sess : current session\n-- batch_size : the images numpy array... | 0 |
{'name': 'Display.grab_server@Monika After Story/game/python-packages/Xlib/display.py', 'description': 'Disable processing of requests on all other client connections\nuntil the server is ungrabbed. Server grabbing should be avoided\nas much as possible.', 'signature': 'def grab_server(self, onerror = None):'}</s>NoEve... | 0 |
{'name': 'NestingState.Update@tools/cpplint.py', 'description': 'Update nesting state with current line.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any errors found.', ... | 0 |
{'name': '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': 'get_all_accounts@security/guardduty/index.py', 'description': 'Get all member accounts of the organization.', 'signature': 'def get_all_accounts():'}</s>log_level = os.getenv('LOG_LEVEL', 'INFO') | 0 |
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>pf_hint_aggressive = {
"tcp.first": 30,
"tcp.opening": 5,
"tcp.established": 5 * 60 * 60,
"tcp.closing": 60,
"tcp.finwait": 30,
"tcp.closed": 30,
... | 0 |
{'name': 'ProcessFileData@tools/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.\n lines: An array of strings, each representing a li... | 0 |
{'name': 'round_filters@siim_acr/src/layers/backbone/utils.py', 'description': 'Calculate and round number of filters based on depth multiplier. ', 'signature': 'def round_filters(filters, global_params):'}</s>DATA_DIR = "/data5/data/siim_open" | 0 |
{'name': 'OrderFileTestCase.test@llvm-project/lldb/test/API/macosx/order/TestOrderFile.py', 'description': 'Test debug symbols follow the correct order by the order file.', 'signature': 'def test(self):'}</s>{'name': 'run_break_set_by_symbol@llvm-project/lldb/packages/Python/lldbsuite/test/lldbutil.py', 'description': ... | 0 |
{'name': 'OAuth2Credentials.authorize@third_party/oauth2client/client.py', 'description': "Authorize an httplib2.Http instance with these credentials.\n\nThe modified http.request method will add authentication headers to each\nrequest and will refresh access_tokens when a 401 is received on a\nrequest. In addition the... | 0 |
{'name': 'BaseRequest.is_xhr@src/back/kite/bottle.py', 'description': 'True if the request was triggered by a XMLHttpRequest. This only\nworks with JavaScript libraries that support the `X-Requested-With`\nheader (most of the popular libraries do). ', 'signature': 'def is_xhr(self):'}</s>{'name': 'cookie_is_encoded@src... | 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': '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': 'IUSequenceRun.running@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Indicate if this sequence is running', 'signature': 'def running(self) -> bool:'}</s>{'name': 'IUAdjustment@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Irrigation Unlimit... | 0 |
{'name': 'Webhooks.update@mailerlite/webhook.py', 'description': 'Update webhook.\n\nhttps://developers.mailerlite.com/v2/reference#update-a-webhook\n\nParameters\n----------\nwebhook_id : int\n ID of a webhook\nurl : str\n Your URL where callbacks are sent\nevent : str\n Subscribed event\n\nReturns\n-------\n... | 0 |
{'name': 'Api._do_request@n26/api.py', 'description': 'Executes a http request based on the given parameters\n\n:param method: the method to use (GET, POST)\n:param url: the url to use\n:param params: query parameters that will be appended to the url\n:param json: request body\n:param headers: custom headers\n:return: ... | 0 |
{'name': 'SubProgram._analyze_func@mando/core.py', 'description': 'Analyze the given function, merging default arguments, overridden\narguments (with @arg) and parameters extracted from the docstring.\n\n:param func: The function to analyze.\n:param doc_params: Parameters extracted from docstring.', 'signature': 'def _... | 0 |
{'name': 'darwin_width@python/xraydb/xray.py', 'description': "darwin width for a crystal reflection and energy\n\nArgs:\nenergy (float): X-ray energy in eV\ncrystal (string): name of crystal (one of 'Si', 'Ge', or 'C') ['Si']\nhkl (tuple): h, k, l for reflection [(1, 1, 1)]\na (float or None): lattice const... | 1 |
{'name': 'Afni1D.label_prefix_to_ints@src/python_scripts/afnipy/lib_afni1D.py', 'description': 'return a list of label indices, based on what is kept or dropped\n keep labels in their original order\n\n if keep_pre and one of keep_pre matches, keep\n if drop_pre and one of drop_pre matches, remove\n\nreturn 0 on ... | 0 |
{'name': 'Lookyloo.__init__@lookyloo/lookyloo.py', 'description': "Initialize lookyloo.\n:param cache_max_size: The maximum size of the cache. Alows to display captures metadata without getting it from redis\n This cache is *not* useful for background indexing or pickle building, only for the fron... | 1 |
{'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>MQGS_LAST_MSG_IN_GROUP = ord("L") | 0 |
{'name': 'test_modelview_generic_model@tests/coaster_tests/views_classview_test.py', 'description': 'Test ModelView[model] is copied to attr model.', 'signature': 'def test_modelview_generic_model() -> None:'}</s>{'name': 'sqlalchemy_uri@tests/coaster_tests/conftest.py', 'description': 'Return SQLAlchemy database URI (... | 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>DEFAULT_LABEL = "_n... | 0 |
{'name': 'scnym_predict@scnym/api.py', 'description': 'Predict cell identities using an scNym model.\n\nParameters\n----------\nadata : AnnData\n [Cells, Genes] experiment containing annotated\n cells to train on.\nconfig : dict\n configuration options.\n\nReturns\n-------\nNone. Adds `adata.obs[config["key_ad... | 0 |
{'name': 'fisher@permute/npc.py', 'description': "Apply Fisher's combining function\n\n.. math:: -2 \\sum_i \\log(p_i)\n\nParameters\n----------\npvalues : array_like\n Array of p-values to combine\n\nReturns\n-------\nfloat\n Fisher's combined test statistic", 'signature': 'def fisher(pvalues):'}</s>{'name': 'ti... | 0 |
{'name': 'test_change_statement_timeout@test/io/test_io.py', 'description': 'Statement timeout changes take effect immediately', 'signature': 'def test_change_statement_timeout(defaultenv, metapostgrest):'}</s>{'name': 'test_read_secret_from_stdin_dbconfig@test/io/test_io.py', 'description': 'Authorization should succe... | 0 |
{'name': 'Consul.__init__@consulate/client.py', 'description': 'Create a new instance of the Consul class', 'signature': 'def __init__(self,'}</s>{'name': '_response_error@consulate/utils.py', 'description': 'Return the decoded response error or status code if no content exists.\n\n:param requests.response response: Th... | 0 |
{'name': 'IntentContainer.calc_intents@padatious/intent_container.py', 'description': 'Tests all the intents against the query and returns\ndata on how well each one matched against the query\n\nArgs:\n query (str): Input sentence to test against intents\nReturns:\n list<MatchData>: List of intent matches\nSee ca... | 1 |
{'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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.