text
string
label
int64
{'name': 'main@selection_pipeline/multipipeline.py', 'description': 'Main function for multi_population\n\nReads config and options and runs the multi_population\npipeline', 'signature': 'def main():'}</s>{'name': '__queue_worker__@selection_pipeline/standard_run_utilities.py', 'description': 'DOCSTRING', 'code': 'def ...
0
{'name': 'prepare_dataset_prefix@packnet_sfm/utils/logging.py', 'description': 'Concatenates dataset path and split for metrics logging\n\nParameters\n----------\nconfig : CfgNode\n Dataset configuration\ndataset_idx : int\n Dataset index for multiple datasets\n\nReturns\n-------\nprefix : str\n Dataset prefix...
0
{'name': 'test_pool_Sv_values@echopype/tests/clean/test_noise.py', 'description': 'Manually check if the pooled Sv for transient noise masking contains \nthe correct nan boundary and the correct bin aggregate values.', 'signature': 'def test_pool_Sv_values(chunk, func):'}</s>{'name': 'downsample_upsample_along_depth@ec...
0
{'name': 'lift_blocks@maf/impl/naiveLiftUp.py', 'description': 'Lift the given blocks file to a new reference using the given pairwise alignments file.\n\nThe pairwise alignments must point from the old reference to the new.', 'signature': 'def lift_blocks(alignments, blocks, other_genome, output):'}</s>{'name': 'lift_...
1
{'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': 'fpIsPositive@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point isPositive expression.\n ', 'code': 'def...
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': 'LogException.__writeLog@boxx/tool/toolLog.py', 'description': '判断是否打印和写入', 'signature': 'def __writeLog(self,strr):'}</s>gsAttrDic = {}
0
{'name': 'DebPkgToolsTestCase.test_update_conffiles_exclude@deb_pkg_tools/tests.py', 'description': 'Test ``build_package(update_conffiles=True)`` with an exclude.', 'signature': 'def test_update_conffiles_exclude(self):'}</s>IS_TRAVIS = coerce_boolean(os.environ.get('TRAVIS', 'false'))
0
{'name': 'DockerContainerSensor.update@docker_monitor/sensor.py', 'description': 'Get the latest data for the states.', 'signature': 'def update(self):'}</s>CONTAINER_MONITOR_CPU_PERCENTAGE = "container_cpu_percentage_usage"
1
{'name': 'FormParser.start_input@social_auth/tests/base.py', 'description': 'Parse input fields, we only keep data for fields of type text,\nhidden or password and that has a valid name.', 'signature': 'def start_input(self, attributes):'}</s>{'name': 'FormParserByID@social_auth/tests/base.py', 'description': 'Form par...
0
{'name': 'parse_tcsh_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for tcsh scripter.\n\nInput\n-----\nargv : list of args (not including prog name)\n\nReturn\n------\n\niopts : an object with the argument values stored, including a\n self-"check_req()" method, as well.', 'signature...
0
{'name': 'render@src/nccutil/_version.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'run_command@src/nccutil/_version.py', 'description': 'Call the given command(s).', 'code': 'def run_command(commands, args, cwd=None, verbose=Fal...
0
{'name': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': '_mk_fp_unary@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def _mk_fp_unary(f, rm, a, ctx):\n ...
0
{'name': 'LinksRepository.find_links@etc/scripts/utils_thirdparty.py', 'description': 'Return a list of link URLs found in the HTML page at `self.url`', 'signature': 'def find_links(self, _CACHE=[]):'}</s>{'name': 'PypiSimpleRepository@etc/scripts/utils_thirdparty.py', 'description': 'A PyPI repository of Python packag...
0
{'name': 'shows@boxx/ylimg/ylimgTool.py', 'description': '图片展示分析工具 使用浏览器同步显示同一图像的不同数据表示 如不同通道的image,gt,resoult \n支持放大缩小与拖拽\n\nParameters\n----------\nimgs : list include path or np.ndarray \n 图片地址或图片np.ndarray 组成的list 要求所有图片宽高相同', 'signature': 'def shows(*imgs, png=False, coln=None):'}</s>{'name': 'warpResize@boxx/...
0
{'name': 'View.save_pick_properties@picasso/gui/render.py', 'description': "Saves picks' properties in a given channel to path.\n\nProperties include number of locs, mean and std of all locs\ndtypes (x, y, photons, etc) and others.\n\nParameters\n----------\npath : str \n Path for saving picks' properties.\nchannel ...
0
{'name': 'mpl_palette@nelpy/plotting/palettes.py', 'description': 'Return discrete colors from a matplotlib palette.\n\nNote that this handles the qualitative colorbrewer palettes\nproperly, although if you ask for more colors than a particular\nqualitative palette can provide you will get fewer than you are\nexpecting...
0
{'name': 'spbasis_from_MomSpaceBasis@doc/src/week46/Programs/NeutronMatterCCD_Ladders.py', 'description': 'converts a lattice to a single particle basis for spin-isospin degeneracy st_degen\nparam lattice_vecs: list of lattice vectors for 1st particle\nparam st_degen: spin-isospin degeneracy\nreturn: basis as a list of...
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.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQCMD_START_SERVICE = 155
0
{'name': 'test_cross_module_gil_nested_pybind11_released@bindings/python/ext/pybind11/tests/test_gil_scoped.py', 'description': 'Makes sure that the GIL can be nested acquired/released by another module\nfrom a GIL-released state using pybind11 locking logic.', 'signature': 'def test_cross_module_gil_nested_pybind11_re...
0
{'name': 'Merger.get_mod_edit_info@bcml/mergers/__init__.py', 'description': 'Gets a list of modified items in mod for this merger', 'signature': 'def get_mod_edit_info(self, mod: util.BcmlMod) -> set:'}</s>{'name': 'is_file_modded@bcml/util.py', 'description': 'DOCSTRING', 'code': 'def is_file_modded(name: str, file: ...
0
{'name': 'BMP3XX.pressure@python/samples/bmp390.py', 'description': 'The pressure in hPa.', 'signature': 'def pressure(self):'}</s>_REGISTER_STATUS = const(0x03)
0
{'name': 'connect_to_usb_bitbox@py/send_message.py', 'description': 'Connects and runs the main menu on a BitBox02 connected\nover USB.', 'signature': 'def connect_to_usb_bitbox(debug: bool, use_cache: bool) -> int:'}</s>ERR_USER_ABORT = 104
0
{'name': 'REP.__init__@rep0/rep.py', 'description': 'Init object from an open REP file object.', 'signature': 'def __init__(self, rep_file):'}</s>{'name': 'Author@rep0/rep.py', 'description': "Represent REP authors.\n\nAttributes:\n\n + first_last : str\n The author's full name.\n\n + last_first : str\n ...
1
{'name': 'test_units@tests/test_compose.py', 'description': 'test unit parsing', 'signature': 'def test_units():'}</s>XLINK = "{%s}" % XLINK_NAMESPACE
0
{'name': 'ResetNolintSuppressions@scripts/cpplint.py', 'description': 'Resets the set of NOLINT suppressions to empty.', 'signature': 'def ResetNolintSuppressions():'}</s>{'name': '_ClassInfo@scripts/cpplint.py', 'description': 'Stores information about a class.', 'base_classes': ['_BlockInfo'], 'methods': [{'name': '_...
0
{'name': 'TestEmbeddedDocumentField.test__parent__init__method_included_in_init_chain@tests/test_db_fields.py', 'description': 'Test to protect from accidental incorrect __init__ method overwrite.', 'signature': 'def test__parent__init__method_included_in_init_chain(self, db, mocker):'}</s>{'name': 'TestDynamicField@te...
0
{'name': 'calculate_hidden_flow@experiments/causal_trace.py', 'description': 'Runs causal tracing over every token/layer combination in the network\nand returns a dictionary numerically summarizing the results.', 'signature': 'def calculate_hidden_flow('}</s>{'name': 'make_generator_transform@experiments/causal_trace.p...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQMCAT_PROCESS = 1
1
{'name': 'RepeatChart.interactive@altair/vegalite/v3/api.py', 'description': 'Make chart axes scales interactive\n\nParameters\n----------\nname : string\n The selection name to use for the axes scales. This name should be\n unique among all selections within the chart.\nbind_x : boolean, default True\n If tru...
0
{'name': 'babel_extract@venv/Lib/site-packages/jinja2/ext.py', 'description': 'Babel extraction method for Jinja templates.\n\n.. versionchanged:: 2.3\n Basic support for translation comments was added. If `comment_tags`\n is now set to a list of keywords for extraction, the extractor will\n try to find the best...
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': 'create_for_single_files_subcommand@ascmhl/commands.py', 'description': 'Creates a new gener...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQDXP_CURRENT_VERSION = 2
0
{'name': 'get_local_part@src/future/backports/email/_header_value_parser.py', 'description': 'local-part = dot-atom / quoted-string / obs-local-part\n\n ', 'signature': 'def get_local_part(value):'}</s>{'name': 'Mailbox@src/future/backports/email/_header_value_parser.py', 'description': 'DOCSTRING', 'base_classes': ...
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': 'main@agfusion/cli.py', 'description': 'Main function for processing command line options', 'signature': 'def main():'}</s>{'name': 'JAFFA@agfusion/parsers.py', 'description': 'JAFFA parser.', 'base_classes': ['_Parser'], 'methods': [{'name': 'JAFFA.__init__@agfusion/parsers.py', 'description': 'DOCSTRING', 'c...
0
{'name': 'HTTPRequest.read_request_line@cheroot/server.py', 'description': "Read and parse first line of the HTTP request.\n\nReturns:\n bool: True if the request line is valid or False if it's malformed.", 'signature': 'def read_request_line(self): # noqa: C901 # FIXME'}</s>comma_separated_headers = [ b'Accep...
0
{'name': 'search@ytmdl/core.py', 'description': 'Search the song on YouTube, ask the user for an input and accordingly\nreturn a selected song.\n\nThe song can be extracted either from an URL or the name. If the name is\npresent, we will search on YouTube for the name, ask the user for a choice\nand accordingly return ...
0
{'name': 'MetricFormatter.__call__@confidence_interval_display.py', 'description': "Format elements in x - the metric column, for meaningful display.\n\nArgs:\n x: The metric column of result df. Each cell is a a tuple of (value,\n ratio, ci_lower, ci_upper).\n div: A function to wrap thing into a div.\n span: A...
0
{'name': '_collect_metrics@test/common.py', 'description': 'Verify metrics by running the given api query\n@param: dimension (metric dimension)\n@param: metric_name (metric name)\n@param: start_time (search start time)\n@param: end_time (search end time)\nreturns events', 'signature': 'def _collect_metrics('}</s>{'name...
0
{'name': 'RepeatChart.interactive@altair/vegalite/v3/api.py', 'description': 'Make chart axes scales interactive\n\nParameters\n----------\nname : string\n The selection name to use for the axes scales. This name should be\n unique among all selections within the chart.\nbind_x : boolean, default True\n If tru...
0
{'name': 'View.undrift_from_picked2d@picasso/gui/render.py', 'description': 'Undrifts in x and y based on picked locs in a given channel.\nAvailable when 3D data is loaded.', 'signature': 'def undrift_from_picked2d(self):'}</s>{'name': '_link_group_count@picasso/postprocess.py', 'description': 'DOCSTRING', 'code': 'def...
0
{'name': 'traced_impl@beeline/aiotrace.py', 'description': 'Implementation of the traced decorator including async support.\n\nThe async version needs to be different, because the trace should\ncover the execution of the whole decorated function. If using the\nsynchronous version, the trace would only cover the time it...
0
{'name': 'LTL.dumps@tulip/spec/form.py', 'description': 'Dump TuLiP LTL file string.\n\n@param timestamp:\n If True, then add comment to file with\n current time in UTC.', 'signature': 'def dumps('}</s>{'name': 'LTL@tulip/spec/form.py', 'description': 'LTL formula (specification).\n\nMinimal class that describes ...
1
{'name': 'Normalizer.__init__@PyBioMed/PyPretreat/PyPretreatMolutil.py', 'description': 'Initialize a Normalizer with an optional custom list of :class:`~molvs.normalize.Normalization` transforms.\n\n:param normalizations: A list of :class:`~molvs.normalize.Normalization` transforms to apply.\n:param int max_restarts:...
0
{'name': 'ensure_tf_input@agents/bdq/common/tf_util.py', 'description': 'Takes either tf.placeholder of TfInput and outputs equivalent TfInput', 'signature': 'def ensure_tf_input(thing):'}</s>{'name': 'max@agents/bdq/common/tf_util.py', 'description': 'DOCSTRING', 'code': 'def max(x, axis=None, keepdims=False):\n ax...
0
{'name': 'int_to_unknown_bytes@bit/utils.py', 'description': 'Converts an int to the least number of bytes as possible.', 'signature': "def int_to_unknown_bytes(num, byteorder='big'):"}</s>{'name': 'script_push@bit/utils.py', 'description': 'DOCSTRING', 'code': "def script_push(val):\n\n if val <= 75:\n retur...
0
{'name': 'PandocConverter._find_cb_command@codebraid/converters/pandoc.py', 'description': 'Find all occurrences of `.cb.` and/or `.cb-` in a string, which may\nindicate the presence of Codebraid code. Try to extract a command\n`.cb<sep><command>` for each occurrence, and if a valid command is not\nfound use None. Ch...
1
{'name': 'kallisto_bus@kb_python/count.py', 'description': 'Runs `kallisto bus`.\n\nArgs:\n fastqs: List of FASTQ file paths, or a single path to a batch file\n index_path: Path to kallisto index\n technology: Single-cell technology used\n out_dir: Path to output directory\n threads: Number of threads to...
1
{'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': 'create_run_container_task@vulfocus-api/tasks/tasks.py', 'description': '创建运行容器任务\n:param container_vul: 漏洞容器对象\n:param user_info: 用户信息', 'signature': 'def create_run_container_task(container_vul, user_info):'}</s>r = redis.Redis(connection_pool=REDIS_POOL)
0
{'name': 'fa@src/fitly/components.py', 'description': 'A convenience component for adding Font Awesome icons', 'signature': 'def fa(className):'}</s>{'name': 'make_brand@src/fitly/components.py', 'description': 'DOCSTRING', 'code': 'def make_brand(**kwargs):\n return html.Header(\n className="brand",\n ...
0
{'name': '_fit@diffxpy/testing/tests.py', 'description': ':param noise_model: str, noise model to use in model-based unit_test. Possible options:\n\n - \'nb\': default\n:param design_loc: Design matrix of location model.\n:param design_loc: Design matrix of scale model.\n:param constraints_loc: : Constraints for loc...
0
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>ICMP6_PARAM_PROB = 4
0
{'name': 'load@robopianist/music/__init__.py', 'description': 'Make a MidiFile object from a path or name.\n\nArgs:\n path_or_name: Path or name of the midi file.\n stretch: Temporal stretch factor. Values greater than 1.0 slow down a song, and\n values less than 1.0 speed it up.\n shift: Number of semi...
0
{'name': 'ingest_to_adx@databricks-adx-integration/src/code/functions/adxingestp2/__app__/dataingest/__init__.py', 'description': 'Trigger ADX to ingest the specified file in Azure Data Lake\nPrepare ADX ingestion meta-data\n:param file_path: The full path of blob file\n:param file_size: The full size of blob file\n:pa...
0
{'name': 'test_put_get_delete_bucket_domain_certificate@ut/test.py', 'description': '测试设置获取删除bucket自定义域名证书', 'signature': 'def test_put_get_delete_bucket_domain_certificate():'}</s>{'name': 'test_put_get_delete_bucket_inventory@ut/test.py', 'description': '测试设置获取删除bucket清单', 'code': 'def test_put_get_delete_bucket_inve...
0
{'name': '_IsType@tools/cpplint.py', 'description': 'Check if expression looks like a type name, returns true if so.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n nesting_state: A NestingState instance which maintains information about\n the current stack of nested blocks bei...
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': 'reconstruction@Chapter10/helper_functions.py', 'description': 'This function is used to reconstruct sample images for analysis\n:param x: Images\n:param y: Labels\n:param decoder_output: output from decoder\n:param y_pred: predictions from the model\n:param n_samples: num images\n:return: saves the reconstruc...
0
{'name': 'VoronoiEdge.intersect@PythonCode/adk/fortune.py', 'description': 'Return point of intersection between two (half-)edges.', 'signature': 'def intersect(self, other):'}</s>{'name': 'Point@PythonCode/adk/fortune.py', 'description': 'Every point defines center of a Voronoi Polygon. Maintains index for post-proces...
1
{'name': 'TLP.check@fpga/lib/pcie/tb/pcie.py', 'description': 'Validate TLP', 'signature': 'def check(self):'}</s>TLP_SWAP = (FMT_3DW_DATA, 0x0D)
0
{'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': 'OptionalValueMissing@src/feedvalidator/logging.py', 'description...
0
{'name': 'prettyjson@topojson/utils.py', 'description': 'Renders JSON content with indentation and line splits/concatenations to fit maxlinelength.\nOnly dicts, lists and basic types are supported', 'signature': 'def prettyjson(obj, indent=2, maxlinelength=80):'}</s>{'name': 'serialize_as_json@topojson/utils.py', 'desc...
0
{'name': 'CheckStyle@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line leng...
0
{'name': '_format_compatibility_errors@jupyterlab/commands.py', 'description': 'Format a message for compatibility errors.', 'signature': 'def _format_compatibility_errors(name, version, errors):'}</s>{'name': '_fetch_package_metadata@jupyterlab/commands.py', 'description': 'Fetch the metadata for a package from the np...
0
{'name': 'fit_model@scnym/main.py', 'description': 'Fit an scNym model given a set of observations and labels.\n\nParameters\n----------\nX : np.ndarray\n [Cells, Genes] of log1p transformed normalized values.\n log1p and normalization performed using scanpy defaults.\ny : np.ndarray\n [Cells,] integer class l...
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': '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': 'SCPreferences.Save@gmacpyutil/gmacpyutil/systemconfig.py', 'description': 'Commits changes to permanent store, applies to running config.', 'signature': 'def Save(self):'}</s>{'name': 'SCPreferences@gmacpyutil/gmacpyutil/systemconfig.py', 'description': 'Utility class for working with the SystemConfiguration ...
1
{'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': 'Comps._verif_to_comps_threshold@verif/input.py', 'description': 'Converts from verif threshold (i.e. 0.3) to COMPS name (i.e p03) ', 'signature': 'def _verif_to_comps_threshold(threshold):'}</s>{'name': 'subplot@verif/util.py', 'description': 'Sets up subplot for index i (starts at 0) out of N ', 'code': 'def...
0
{'name': 'test_asda_artificial@sunkit_image/tests/test_asda.py', 'description': 'Generate an artificial vortex using the Lamb_Oseen class in asda, then\nperform the vortex detection.', 'signature': 'def test_asda_artificial():'}</s>{'name': 'test_real_data@sunkit_image/tests/test_asda.py', 'description': 'Run the test ...
0
{'name': 'MessageSetItemEncoder@third_party/include/protobuf-2.6.1/python/google/protobuf/internal/encoder.py', 'description': 'Encoder for extensions of MessageSet.\n\nThe message set message looks like this:\n message MessageSet {\n repeated group Item = 1 {\n required int32 type_id = 2;\n required stri...
0
{'name': 'HyperVxmJoint.__init__@voxelmorph/tf/networks.py', 'description': "Parameters:\n in_shape: Spatial dimensions of the input images, as an iterable.\n input_model: Model whose outputs will be used as data inputs, and whose inputs will be\n used as inputs to the returned model, as an alternative to ...
0
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be...
0
{'name': 'uploaded_file@sleepypuppy/upload/upload.py', 'description': 'Route to retrieve screenshot when requested.', 'signature': 'def uploaded_file(filename):'}</s>{'name': '_correct_s3_url@sleepypuppy/upload/upload.py', 'description': 'DOCSTRING', 'code': 'def _correct_s3_url(url):\n # bucket names containing per...
1
{'name': '_build_ssd_model@object_detection/builders/model_builder.py', 'description': 'Builds an SSD detection model based on the model config.\n\nArgs:\n ssd_config: A ssd.proto object containing the config for the desired\n SSDMetaArch.\n is_training: True if this model is being built for training purposes.\n ...
0
{'name': 'CreatorNameMapView.post@metro_map_saver/map_saver/views.py', 'description': 'Allow creators to name / "tag" their maps\n(but not after I\'ve named them)\nAlso prevent subsequent visitors from naming the maps', 'signature': 'def post(self, request, **kwargs):'}</s>{'name': 'MapGalleryView@metro_map_saver/map_s...
0
{'name': 'DFGraph.max_degree_ram@checkmate/core/dfgraph.py', 'description': 'compute minimum memory needed for any single node (ie inputs and outputs)', 'signature': 'def max_degree_ram(self):'}</s>{'name': 'DFGraph@checkmate/core/dfgraph.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'DFGrap...
1
{'name': 'TestEntityPostSavePostDeleteSignalSync.test_post_updated_entity_no_cascade@entity/tests/sync_tests.py', 'description': 'Verify that updating a mirrored entity does not cause the entity to be deleted (which\nresults in a cascading delete for all pointers.', 'signature': 'def test_post_updated_entity_no_cascade...
0
{'name': 'PostgresNode.dump@testgres/node.py', 'description': 'Dump database into a file using pg_dump.\nNOTE: the file is not removed automatically.\n\nArgs:\n filename: database dump taken by pg_dump.\n dbname: database name to connect to.\n username: database user name.\n format: format argument plain/cu...
0
{'name': 'process_client_hello@core/packet_processor.py', 'description': 'Extracts the SNI field from the ClientHello packet.', 'signature': 'def process_client_hello(pkt):'}</s>{'name': 'get_project_directory@core/common.py', 'description': 'Returns the project directory hosted under ../user-data/.', 'code': 'def get_...
0
{'name': 'has_attr@robustness/tools/helpers.py', 'description': 'Checks both that obj.k exists and is not equal to None', 'signature': 'def has_attr(obj, k):'}</s>CKPT_NAME_BEST = CKPT_NAME + BEST_APPEND
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQSECCOMM_NO = 0
0
{'name': 'repl@click_repl/_repl.py', 'description': 'Start an interactive shell. All subcommands are available in it.\n\n:param old_ctx: The current Click context.\n:param prompt_kwargs: Parameters passed to\n :py:func:`prompt_toolkit.PromptSession`.\n\nIf stdin is not a TTY, no prompt will be printed, but only comm...
1
{'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...
1
{'name': 'GetXcodeArchsDefault@gyp/pylib/gyp/xcode_emulation.py', 'description': 'Returns the |XcodeArchsDefault| object to use to expand ARCHS for the\ninstalled version of Xcode. The default values used by Xcode for ARCHS\nand the expansion of the variables depends on the version of Xcode used.\n\nFor all version ant...
0
{'name': '_export_region@contrib/xml/xmlio.py', 'description': '@return:\n `None` (if `parent` is not `None`), or\n an xml tree', 'signature': 'def _export_region('}</s>T_ADJ = "adjmatrix"
0
{'name': 'ProcessFileData@runtimes/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines:...
0
{'name': 'MetaDataFrame.__init__@stock_pandas/meta/cumulator.py', 'description': 'Creates a stock data frame\n\nArgs:\n data (ndarray, Iterable, dict, DataFrame, StockDataFrame): data\n date_col (:obj:`str`, optional): If set, then the column named `date_col` will convert and set as the DateTimeIndex of the data ...
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': 'collect_inventory_license_expression@src/attributecode/model.py', 'description': 'Read the inventory file at location and return a list of ABOUT objects without\nvalidation. The purpose of this is to speed up the process for `gen_license` command.', 'signature': 'def collect_inventory_license_expression(loca...
0
{'name': '_parse_global_attrs@uxarray/io/_mpas.py', 'description': 'Helper to parse MPAS global attributes.', 'signature': 'def _parse_global_attrs(in_ds, out_ds):'}</s>N_MAX_FACE_NODES_DIM = "n_max_face_nodes"
0
{'name': 'parseUrlPath@ide/routes.py', 'description': "This is boiler plate code for a lot of the route handlers.\n\nAll these handlers require a user, but there's also the authenticated user.\n\nInputs:\n theRegExp: A regular expression to evaluate the path\n numGroups: How many groups are in the regexp.\n \n...
1
{'name': 'Color.alpha_int8@wand/color.py', 'description': '(:class:`numbers.Integral`) Alpha value as 8bit integer which is\na common style. From 0 to 255.\n\n.. versionadded:: 0.3.0', 'signature': 'def alpha_int8(self):'}</s>{'name': 'text@wand/compat.py', 'description': 'DOCSTRING', 'code': "def text(string):\n i...
0
{'name': 'FinalizeMetadata@tools/releasetools/ota_utils.py', 'description': 'Finalizes the metadata and signs an A/B OTA package.\n\nIn order to stream an A/B OTA package, we need \'ota-streaming-property-files\'\nthat contains the offsets and sizes for the ZIP entries. An example\nproperty-files string is as follows.\...
0
{'name': 'test_email_validation_with_none@voluptuous/tests/tests.py', 'description': 'Test with invalid None email address', 'signature': 'def test_email_validation_with_none():'}</s>{'name': 'test_range_no_upper_limit@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': 'def test_range_no_upper_limit():\n ...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCBD_STRUC_ID = b'CBD '
0