text string | label int64 |
|---|---|
{'name': 'CheckPrintf@tools/cpplint.py', 'description': 'Check for printf related issues.\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.', 'signature': 'd... | 0 |
{'name': 'test_merged_dup_stream_alignments@maf/impl/naiveLiftUp.py', 'description': 'Check merged_dup_stream behavior on AlignmentGroups.', 'signature': 'def test_merged_dup_stream_alignments():'}</s>{'name': 'test_block_merge_adjacent@maf/impl/naiveLiftUp.py', 'description': "Make sure Block.merge() works when the bl... | 0 |
{'name': 'Metar.__init__@metar/Metar.py', 'description': 'Parse raw METAR code.', 'signature': 'def __init__( self, metarcode, month=None, year=None, utcdelta=None):'}</s>SEALVL_PRESS_RE = re.compile(r"^SLP(?P<press>\d\d\d)\s+") | 0 |
{'name': 'PacketFilter.set_limit@pf/filter.py', 'description': "Set hard limits on the memory pools used by Packet Filter.\n\n'limit' can be either one of the PF_LIMIT_* constants or a string; a\n'value' of UINT_MAX means unlimited. Raise PFError if the current pool\nsize exceeds the requested hard limit.", 'signature'... | 0 |
{'name': 'project@source/tomopy/sim/project.py', 'description': 'Project x-rays through a given 3D object.\n\nParameters\n----------\nobj : ndarray\n Voxelized 3D object.\ntheta : array\n Projection angles in radian.\ncenter: array, optional\n Location of rotation axis.\nemission : bool, optional\n Determin... | 0 |
{'name': 'LessParser.__init__@lesscpy/lessc/parser.py', 'description': 'Parser object\n\nKwargs:\n lex_optimize (bool): Optimize lexer\n yacc_optimize (bool): Optimize parser\n tabfile (str): Yacc tab filename\n yacc_debug (bool): yacc debug mode\n scope (Scope): Inherited scope\n outputdir (str): Out... | 0 |
{'name': 'Scheduler.check_task_status@spider/core/scheduler.py', 'description': '检查任务状态 预警', 'signature': 'def check_task_status(self):'}</s>REDISDB_DB = int(os.getenv("REDISDB_DB", 0)) | 0 |
{'name': 'View._dbscan@picasso/gui/render.py', 'description': 'Performs DBSCAN in a given channel with user-defined parameters\nand saves the result.\n\nParameters\n----------\nchannel : int\n Index of the channel were clustering is performed\npath : str\n Path to save clustered localizations\nradius : float\n ... | 0 |
{'name': 'CustomMainWidget.runTheGame@src/gui/main_widget.py', 'description': 'Runs the game', 'signature': 'def runTheGame(self):'}</s>{'name': 'getKey@src/util/util.py', 'description': 'Helper function for the mod list', 'code': "def getKey(item):\n '''Helper function for the mod list'''\n return item[1]"} | 0 |
{'name': 'valid_name@hostthedocs/filekeeper.py', 'description': "See readme for what's valid.\n\n:type s: str", 'signature': 'def valid_name(s):'}</s>{'name': '_is_valid_doc_version@hostthedocs/filekeeper.py', 'description': 'Test if a version folder contains valid documentation.\n\nA vaersion folder contains documenta... | 0 |
{'name': 'App.set_midi_sound@jupylet/app.py', 'description': 'Start the default MIDI handler with given sound object as its intrument.\n\nArgs:\n s (jupylet.audio.sound.Sound): The sound object to use as MIDI \n instrument.', 'signature': 'def set_midi_sound(self, s):'}</s>{'name': 'setup_basic_logging@jupyle... | 0 |
{'name': 'View.undrift_from_picked2d@picasso/gui/render.py', 'description': 'Undrifts in x and y based on picked locs in a given channel.\nAvailable when 3D data is loaded.', 'signature': 'def undrift_from_picked2d(self):'}</s>{'name': 'ProgressDialog@picasso/lib.py', 'description': 'ProgressDialog displays a progress ... | 0 |
{'name': 'map_nominal@tensorqtl/cis.py', 'description': 'cis-QTL mapping: nominal associations for all variant-phenotype pairs\n\nAssociation results for each chromosome are written to parquet files\nin the format <output_dir>/<prefix>.cis_qtl_pairs.<chr>.parquet\n\nIf interaction_df is provided, the top association pe... | 0 |
{'name': 'csqrt@python/taichi/math/_complex.py', 'description': 'Returns the complex square root of a 2d vector `z`, so that\nif `w^2=z`, then `w = csqrt(z)`.\n\nAmong the two square roots of `z`, if their real parts are non-zero,\nthe one with positive real part is returned. If both their real parts\nare zero, the one... | 0 |
{'name': 'PacketFilter.set_limit@pf/filter.py', 'description': "Set hard limits on the memory pools used by Packet Filter.\n\n'limit' can be either one of the PF_LIMIT_* constants or a string; a\n'value' of UINT_MAX means unlimited. Raise PFError if the current pool\nsize exceeds the requested hard limit.", 'signature'... | 0 |
{'name': 'A1DInterface.process_data@src/python_scripts/scripts/1d_tool.py', 'description': 'return None on completion, else error code (0 being okay)', 'signature': 'def process_data(self):'}</s>{'name': 'consec_len@src/python_scripts/afnipy/afni_util.py', 'description': 'return the length of consecutive integers - alw... | 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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCLXQ_SCTQ = 0 | 0 |
{'name': 'TestDateTimeField.test__parent__init__method_included_in_init_chain@tests/test_db_fields.py', 'description': 'Test to protect from accidental incorrect __init__ method overwrite.', 'signature': 'def test__parent__init__method_included_in_init_chain(self, db, mocker):'}</s>{'name': 'TestListField@tests/test_db... | 0 |
{'name': 'transcriptsKnownSpliceSites@modules/sqanti_protein/src/sqanti3_protein.py', 'description': ':param refs_1exon_by_chr: dict of single exon references (chr -> IntervalTree)\n:param refs_exons_by_chr: dict of multi exon references (chr -> IntervalTree)\n:param trec: id record (genePredRecord) to be compared agai... | 0 |
{'name': 'CodeGenTest.test_fgpu_agent_func_input_types@tests/python/codegen/test_codegen.py', 'description': 'Try all the message input types by using a string replacement ', 'signature': 'def test_fgpu_agent_func_input_types(self):'}</s>py_async_with_as = "async with g() as x:
suite1
" | 0 |
{'name': 'split_header_words@Contents/Libraries/Shared/ss/mechanize/_headersutil.py', 'description': 'Parse header values into a list of lists containing key,value pairs.\n\nThe function knows how to deal with ",", ";" and "=" as well as quoted\nvalues after "=". A list of space separated tokens are parsed as if they\... | 0 |
{'name': 'process_query@da/compiler/incgen.py', 'description': "Generates stub and hook for 'query'.", 'signature': 'def process_query(query, state):'}</s>{'name': 'FormattedValueExpr@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['ConstantExpr'], 'methods': [{'name': 'FormattedValueExpr.__init__@da... | 0 |
{'name': 'apply_flt_dq@grizli/utils.py', 'description': 'Read and apply the compact exposure information file\n\nParameters\n----------\nfilename : str\n FLT/FLC filename.\n\nreplace : (str, str)\n Replace arguments for output DQ filename:\n\n >>> output_filename = filename.replace(replace[0], replace[1])\n\no... | 0 |
{'name': 'test_gpt_model@onnxruntime/python/tools/transformers/convert_generation.py', 'description': 'Test GPT-2 model\n\nArgs:\n args (argparse.Namespace): arguments parsed from command line\n sentences (Optional[List[str]], optional): input text. Defaults to None.\n\nReturns:\n Union[Dict[str, Any], None]: ... | 0 |
{'name': 'PhonetisaurusTrainerMixin.train_ngram_model@montreal_forced_aligner/g2p/phonetisaurus_trainer.py', 'description': 'Train an ngram model on the aligned FSTs', 'signature': 'def train_ngram_model(self) -> None:'}</s>{'name': 'NgramCountArguments@montreal_forced_aligner/g2p/phonetisaurus_trainer.py', 'descriptio... | 1 |
{'name': 'json_numpy_obj_hook@json_tricks/decoders.py', 'description': 'Replace any numpy arrays previously encoded by `numpy_encode` to their proper\nshape, data type and data.\n\n:param dct: (dict) json encoded ndarray\n:return: (ndarray) if input was an encoded ndarray', 'signature': 'def json_numpy_obj_hook(dct):'}... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQXF_XACLOSE = 24 | 0 |
{'name': 'IMAP.emails@imapy/imap.py', 'description': 'Returns emails based on search criteria or sequence set', 'signature': 'def emails(self, *args, **kwargs) -> List[Union[EmailMessage, str]]:'}</s>{'name': 'InvalidSearchQuery@imapy/exceptions.py', 'description': 'Raised when user tries to search for email messages w... | 1 |
{'name': 'XPRESS_PY._extract@pulp/apis/xpress_api.py', 'description': 'Extract a given model to an XPRESS Python API instance.\n\nThe function stores XPRESS specific information in the `solverModel` property\nof `lp` and each variable and constraint. These information can be\nremoved by calling `_reset`.', 'signature':... | 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': 'ModelTemporal@tomophantom/TomoP3D.py', 'description': 'Generates 4D (3D+time) phantom based on the model no. in\nthe library file Phantom3DLibrary.dat.\n\nArgs:\n model_no (int): Model number from the Phantom3DLibrary.dat library file.\n phantom_size (int, Tuple(int)): A scalar or a tuple with phantom d... | 0 |
{'name': 'circulation_configuration@pymultimatic/api/urls.py', 'description': 'Url to handle :class:`~pymultimatic.model.component.Circulation`\nconfiguration.', 'signature': 'def circulation_configuration(**kwargs: Any) -> str:'}</s>_CIRCULATION_CONFIGURATION = _CIRCULATION + "/configuration" | 1 |
{'name': 'scnym_train@scnym/api.py', 'description': 'Train 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.\nSaves model outputs to `config["out_path"]` and adds mo... | 0 |
{'name': 'demean@src/python_scripts/afnipy/afni_util.py', 'description': 'demean the vector (in place), from index ibot to index itop\n\n if ibot == -1, ibot will be 0\n if itop == -1, itop will be len-1\n\nreturn 0 on success, 1 on error', 'signature': 'def demean(vec, ibot=-1, itop=-1):'}</s>{'name': 'insensitive_wor... | 0 |
{'name': 'CosS3Client.change_object_storage_class@qcloud_cos/cos_client.py', 'description': "改变文件的存储类型\n\n:param Bucket(string): 存储桶名称.\n:param Key(string): COS路径.\n:param StorageClass(bool): 是否需要SDK计算Content-MD5,打开此开关会增加上传耗时.\n:kwargs(dict): 设置上传的headers.\n:return(dict): 上传成功返回的结果,包含ETag等信息.\n\n.. code-block:: python\... | 0 |
{'name': 'convert_to_c3d@Pose2Sim/common.py', 'description': 'Make Visual3D compatible c3d files from a trc path\n\nINPUT:\n- trc_path: string, trc file to convert\n\nOUTPUT:\n- c3d file', 'signature': 'def convert_to_c3d(trc_path):'}</s>__copyright__ = "Copyright 2021, Maya-Mocap" | 0 |
{'name': 'get_address_list@src/future/backports/email/_header_value_parser.py', 'description': 'address_list = (address *("," address)) / obs-addr-list\n obs-addr-list = *([CFWS] ",") address *("," [address / CFWS])\n\nWe depart from the formal grammar here by continuing to parse until the end\nof the input, assumin... | 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': '_makeTags@scripts/pdns/lib/python2.7/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': '_MultipleMatch@scripts/pdns/lib/python2.7/site-packages/pkg_reso... | 0 |
{'name': 'TopologyView.retrieve@moi/views.py', 'description': 'Read information about an individual Topology resource.\n\nThe GET method reads the information of a Topology.', 'signature': 'def retrieve(self, request, *args, **kwargs):'}</s>{'name': 'PCFunction@moi/models.py', 'description': 'DOCSTRING', 'base_classes'... | 0 |
{'name': 'netstat@qa/rpc-tests/test_framework/netutil.py', 'description': 'Function to return a list with status of tcp connections at linux systems\nTo get pid of all network process running on system, you must run this script\nas superuser', 'signature': "def netstat(typ='tcp'):"}</s>STATE_LAST_ACK = "09" | 0 |
{'name': 'draw_dry_adiabat@pymeteo/skewt.py', 'description': 'Plot dry adiabats on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function calculates dry adiabats\nand plots these lines. Adiabats are calculated \nevery 10 K', 'signature': 'def draw_dry_adiabat(axes):'}</s... | 0 |
{'name': 'CachetClient.get_components@cachet_url_monitor/client.py', 'description': 'Retrieves all components registered in cachet-hq', 'signature': 'def get_components(self):'}</s>INCIDENT_MAP = {
INCIDENT_PARTIAL: ComponentStatus.PARTIAL_OUTAGE,
INCIDENT_MAJOR: ComponentStatus.MAJOR_OUTAGE,
INCIDENT_PERFO... | 0 |
{'name': 'get_handler_object@bin/crankd.py', 'description': 'Return a single instance of class_name, instantiating it if necessary.', 'signature': 'def get_handler_object(class_name):'}</s>CRANKD_CONFIG = None | 0 |
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>PFRULE_PFLOW = 262144 | 0 |
{'name': 'Cluster._parse_snapshot_restore_command@qds_sdk/cluster.py', 'description': 'Parse command line arguments for snapshot command.', 'signature': 'def _parse_snapshot_restore_command(cls, args, action):'}</s>{'name': 'ClusterInfoV13@qds_sdk/cluster.py', 'description': 'qds_sdk.ClusterInfo is the class which stor... | 0 |
{'name': 'TranscriptionEvaluationMixin.compute_wer@montreal_forced_aligner/transcription/transcriber.py', 'description': 'Evaluates the transcripts if there are reference transcripts\n\nRaises\n------\n:class:`~montreal_forced_aligner.exceptions.KaldiProcessingError`\n If there were any errors in running Kaldi binar... | 0 |
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24... | 0 |
{'name': 'get_or_create_manual_transaction_type_id@capone/models.py', 'description': 'Callable for getting or creating the default `TransactionType` id.', 'signature': 'def get_or_create_manual_transaction_type_id():'}</s>{'name': 'TransactionRelatedObject@capone/models.py', 'description': 'A piece of evidence for a pa... | 0 |
{'name': 'auto_from_etree@a38/fattura.py', 'description': 'Instantiate a Fattura or FatturaElettronicaSemplificata from a parsed XML', 'signature': 'def auto_from_etree('}</s>{'name': 'FatturaPA12@a38/fattura.py', 'description': 'Fattura PA 1.2', 'base_classes': ['Fattura'], 'methods': [{'name': 'FatturaPA12.get_versio... | 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': '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': 'host_setup@source-builder/sb/check.py', 'description': 'Basic sanity check. All executables and directories must exist.', 'signature': 'def host_setup(opts):'}</s>{'name': 'join@source-builder/sb/path.py', 'description': 'DOCSTRING', 'code': "def join(path, *args):\n path = shell(path)\n for arg in args... | 0 |
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im... | 0 |
{'name': 'FSPath.iterdir@airflow_code_editor/fs.py', 'description': 'Iterate over the files in this directory', 'signature': 'def iterdir(self, show_ignored_entries=False):'}</s>{'name': 'prepare_search_context@airflow_code_editor/fs.py', 'description': 'DOCSTRING', 'code': 'def prepare_search_context(f, matches, searc... | 0 |
{'name': 'collect_inventory_license_expression@src/attributecode/model.py', 'description': 'Read the inventory file at location and return a list of ABOUT objects without\nvalidation. The purpose of this is to speed up the process for `gen_license` command.', 'signature': 'def collect_inventory_license_expression(loca... | 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': 'ValidRFC2822Date@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['ValidDate'], ... | 0 |
{'name': 'RidgeLogisticRegression.fit@parsimony/estimators.py', 'description': 'Fit the estimator to the data.\n ', 'signature': 'def fit(self, X, y, beta=None, sample_weight=None):'}</s>{'name': 'class_weight_to_sample_weight@parsimony/utils/classif_label.py', 'description': 'Estimate class weights for unbalanc... | 1 |
{'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>_TIMESTAMP_SECONDS_MAX = 253402300799 | 0 |
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>{'name': 'fpToReal@src/api/python/z3/z3.py', 'descri... | 0 |
{'name': 'Tempo.__init__@oqupy/tempo.py', 'description': 'Create a Tempo object. ', 'signature': 'def __init__('}</s>{'name': '_max_system_frequency@oqupy/tempo.py', 'description': 'DOCSTRING', 'code': 'def _max_system_frequency(system):\n h_ev = [_spectral_norm(system.hamiltonian)]\n l_evs = [_spectral_norm(gamm... | 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>MQCHT_CLUSSDR = py23long(9) | 0 |
{'name': 'configure_vxlan@src/vxlan.py', 'description': 'Configure a VXLAN tunnel\n:param url: base url\n:param values: List of Informations needed for VXLAN configuration\n:param cookie: Cookie value\n:return: Request Status Code\n.. note: A configuration template in Jinja2 format needs to be used.\n:Example:\n\nresul... | 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': 'redis_es_sub@meepo/apps/eventsourcing/sub.py', 'description': 'Redis EventSourcing sub.\n\nThis sub should be used together with sqlalchemy_es_pub, it will\nuse RedisEventStore as events storage layer and use the prepare-commit\npattern in :func:`sqlalchemy_es_pub` to ensure 100% security on\nevents recording... | 1 |
{'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': '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': 'zip_data@utils/util.py', 'description': ':param file_to_zip:\n:param path:\n:return:', 'signature': 'def zip_data(file_to_zip, path):'}</s>{'name': 'print_prediction_on_image@utils/util.py', 'description': 'Shows the face recognition results visually.\n\n:param file_to_save:\n:param img_path: path to image to... | 0 |
{'name': 'Router._send_remote@da/sim.py', 'description': 'Forward `mesg` to remote process `dest`.\n\n ', 'signature': 'def _send_remote(self, src, dest, mesg, flags=0, transport=None, **params):'}</s>{'name': 'ProcessId@da/common.py', 'description': 'An instance of `ProcessId` uniquely identifies a DistAlgo pro... | 0 |
{'name': 'ScanSouthSky@GUI/MRT_FUNC_PY4_GUI.py', 'description': 'Scan the entire south sky, except between 80 and 90 degrees for elevation limited by telescope design', 'signature': 'def ScanSouthSky(ser):'}</s>EOT = b'ZZZ\r\n' | 0 |
{'name': 'graph@python/DisplayTests.py', 'description': 'Send the given graph file (a .gif) back to the user.', 'signature': 'def graph(req, type, revision, machine, buildType, graphName, timestamp=None):'}</s>{'name': '_parseWinBuildTimings@python/DisplayTests.py', 'description': 'Variant of _parseBuildTimings for Win... | 0 |
{'name': 'Matrix.cast@python/taichi/lang/matrix.py', 'description': 'Cast the matrix elements to a specified data type.\n\nArgs:\n dtype (:mod:`~taichi.types.primitive_types`): data type of the\n returned matrix.\n\nReturns:\n :class:`taichi.Matrix`: A new matrix with the specified data dtype.\n\nExample::... | 0 |
{'name': 'get_preview_suffixes@ide/auth.py', 'description': 'Get the last domain parts of domains permitted for testing.', 'signature': 'def get_preview_suffixes():'}</s>{'name': 'ApiUsers@ide/routes.py', 'description': 'DOCSTRING', 'code': 'def ApiUsers():\n N = User.query().count()\n return "Nusers = " + str(N)... | 0 |
{'name': 'on_participant_deletion@api/choice_algorithm.py', 'description': 'Normalize the remaining participant weights to account for participant removal.\nThe ratio is based on the following:\n 1) The participant should be at weight=1 when it leaves the system (which is the same as it arrived)\n 2) That difference sh... | 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': 'EpPolicyDetach.serial_numbers@plugins/module_utils/common/api/v1/imagemanagement/rest/policymgnt/policymgnt.py', 'description': '### Summary\nA ``list`` of switch serial numbers.\n\n### Raises\n- ``TypeError`` if:\n - ``serial_numbers`` is not a ``list``.', 'signature': 'def serial_numbers(self):'}... | 0 |
{'name': 'unpackCommand@fwtool.py', 'description': 'Extracts the input file to the specified directory', 'signature': 'def unpackCommand(file, outDir):'}</s>{'name': 'isLzh@fwtool/lzh/__init__.py', 'description': 'DOCSTRING', 'code': 'def isLzh(file):\n header = LzhHeader.unpack(file)\n return header and header.method ... | 0 |
{'name': 'Status.__init__@robopianist/viewer/application.py', 'description': 'Instance initializer.\n\nArgs:\n time_multiplier: Instance of util.TimeMultiplier.\n pause: An observable pause subject, instance of util.ObservableFlag.\n frame_timer: A Timer instance counting duration of frames.', 'signature': 'def __in... | 0 |
{'name': 'connect@src/main/python/jep/jdbc.py', 'description': "Connect to a JDBC data source using java.sql.DriverManager.\nReturns a java.sql.Connection instance.\n\nurl - JDBC connection url. See your driver's documentation for this value\nuser - connection username\npassword - optional password\ntimeout - time in s... | 0 |
{'name': 'TestingParser.set_parser@tests/run_all_tests.py', 'description': 'Sets a new argument parser.\n\nThis method sets a new instance of the argument parser.\n\nParameters:\n- newParser (argparse.ArgumentParser): The new argument parser to set.', 'signature': 'def set_parser(self, newParser: argparse.ArgumentParse... | 0 |
{'name': 'IUCoordinator.service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Entry point for all service calls.', 'signature': 'def service_call('}</s>CONF_FLOW_RATE_PRECISION = "flow_rate_precision" | 0 |
{'name': 'User.christmas_mode@src/astrobotany/models.py', 'description': 'Return if the user is in "christmas" mode.\n\nCache the results because this is a relatively expensive query that\nwill be checked multiple times per request.', 'signature': 'def christmas_mode(self) -> bool:'}</s>badge_197 = Badge("bubble tea", ... | 0 |
{'name': 'CosS3Client.list_objects_versions@qcloud_cos/cos_client.py', 'description': "获取文件列表\n\n:param Bucket(string): 存储桶名称.\n:param Prefix(string): 设置匹配文件的前缀.\n:param Delimiter(string): 分隔符.\n:param KeyMarker(string): 从KeyMarker指定的Key开始列出条目.\n:param VersionIdMarker(string): 从VersionIdMarker指定的版本开始列出条目.\n:param MaxKe... | 0 |
{'name': 'unpack_properties@mqttools/common.py', 'description': 'Return a dictionary of unpacked properties.\n\n ', 'signature': 'def unpack_properties(packet_name,'}</s>{'name': 'pack_variable_integer@mqttools/common.py', 'description': 'DOCSTRING', 'code': "def pack_variable_integer(value):\n if value == 0:\n ... | 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': '_approx_parab... | 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': 'DECIMER_Predictor.__init__@DECIMER/Repack_model.py', 'description': 'Load the tokenizers, the maximum input and output length and the\nmodel.\n\nArgs:\n encoder (tf.keras.model): The encoder model\n tokenizer (tf.keras.tokenizer): Output tokenizer, defines which character is assigned to what token\n ... | 0 |
{'name': 'TopLevelMixin.save@altair/vegalite/v3/api.py', 'description': "Save a chart to file in a variety of formats\n\nSupported formats are json, html, png, svg, pdf; the last three require\nthe altair_saver package to be installed.\n\nParameters\n----------\nfp : string filename or file-like object\n file in whi... | 0 |
{'name': 'CortexM.read_core_registers_raw@pyocd/coresight/cortex_m.py', 'description': 'Read one or more core registers\n\nRead core registers in reg_list and return a list of values.\nIf any register in reg_list is a string, find the number\nassociated to this register in the lookup table CORE_REGISTER.', 'signature':... | 0 |
{'name': 'IB.reqMktData@ib_insync/ib.py', 'description': 'Subscribe to tick data or request a snapshot.\nReturns the Ticker that holds the market data. The ticker will\ninitially be empty and gradually (after a couple of seconds)\nbe filled.\n\nhttps://interactivebrokers.github.io/tws-api/md_request.html\n\nArgs:\n ... | 0 |
{'name': 'git_push_if_needed@src/oca_github_bot/github.py', 'description': 'Push current HEAD to remote branch.\n\nReturn True if push succeeded, False if there was nothing to push.\nRaises a celery Retry exception in case of non-fast-forward push.', 'signature': 'def git_push_if_needed(remote, branch, cwd=None):'}</s>... | 0 |
{'name': 'TDClient.hours@tdameritrade/client.py', 'description': "get market hours\n\nArgs:\n market (str): market to get hours for, in ('EQUITY', 'OPTION', 'FUTURE', 'BOND', 'FOREX')\n date (str): date to get hours for, yyyy-MM-dd or yyyy-MM-dd'T'HH:mm::ssz", 'signature': 'def hours(self, market="EQUITY", date=N... | 0 |
{'name': 'main@buildtest/main.py', 'description': 'Entry point to buildtest.', 'signature': 'def main():'}</s>{'name': 'set_editor@buildtest/tools/editor.py', 'description': 'Set the editor used for editing files. The editor can be set based on environment ``EDITOR`` or passed as argument\n``buildtest --editor``. The e... | 0 |
{'name': 'createUsers@apim-traffic-tool/lib/traffic-tool/src/python/create_api_scenario.py', 'description': 'This function will self-signup all the users in carbon\n:return: None', 'signature': 'def createUsers():'}</s>{'name': 'set_logger@apim-traffic-tool/lib/attack-tool/src/python/utils/log.py', 'description': 'DOCS... | 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': 'BaseMessageBus.add_message_handler@dbus_next/message_bus.py', 'description': 'Add a custom message handler for incoming messages.\n\nThe handler should be a callable that takes a :class:`Message\n<dbus_next.Message>`. If the message is a method call, you may return\nanother Message as a reply and it will be m... | 0 |
{'name': 'QuantileExtremeValuesTransformer._transform_function@src/sagemaker_sklearn_extension/preprocessing/base.py', 'description': 'Applies single column quantile transform from ``sklearn.preprocessing.QuantileTransformer``.\n\nUses ``quantile_transformer_.quantiles_`` calculated during ``fit`` if given an index, ot... | 0 |
{'name': '_covhelper@venv/Lib/site-packages/numpy/ma/extras.py', 'description': 'Private function for the computation of covariance and correlation\ncoefficients.', 'signature': 'def _covhelper(x, y=None, rowvar=True, allow_masked=True):'}</s>{'name': 'TimedeltaFormat@venv/Lib/site-packages/numpy/core/arrayprint.py', '... | 0 |
{'name': '__listAllUE9Unix@src/LabJackPython.py', 'description': 'Private listAll function for use on unix and mac machines to find UE9s.\n ', 'signature': 'def __listAllUE9Unix(connectionType):'}</s>LJ_rgUNIP25V = 112 | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.