text
string
label
int64
{'name': 'convert_developers@code/html/generate_static_website.py', 'description': ':param developers:\n:param entries:\n:return:', 'signature': 'def convert_developers(developers, entries):'}</s>{'name': 'git_clear_path@code/utils/utils.py', 'description': "Clears all in a path except the '.git' directory", 'code': 'd...
0
{'name': 'GWR.fit@stwr/gwr.py', 'description': "Method that fits a model with a particular estimation routine.\n\nParameters\n----------\n\nini_betas : array, optional\n k*1, initial coefficient values, including constant.\n Default is None, which calculates initial values during\n ...
0
{'name': 'Vireo.update_GT_prob@vireoSNP/utils/vireo_model.py', 'description': 'Coordinate ascent for updating genotype probability\n ', 'signature': 'def update_GT_prob(self, AD, DP):'}</s>{'name': 'logbincoeff@vireoSNP/utils/vireo_base.py', 'description': "Ramanujan's approximation of log [n! / (k! (n-k)!)]\nTh...
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': 'InvalidViewRefreshMode@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['Invalid...
0
{'name': 'BareValidator._validate_max@cerberus/validator.py', 'description': "{'nullable': False }", 'signature': 'def _validate_max(self, max_value, field, value):'}</s>NORMALIZATION = ErrorDefinition(0x60, None)
0
{'name': 'make_SEP_catalog@grizli/prep.py', 'description': "Make a catalog from drizzle products using the SEP implementation of SourceExtractor\n\nParameters\n----------\nroot : str\n Rootname of the FITS images to use for source extraction. This\n function is designed to work with the single-image products fro...
0
{'name': '_GenerateMSVSProject@gyp/pylib/gyp/generator/msvs.py', 'description': 'Generates a .vcproj file. It may create .rules and .user files too.\n\nArguments:\n project: The project object we will generate the file for.\n options: Global options passed to the generator.\n version: The VisualStudioVersion object...
0
{'name': 'IUSequenceRun.running@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Indicate if this sequence is running', 'signature': 'def running(self) -> bool:'}</s>CONF_RESTORE_FROM_ENTITY = "restore_from_entity"
0
{'name': 'automodsumm_to_autosummary_lines@doc/sphinxext/numpy_ext/automodsumm.py', 'description': 'Generates lines from a file with an "automodsumm" entry suitable for\nfeeding into "autosummary".\n\nSearches the provided file for `automodsumm` directives and returns\na list of lines specifying the `autosummary` comma...
0
{'name': 'CheckLanguage@tools/cpplint.py', 'description': "Checks rules from the 'C++ language rules' section of cppguide.html.\n\nSome of these rules are hard to test (function overloading, using\nuint32 inappropriately), but we do the best we can.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A ...
0
{'name': 'test_put_get_delete_replication@ut/test.py', 'description': '设置、获取、删除跨园区复制配置', 'signature': 'def test_put_get_delete_replication():'}</s>{'name': 'ci_create_dataset@ut/test.py', 'description': 'DOCSTRING', 'code': 'def ci_create_dataset():\n # 创建数据集\n kwargs = {"CacheControl": "no-cache", "ResponseCache...
0
{'name': 'DataContext.rebuild_db@disdat/data_context.py', 'description': "For this context, read in all pb's and rebuild tables.\nAll state is immutable.\n1.) Read in all HFrame PBs\n2.) Ensure that each HFrame PB is WEAKLY consistent -- file names corresponding to the\nframes are on disk (but we do not check their con...
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': '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': 'FileInfo.RepositoryName@third_party/cpplint/cpplint.py', 'description': 'FullName after removing the local path to the repository.\n\nIf we have a real absolute path name here we can try to do something smart:\ndetecting the root of the checkout and truncating /path/to/checkout from\nthe name so that we get h...
1
{'name': 'FutureBase._computed@asynq/futures.py', 'description': 'Protected method invoked when value or error property\nis set.\n\nRaises on_computed event.', 'signature': 'def _computed(self):'}</s>{'name': 'enable_traceback_syntax_highlight@asynq/debug.py', 'description': "Enable/disable syntax highlighted stacktrac...
0
{'name': 'test_merged_dup_stream_blocks@maf/impl/naiveLiftUp.py', 'description': 'Check merged_dup_stream behavior on Blocks.', 'signature': 'def test_merged_dup_stream_blocks():'}</s>{'name': 'test_lift_blocks_dups@maf/impl/naiveLiftUp.py', 'description': 'DOCSTRING', 'code': 'def test_lift_blocks_dups():\n alignme...
0
{'name': '_htmlentity_transform@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Transforms an HTML entity to a character.', 'signature': 'def _htmlentity_transform(entity_with_semicolon):'}</s>{'name': 'match_filter_func@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'DOCSTRING', '...
0
{'name': 'temp_tree@tests/test_ignore.py', 'description': 'fixture used by all tests in this file.\nsets up a static file tree in a temp dir for each test, then deletes after test.', 'signature': 'def temp_tree():'}</s>{'name': '_compare_and_log_directory_hashes@ascmhl/commands.py', 'description': 'DOCSTRING', 'code': ...
0
{'name': 'BitcoinTestFramework.main@test/functional/test_framework/test_framework.py', 'description': 'Main function. This should not be overridden by the subclass test scripts.', 'signature': 'def main(self):'}</s>{'name': 'p2p_port@test/functional/test_framework/util.py', 'description': 'DOCSTRING', 'code': 'def p2p_...
0
{'name': 'provider.stop_loading@dataset/union_person.py', 'description': 'to kill all threads\n ', 'signature': 'def stop_loading(self):'}</s>hazy_pic_test_dir_str = "hazy_person/PICTURES_LABELS_TEMP_TEST/PICTURES/"
0
{'name': 'pairwise@diffxpy/testing/tests.py', 'description': 'Perform pairwise differential expression test between two groups on adata object\nfor each gene for all combinations of pairs of groups.\n\nThis function wraps the selected statistical test for the scenario of\na two sample comparison. All unit_test offered ...
1
{'name': 'ancestral_reconstruction@treetime/wrappers.py', 'description': 'implementing treetime ancestral', 'signature': 'def ancestral_reconstruction(params):'}</s>{'name': 'parse_dates@treetime/utils.py', 'description': "parse dates from the arguments and return a dictionary mapping\ntaxon names to numerical dates.\n...
0
{'name': 'textureAsGameTexture@ValveFileSystem/valve.py', 'description': 'returns a resolved game texture filepath given some sort of texture path', 'signature': 'def textureAsGameTexture(texturePath):'}</s>{'name': 'contentModRelativePathFuzzy@ValveFileSystem/valve.py', 'description': 'returns a path instance that is ...
0
{'name': 'Serial._telnet_read_loop@serial/rfc2217.py', 'description': 'Read loop for the socket.', 'signature': 'def _telnet_read_loop(self):'}</s>RFC2217_STOPBIT_MAP = { serial.STOPBITS_ONE: 1, serial.STOPBITS_ONE_POINT_FIVE: 3, serial.STOPBITS_TWO: 2, }
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': 'Annotation.calc_cl_bytes@wfdb/io/annotation.py', 'description': 'Calculate the bytes written to the annotation file for the\ncustom_labels field.\n\nParameters\n----------\nN/A\n\nReturns\n-------\nlist, ndarray\n All of the bytes to be written to the annotation file.', 'signature': 'def calc_cl_bytes(self...
0
{'name': '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': 'find_path_plot@One_Stroke/Find_Path.py', 'description': '展示寻找到的路径\n:param map: 表示图的数组\n:param method: 寻找路径的方法,默认为dfs\n:param h: 图的竖直方向网格的个数\n:param w: 图的水平方向网格的个数\n:return: 图示', 'signature': "def find_path_plot(map, method='dfs', h=Map_Height, w=Map_Width):"}</s>{'name': 'can_go@One_Stroke/Find_Path.py', 'des...
0
{'name': 'CliTestCase.test_version_argument@tests/flask_unsign.py', 'description': 'Ensure that the current version number is printed correctly', 'signature': 'def test_version_argument(self):'}</s>__version__ = "1.2.1"
1
{'name': 'QuadNode.quadrant@PythonCode/adk/quad.py', 'description': 'Determine quadrant in which point exists. Closed intervals on quadrants I (NE) and III (SW).', 'signature': 'def quadrant(self, pt):'}</s>Y = 1
1
{'name': 'dict@ring/func/asyncio.py', 'description': ':class:`dict` interface for :mod:`asyncio`.\n\n:see: :func:`ring.func.sync.dict` for common description.', 'signature': 'def dict('}</s>{'name': 'CacheUserInterface@ring/func/sync.py', 'description': 'General cache user interface provider.\n\n:see: :class:`ring.func...
0
{'name': '_align_column@misc/tableutils.py', 'description': '[string] -> [padded_string]\n\n>>> list(map(str,_align_column(["12.345", "-1234.5", "1.23", "1234.5", "1e+234", "1.0e234"], "decimal")))\n[\' 12.345 \', \'-1234.5 \', \' 1.23 \', \' 1234.5 \', \' 1e+234 \', \' 1.0e234\']\n\n>>> list(map(st...
0
{'name': 'IMAP.append@imapy/imap.py', 'description': 'Append message to the end of mailbox folder.', 'signature': 'def append(self, message: MIMEBase, **kwargs) -> "IMAP":'}</s>{'name': 'is_logged@imapy/imap.py', 'description': 'Decorator used to check whether the user is logged in\nwhile sending commands to IMAP serve...
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': 'ProcessLine@runtimes/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each represe...
0
{'name': 'update_notice_box_ui@addon_updater_ops.py', 'description': 'Update notice draw, to add to the end or beginning of a panel.\n\nAfter a check for update has occurred, this function will draw a box\nsaying an update is ready, and give a button for: update now, open website,\nor ignore popup. Ideal to be placed a...
0
{'name': 'InfoExtractor._search_regex@script.module.youtube.dl/lib/youtube_dl/extractor/common.py', 'description': 'Perform a regex search on the given string, using a single or a list of\npatterns returning the first matching group.\nIn case of failure return a default value or raise a WARNING or a\nRegexNotFoundError...
0
{'name': 'Retry.__call__@stream/clients/python/bookkeeper/common/retry.py', 'description': 'Wrap a callable with retry behavior.\nArgs:\n func (Callable): The callable to add retry behavior to.\n on_error (Callable): A function to call while processing a\n retryable exception. Any error raised by this fun...
0
{'name': 'TestMediaWikiHatnotes.test_contains_hatnotes@tests/mediawiki_test.py', 'description': 'Test when hatnotes are present', 'signature': 'def test_contains_hatnotes(self):'}</s>{'name': 'TestMediaWikiRegressions@tests/mediawiki_test.py', 'description': 'Add regression tests here for special cases', 'base_classes'...
0
{'name': '_get_prefixes_for_action@policyuniverse/expander_minimizer.py', 'description': ':param action: iam:cat\n:return: [ "iam:", "iam:c", "iam:ca", "iam:cat" ]', 'signature': 'def _get_prefixes_for_action(action):'}</s>{'name': 'expand_minimize_over_policies@policyuniverse/expander_minimizer.py', 'description': 'DO...
0
{'name': 'BaseTestDDSketches.test_add_multiple@tests/test_ddsketch.py', 'description': 'Test DDSketch on adding integer weighted values', 'signature': 'def test_add_multiple(self):'}</s>{'name': 'test_version@tests/test_ddsketch.py', 'description': 'Ensure the package version is exposed by the API.', 'code': 'def test_...
0
{'name': 'GDAL2Tiles.generate_base_tiles@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'Generation of the base tiles (the lowest in the pyramid) directly from the input raster', 'signature': 'def generate_base_tiles(self) -> Tuple[TileJobInfo, List[TileDetail]]:'}</s>{'name': 'reproject_dataset@auxili...
0
{'name': '_default_value@swagger_to/py_client.py', 'description': 'Determine the default value of the given type definition.\n\n:param typedef: type definition in Python representation.\n:return: Python code', 'signature': 'def _default_value(typedef: Typedef) -> str:'}</s>{'name': '_generate_class_from_obj@swagger_to/...
0
{'name': 'add_input_output_information_deeppoly@tf_verify/deeppoly_nodes.py', 'description': 'sets for an object the three fields:\n - self.output_length\n - self.input_names\n - self.output_name\nwhich will mainly be used by the Optimizer, but can also be used by the Nodes itself\n\nArguments\n---------\nself...
0
{'name': 'mass_erase@tools/pydfu.py', 'description': 'Performs a MASS erase (i.e. erases the entire device.', 'signature': 'def mass_erase():'}</s>__DFU_STATE_APP_DETACH = 1
0
{'name': 'Hub.mode@custom_components/hubitat/hub.py', 'description': 'Return the current mode of this hub.', 'signature': 'def mode(self) -> str | None:'}</s>H_CONF_SYNC_AREAS = "sync_areas"
0
{'name': 'test_seed@python/ecole/tests/test_environment.py', 'description': 'Random generator is consumed.', 'signature': 'def test_seed():'}</s>{'name': 'MockEnvironment@python/ecole/tests/test_environment.py', 'description': 'DOCSTRING', 'base_classes': ['ecole.environment.Environment'], 'methods': []}
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': 'write_entry@code/utils/osg.py', 'description': ':param entry:\n:return:', 'signature': 'def write_entry(entry, overwrite=True):'}</s>{'name': 'is_url@code/utils/osg.py', 'description': 'Could be too generous. See https://stackoverflow.com/questions/7160737/how-to-validate-a-url-in-python-malformed-or-not for ...
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': 'breakpoint_callback@pretty_printers_tests/lldb_batchmode.py', 'description': 'This callback is registered with every breakpoint and makes sure that the\nframe containing the breakpoint location is selected', 'signature': 'def breakpoint_callback(frame, bp_loc, dict):'}</s>debugger = lldb.SBDebugger.Create()
0
{'name': 'plot_xyc@project_sample/2019-2ProjectSamples_Code/11조-수강과목을 통한 전공 예측 프로그램/joy.py', 'description': 'plots training input data x and its class label y as well as the the linear \ndecision boundary and the value W[-1] or w in the first subplot if clf is given.\nIn the second subplot, it displays the traning resu...
0
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>{'name': 'pfi_kif@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []}
0
{'name': 'AmharicLocale.describe@arrow/locales.py', 'description': 'Describes a delta within a timeframe in plain language.\n\n:param timeframe: a string representing a timeframe.\n:param delta: a quantity representing a delta in a timeframe.\n:param only_distance: return only distance eg: "11 seconds" without "in" or ...
0
{'name': 'wavenet_residual_block@dts/models/TCN.py', 'description': 'Wavenet Residual Block.\nSee [WaveNet: A Generative Model for Raw Audio](https://arxiv.org/abs/1609.03499).\n# Arguments\n filters: Integer, the dimensionality of the output space\n (i.e. the number of output filters in the convolution).\n ...
0
{'name': 'EcGroup.order@petlib/ec.py', 'description': 'Returns the order of the group as a Big Number.\n\nExample:\n >>> G = EcGroup()\n >>> G.order() * G.generator() == G.infinite() ## Should hold.\n True', 'signature': 'def order(self):'}</s>{'name': 'test_ec_affine_inf@petlib/ec.py', 'description': 'DOCSTRI...
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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIIH_REPLY_FORMAT_NONE = 8
0
{'name': 'NormalizedConfiguration.__init__@config/parse.py', 'description': 'Normalize a JSON configuration in preparation for parsing ', 'signature': 'def __init__(self, config_file, verbose=False):'}</s>{'name': 'roundrobin@config/defaults.py', 'description': 'Yield from each of the iterables in turn ', 'code': "def ...
0
{'name': '_makeTags@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'withClass@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/pypar...
0
{'name': 'athena_source@05_explore/data-wrangler/99_GENERATED_Python_Code.py', 'description': 'Represents a source that handles Athena.\n\nNote: Input dataset_definition is a Mohave specific dataset definition and is different from Processing Job\ndataset definition.', 'signature': 'def athena_source(spark, mode, datas...
0
{'name': 'H3LIS331DL.select_datarate@grove/grove_3_axis_digital_accelerometer.py', 'description': 'Select the data rate of the accelerometer from the given provided values', 'signature': 'def select_datarate(self):'}</s>H3LIS331DL_REG_WHOAMI = 15
0
{'name': 'ETagResponseMixin._is_range_request_processable@blockchain-env/lib/python3.7/site-packages/werkzeug/wrappers/etag.py', 'description': 'Return ``True`` if `Range` header is present and if underlying\nresource is considered unchanged when compared with `If-Range` header.', 'signature': 'def _is_range_request_pr...
0
{'name': 'make_combined_mosaics@grizli/pipeline/auto_script.py', 'description': 'Drizzle combined mosaics\n\nmosaic_driz_cr_type : int\n (mosaic_driz_cr_type & 1) : flag CRs on all IR combined\n (mosaic_driz_cr_type & 2) : flag CRs on IR filter combinations\n (mosaic_driz_cr_type & 4) : flag CRs on all OPT com...
0
{'name': 'MultispeakerDictionaryMixin.save_oovs_found@montreal_forced_aligner/dictionary/multispeaker.py', 'description': 'Save all out of vocabulary items to a file in the specified directory\n\nParameters\n----------\ndirectory : str\n Path to directory to save ``oovs_found.txt``', 'signature': 'def save_oovs_foun...
0
{'name': 'pytest_unconfigure@Chapter02/tests/conftest.py', 'description': 'Called at the end of a test run', 'signature': 'def pytest_unconfigure(config):'}</s>{'name': 'empty_session_model@Chapter02/tests/conftest.py', 'description': 'DOCSTRING', 'code': 'def empty_session_model():\n return SessionModel()'}
0
{'name': '_makeTags@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'FollowedBy@SneakerBot 2019/venv/lib/python3.7...
0
{'name': 'View.viewconf@src/higlass/api.py', 'description': 'Consumes the current View into a top-level view config.\n\nReturns\n-------\nviewconf : A top-level HiGlass Viewconf.', 'signature': 'def viewconf(self, **kwargs):'}</s>vconcat = functools.partial(concat, "vertical")
0
{'name': '_GenerateMSVSProject@gyp/pylib/gyp/generator/msvs.py', 'description': 'Generates a .vcproj file. It may create .rules and .user files too.\n\nArguments:\n project: The project object we will generate the file for.\n options: Global options passed to the generator.\n version: The VisualStudioVersion object...
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': 'slide_mean@utils.py', 'description': 'Slide mean for better visualization.', 'signature': 'def slide_mean(data, window_half):'}</s>{'name': 'histogram_error_distribution@utils.py', 'description': 'Util function that compute the error histogram.\n\nParameters\n----------\ny_true : array-like of shape = [n_samp...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIACF_MOVABLE_APPL_COUNT = 1424
0
{'name': 'Display.grab_server@Monika After Story/game/python-packages/Xlib/display.py', 'description': 'Disable processing of requests on all other client connections\nuntil the server is ungrabbed. Server grabbing should be avoided\nas much as possible.', 'signature': 'def grab_server(self, onerror = None):'}</s>GCFun...
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': 'SubProgram._analyze_func@mando/core.py', 'description': 'Analyze the given function, merging default arguments, overridden\narguments (with @arg) and parameters extracted from the docstring.\n\n:param func: The function to analyze.\n:param doc_params: Parameters extracted from docstring.', 'signature': 'def _...
0
{'name': '_batched_write_command_impl@venv/Lib/site-packages/pymongo/message.py', 'description': 'Create a batched OP_QUERY write command.', 'signature': 'def _batched_write_command_impl('}</s>{'name': '_compress@venv/Lib/site-packages/pymongo/message.py', 'description': 'Takes message data, compresses it, and adds an ...
0
{'name': 'go@grizli/pipeline/auto_script.py', 'description': 'Run the full pipeline for a given target\n\nParameters\n----------\nroot : str\n Rootname of the `mastquery` file.\n\nextract_maglim : [min, max]\n Magnitude limits of objects to extract and fit.', 'signature': "def go(root='j010311+131615', "}</s>WISE...
0
{'name': 'ConfigObj.write@BlDevCube/lib.bflb_configobj.pyc.py', 'description': "Write the current ConfigObj as a file\n\ntekNico: FIXME: use StringIO instead of real files\n\n>>> filename = a.filename\n>>> a.filename = 'test.ini'\n>>> a.write()\n>>> a.filename = filename\n>>> a == ConfigObj('test.ini', raise_errors=Tru...
0
{'name': '_get_single_sp3_hydrogen_help@sidechainnet/structure/HydrogenBuilder.py', 'description': 'Torchscript helper for _get_single_sp3_hydrogen.', 'signature': 'def _get_single_sp3_hydrogen_help(center, R1, R2, R3):'}</s>AMINE_LEN = torch.tensor(1.01)
0
{'name': 'test_make_tiles_tile_bounds@test/test_mbtiler.py', 'description': 'Test if children tiles from z10 are created correctly', 'signature': 'def test_make_tiles_tile_bounds(x, y):'}</s>{'name': 'test_RGBtiler_format_fails@test/test_mbtiler.py', 'description': 'DOCSTRING', 'code': "def test_RGBtiler_format_fails()...
0
{'name': '_htmlentity_transform@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Transforms an HTML entity to a character.', 'signature': 'def _htmlentity_transform(entity_with_semicolon):'}</s>compat_re_Match = type(re.match('a', 'a'))
0
{'name': 'do_setup@versioneer.py', 'description': 'Do main VCS-independent setup function for installing Versioneer.', 'signature': 'def do_setup() -> int:'}</s>{'name': 'setup_command@versioneer.py', 'description': 'Set up Versioneer and exit with appropriate error code.', 'code': 'def setup_command() -> NoReturn:\n ...
0
{'name': 'PipelineSharedReadWrite.load@06_prepare/archive/spark/spark-2.4.6-bin-without-hadoop/python/pyspark/ml/pipeline.py', 'description': 'Load metadata and stages for a :py:class:`Pipeline` or :py:class:`PipelineModel`\n\n:return: (UID, list of stages)', 'signature': 'def load(metadata, sc, path):'}</s>{'name': 'B...
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': 'validateURL@src/feedvalidator/__init__.py', 'description': 'validate RSS from URL, returns events list, or (events, rawdata) tuple', 'signature': 'def validateURL(url, firstOccurrenceOnly=1, wantRawData=0):'}</s>{'name': 'ValidDoctype@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ...
0
{'name': 'validateURL@src/feedvalidator/__init__.py', 'description': 'validate RSS from URL, returns events list, or (events, rawdata) tuple', 'signature': 'def validateURL(url, firstOccurrenceOnly=1, wantRawData=0):'}</s>{'name': 'ObsoleteItunesCategory@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_...
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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQPMRF_FEEDBACK = 8
0
{'name': 'get_train_video@dataset/dataset.py', 'description': 'Chooses a random clip from a video for training/ validation\nArgs:\n opt : config options\n frame_path : frames of video frames\n Total_frames: Number of frames in the video\nReturns:\n list(frames) : random clip (list of frames of leng...
0
{'name': '_get_delocate_generator_header@delocate/delocating.py', 'description': "Return Delocate's version info to be appended to the WHEEL metadata.", 'signature': 'def _get_delocate_generator_header() -> tuple[str, str]:'}</s>{'name': 'tree_libs_from_directory@delocate/libsana.py', 'description': 'Return an analysis...
0
{'name': 'CacheList.remove_removed@shingetsu/cache.py', 'description': 'Remove removed record from disk.', 'signature': 'def remove_removed(self):'}</s>dat_port = _get_value(_extconf, 'Network', 'dat_port', 8001, 'int')
0
{'name': 'docopt@classes/docopt.py', 'description': 'Parse `argv` based on command-line interface described in `doc`.\n\n`docopt` creates your command-line interface based on its\ndescription that you pass as `doc`. Such description can contain\n--options, <positional-argument>, commands, which could be\n[optional], (r...
1
{'name': 'to_tk@discopy/quantum/tk.py', 'description': 'Takes a :class:`discopy.quantum.Circuit`, returns a :class:`Circuit`.', 'signature': 'def to_tk(circuit):'}</s>NOT_ADJOINT = "{} and {} are not adjoints."
0
{'name': 'LinuxSCSI.find_multipath_device@os_brick/initiator/linuxscsi.py', 'description': "Discover multipath devices for a mpath device.\n\nThis uses the slow multipath -l command to find a\nmultipath device description, then screen scrapes\nthe output to discover the multipath device name\nand it's devices.", 'signa...
0
{'name': 'lr_decay@config/utils.py', 'description': 'Method to decay the learning rate\n:param config: configuration\n:param optimizer: optimizer\n:param epoch: epoch number\n:return:', 'signature': 'def lr_decay(config, optimizer: optim.Optimizer, epoch: int) -> optim.Optimizer:'}</s>{'name': 'remove_entites@config/ut...
0
{'name': 'Constraint.__repr__@linopy/constraints.py', 'description': 'Print the constraint arrays.', 'signature': 'def __repr__(self) -> str:'}</s>{'name': '_con_unwrap@linopy/constraints.py', 'description': 'DOCSTRING', 'code': 'def _con_unwrap(con: Constraint | Dataset) -> Dataset:\n return con.data if isinstance(...
0
{'name': 'MarketstoreStub.__init__@pymarketstore/proto/marketstore_pb2_grpc.py', 'description': 'Constructor.\n\nArgs:\n channel: A grpc.Channel.', 'signature': 'def __init__(self, channel):'}</s>INT32 = 2
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': 'ProvisioningView.create@nssmf/views.py', 'description': 'Allocate Network Slice Subnet Instance.\nAllocate a new individual Network Slice Subnet Instance', 'signature': 'def create(self, request, *args, **kwargs):'}</s>ROOT_URLCONF = "free5gmano.urls"
0