text string | label int64 |
|---|---|
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'RTN@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def RTN(ctx=None):\n ctx = _get_ctx(ctx)\n return FP... | 0 |
{'name': 'FiltersSet.__init__@sievelib/factory.py', 'description': "Represents a set of one or more filters.\n\n:param name: the filterset's name\n:param filter_name_pretext: the text that is used to mark a filter name\n (as comment preceding the filter)\n:param filter_desc_pretext: the text ... | 0 |
{'name': 'GefRemoteSessionManager.connect@gef.py', 'description': 'Connect to remote target. If in extended mode, also attach to the given PID.', 'signature': 'def connect(self, pid: int) -> bool:'}</s>{'name': 'PCustomListCommand@gef.py', 'description': 'PCustom: list available structures', 'base_classes': ['PCustomCo... | 0 |
{'name': 'View.update_pick_info_long@picasso/gui/render.py', 'description': 'Called when evaluating picks statistics in Info Dialog. ', 'signature': 'def update_pick_info_long(self):'}</s>N_Z_COLORS = 32 | 0 |
{'name': 'PFGid._str_to_num@pf/rule.py', 'description': 'Convert a string to a numeric group ID.', 'signature': 'def _str_to_num(self, s):'}</s>{'name': 'getifmtu@pf/_utils.py', 'description': 'Quick hack to get MTU and speed for a specified interface.', 'code': 'def getifmtu(ifname):\n """Quick hack to get MTU and ... | 0 |
{'name': 'matchPreviousLiteral@scripts/pdns/lib/python2.7/site-packages/pip/_vendor/pyparsing.py', 'description': 'Helper to define an expression that is indirectly defined from\nthe tokens matched in a previous expression, that is, it looks\nfor a \'repeat\' of a previous expression. For example::\n first = Word(n... | 0 |
{'name': 'Connection.channel@amqp/connection.py', 'description': "Create new channel.\n\nFetch a Channel object identified by the numeric channel_id, or\ncreate that object if it doesn't already exist.", 'signature': 'def channel(self, channel_id=None, callback=None):'}</s>{'name': 'AbstractChannel@amqp/abstract_channe... | 0 |
{'name': 'Photo.getPhotoFile@flickr_api/objects.py', 'description': " returns the URL to the photo file corresponding to the\n given size.\n\nArguments:\n size_label: The label corresponding to the photo size\n\n 'Square': 75x75\n 'Thumbnail': 100 on longest side\n 'Small': 240 on longest... | 0 |
{'name': 'download@ytmdl/core.py', 'description': 'Download the song by using the passed link.\n\nThe song will be saved with the passed title.\nReturn the saved path of the song.', 'signature': 'def download(link, yt_title, args) -> str:'}</s>{'name': 'get_songs@ytmdl/utility.py', 'description': 'Extract the songs fro... | 0 |
{'name': 'AtIndexer.__init__@linopy/variables.py', 'description': 'Initialize the AtIndexer.', 'signature': 'def __init__(self, obj: Variable) -> None:'}</s>{'name': 'iterate_slices@linopy/common.py', 'description': 'Generate slices of an xarray Dataset or DataArray with a specified soft maximum size.\n\nThe slicing is... | 0 |
{'name': 'remove_nan@source/tomopy/misc/corr.py', 'description': 'Replace NaN values in array with a given value.\n\nParameters\n----------\narr : ndarray\n Input array.\nval : float, optional\n Values to be replaced with NaN values in array.\nncore : int, optional\n Number of cores that will be assigned to jo... | 0 |
{'name': 'IULogger.log_service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Message that we have received a service call', 'signature': 'def log_service_call('}</s>{'name': 'reset_granularity@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Restor... | 0 |
{'name': '__rmul__@eemont/image.py', 'description': 'Computes the multiplication between two images.\n\nParameters\n----------\nself : ee.Image\n Right operand.\nother : ee.Image | numeric | list[numeric]\n Left operand. If numeric, an ee.Image is created from its value. If list, an\n ee.Image with n bands (n ... | 0 |
{'name': 'draw_water_mix_ratio@pymeteo/skewt.py', 'description': 'Plot lines of constant water vapor mixing ratio on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function calculates isolines of constant water vapor\nmixing ratio and plots these lines. Values of w calcul... | 0 |
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes... | 0 |
{'name': 'get_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': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'IntSort@src/api/python/z3/z3.py', 'description': "Return the integer sort in the given context. If `ctx=None`, then the globa... | 0 |
{'name': '_runcog@paver/doctools.py', 'description': 'Common function for the cog and runcog tasks.', 'signature': 'def _runcog(options, uncog=False):'}</s>BuildFailure = tasks.BuildFailure | 1 |
{'name': 'TestAllEntityManager.test_is_sub_to_all_manager@entity/tests/model_tests.py', 'description': 'Tests the is_sub_to_all for an entity directly from the entity manager.', 'signature': 'def test_is_sub_to_all_manager(self):'}</s>{'name': 'Entity@entity/models.py', 'description': 'Describes an entity and its relev... | 1 |
{'name': 'load@parsimony/datasets/simulate/l1mu_l2_tvmu.py', 'description': 'Returns data generated such that we know the exact solution.\n\nThe data generated by this function is fit to the Linear regression + L1 +\nL2 + Smoothed total variation function, i.e.:\n\n f(b) = (1 / 2).|Xb - y|² + l.L1mu(b) + (k / 2).|b|... | 0 |
{'name': 'vqt@librosa/core/constantq.py', 'description': 'Compute the variable-Q transform of an audio signal.\n\nThis implementation is based on the recursive sub-sampling method\ndescribed by [#]_.\n\n.. [#] Schörkhuber, Christian, Anssi Klapuri, Nicki Holighaus, and Monika Dörfler.\n "A Matlab toolbox for efficie... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIACF_SYSP_SMF_INTERVAL = 1199 | 0 |
{'name': 'ResnetGenerator.__init__@SIM-CycleGAN/models/networks.py', 'description': 'Construct a Resnet-based generator\n\nParameters:\n input_nc (int) -- the number of channels in input images\n output_nc (int) -- the number of channels in output images\n ngf (int) -- the number of filters ... | 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': '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': '_quote@python-build-with-qt/sip-4.11.2/sipconfig.py', 'description': 'Return a string surrounded by double quotes it if contains a space.\n\ns is the string.', 'signature': 'def _quote(s):'}</s>{'name': 'Configuration@python-build-with-qt/sip-4.11.2/sipconfig.py', 'description': 'The class that represents SIP... | 0 |
{'name': 'CrawlResource.render_POST@scrapyrt/resources.py', 'description': ':param request:\n body should contain JSON\n\nRequired keys in JSON posted:\n\n:spider_name: string\n name of spider to be scheduled.\n\n:request: json object\n request to be scheduled with spider.\n Note: request must contain url f... | 1 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCMD_STOP_Q_MGR = 144 | 0 |
{'name': 'render@external/containers/emu/_version.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'versions_from_parentdir@external/containers/emu/_version.py', 'description': 'Try to determine the version from the parent directory ... | 0 |
{'name': 'test_nested_uls@tests/test_lists.py', 'description': 'Nested ULs should alternate bullet characters.', 'signature': 'def test_nested_uls():'}</s>nested_uls = "
<ul>
<li>1
<ul>
<li>a
<ul>
<li>I</li>
<li>... | 1 |
{'name': 'TabularDataFeatures.get_categorical_intersections@lightautoml/pipelines/features/base.py', 'description': 'Get transformer that implements categorical intersections.\n\nArgs:\n train: Dataset with train data.\n feats_to_select: features to handle. If ``None`` - default filter.\n\nReturns:\n Transform... | 0 |
{'name': 'plot_results@utils/utils.py', 'description': "Plot YOLO training results from the file 'results.txt'\nExample of what this is trying to plot can be found at: \nhttps://user-images.githubusercontent.com/26833433/63258271-fe9d5300-c27b-11e9-9a15-95038daf4438.png\nAn example results.txt file:\nimport os; os.syst... | 0 |
{'name': 'Imputer.__transform_and_compute_metrics_mxnet_iter@datawig/imputer.py', 'description': 'Returns predictions and metrics (average and per class)\n\n:param mxnet_iter:\n:param metrics_path: if not None and exists, metrics are serialized as json to this path.\n:return: predictions and metrics', 'signature': 'def... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQPMO_DEFAULT_CONTEXT = 32 | 0 |
{'name': '_AdbIOManager.connect@adb_shell/adb_device.py', 'description': "Establish an ADB connection to the device.\n\n1. Use the transport to establish a connection\n2. Send a ``b'CNXN'`` message\n3. Read the response from the device\n4. If ``cmd`` is not ``b'AUTH'``, then authentication is not necesary and so we are... | 0 |
{'name': 'CheckHeaderFileIncluded@third_party/cpplint/cpplint.py', 'description': 'Logs an error if a source file does not include its header.', 'signature': 'def CheckHeaderFileIncluded(filename, include_state, error):'}</s>_line_length = 80 | 0 |
{'name': 'PandasSpecialEngine._get_values_to_insert@pangres/engine.py', 'description': 'Gets the values to be inserted from the pandas DataFrame\ndefined in given instance of PandasSpecialEngine\nto the coresponding SQL table.\n\nReturns\n-------\nvalues : list\n Values from the df attribute that may have been conve... | 0 |
{'name': 'TestMSONable.test_save_load@tests/test_json.py', 'description': 'Tests the save and load serialization methods.', 'signature': 'def test_save_load(self, tmp_path):'}</s>{'name': 'GoodNestedMSONClass@tests/test_json.py', 'description': 'DOCSTRING', 'base_classes': ['MSONable'], 'methods': [{'name': 'GoodNested... | 0 |
{'name': 'make_html_table@grizli/aws/db.py', 'description': ' ', 'signature': 'def make_html_table(engine=None, columns=[\'root\', \'status\', \'id\', \'p_ra\', \'p_dec\', \'mag_auto\', \'flux_radius\', \'z_spec\', \'z_map\', \'bic_diff\', \'chinu\', \'log_pdf_max\', \'d4000\', \'d4000_e\'], where="AND status >= 5 A... | 0 |
{'name': 'MicroDVDFormat.to_file@pysubs2/formats/microdvd.py', 'description': 'See :meth:`pysubs2.formats.FormatBase.to_file()`\n\nThe only supported styling is marking whole lines italic.\n\nKeyword args:\n write_fps_declaration: If True, create a zero-duration first subtitle ``{1}{1}`` which will contain\n ... | 1 |
{'name': '_validate@src/feedvalidator/__init__.py', 'description': 'validate RSS from string, returns validator object', 'signature': 'def _validate(aString, firstOccurrenceOnly, loggedEvents, base, encoding, selfURIs=None, mediaType=None):'}</s>{'name': 'AvoidTextInput@src/feedvalidator/logging.py', 'description': 'DO... | 0 |
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils subclasses used by Versioneer.', 'signature': 'def get_cmdclass():'}</s>CONFIG_ERROR = "
setup.cfg is missing the necessary Versioneer configuration. You need
a section like:
[versioneer]
VCS = git
style = pep440
versionfile... | 0 |
{'name': 'murr_detail@MurrCard/views.py', 'description': 'Show single murr ', 'signature': 'def murr_detail(request, slug):'}</s>{'name': 'murr_delete@MurrCard/views.py', 'description': 'DOCSTRING', 'code': "def murr_delete(request, slug):\n if request.user.is_authenticated:\n user = request.user\n mur... | 0 |
{'name': 'main@signac/__main__.py', 'description': 'Provide command line interface.', 'signature': 'def main():'}</s>{'name': 'diff_jobs@signac/diff.py', 'description': "Find differences among a list of jobs' state points.\n\nThe resulting diff is a dictionary where the keys are job ids and the\nvalues are each job's s... | 0 |
{'name': 'Annotation.get_available_label_stores@wfdb/io/annotation.py', 'description': "Get the label store values that may be used\nfor writing this annotation.\n\nAvailable store values include:\n- the undefined values in the standard WFDB labels\n- the store values not used in the current\n annotation object.\n- th... | 0 |
{'name': 'get_link_status@analyze.py', 'description': ':param predicted_spans: from get_prediction()\n:param predicted_antecedents:\n:param gold_to_cluster_id, non_anaphoric: from get_gold_to_cluster_id()\n:return: dict of gold spans indicating wrong(False) or correct(True) link', 'signature': 'def get_link_status(pred... | 0 |
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes... | 0 |
{'name': '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': 'TranslationFormView.post@rosetta/views.py', 'description': "The only circumstances when we POST is to submit the main form, both\nupdating translations (if any changed) and advancing to the next page of\nmessages.\n\nThere is no notion of validation of this content; as implemented, unknown\nfields are ignored... | 0 |
{'name': 'Platform.login_url@ringcentral/platform/platform.py', 'description': "Generates the URL for initiating the login process.\n\nArgs:\n redirect_uri (str): The URI to which the user will be redirected after authentication.\n state (str, optional): A value to maintain state between the request and the callb... | 1 |
{'name': '_main@tools/gfx/png.py', 'description': 'Run the PNG encoder with options from the command line.', 'signature': 'def _main(argv):'}</s>__version__ = "0.0.18" | 1 |
{'name': 'Validator.__init__@signac/_vendor/configobj/validate.py', 'description': '>>> vtri = Validator()', 'signature': 'def __init__(self, functions=None):'}</s>{'name': 'is_integer@signac/_vendor/configobj/validate.py', 'description': 'A check that tests that a given value is an integer (int, or long)\nand optional... | 1 |
{'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': 'parse_docfiles@hostthedocs/filekeeper.py', 'description': 'Create the list of the projects.\n\nThe list of projects is computed by walking the `docfiles_dir` an... | 0 |
{'name': 'textures_locate_cmd@cjio/cjio.py', 'description': 'Output the location of the texture files.', 'signature': 'def textures_locate_cmd():'}</s>{'name': 'CJInvalidOperation@cjio/errors.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': [{'name': 'CJInvalidOperation.__init__@cjio/errors.py... | 0 |
{'name': 'configure_via_file@isi_data_insights_config.py', 'description': "Configure the daemon's stat groups and the stats processor via command line\narguments and configuration file. The command line args override settings\nprovided in the config file.", 'signature': 'def configure_via_file(daemon, args, config_file... | 0 |
{'name': 'ParserElement.runTests@venv/Lib/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Execute the parse expression on a series of test strings, showing each\ntest, the parsed results or where the parse failed. Quick and easy way to\nrun a parse expression against a list of sample strings.\n \nP... | 0 |
{'name': 'test_eblabsorptionmodel@tests/test_models.py', 'description': 'test EblAbsorptionModel', 'signature': 'def test_eblabsorptionmodel():'}</s>{'name': 'test_inverse_compton_lum@tests/test_models.py', 'description': 'test IC calculation', 'code': 'def test_inverse_compton_lum(particle_dists):\n """\n test I... | 0 |
{'name': 'networkd_netdevs@kayobe/plugins/filter/networkd.py', 'description': 'Return a dict representation of networkd NetDev configuration.\n\nThe format is compatible with the systemd_networkd_netdev variable in the\nstackhpc.linux.systemd_networkd role.\n\n:param context: a Jinja2 Context object.\n:param names: Lis... | 0 |
{'name': 'countedArray@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pyparsing.py', 'description': "Helper to define a counted list of expressions.\n\nThis helper defines a pattern of the form::\n\n integer expr expr expr...\n\nwhere the leading integer tells how many expr expressions follow.\nThe matched ... | 0 |
{'name': 'DefaultKernel.__init__@abcpy/perturbationkernel.py', 'description': 'This class implements a kernel that perturbs all continuous parameters using a multivariate normal, and all\ndiscrete parameters using a random walk. To be used as an example for user defined kernels.\n\nParameters\n----------\nmodels: list\... | 0 |
{'name': 'get_split@slim/datasets/raw_patches_for_heatmaps.py', 'description': "Gets a dataset tuple with instructions for reading flowers.\n\nArgs:\n split_name: A train/validation split name.\n dataset_dir: The base directory of the dataset sources.\n file_pattern: The file pattern to use when matching the dataset... | 0 |
{'name': 'MessengerBase.send@sitemessage/messengers/base.py', 'description': 'Main send method must be implemented by all heirs.\n\n:param message_cls: a MessageBase heir\n:param message_model: message model\n:param dispatch_models: Dispatch models for this Message', 'signature': "def send(self, message_cls: Type['Mess... | 1 |
{'name': '_Renderer.add_template@neurodocker/reproenv/renderers.py', 'description': 'Add a template to the renderer.\n\nParameters\n----------\ntemplate : Template\n The template to add. To reference templates by name, use\n `.add_registered_template`.\nmethod : str\n The method to use to install the software ... | 1 |
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im... | 0 |
{'name': 'MainInterface.process_options@src/python_scripts/scripts/uber_ttest.py', 'description': 'return 1 on valid and exit\n 0 on valid and continue\n-1 on invalid', 'signature': 'def process_options(self):'}</s>basis_known_resp_l = ['GAM', 'BLOCK', 'dmBLOCK', 'dmUBLOCK', 'SPMG1',
'WAV', 'MION... | 0 |
{'name': 'FullModel.__init__@GreedyInfoMax/audio/models/full_model.py', 'description': 'Entire CPC model that can be split into smaller chunks for training', 'signature': 'def __init__('}</s>{'name': 'IndependentModule@GreedyInfoMax/audio/models/independent_module.py', 'description': 'DOCSTRING', 'base_classes': ['nn.M... | 1 |
{'name': 'Serial._reconfigure_port@serial/serialwin32.py', 'description': 'Set communication parameters on opened port.', 'signature': 'def _reconfigure_port(self):'}</s>LPOVERLAPPED = POINTER(_OVERLAPPED) | 0 |
{'name': 'CheckCommaSpacing@tools/cpplint.py', 'description': 'Checks for horizontal spacing near commas and semicolons.\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 ... | 0 |
{'name': 'dump@json_tricks/nonp.py', 'description': 'Convert a nested data structure to a json string.\n\n:param fp: File handle or path to write to.\n:param compression: The gzip compression level, or None for no compression.\n:param force_flush: If True, flush the file handle used, when possibly also in the operating... | 0 |
{'name': 'matchOnlyAtCol@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining parse actions that require matching at a specific\ncolumn in the input text.', 'signature': 'def matchOnlyAtCol(n):'}</s>_charRange = Group(_singleChar + Suppress("-") + _singleChar) | 0 |
{'name': 'document@api/project/__init__.py', 'description': 'Returns the matching document(s) from the specified index\n\nParameters\n----------\nrequest : Request\n Uses \'from\', \'to\', \'limit\', \'filter\', and \'doctype\' from request arguments\n\nReturns\n-------\nfilter\n dict containing the filters, e.g.... | 0 |
{'name': 'Camera.addLandmarkInformation@cameratransform/camera.py', 'description': 'Add a term to the camera probability used for fitting. This term includes the probability to observe the given\nlandmarks and the specified positions in the image.\n\nParameters\n----------\nlm_points_image : ndarray\n the pixel posi... | 0 |
{'name': 'Logger.level_matches@bootstrap.py', 'description': '>>> l = Logger([])\n>>> l.level_matches(3, 4)\nFalse\n>>> l.level_matches(3, 2)\nTrue\n>>> l.level_matches(slice(None, 3), 3)\nFalse\n>>> l.level_matches(slice(None, 3), 2)\nTrue\n>>> l.level_matches(slice(1, 3), 1)\nTrue\n>>> l.level_matches(slice(2, 3), 1)... | 0 |
{'name': 'WorkerTestCase.test_another_queue@tests/integration/test_worker.py', 'description': 'Task is run on another queue', 'signature': 'def test_another_queue(self):'}</s>{'name': 'must_be_called@tests/tasks.py', 'description': "This function is patched in tests to see the caller is doing it's job.\n ", 'code': ... | 0 |
{'name': 'ShopTests.test_order@tests/test_shop.py', 'description': "Test that a completed order contains cart items and that\nthey're removed from stock.", 'signature': 'def test_order(self):'}</s>{'name': 'ProductVariation@cartridge/shop/models.py', 'description': 'A combination of selected options from\n``SHOP_OPTION... | 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': 'TestBase.unmock@tests/alertlib_test.py', 'description': 'Used to unmock a function before the tests are ended.', 'signature': 'def unmock(self, container, var_str):'}</s>{'name': 'EmailTest@tests/alertlib_test.py', 'description': 'DOCSTRING', 'base_classes': ['TestBase'], 'methods': [{'name': 'EmailTest.test_... | 0 |
{'name': 'test_dispatch_issue@ncnn-20210525-full-source/python/pybind11/tests/test_virtual_functions.py', 'description': '#159: virtual function dispatch has problems with similar-named functions', 'signature': 'def test_dispatch_issue(msg):'}</s>{'name': 'test_alias_delay_initialization2@ncnn-20210525-full-source/pyth... | 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': 'zoom@self_organising_systems/biomakerca/display_utils.py', 'description': 'DOCSTRING', 'code': 'def zoom(img, scale=4):\n img = np... | 1 |
{'name': 'CheckHeaderFileIncluded@third_party/cpplint/cpplint.py', 'description': 'Logs an error if a source file does not include its header.', 'signature': 'def CheckHeaderFileIncluded(filename, include_state, error):'}</s>_ALT_TOKEN_REPLACEMENT_PATTERN = re.compile(
r'[ =()](' + ('|'.join(_ALT_TOKEN_REPLACEMENT.... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCFOP_NOT_EQUAL = 5 | 0 |
{'name': 'takeMiniTimelapse@source/pi-timolo.py', 'description': 'Take a motion tracking activated mini timelapse sequence\nusing yield if motion triggered', 'signature': 'def takeMiniTimelapse(moPath, prefix, NumOn, motionNumCount, currentDayMode, NumPath):'}</s>{'name': 'checkIfDayStream@source/pi-timolo.py', 'descri... | 0 |
{'name': 'EntriesMaintainer.update_readme_tocs@code/maintenance_entries.py', 'description': 'Recounts entries in sub categories and writes them to the readme.\nAlso updates the _toc files in the categories directories.\n\nNote: The Readme must have a specific structure at the beginning, starting with "# Open Source Gam... | 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': 'get_split@slim/datasets/raw_patches_for_heatmaps.py', 'description': "Gets a dataset tuple with instructions for reading flowers.\n\nArgs:\n split_name: A train/validation split name.\n dataset_dir: The base directory of the dataset sources.\n file_pattern: The file pattern to use when matching the dataset... | 0 |
{'name': 'ReplaceByFeeTest.test_new_unconfirmed_inputs@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that add new unconfirmed inputs are rejected', 'signature': 'def test_new_unconfirmed_inputs(self):'}</s>OP_TUCK = CScriptOp(0x7d) | 0 |
{'name': 'Application._perform_deferred_reload@robopianist/viewer/application.py', 'description': 'Performs the deferred part of initialization related to Physics reload.\n\nArgs:\n params: Deferred reload parameters, an instance of ReloadParams.', 'signature': 'def _perform_deferred_reload(self, params):'}</s>MOUSE_B... | 0 |
{'name': 'geticmptypebynumber@pf/_utils.py', 'description': 'Return the ICMP type as a string.', 'signature': 'def geticmptypebynumber(type, af):'}</s>LOG_INFO = 6 | 0 |
{'name': '_walk@swagger_to/go_server.py', 'description': 'Walk the tree of nested type definitions as (nesting type definition, nested type definition).', 'signature': 'def _walk(typedef: Typedef, parent: Optional[Typedef] = None) -> Iterable[Tuple[Optional[Typedef], Typedef]]:'}</s>_ROUTES_GO_TPL = ENV.from_string('''... | 0 |
{'name': 'SearchList.search@shingetsu/node.py', 'description': 'Search node which has the file.', 'signature': 'def search(self, cache=None, myself4=None, myself6=None, nodes=None):'}</s>{'name': 'SocketIO@shingetsu/node.py', 'description': 'Wrapper for SimpleGzipFile and URLopener.\n ', 'base_classes': [], 'methods... | 0 |
{'name': 'format_filename@nhentai/utils.py', 'description': 'It used to be a whitelist approach allowed only alphabet and a part of symbols.\nbut most doujinshi\'s names include Japanese 2-byte characters and these was rejected.\nso it is using blacklist approach now.\nif filename include forbidden characters (\'/:,;*?... | 0 |
{'name': 'RobotFileParser.can_fetch@src/future/backports/urllib/robotparser.py', 'description': 'using the parsed robots.txt decide if useragent can fetch url', 'signature': 'def can_fetch(self, useragent, url):'}</s>{'name': 'HTTPErrorProcessor@src/future/backports/urllib/request.py', 'description': 'Process HTTP erro... | 0 |
{'name': 'HindcastEnsemble.remove_bias@src/climpred/classes.py', 'description': 'Remove bias from :py:class:`.HindcastEnsemble`.\n\nBias is grouped by ``seasonality`` set via\n:py:class:`~climpred.options.set_options`. When wrapping\n:py:class:`xclim.sdba.adjustment.TrainAdjust` use ``group`` instead.\n\nArgs:\n ali... | 0 |
{'name': 'OpticalProduct._sun_earth_distance@eoreader/products/optical/optical_product.py', 'description': "Correction for the Sun-Earth distance variation\n\nUses ephem's function according to Maxar documentation:\nhttps://resources.maxar.com/white-papers/radiometric-use-of-worldview-legion-1-and-worldview-legion-2-im... | 0 |
{'name': 'Rolling.solve@msppy/solver.py', 'description': 'Call rolling solver to solve the true problem. It will dynamically\nconstruct extensive models and then call Gurobi solver to solve it.\n\nParameters\n----------\nn_simulations: int\n The number of simulations;\n\nn_branches: int\n The number of branches i... | 1 |
{'name': 'test_random_operation@test/client/test_client.py', 'description': 'Randomly connect and disconnect the client, this is very likely to fail ', 'signature': 'def test_random_operation(server):'}</s>{'name': 'server@test/client/test_client.py', 'description': 'DOCSTRING', 'code': 'def server():\n server = Mes... | 1 |
{'name': 'comma_join@montreal_forced_aligner/helper.py', 'description': 'Helper function to combine a list into a human-readable expression with commas and a\nfinal "and" separator\n\nParameters\n----------\nsequence: list[Any]\n Items to join together into a list\n\nReturns\n-------\nstr\n Joined items in list f... | 0 |
{'name': 'infidandgrad@examples/fidelity-gradient.py', 'description': '""\nTake a numpy array [hx0, hz0, hx1, hz1, ...] over full timesteps and\nreturn the fidelity and gradient of the fidelity to the global target_derivative', 'signature': 'def infidandgrad(paras):'}</s>field_labels = ["x","y","z"] | 0 |
{'name': 'fields@api/project/__init__.py', 'description': 'Provide a list of fields Malcolm "knows about" merged from Arkime\'s field table, Malcolm\'s\nOpenSearch template for the sessions indices, and Kibana\'s field list\n\nParameters\n----------\nrequest : Request\n template - template name (default is app.confi... | 0 |
{'name': 'standardize_variables@aimacode/logic.py', 'description': 'Replace all the variables in sentence with new variables.', 'signature': 'def standardize_variables(sentence, dic=None):'}</s>{'name': 'disjuncts@aimacode/logic.py', 'description': 'Return a list of the disjuncts in the sentence s.\n>>> disjuncts(A | B... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.