text
string
label
int64
{'name': 'MempoolPackagesTest.run_test@test/functional/mempool_packages.py', 'description': 'Mine some blocks and have them mature. ', 'signature': 'def run_test(self):'}</s>MAX_ANCESTORS = 25
1
{'name': 'Template._addCheetahPlumbingCodeToClass@Cheetah/Template.py', 'description': 'If concreteTemplateClass is not a subclass of Cheetah.Template, add\nthe required cheetah methods and attributes to it.\n\nThis is called on each new template class after it has been compiled.\nIf concreteTemplateClass is not a subc...
0
{'name': 'validate_F@xmldiff/main.py', 'description': 'Type function for argparse - a float within some predefined bounds', 'signature': 'def validate_F(arg):'}</s>{'name': 'diff_command@xmldiff/main.py', 'description': 'DOCSTRING', 'code': 'def diff_command(args=None):\n parser = make_diff_parser()\n args = pars...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQ_MAX_USER_ID_LENGTH = 64
0
{'name': 'parse_atom@classes/docopt.py', 'description': "atom ::= '(' expr ')' | '[' expr ']' | 'options'\n| long | shorts | argument | command ;", 'signature': 'def parse_atom(tokens, options):'}</s>{'name': 'parse_pattern@classes/docopt.py', 'description': 'DOCSTRING', 'code': "def parse_pattern(source, options):\n ...
0
{'name': 'UniqueTypesTestCase.test@lldb/packages/Python/lldbsuite/test/lang/cpp/unique-types/TestUniqueTypes.py', 'description': 'Test for unique types of std::vector<long> and std::vector<short>.', 'signature': 'def test(self):'}</s>PROCESS_KILLED = "Process is killed successfully"
0
{'name': 'IUSequence.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load sequence data from the configuration', 'signature': 'def load(self, config: OrderedDict) -> "IUSequence":'}</s>{'name': 'IUScheduleQueue@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'descr...
0
{'name': 'Stocks.get_instant_detail@src/tehran_stocks/models/stocks.py', 'description': 'get instant detail of stock\nlast_price, last_close, last_open, last_high, last_low, last_vol, trade_count, trade_value,market_cap\ninstantly from the website\n\nReturns:\n dict: { last_price, last_close, last_open, last_high, l...
0
{'name': 'train@fairseq_cli/train.py', 'description': 'Train the model for one epoch and return validation losses.', 'signature': 'def train('}</s>{'name': 'log_speed@fairseq/logging/metrics.py', 'description': 'Log the rate of some quantity per second.\n\nArgs:\n key (str): name of the field to log\n value (floa...
0
{'name': 'tag@jpush/push/audience.py', 'description': 'Select a (list of) tag(s).', 'signature': 'def tag(*tags):'}</s>{'name': 'abtest@jpush/push/audience.py', 'description': 'Select a (list of) abtest(s).', 'code': 'def abtest(*abtests):\n """Select a (list of) abtest(s)."""\n vabtest = [t for t in abtests]\n ...
0
{'name': 'Contract.make_asts@panoramix/contract.py', 'description': 'we need to do ast creation from the contract, not function level,\nbecause some simplifications (type/field removal) require insight to all the functions,\nnot just a single one', 'signature': 'def make_asts(self):'}</s>{'name': 'merge_ifs@panoramix/f...
0
{'name': 'xgseedArchiveExport@scripts/appleseedMaya/xgenseed.py', 'description': 'Main archive export callback.\nArguments are passed in self.invokeArgs', 'signature': 'def xgseedArchiveExport(selfid):'}</s>{'name': 'xgseedArchiveExportInfo@scripts/appleseedMaya/xgenseed.py', 'description': 'Export Info callback. Must ...
0
{'name': 'deserialize@streaming/python/raystreaming/function.py', 'description': 'Deserialize a binary function serialized by `serialize` method.', 'signature': 'def deserialize(func_bytes):'}</s>{'name': 'Language@streaming/python/raystreaming/function.py', 'description': 'DOCSTRING', 'base_classes': ['enum.Enum'], 'm...
0
{'name': 'ImportErrorTests.test_no_module@didyoumean/didyoumean_sugg_tests.py', 'description': "Should be 'math'.", 'signature': 'def test_no_module(self):'}</s>NAMEERROR = (NameError, re.NAMENOTDEFINED_RE)
0
{'name': 'Dispatch.__getattr__@comtypes/client/lazybind.py', 'description': 'Get a COM attribute.', 'signature': 'def __getattr__(self, name):'}</s>VT_VOID = 24
0
{'name': 'GaussianDiffusion.q_posterior_mean_variance@src/modeling/diffusion/gaussian_diffusion.py', 'description': 'Compute the mean and variance of the diffusion posterior:\n\n q(x_{t-1} | x_t, x_0)\n\n- Equation (7) of DDPM paper.', 'signature': 'def q_posterior_mean_variance(self, x_start, x_t, t):'}</s>{'name':...
0
{'name': 'check_create_table@databricks-adx-integration/src/code/functions/adxingestp2/__app__/dataingest/__init__.py', 'description': 'create and rename table\n ', 'signature': 'def check_create_table(table_name):'}</s>EVENT_SUBJECT_FILTER_REGEX = "(.*?)[0-9].json"
0
{'name': 'GroupFitter.xfit_redshift@grizli/fitting.py', 'description': 'Two-step procedure for fitting redshifts\n\n1. polynomial, spline template fits\n2. redshift grids\n3. ...\n\nParameters\n----------\nprior : None, (array, array)\n Redshift prior (z, pz). Will be interpolated to the redshift\n fit grid\n\nt...
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': '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_tick_marks@lib/util.py', 'description': 'DOCSTRING', 'code': "def draw_tick_marks(im, ti...
0
{'name': 'lint@scripts/build.py', 'description': 'Run all linters and type checkers in order of importance - returns the first non-zero exit code or zero.', 'signature': 'def lint(*, fix: bool = False) -> None:'}</s>{'name': 'main@scripts/build.py', 'description': 'DOCSTRING', 'code': 'def main() -> None:\n app()'}
0
{'name': 'prepare_kb_envrioment@src/data_utils.py', 'description': 'Process KB data which was saved as a set of triples.\n (a) Remove train and test triples from the KB envrionment.\n (b) Add reverse triples on demand.\n (c) Index unique entities and relations appeared in the KB.\n\n:param raw_kb_path: Path to...
1
{'name': 'TestCommon.test_series_dtype_int_5@tests/unit_tests/report/test_common.py', 'description': 'Test int and categorical series', 'signature': 'def test_series_dtype_int_5(self):'}</s>{'name': 'display_value@eurybia/report/common.py', 'description': "Display a value as a string with specific format.\nParameters\n...
0
{'name': 'engine.classical@src/bids/external/inflect.py', 'description': 'turn classical mode on and off for various categories\n\nturn on all classical modes:\nclassical()\nclassical(all=True)\n\nturn on or off specific claassical modes:\ne.g.\nclassical(herd=True)\nclassical(names=False)\n\nBy default all classical m...
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>DATE_FORMATS = ( '%d %B %Y', '%d %b %Y', '%B %d %Y', '%B %dst %Y', '%B %dnd %Y', '%B...
0
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>PF_SYNCOOKIES_NEVER = 0
0
{'name': 'generate_routes_go@swagger_to/go_server.py', 'description': 'Generate the file which defines the router and the routes.\n\n:param package: name of the package\n:param routes: routes that the router will handle.\n:return: Golang code', 'signature': 'def generate_routes_go(package: str, routes: List[Route]) -> ...
0
{'name': 'render_pep440_pre@versioneer.py', 'description': 'TAG[.post.devDISTANCE] -- No -dirty.\n\nExceptions:\n1: no tags. 0.post.devDISTANCE', 'signature': 'def render_pep440_pre(pieces):'}</s>{'name': 'git_get_keywords@versioneer.py', 'description': 'Extract version information from the given file.', 'code': 'def g...
0
{'name': 'handle_backlog@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/ordering.py', 'description': 'submit the next item in the _backlog if it is non-empty or clean up the\n_BACKFILL and _bqlock files.\nArgs:\n gcs_client: storage.Client\n bq_client: bigquery.Client\n bkt: storage.Buck...
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': 'CortexM.write_core_registers_raw@pyocd/coresight/cortex_m.py', 'description': 'Write one or more core registers\n\nWrite core registers in reg_list with the associated value in\ndata_list. If any register in reg_list is a string, find the number\nassociated to this register in the lookup table CORE_REGISTER....
0
{'name': 'PostgresNode.__init__@testgres/node.py', 'description': "PostgresNode constructor.\n\nArgs:\n name: node's application name.\n port: port to accept connections.\n base_dir: path to node's data directory.\n bin_dir: path to node's binary directory.", 'signature': 'def __init__(self, name=None, base...
0
{'name': 'ctype2ext@meza/convert.py', 'description': "Converts an http content type to a file extension.\n\nArgs:\n content_type (str): Output file path or directory.\n\nReturns:\n str: file extension\n\nExamples:\n >>> ctype2ext('/csv;') == 'csv'\n True\n >>> ctype2ext('/xls;') == 'xls'\n True\n >...
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': 'SyntaxErrorTests.test_nonlocal3@didyoumean/didyoumean_sugg_tests.py', 'description': 'nonlocal must be used only when binding to non-global exists.', 'signature': 'def test_nonlocal3(self):'}</s>{'name': 'from_version@didyoumean/didyoumean_sugg_tests.py', 'description': 'Create tuple describing a range of ver...
0
{'name': 'prune_cmdstan@python/setup.py', 'description': 'Keep only the cmdstan executables and tbb files (minimum required to run a cmdstanpy commands on a pre-compiled model).', 'signature': 'def prune_cmdstan(cmdstan_dir: str) -> None:'}</s>about = {}
0
{'name': 'TrainableIvectorExtractor.add_config@montreal_forced_aligner/ivector/trainer.py', 'description': 'Add a trainer to the pipeline\n\nParameters\n----------\ntrain_type: str\n Type of trainer to add, one of "dubm", "ivector", or "plda"\nparams: dict[str, Any]\n Parameters to initialize trainer\n\nRaises\n-...
0
{'name': 'parse_ionex@laika/iono.py', 'description': ':param ionex_file: path to the IONEX file\n:return: TEC interpolation function `f( (lat,lon), datetime )`', 'signature': 'def parse_ionex(ionex_file):'}</s>{'name': 'closest_in_list@laika/iono.py', 'description': 'Returns two (`num` in general) closest values of `va...
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>{'name': 'IsDerivedFunction@third_party/cpplint/cpplint.py', 'description': 'Check if current l...
0
{'name': 'Context.__init__@lib/rule_engine/engine.py', 'description': ':param int regex_flags: The flags to provide to functions in the :py:mod:`re` module when calling either the\n :py:func:`~re.match` or :py:func:`~re.search` functions for comparison expressions.\n:param resolver: An optional callback function...
0
{'name': 'check_multiple_rvt_shift_opts@src/python_scripts/afnipy/lib_physio_opts.py', 'description': "Can only use at most one '-rvt_shift*' opt. Simplest to check for\nthat at one time.\n\nParameters\n----------\nargs_dict : dict\n The dictionary of arguments and option values.\n\nReturns\n-------\nis_bad : int\n...
0
{'name': 'plot_graph@osmnx/plot.py', 'description': "Visualize a graph.\n\nParameters\n----------\nG\n Input graph.\nax\n If not None, plot on this pre-existing axes instance.\nfigsize\n If `ax` is None, create new figure with size `(width, height)`.\nbgcolor\n Background color of the figure.\nnode_color\n ...
1
{'name': 'ParserElement.setDebugActions@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Enable display of debugging messages while doing pattern matching.', 'signature': 'def setDebugActions( self, startAction, successAction, exceptionAction ):'}</s>{'name': 'MatchFirst@tests/_lib_vendors/pkg_re...
0
{'name': 'create_database@Twitch Plays Nintendo Switch/Archive/CommunityController v1/Fortnite/main.py', 'description': 'A, B, X, Y, L, R, ZL, ZR, up, down, left, right, left joystick, right joystick, select', 'signature': 'def create_database() -> None:'}</s>TWITCH_PORT = 6667
0
{'name': 'dijkstra@lndmanage/lib/pathfinding.py', 'description': 'Wrapper for calculating a shortest path given a weight function.\n\n:param graph: networkx graph\n:param source: find a path from this key\n:param target: to this key\n:param weight: weight function, takes node_from (pubkey from), node_to (pubkey to), ch...
0
{'name': 'intersect_downstream_lines@oggm/core/centerlines.py', 'description': 'Find tributaries to a main glacier by intersecting downstream lines\n\nThe GlacierDirectories must at least contain a `downstream_line`.\nIf you have a lot of candidates, only execute the necessary tasks for that\nand do the rest of the pre...
0
{'name': 'now@yaql/standard_library/date_time.py', 'description': ':yaql:now\n\nReturns the current local date and time.\n\n:signature: now(offset => timespan(0))\n:arg offset: datetime offset in microsecond resolution, needed for tzinfo,\n timespan(0) by default\n:argType offset: timespan type\n:returnType: datetim...
0
{'name': 'LogisticRegression.compute_on_sql_magic_mode@models.py', 'description': 'Gets the coefficients by minimizing the cost function.\n\nWe use iteratively reweighted least squares algorithm to solve the model.\nThe algorithm is described in\nhttps://colab.research.google.com/drive/1Srfs4weM4LO9vt1HbOkGrD4kVbG8cso8...
0
{'name': 'Zeroconf.unregisterService@stino/pyarduino/base/zeroconf.py', 'description': 'Unregister a service.', 'signature': 'def unregisterService(self, info):'}</s>{'name': 'DNSPointer@stino/pyarduino/base/zeroconf.py', 'description': 'A DNS pointer record', 'base_classes': ['DNSRecord'], 'methods': [{'name': 'DNSPoi...
1
{'name': 'subdir_checks@source/speed-cam.py', 'description': 'Check if motion SubDir needs to be created', 'signature': 'def subdir_checks(maxHours, maxFiles, directory, prefix):'}</s>{'name': 'log_to_csv@source/speed-cam.py', 'description': 'Store date to a comma separated value file', 'code': 'def log_to_csv(csv_file...
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': 'Decoder.forward@model.py', 'description': 'Decoder forward pass for training\nPARAMS\n------\nmemory: Encoder outputs. (B, seq_len, encoder_embedding_dim + prosody_embedding_dim + speaker_embedding_dim)\ndecoder_inputs: Decoder inputs for teacher forcing. i.e. mel-specs\nmemory_lengths: Encoder output lengths...
0
{'name': 'TestFillingCustomFields.test_uses_generator_function_for_custom_foreignkey@tests/test_filling_fields.py', 'description': 'Should use the generator function passed as a value for the add method', 'signature': 'def test_uses_generator_function_for_custom_foreignkey(self, custom_cfg):'}</s>{'name': 'NonAbstractP...
0
{'name': 'Iface.removeSupervisors@jstorm-on-yarn/src/main/gen-py/JstormAM/JstormAM.py', 'description': 'Parameters:\n - number', 'signature': 'def removeSupervisors(self, number):'}</s>{'name': 'SubmitOptions@jstorm-core/src/main/py/storm/ttypes.py', 'description': 'Attributes:\n - initial_status\n - creds', 'base_clas...
0
{'name': 'DjangoField.formfield@django_neomodel/__init__.py', 'description': 'Returns a django.forms.Field instance for this database Property.', 'signature': 'def formfield(self, **kwargs):'}</s>{'name': 'classproperty@django_neomodel/__init__.py', 'description': 'DOCSTRING', 'code': 'def classproperty(f):\n class ...
0
{'name': 'IncInterfaceGenerator.do_table3_transformation@da/compiler/incgen.py', 'description': "Transformation defined in Table 3 of OOPSLA paper.\n\nThis transforms single quantifications over comparisons into min/max\naggregates. Returns None if table 3 can not be applied to 'node'.", 'signature': 'def do_table3_tra...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCACF_STRING_DATA = 3035
0
{'name': 'PFAddr._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, a):'}</s>PFSTATE_SETMASK = PFSTATE_SETTOS|PFSTATE_SETPRIO
0
{'name': 'cli@bench.py', 'description': 'A benchmark suite for Scrapy.', 'signature': 'def cli(ctx, n_runs, only_result, upload_result, book_url, vmprof, set):'}</s>{'name': 'commandoption@bench.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'commandoption.__init__@bench.py', 'descrip...
1
{'name': 'profile@src/utils/logger.py', 'description': 'Usage:\n@profile("my_func")\ndef my_func(): code', 'signature': 'def profile(n):'}</s>INFO = 20
0
{'name': 'PipelineParallelTransformerModel.build_model_base@fairseq/model_parallel/models/pipeline_parallel_transformer/model.py', 'description': 'Build a new model instance.', 'signature': 'def build_model_base(cls, args, task):'}</s>{'name': 'deprecation_warning@fairseq/utils.py', 'description': 'DOCSTRING', 'code': ...
0
{'name': 'request_get_body@wrappers/python/indy_vdr/bindings.py', 'description': 'Get the canonical signature input for a prepared request.', 'signature': 'def request_get_body(handle: RequestHandle) -> str:'}</s>{'name': 'RequestHandle@wrappers/python/indy_vdr/bindings.py', 'description': 'Index of an active Request i...
1
{'name': 'suggest_name_as_special_case@didyoumean/didyoumean_internal.py', 'description': 'Suggest that name could be handled in a special way.', 'signature': 'def suggest_name_as_special_case(name):'}</s>{'name': 'suggest_name_as_standard_module@didyoumean/didyoumean_internal.py', 'description': "Suggest that name cou...
0
{'name': '_NamespaceInfo.CheckEnd@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check end of namespace comments.', 'signature': 'def CheckEnd(self, filename, clean_lines, linenum, error):'}</s>{'name': '_NamespaceInfo@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Stores information about a namespa...
1
{'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': 'tally@util/runningstats.py', 'description': "To use tally, write code like the following.\n\n stat = Mean()\n ds = MyDataset()\n for batch in tally(stat, ds, cache='mymean.npz', batch_size=50):\n stat.add(batch)\n mean = stat.mean()\n\nThe first argument should be the Stat being computed. Af...
0
{'name': 'convert_model_fields_to_ldap_fields@django_python3_ldap/utils.py', 'description': 'Converts a set of model fields into a set of corresponding\nLDAP fields.', 'signature': 'def convert_model_fields_to_ldap_fields(model_fields):'}</s>{'name': 'format_search_filter@django_python3_ldap/utils.py', 'description': '...
0
{'name': 'change_widget_color@Contents/scripts/siweighteditor/qt.py', 'description': '引数\nwidget 色を変えたいウィジェットオブジェクト\nbgColor 背景色をRGBのリストか0~255のグレースケールで指定、省略可能。', 'signature': 'def change_widget_color(widget, '}</s>{'name': 'change_border_style@Contents/scripts/siweighteditor/qt.py', 'description': 'DOCSTRING', 'code': ...
0
{'name': 'plot_sounding_data_uwyo@pymeteo/skewt.py', 'description': 'Plot SkewT from University of Wyoming sounding data\n\n:param filename: The name of the file containing sounding data\n:type filemane: str\n:param output: The name of the file to output plot\n:type output: str\n:param stationID: The station ID of a so...
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': 'XAttrUnavailableError@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'DOCSTRING...
0
{'name': 'train@ddparser/run.py', 'description': 'Train', 'signature': 'def train(env):'}</s>{'name': 'NODE@ddparser/parser/data_struct/utils.py', 'description': 'NODE class', 'base_classes': [], 'methods': [{'name': 'NODE.__init__@ddparser/parser/data_struct/utils.py', 'description': 'DOCSTRING', 'code': 'def __init__...
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': '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_packages_from_download_list@pkgs/applications/office/libreoffice/generate-libreoffice-srcs.py', 'description': "The result of parsing `download.lst`: A list of dicts containing keys\n'name', 'tarball', 'md5', 'brief'.", 'signature': 'def get_packages_from_download_list():'}</s>{'name': 'interpret_tarball@...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>md = MD
0
{'name': 'ensure_subnet@aegea/util/aws/__init__.py', 'description': 'Find and return a subnet in the given VPC, or create one subnet per AZ and return one of them if no suitable subnet\nis found.', 'signature': 'def ensure_subnet(vpc, availability_zone=None, assign_ipv6_cidr_blocks=False):'}</s>{'name': 'get_ondemand_p...
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': 'subexpressions@aimacode/utils.py', 'description': 'Yield the subexpressions of an Expression (including x itself).',...
0
{'name': '_Printer._FieldToJsonObject@python/google/protobuf/json_format.py', 'description': 'Converts field value according to Proto3 JSON Specification.', 'signature': 'def _FieldToJsonObject(self, field, value):'}</s>{'name': 'UnicodeValueChecker@python/google/protobuf/internal/type_checkers.py', 'description': 'Che...
0
{'name': 'repl@todoman/cli.py', 'description': 'Start an interactive shell.', 'signature': 'def repl(ctx: click.Context) -> None:'}</s>{'name': 'AlreadyExistsError@todoman/exceptions.py', 'description': 'Raised when two objects have a same identity.\n\nThis can ocurrs when two lists have the same name, or when two Todo...
0
{'name': 'RunInReactorTests.test_signature@crochet/tests/test_api.py', 'description': 'The function decorated with the run_in_reactor decorator has the same\nsignature as the original function.', 'signature': 'def test_signature(self):'}</s>run_in_reactor = _main.run_in_reactor
1
{'name': 'rdf_type_candidates@utils/query_graph_to_sparql.py', 'description': ' Takes in path ID (continous IDs, not glove vocab).\n And return type candidates (in continous IDs)\n based on whether we want URI or X candidates\n:param data:\n:param path_id:\n:param relations:\n:param reverse_vocab:\n:param ...
0
{'name': '_IncludeState.CheckNextIncludeOrder@scripts/cpplint.py', 'description': "Returns a non-empty error message if the next header is out of order.\n\nThis function also updates the internal state to be ready to check\nthe next include.\n\nArgs:\n header_type: One of the _XXX_HEADER constants defined above.\n\nRe...
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>MQSQQM_IGNORE = 1
0
{'name': 'Client.client_id@mqttools/client.py', 'description': 'The client identifier string.\n\n ', 'signature': 'def client_id(self):'}</s>{'name': 'SubackReasonCode@mqttools/common.py', 'description': 'DOCSTRING', 'base_classes': ['enum.IntEnum'], 'methods': []}
0
{'name': 'has_gease@setup.py', 'description': 'test if github release command is installed\n\nvisit http://github.com/moremoban/gease for more info', 'signature': 'def has_gease():'}</s>{'name': 'PublishCommand@setup.py', 'description': 'Support setup.py upload.', 'base_classes': ['Command'], 'methods': [{'name': 'Publ...
0
{'name': 'EntityGroupTest.test_get_all_entities_active@entity/tests/model_tests.py', 'description': 'Makes sure only active entity ids are returned', 'signature': 'def test_get_all_entities_active(self):'}</s>{'name': 'TeamGroup@entity/tests/models.py', 'description': 'A grouping of teams.', 'base_classes': ['BaseEntit...
0
{'name': 'MaskedBodyBuilder.build_layer@03_pruning/helpers/masked_body_builder.py', 'description': 'Function specifies the specific network layer (allow masking)\nMasked Linear L Ex: ["linear", out_dim, bias_boolean]\nMaske Convol L Ex: ["conv2d", out_channels,\n kernel_size, stride, padd...
1
{'name': 'test_create_new_symbol@unyt/tests/test_units.py', 'description': 'Create unit with unknown symbol.', 'signature': 'def test_create_new_symbol():'}</s>{'name': 'test_create_fail_on_bad_dimensions_type@unyt/tests/test_units.py', 'description': 'Fail to create unit with bad dimensions type.', 'code': 'def test_c...
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': 'git_pieces_from_vcs@versioneer.py', 'description': "Get version from 'git describe' in the root of the source tree.\n\nThis only gets called if the git-archive 'subst' keywords were *not*\nexpanded, and _version.py hasn't already been rewritten with a short\nversion string, meaning we're inside a checked out ...
0
{'name': 'makedb@cblaster/database.py', 'description': 'makedb module entry point.\n\nWill parse genome files in `paths` and create:\n\n 1. `database`.sqlite3\n SQLite3 database used for looking up genome context of hit genes\n\n 2. `database`.dmnd\n DIAMOND search database\n\n 3. `database`.fasta\n F...
0
{'name': 'Router.add@src/back/kite/bottle.py', 'description': 'Add a new rule or replace the target for an existing rule. ', 'signature': 'def add(self, rule, method, target, name=None):'}</s>{'name': 'touni@src/back/kite/bottle.py', 'description': 'DOCSTRING', 'code': "def touni(s, enc='utf8', err='strict'):\n retu...
0
{'name': '_verify_mpl@osmnx/plot.py', 'description': 'Verify that matplotlib is installed and imported.', 'signature': 'def _verify_mpl() -> None:'}</s>{'name': 'to_digraph@osmnx/convert.py', 'description': 'Convert MultiDiGraph to DiGraph.\n\nChooses between parallel edges by minimizing `weight` attribute value. See\n...
0
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>VOLUME_FLAGS_COLORMAP = 2
0
{'name': 'finalize@scripts/schema/finalizer.py', 'description': 'Intended entrypoint of the finalizer.', 'signature': 'def finalize(fields):'}</s>{'name': 'perform_reuse@scripts/schema/finalizer.py', 'description': 'Performs field reuse in two phases', 'code': 'def perform_reuse(fields):\n """Performs field reuse in...
1
{'name': 'validate_properties@pre_commit_hooks/check_jamf_json_manifests.py', 'description': 'Given a list of properties, run validation on their contents.', 'signature': 'def validate_properties(properties, filename):'}</s>PLIST_TYPES = { "string": str, "boolean": bool, "dict": dict, "dictionary": dict...
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': 'ReplaceByFeeTest.test_doublespend_chain@qa/rpc-tests/replace-by-fee.py', 'description': 'Doublespend of a long chain', 'signature': 'def test_doublespend_chain(self):'}</s>OP_1SUB = CScriptOp(0x8c)
0
{'name': 'CheckForNonConstReference@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check for non-const references.\n\nSeparate from CheckLanguage since it scans backwards from current\nline, instead of scanning forward.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instan...
0
{'name': 'FoundationTestCase2.test_more_expr_commands@tools/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods2.py', 'description': 'More expression commands for objective-c.', 'signature': 'def test_more_expr_commands(self):'}</s>{'name': 'disassemble@tools/lldb/packages/Python/lldbsuite/test/lld...
0