text string | label int64 |
|---|---|
{'name': 'CortexM.reset@pyocd/coresight/cortex_m.py', 'description': "! @brief Reset the core.\n\nThe reset method is selectable via the reset_type parameter as well as the reset_type\nsession option. If the reset_type parameter is not specified or None, then the reset_type\noption will be used. If the option is not se... | 0 |
{'name': 'dice_loss@models/segmentation.py', 'description': 'Compute the DICE loss, similar to generalized IOU for masks\nArgs:\n inputs: A float tensor of arbitrary shape.\n The predictions for each example.\n targets: A float tensor with the same shape as inputs. Stores the binary\n class... | 0 |
{'name': 'plot_result_synth@src/erinn/utils/vis_utils.py', 'description': 'Convenient function for saving crossplot, structure plot and heatmap of synthetic data.\n\nParameters\n----------\niterator : iterator of os.DirEntry objects\n For iterating all pkl file in certain directory.\nnum_figs : int\n The number o... | 1 |
{'name': 'Splitwise.createComment@splitwise/__init__.py', 'description': 'Creates a new comment.\n\nArgs:\n expense_id: Expense transaction on which a comment has to be made\n comment content: Content of the comment\n\nReturns:\n tuple: tuple containing:\n comment(:obj:`splitwise.comment.Comment`): Object... | 1 |
{'name': 'get_token_status@flask_security/utils.py', 'description': 'Get the status of a token.\n\n:param token: The token to check\n:param serializer: The name of the seriailzer. Can be one of the\n following: ``confirm``, ``login``, ``reset``\n:param max_age: The name of the max age config option. C... | 0 |
{'name': 'Diagram.normal_form@discopy/grammar/pregroup.py', 'description': 'Applies normal form to a pregroup diagram of the form\n``word @ ... @ word >> wires`` by normalising words and wires\nseperately before combining them, so it can be drawn with :meth:`draw`.', 'signature': 'def normal_form(diagram, **params):'}<... | 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... | 0 |
{'name': 'About.dump_lic@src/attributecode/model.py', 'description': 'Write LICENSE files and return the a list of key, name, context and the url\nas these information are needed for the ABOUT file', 'signature': 'def dump_lic(self, location, license_dict):'}</s>INFO = 20 | 0 |
{'name': 'Connection.ensure_released@aiosonic/connection.py', 'description': 'Ensure the connection is released.', 'signature': 'def ensure_released(self, response_read=True):'}</s>{'name': 'Connection@aiosonic/connection.py', 'description': 'Connection class.\n\nThis class represents a connection to a remote server, m... | 1 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQMLP_ENCRYPTION_ALG_3DES = 3 | 0 |
{'name': 'test_toplevel_topology@vermouth/tests/gmx/test_topology.py', 'description': 'Make sure the toplevel topology file\nis correctly written. Note that the individual\nmolecule itp files are seperately checked in\ngmx itp module or in the previous tests.', 'signature': 'def test_toplevel_topology(tmp_path, dummy_m... | 1 |
{'name': 'get_page_from_string_or_id@pages/templatetags/pages_tags.py', 'description': 'Return a Page object from a slug or an id.', 'signature': 'def get_page_from_string_or_id(page_string, lang=None):'}</s>PAGE_AUTOMATIC_SLUG_RENAMING = getattr(settings, 'PAGE_AUTOMATIC_SLUG_RENAMING',
... | 0 |
{'name': 'parse_line@ValveUtils.py', 'description': 'Line parser that extracts key value pairs from a line and returns a list of the tokens with escaped quotes.', 'signature': 'def parse_line(line):'}</s>{'name': 'fix_slashes@ValveUtils.py', 'description': 'DOCSTRING', 'code': "def fix_slashes(path, path_sep='/'):\n ... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQZAET_UNKNOWN = 3 | 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': 'ResolveEndpoint.__init__@datacommons_client/endpoints/resolve.py', 'description': 'Initializes the ResolveEndpoint instance.', 'signature': 'def __init__(self, api: API):'}</s>{'name': 'API@datacommons_client/endpoints/base.py', 'description': 'Represents a configured API interface to the Data Commons API.\n\... | 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>MQCD_VERSION_2 = py23long(2) | 0 |
{'name': 'run_random_climate@oggm/core/flowline.py', 'description': 'Runs the random mass balance model for a given number of years.\n\nThis will initialize a\n:py:class:`oggm.core.massbalance.MultipleFlowlineMassBalance`,\nand run a :py:func:`oggm.core.flowline.flowline_model_run`.\n\nParameters\n----------\ngdir : :p... | 0 |
{'name': 'NgramUtil.triterms@Config/utils.py', 'description': 'Input: a list of words, e.g., ["I", "am", "Denny", "boy"]\nOutput: a list of triterm, e.g., ["I_am_Denny", "I_am_boy", "I_Denny_boy", "am_Denny_boy"]', 'signature': 'def triterms(words, join_string):'}</s>{'name': 'MathUtil@Config/utils.py', 'description': ... | 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': 'draw_line@lib/util.py', 'description': 'DOCSTRING', 'code': 'def draw_line(im, v1, v2, color=... | 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': 'handle_zeros_in_scale@scanorama/utils.py', 'description': 'Makes sure that whenever scale is zero, we handle it correctly.\nThis happens in most scalers when we have constant features.\nAdapted from sklearn.preprocessing.data', 'signature': 'def handle_zeros_in_scale(scale, copy=True):'}</s>{'name': 'dispersi... | 0 |
{'name': 'attribute_remove_cmd@cjio/cjio.py', 'description': "Remove an attribute. \nIf it's not present nothing is done.\nThat's it. \n\n $ cjio myfile.city.json attribute_remove roofType info", 'signature': 'def attribute_remove_cmd(attr):'}</s>{'name': 'print_cmd_status@cjio/cjio.py', 'description': 'DOCSTRING... | 1 |
{'name': 'fast_list2arr@feature_extraction/extract_c3d/pyActionRecog/utils/io.py', 'description': 'Convert a list of numpy arrays with the same size to a large numpy array.\nThis is way more efficient than directly using numpy.array()\nSee\n https://github.com/obspy/obspy/wiki/Known-Python-Issues\n:param data: [nump... | 0 |
{'name': 'get_unique_id@pypsexec/paexec.py', 'description': "https://github.com/poweradminllc/PAExec/blob/master/Remote.cpp#L1045-L1065\nDWORD RemMsg::GetUniqueID()\n\nCreates a unique ID based on the PID of the local host and the name of the\nlocal host. It is derived from the first 4 bytes of a UTF-16 Little Endian\n... | 0 |
{'name': '_test_core@ci/weekly/test_all_sat_end_to_end_on_disk.py', 'description': 'Core function testing all data\nArgs:\n pattern (str): Pattern of the satellite\n prod_dirs (Union[str, list]): Product directory\n possible_bands(list): Possible bands\n debug (bool): Debug option', 'signature': 'def _test_... | 1 |
{'name': 'quit@ui/sidebar.py', 'description': 'Stop the Streamlit server', 'signature': 'def quit():'}</s>is_inspecting = True | 0 |
{'name': 'provider_group_factory@notifiers_cli/core.py', 'description': 'Dynamically generate provider groups for all providers, and add all basic command to it', 'signature': 'def provider_group_factory():'}</s>__all__ = ["__version__", "all_providers", "get_notifier", "notify"] | 0 |
{'name': 'copy_ctypes@capstone/bindings/python/capstone/__init__.py', 'description': 'Returns a new ctypes object which is a bitwise copy of an existing one', 'signature': 'def copy_ctypes(src):'}</s>CS_ARCH_MIPS = 2 | 0 |
{'name': 'train_step@s5/train_helpers.py', 'description': 'Performs a single training step given a batch of data', 'signature': 'def train_step(state,'}</s>{'name': 'constant_lr@s5/train_helpers.py', 'description': 'DOCSTRING', 'code': 'def constant_lr(step, base_lr, end_step, lr_min=None):\n return base_lr'} | 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': 'visualize_result@image_adaptive_lut_train_paired.py', 'description': 'Saves a generated sample from the validation set', 'signature': 'def visualize_result(epoch):'}</s>classifier = Classifier() | 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': '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': 'glacier_from_... | 0 |
{'name': 'APIConnection.__init__@qingcloud/iaas/connection.py', 'description': '@param qy_access_key_id - the access key id\n@param qy_secret_access_key - the secret access key\n@param zone - the zone id to access\n@param host - the host to make the connection to\n@param port - the port to use when connect to host\n@pa... | 0 |
{'name': 'PULP_CBC_CMDTest.test_cuts_off@pulp/tests/test_pulp.py', 'description': 'Test if setting cuts=False adds cuts off to the command line.', 'signature': 'def test_cuts_off(self):'}</s>{'name': 'getSolverFromJson@pulp/apis/__init__.py', 'description': 'Instantiates a solver from a json file with its data\n\n:para... | 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': 'test_passive_flag@tests/integration_go.py', 'description': 'test disabling active minifying', 'signature': 'def test_passive_flag(client):'}</s>{'name': 'test_caching_limit_only_when_needed@tests/integration_go.py', 'description': 'test caching limit without any variations', 'code': 'def test_caching_limit_on... | 0 |
{'name': 'GlacierDirectory.__init__@oggm/utils/_workflow.py', 'description': "Creates a new directory or opens an existing one.\n\nParameters\n----------\nrgi_entity : a ``geopandas.GeoSeries`` or str\n glacier entity read from the shapefile (or a valid RGI ID if the\n directory exists)\nbase_dir : str\n path ... | 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': 'CheckBraces@third_party/cpplint/cpplint.py', 'description': 'Looks for misplaced braces (e.g. at the end of line).\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with ... | 0 |
{'name': 'Metrics.eval@v2/musegan/utils/metrics.py', 'description': 'Evaluate the input bars with the metrics', 'signature': 'def eval(self, bars, verbose=False, mat_path=None, fig_dir=None):'}</s>{'name': 'get_polyphonic_ratio@v2/musegan/utils/metrics.py', 'description': 'Return the ratio of the number of time steps w... | 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>MQRC_RECONNECT_QMID_MISMATCH = 2546 | 0 |
{'name': 'register_ui@exporter/SynthesisFusionAddin/Synthesis.py', 'description': '#### Generic Function to add all UI objects in a simple non destructive way.', 'signature': 'def register_ui() -> None:'}</s>palette = 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': 'database_socket@montreal_forced_aligner/config.py', 'description': 'DOCSTRING', 'code'... | 0 |
{'name': 'GroupFLT.subtract_median_filter@grizli/multifit.py', 'description': 'Remove a median filter calculated along the dispersion axis.\n\nParameters\n----------\nfilter_size : int\n Size of the median filter.\n\nfilter_central : int\n Mask the central `filter_central` pixels of the filter.\n\nrevert : bool\n... | 0 |
{'name': 'apogee@gaia_tools/load/__init__.py', 'description': "PURPOSE:\n read the APOGEE allStar file\nINPUT:\n IF the apogee package is not installed:\n dr= (14) SDSS data release\n use_astroNN= (False) if True, swap in astroNN (Leung & Bovy 2019a) parameters (get placed in, e.g., TEFF and TEFF_ERR) a... | 0 |
{'name': 'sort_enum_for_model@graphene_sqlalchemy/utils.py', 'description': 'Get a Graphene Enum for sorting the given model class.\n\nThis is deprecated, please use object_type.sort_enum() instead.', 'signature': 'def sort_enum_for_model(cls, name=None, symbol_name=None):'}</s>{'name': 'DummyImport@graphene_sqlalchemy... | 0 |
{'name': 'ApproximateEventDurationAndHypocenter@postprocessing/science/spectral_corner_frequency_from_surface_xdmf.py', 'description': 'Calculates the derivative of ASl (probably faster than loading SR1 and SR2)\nand approximates event duration by multiplying dt with the number of timesteps,\nwhere maximum on-fault sli... | 0 |
{'name': 'CScriptOp.encode_op_n@qa/rpc-tests/test_framework/script.py', 'description': 'Encode a small integer op, returning an opcode', 'signature': 'def encode_op_n(n):'}</s>OP_15 = CScriptOp(0x5f) | 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': 'check_project_manifest@tests/test_generator.py', 'description': 'Perform the following:\n\n * checks that `config_path` exists\n * loads the contents of `config_path` using `serializer.load`\n * check that the contents match with the values provided in input. Specifically:\n * "name" == app_na... | 0 |
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils subclasses used by Versioneer.', 'signature': 'def get_cmdclass():'}</s>LONG_VERSION_PY = {} | 1 |
{'name': 'AssessmentBase.__init__@pelicun/assessment.py', 'description': 'Initialize an Assessment object.\n\nParameters\n----------\nconfig_options:\n User-specified configuration dictionary.', 'signature': 'def __init__(self, config_options: dict[str, Any] | None = None) -> None:'}</s>{'name': 'Options@pelicun/bas... | 1 |
{'name': 'DeviceManager.enumerate@src/StreamDeck/DeviceManager.py', 'description': 'Detect attached StreamDeck devices.\n\n:rtype: list(StreamDeck)\n:return: list of :class:`StreamDeck` instances, one for each detected device.', 'signature': 'def enumerate(self):'}</s>{'name': 'USBProductIDs@src/StreamDeck/ProductIDs.p... | 1 |
{'name': 'cmr@icesat2_toolkit/utilities.py', 'description': "Query the NASA Common Metadata Repository (CMR) for ICESat-2 data\n\nParameters\n----------\nproduct: str or NoneType, default None\n ICESat-2 data product to query\nrelease: str or NoneType, default None\n ICESat-2 data release to query\ncycles: str, l... | 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': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQSO_DURABLE = 8 | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCMDL_LEVEL_802 = 802 | 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': 'Airplane.set_state@machupX/airplane.py', 'description': 'Sets the state of the aircraft from the provided dictionary.\n\nParameters\n----------\nposition : list, optional\n Earth-fixed position. Defaults to [0.0, 0.0, 0.0].\n\nvelocity : float or list\n Aircraft body-fixed velocity.\n\nalpha : float, op... | 0 |
{'name': 'get_priority@processors/ARM/gdb-8.3.1/gdb/python/lib/gdb/frames.py', 'description': 'Internal worker function to return the frame-filter\'s priority\nfrom a frame filter object. This is a fail free function as it is\nused in sorting and filtering. If a badly implemented frame\nfilter does not implement the ... | 0 |
{'name': 'has_perfect_mapping@scripts/genotype_with_reference.py', 'description': 'Returns True if the given pysam read maps perfectly.\n\nA "perfect" mapping is either a mapping quality greater than zero and no\nmore than 2% mismatches or a full-length alignment of the read without any\nmismatches. Also consider soft-... | 0 |
{'name': 'discover_saml_provider@aws-inventory/lambda/inventory-iam.py', 'description': "Queries AWS to determine SAML Providers exist (and who you're trusting)", 'signature': 'def discover_saml_provider(account):'}</s>{'name': 'get_active_accounts@aws-inventory/lambda/common.py', 'description': 'Returns an array of al... | 0 |
{'name': 'build_package@deb_pkg_tools/package.py', 'description': "Create a Debian package using the ``dpkg-deb --build`` command.\n\n:param directory: The pathname of a directory tree suitable for packaging\n with ``dpkg-deb --build``.\n:param repository: The pathname of the directory where the genera... | 0 |
{'name': 'get_test_file@django_afip/factories.py', 'description': 'Helper to get test files.', 'signature': 'def get_test_file(filename: str, mode: str = "r") -> Path:'}</s>{'name': 'default_unique_id@django_afip/models.py', 'description': 'A random unique id for new tickets.', 'code': 'def default_unique_id() -> int:\... | 0 |
{'name': 'pval_hartigan@tableone/modality.py', 'description': "Computes the p-value for Hartigan's dip test using a precomputed table.\n\nParameters:\n data (numpy.ndarray): Array containing the dataset for which the dip test is performed.\n\nReturns:\n float: The interpolated p-value from precomputed Hartigan's ... | 0 |
{'name': 'SincConv.forward@ASR/neural_networks.py', 'description': 'Parameters\n----------\nwaveforms : `torch.Tensor` (batch_size, 1, n_samples)\n Batch of waveforms.\nReturns\n-------\nfeatures : `torch.Tensor` (batch_size, out_channels, n_samples_out)\n Batch of sinc filters activations.', 'signature': 'def fo... | 0 |
{'name': 'getSyllsFromWav@avgn/segment_song/wav_to_syllables.py', 'description': 'Extract syllables from wav file\n ', 'signature': 'def getSyllsFromWav(row, _mel_basis, wav_time, hparams):'}</s>{'name': 'butter_bandpass_filter@avgn/segment_song/preprocessing.py', 'description': 'DOCSTRING', 'code': 'def butter_band... | 1 |
{'name': 'send_to_modchat@tor/core/helpers.py', 'description': "Send a message to #general on ToR mod chat.\n\n:param message: String; the message that is to be encoded\n:param cfg: the global config dict.\n:param channel: String; the name of the channel to send to. '#' optional.\n:return: None.", 'signature': 'def sen... | 0 |
{'name': 'MPLayer.forward_init@mplp/mplp/tf_layers.py', 'description': 'Performs a custom forward step to initialize specific parameters.\nDefaults to a traditional forward step that also returns its own parameters.', 'signature': 'def forward_init(self, fw_params, inputs):'}</s>{'name': 'ParamUpdate@mplp/mplp/core.py'... | 0 |
{'name': 'datetime_from_timestamp@yaql/standard_library/date_time.py', 'description': ':yaql:datetime\n\nReturns datetime object built by timestamp.\n\n:signature: datetime(timestamp, offset => timespan(0))\n:arg timestamp: timespan object to represent datetime\n:argType timestamp: number\n:arg offset: datetime offset ... | 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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQCIH_REPLY_WITH_NULLS = 0 | 0 |
{'name': 'SentenceTreeParser._parse_expr@padatious/bracket_expansion.py', 'description': "Generate sentence token trees from the current position to\nthe next closing parentheses / end of the list and return it\n['1', '(', '2', '|', '3, ')'] -> ['1', [['2'], ['3']]]\n['2', '|', '3'] -> [['2'], ['3']]", 'signature': 'de... | 1 |
{'name': 'Flask.run@SneakerBot 2019/venv/lib/python3.7/site-packages/flask/app.py', 'description': "Runs the application on a local development server.\n\nDo not use ``run()`` in a production setting. It is not intended to\nmeet security and performance requirements for a production server.\nInstead, see :ref:`deployme... | 0 |
{'name': 'BreakpointCommandTestCase.breakpoint_command_sequence@lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py', 'description': 'Test a sequence of breakpoint command add, list, and delete.', 'signature': 'def breakpoint_command_sequence(self):'}</s>{'name': '... | 0 |
{'name': 'RIPPER._optimize_ruleset_cn@build/lib/wittgenstein/ripper.py', 'description': 'Optimization phase.', 'signature': 'def _optimize_ruleset_cn('}</s>{'name': 'grow_rule@wittgenstein/base_functions.py', 'description': 'Fit a new rule to add to a ruleset', 'code': 'def grow_rule(\n pos_df,\n neg_df,\n pos... | 0 |
{'name': 'test_fail_with_invalid_dbname_and_automatic_recovery_disabled@test/io/test_io.py', 'description': 'Should fail without retries when automatic recovery is disabled and dbname is invalid', 'signature': 'def test_fail_with_invalid_dbname_and_automatic_recovery_disabled(defaultenv):'}</s>{'name': 'test_fail_with_... | 0 |
{'name': 'Serial._reconfigure_port@serial/rfc2217.py', 'description': 'Set communication parameters on opened port.', 'signature': 'def _reconfigure_port(self):'}</s>SERVER_NOTIFY_LINESTATE = b'j' | 0 |
{'name': 'neq_load_customized@utils/utils.py', 'description': 'load pre-trained model in a not-equal way,\nwhen new model has been partially modified ', 'signature': 'def neq_load_customized(model, pretrained_dict, verbose=True):'}</s>{'name': 'FastDataLoader@utils/utils.py', 'description': 'for reusing cpu workers, to... | 0 |
{'name': 'unyt_array.in_units@unyt/array.py', 'description': "Creates a copy of this array with the data converted to the\nsupplied units, and returns it.\n\nOptionally, an equivalence can be specified to convert to an\nequivalent quantity which is not in the same dimensions.\n\nParameters\n----------\nunits : Unit obj... | 0 |
{'name': 'split_scopes@info_popup.py', 'description': 'Splits "foo, bar, baz" into ["foo", "bar", "baz"]', 'signature': 'def split_scopes(scopes):'}</s>{'name': 'Package@symbols.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Package.__init__@symbols.py', 'description': 'DOCSTRING', '... | 0 |
{'name': 'HubitatSwitch.__init__@custom_components/hubitat/switch.py', 'description': 'Initialize a Hubitat switch.', 'signature': 'def __init__('}</s>{'name': 'is_alarm@custom_components/hubitat/switch.py', 'description': 'Return True if the device is an alarm.', 'code': 'def is_alarm(device: Device, _overrides: dict[... | 0 |
{'name': 'BareValidator._error@cerberus/validator.py', 'description': "Creates and adds one or multiple errors.\n\n:param args: Accepts different argument's signatures.\n\n *1. Bulk addition of errors:*\n\n - :term:`iterable` of\n :class:`~cerberus.errors.ValidationError`-instances... | 0 |
{'name': 'main@samples/socket-api/sample_test_run.py', 'description': 'GO!GO!!GO!!!', 'signature': 'def main():'}</s>{'name': 'run_cmd@samples/socket-api/sample_test_run.py', 'description': 'DOCSTRING', 'code': 'def run_cmd(cmd, cwd):\n qry_prc = subprocess.run(\n shlex.split(cmd), cwd=cwd, check=False, captu... | 1 |
{'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': '_extract_predictions_and_losses@object_detection/legacy/evaluator.py', 'description': 'Constructs tensorflowFolder detection graph and returns output tensors.\n\nArgs:\n model: model to perform predictions with.\n create_input_dict_fn: function to create input tensor dictionaries.\n ignore_groundtruth: whe... | 0 |
{'name': 'control_write_defaults@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Write default control values', 'signature': 'def control_write_defaults():'}</s>{'name': 'extcap_interfaces@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'List available interfaces to capture from', 'code': 'de... | 0 |
{'name': 'VectorVariable.format_value@software/hermeslite/VCDWriter.py', 'description': "Format value change for VCD stream.\n\n:param value: New value for the variable.\n:types value: int, str, or None\n:raises ValueError: for *some* invalid values.\n\nA *value* of `None` is the same as `'z'`.\n\n.. Warning::\n\n I... | 0 |
{'name': 'Transpiler.__init__@compyle/transpiler.py', 'description': "Constructor.\n\nParameters\n----------\n\nbackend: str: Backend to use.\n Can be one of 'cython', 'opencl', 'cuda' or 'python'", 'signature': "def __init__(self, backend='cython', incl_cluda=True):"}</s>{'name': 'get_config@compyle/config.py', 'de... | 1 |
{'name': 'authenticated_client@src/tests/conftest.py', 'description': 'Authenticate client and return client object.', 'signature': 'def authenticated_client(client):'}</s>{'name': 'cli_lab_path@src/tests/conftest.py', 'description': 'Return lab path for CLI tests', 'code': 'def cli_lab_path(cli_lab):\n """Return la... | 0 |
{'name': 'PDFPage.__init__@pdfminer3/pdfpage.py', 'description': 'Initialize a page object.\n\ndoc: a PDFDocument object.\npageid: any Python object that can uniquely identify the page.\nattrs: a dictionary of page attributes.', 'signature': 'def __init__(self, doc, pageid, attrs):'}</s>{'name': 'PDFObjectNotFound@pdfm... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQFB_CICS_UOW_BACKED_OUT = 413 | 0 |
{'name': 'FeedService.get_popular_posts@c3po/api/service/feed_service.py', 'description': 'Retrieves the most popular posts in the past n days', 'signature': 'def get_popular_posts(url, n, start, limit):'}</s>song_dto = SongDto() | 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': 'check_subprocess_output@setuptools_rust/_utils.py', 'description': 'Wrapper around subprocess.run that requires a decision to pass env.', 'signature': 'def check_subprocess_output('}</s>{'name': 'format_called_process_error@setuptools_rust/_utils.py', 'description': 'Helper to convert a CalledProcessError to ... | 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': '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': 'gaussian_width_... | 0 |
{'name': 'Hub._process_event@custom_components/hubitat/hubitatmaker/hub.py', 'description': 'Process an event received from the hub.', 'signature': 'def _process_event(self, event: dict[str, Any]) -> None:'}</s>{'name': '_get_event_port@custom_components/hubitat/hubitatmaker/hub.py', 'description': 'Given an optional p... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.