text
string
label
int64
{'name': 'elab_intermodule@hw/vendor/lowrisc_opentitan/util/topgen/intermodule.py', 'description': "Check the connection of inter-module and categorize them\n\nIn the top template, it uses updated inter_module fields to create\nconnections between the modules (incl. memories). This function is to\ncreate and check the ...
0
{'name': 'get_parser@qm9_filter_generated.py', 'description': 'Setup parser for command line arguments ', 'signature': 'def get_parser():'}</s>{'name': 'Molecule@utility_classes.py', 'description': 'Molecule class that allows to get statistics such as the connectivity matrix,\nmolecular fingerprint, canonical smiles re...
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>{'nam...
0
{'name': 'get_free_memory_mb@bioconda_utils/utils.py', 'description': 'Return free memory as megabytes', 'signature': 'def get_free_memory_mb():'}</s>{'name': 'JinjaSilentUndefined@bioconda_utils/utils.py', 'description': 'DOCSTRING', 'base_classes': ['jinja2.Undefined'], 'methods': [{'name': 'JinjaSilentUndefined._fai...
0
{'name': 'get_urdf_parameters@src/ikpy/urdf/URDF.py', 'description': 'Returns translated parameters from the given URDF file.\nParse the URDF joints into IKPY links, throw away the URDF links.\n\nParameters\n----------\nurdf_file: str\n The path of the URDF file\nbase_elements: list of strings\n List of the links...
0
{'name': 'picked_locs@picasso/postprocess.py', 'description': 'Finds picked localizations.\n\nParameters\n----------\nlocs : np.recarray\n Localization list.\ninfo : list of dicts\n Metadata of the localizations list.\npicks : list\n List of picks.\npick_shape : {\'Circle\', \'Rectangle\', \'Polygon\'}\n Sh...
0
{'name': 'ProcessFileData@tools/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: An array of strings, each representing a li...
0
{'name': 'TestUtils.test_cluster_waters@grand/tests/test_utils.py', 'description': 'Test the cluster_waters() function', 'signature': 'def test_cluster_waters(self):'}</s>{'name': 'remove_ghosts@grand/utils.py', 'description': 'Function to remove ghost water molecules from a topology, after a simulation.\nThis is so th...
0
{'name': 'decode@ddparser/parser/model.py', 'description': 'Decode function', 'signature': 'def decode(args, s_arc, s_rel, mask):'}</s>{'name': 'Embedding@ddparser/parser/data_struct/embedding.py', 'description': 'Embedding', 'base_classes': ['object'], 'methods': [{'name': 'Embedding.__init__@ddparser/parser/data_stru...
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>{'nam...
0
{'name': 'fill_filter_mosaics@grizli/pipeline/auto_script.py', 'description': 'Fill field mosaics with the average value taken from other filters so that all images have the same coverage\n\nParameters\n----------\nfield_root : str', 'signature': 'def fill_filter_mosaics(field_root):'}</s>{'name': 'find_peaks@grizli/ut...
0
{'name': 'Device._buildReadRegisterPacket@src/LabJackPython.py', 'description': 'self._buildReadRegisterPacket(addr, numReg)\n\nBuilds a raw modbus "Read Register" packet to be written to a device\n\nReturns a tuple:\n(<Packet as a list>, <number of bytes to read>)', 'signature': 'def _buildReadRegisterPacket(self, add...
0
{'name': 'TestDecode.testDecodeBadUTF8@src/tests/testXmlEncodingDecode.py', 'description': 'Ensure bad UTF-8 is flagged as such, but still decoded.', 'signature': 'def testDecodeBadUTF8(self):'}</s>basedir = os.path.split(srcdir)[0]
0
{'name': 'AHK.win_wait_not_active@ahk/_sync/engine.py', 'description': 'Analog for `WinWaitNotActive <https://www.autohotkey.com/docs/commands/WinWaitActive.htm>`_', 'signature': 'def win_wait_not_active('}</s>{'name': '_resolve_executable_path@ahk/_utils.py', 'description': 'DOCSTRING', 'code': 'def _resolve_executabl...
0
{'name': 'DeploymentConfig.clone_scope@slim/deployment/model_deploy.py', 'description': 'Name scope to create the clone.\n\nArgs:\n clone_index: Int, representing the clone_index.\n\nReturns:\n A name_scope suitable for `tf.name_scope()`.\n\nRaises:\n ValueError: if `clone_index` is greater or equal to the number of...
0
{'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_name_typo@didyoumean/didyoumean_internal.py', 'description': "Suggest that name could be ...
0
{'name': 'TileCreator.parseChannels@tensorflow/tools/tilecreator.py', 'description': "arbitrary channel structure from string, expand if necessary. USE GLOBAL KEYS ^\n'd': default/ density; data that needs no special operations during augmentation\n'v[label](x|y|z)': vector/velocity; is transformed according to the aug...
1
{'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': 'ohdave_rsa_encrypt@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': "Implement OH...
0
{'name': 'test_rewrite_image@geetest_online/test/testgeetestjs.py', 'description': 'load image from file, recombined to new image by offset array', 'signature': 'def test_rewrite_image(image_name, offset_array):'}</s>{'name': 'fun_c@geetest_online/test/testgeetestjs.py', 'description': 'reversed from geetest.js', 'code...
0
{'name': 'IUController.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this controller as a dict', 'signature': 'def as_dict(self, extended=False) -> OrderedDict:'}</s>CONF_RETRIES = "retries"
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': 'TLP.get_lower_address@fpga/lib/pcie/tb/pcie.py', 'description': 'Compute lower address field from address and first byte enable', 'signature': 'def get_lower_address(self):'}</s>{'name': 'PcieExtCapList@fpga/lib/pcie/tb/pcie.py', 'description': 'DOCSTRING', 'base_classes': ['PcieCapList'], 'methods': [{'name'...
0
{'name': 'parseOptionsAndInitTestdirs@llvm-12.0.0-project/lldb/packages/Python/lldbsuite/test/dotest.py', 'description': "Initialize the list of directories containing our unittest scripts.\n\n'-h/--help as the first option prints out usage info and exit the program.", 'signature': 'def parseOptionsAndInitTestdirs():'}...
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>_MODIFIERS = SON([ ('$query', 'filter'), ('$orderby', 'sort'), ('$hint', 'hint'), ('$comment', 'comment'), ...
0
{'name': 'AutoCompleter.get_completions@autocomplete.py', 'description': 'Get all the completions related to the current file.', 'signature': 'def get_completions(self, view, locations):'}</s>{'name': 'view_is_haskell_symbol_info@sublime_haskell_common.py', 'description': 'DOCSTRING', 'code': 'def view_is_haskell_symbo...
0
{'name': 'IPDatabase.generate_vsim_tcl@ipstools/ipstools/IPDatabase.py', 'description': "Exports the `vsim.tcl` script.\n\n :param filename: Output TCL script file name.\n :type filename: str\n\n :param source: 'ips' or 'rtl'\n :type source: str\n\nThis function exports the `vs...
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': 'ExpAvgDetector.__init__@src/luminol/algorithms/anomaly_detector_algorithms/exp_avg_detector.py', 'description': 'Initializer\n:param TimeSeries time_series: a TimeSeries object.\n:param TimeSeries baseline_time_series: baseline TimeSeries.\n:param float smoothing_factor: smoothing factor for computing exponen...
1
{'name': 'set_bar@library/dothat/backlight.py', 'description': 'Does nothing.\n\nImplemented for library compatibility with Dot3k backlight.', 'signature': 'def set_bar(index, value):'}</s>STEP_VALUE = 16
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': 'CWLApiBackend.wait_until_dag_validated@cwl_airflow/components/api/backend.py', 'description': 'Reads the md5 sum of the DAG python file to see whether it\nwas updated. Searches by md5 sum if exactly the same DAG\npython file has been already validated. If it was already\nvalidated raises exception in case of ...
0
{'name': 'get_topo_file@oggm/utils/_downloads.py', 'description': "Path(s) to the DEM file(s) covering the desired extent.\n\nIf the needed files for covering the extent are not present, download them.\n\nThe default behavior is to try a list of DEM sources in order, and\nstop once the downloaded data is covering a lar...
0
{'name': 'run@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Start a server instance. This method blocks until the server terminates.\n\n:param app: WSGI application or target string supported by\n :func:`load_app`. (default: :func:`default_app`)\n:param server: Server adapter to use. See :data:...
0
{'name': 'SymSpell.lookup@symspellpy/symspellpy.py', 'description': 'Finds suggested spellings for a given phrase word.\n\nArgs:\n phrase: The word being spell checked.\n verbosity: The value controlling the quantity/closeness of the\n returned suggestions.\n max_edit_distance: The maximum edit distance...
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>MQRCCF_OBJECT_OPEN_FORCE = 3210
0
{'name': 'NewDatabase.write_db_to_matrices@premise/new_database.py', 'description': 'Exports the new database as a sparse matrix representation in csv files.\n\n:param filepath: path provided by the user to store the exported matrices.\nIf it is a string, the path is used as main directory from which\n"iam model" / "pa...
0
{'name': 'map_async_run_loop@tools/lldb/packages/Python/lldbsuite/test/dosep.py', 'description': 'Blocks until the Pool.map_async completes and the channel completes.\n\n@param future an AsyncResult instance from a Pool.map_async() call.\n\n@param channel_map the asyncore dispatch channel map that should be pumped.\nOp...
0
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ...
0
{'name': 'openLabJack@src/LabJackPython.py', 'description': 'openLabJack(deviceType, connectionType, firstFound = True, pAddress = 1, LJSocket = None)\n\nNote: On Windows, UE9 over Ethernet, pAddress MUST be the IP address. ', 'signature': 'def openLabJack(deviceType, connectionType, firstFound = True, pAddress = None,...
0
{'name': 'test_change_statement_timeout@test/io/test_io.py', 'description': 'Statement timeout changes take effect immediately', 'signature': 'def test_change_statement_timeout(defaultenv, metapostgrest):'}</s>{'name': 'wait_until_exit@test/io/postgrest.py', 'description': 'Wait for PostgREST to exit, or times out', 'c...
0
{'name': 'process_direct_grism_visit@grizli/prep.py', 'description': 'Full processing of a direct (+grism) image visit.\n\nParameters\n----------\ndirect : dict\n Dictionary with keys \'files\' and \'product\' for the direct images.\n\ngrism : dict\n Dictionary with keys \'files\' and \'product\' for the grism im...
0
{'name': 'get_image_descriptor@s2e_env/utils/images.py', 'description': "Load the image's JSON descriptor.\n\nArgs:\n image_dir: directory containing a built image.\n\nReturns:\n A dictionary that describes the given image.", 'signature': 'def get_image_descriptor(image_dir):'}</s>{'name': '_get_templates@s2e_env...
0
{'name': 'displayInfo@source/pi-timolo.py', 'description': 'Display variable settings with plugin overlays if required', 'signature': 'def displayInfo(motioncount, timelapsecount):'}</s>{'name': 'getImageFilename@source/pi-timolo.py', 'description': 'build image file names by number sequence or date/time', 'code': 'def...
0
{'name': 'imGrad@training_codes/utils/utils_model.py', 'description': 'Computes the discrete gradient of an input batch of images of size \nB x C x H x W. The output is of size B x 2*C x H x W where in the 2nd \ndimension from 0:C the gradient with respect to the y-axis of each channel\nof the image is stored, while in...
0
{'name': 'lift_job@maf/impl/naiveLiftUp.py', 'description': "Lift this genome's blocks file to another genome.", 'signature': 'def lift_job(job, up_or_down, genome, other_genome, blocks_id, hal_id, opts):'}</s>{'name': 'get_chrom_sizes@maf/impl/naiveLiftUp.py', 'description': 'Get a dict of {chrom_name: length} for a g...
1
{'name': 'TrimmedMatchGeoXDesign.__init__@trimmed_match/design/trimmed_match_design.py', 'description': "Initializes the instance.\n\nArgs:\n geox_type: str, type of the experiment. See supported values in GeoXType.\n pretest_data: pd.DataFrame (date, geo, ...).\n time_window_for_design: TimeWindow, representing the...
0
{'name': 'log_hook@hdrnet/bin/train.py', 'description': 'Message display at every log step.', 'signature': 'def log_hook(sess, log_fetches):'}</s>{'name': 'main@hdrnet/bin/train.py', 'description': 'DOCSTRING', 'code': 'def main(args, model_params, data_params):\n procname = os.path.basename(args.checkpoint_dir)\n se...
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': 'data_generator.__iter__@examples/task_question_answer_generation_by_seq2seq.py', 'description': '单条样本格式:[CLS]篇章[SEP]答案[SEP]问题[SEP]\n ', 'signature': 'def __iter__(self, random=False):'}</s>{'name': 'Adam@bert4keras/optimizers.py', 'description': '重新定义Adam优化器,便于派生出新的优化器\n(tensorflow的optimizer_v2类)', 'ba...
0
{'name': 'init_tables@reedsolo.py', 'description': "Precompute the logarithm and anti-log tables for faster computation later, using the provided primitive polynomial.\nThese tables are used for multiplication/division since addition/substraction are simple XOR operations inside GF of characteristic 2.\nThe basic idea ...
1
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQXR_AUTO_CLUSSDR = 18
0
{'name': 'S5SSM.__call__@s5/ssm.py', 'description': 'Compute the LxH output of the S5 SSM given an LxH input sequence\nusing a parallel scan.\nArgs:\n input_sequence (float32): input sequence (L, H)\nReturns:\n output sequence (float32): (L, H)', 'signature': 'def __call__(self, input_sequence):'}</s>{'name': 'd...
0
{'name': 'DepthImage.open@autolab_core/image.py', 'description': 'Creates a DepthImage from a file.\n\nParameters\n----------\nfilename : :obj:`str`\n The file to load the data from. Must be one of .png, .jpg,\n .npy, or .npz.\n\nframe : :obj:`str`\n A string representing the frame of reference in which the ne...
0
{'name': '_ConfigFlagTestCase.assert_equal_configs@ml_collections/config_flags/tests/config_overriding_test.py', 'description': 'Checks if two configs are identical.', 'signature': 'def assert_equal_configs(self, config1, config2):'}</s>{'name': '_ConfigFlag@ml_collections/config_flags/config_flags.py', 'description': ...
0
{'name': 'XRasterBase.height@rioxarray/rioxarray.py', 'description': 'int: Returns the height of the dataset (y dimension size)', 'signature': 'def height(self) -> int:'}</s>{'name': 'RioXarrayError@rioxarray/exceptions.py', 'description': 'This is the base exception for errors in the rioxarray extension.', 'base_class...
0
{'name': 'isCpio@fwtool/archive/cpio.py', 'description': 'Returns true if the file provided is a cpio file', 'signature': 'def isCpio(file):'}</s>{'name': 'readArchive@fwtool/archive/__init__.py', 'description': 'DOCSTRING', 'code': 'def readArchive(data):\n return _findType(data)(data)'}
0
{'name': 'OAuthServer._check_timestamp@weibopy/oauth.py', 'description': 'Verify that timestamp is recentish.', 'signature': 'def _check_timestamp(self, timestamp):'}</s>{'name': 'OAuthSignatureMethod_HMAC_SHA1@weibopy/oauth.py', 'description': 'DOCSTRING', 'base_classes': ['OAuthSignatureMethod'], 'methods': [{'name':...
0
{'name': '_GetTextInside@scripts/cpplint.py', 'description': "Retrieves all the text between matching open and close parentheses.\n\nGiven a string of lines and a regular expression string, retrieve all the text\nfollowing the expression and between opening punctuation symbols like\n(, [, or {, and the matching close-p...
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': 'Recognizer.recognize_google_cn@__init__.py', 'description': 'Performs speech recognition on ``audio_data`` (an ``AudioData`` instance), using the Google Speech Recognition API.\n\nThe Google Speech Recognition API key is specified by ``key``. If not specified, it uses a generic key that works out of the box. ...
1
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQIA_CHLAUTH_RECORDS = 248
0
{'name': 'upload_image@Chapter03/Capabilities/app.py', 'description': 'processes file upload and saves file to storage service', 'signature': 'def upload_image():'}</s>{'name': 'TranslationService@Chapter03/Capabilities/chalicelib/translation_service.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'na...
0
{'name': 'User.initialize@src/astrobotany/models.py', 'description': 'Register a new player.', 'signature': 'def initialize(cls, username: str) -> User:'}</s>{'name': 'search@src/astrobotany/items.py', 'description': 'DOCSTRING', 'code': 'def search(name: str) -> Item | None:\n for item in Item.registry.values():\n ...
0
{'name': 'auto_from_dict@a38/fattura.py', 'description': 'Given the equivalent of a Fattura.to_jsonable() data structure,\nreconstruct the fattura', 'signature': 'def auto_from_dict('}</s>{'name': 'Sede@a38/fattura.py', 'description': 'DOCSTRING', 'base_classes': ['IndirizzoType'], 'methods': []}
0
{'name': 'test_db_error_logging_to_stderr@test/io/test_io.py', 'description': 'verify that DB errors are logged to stderr', 'signature': 'def test_db_error_logging_to_stderr(level, defaultenv, metapostgrest):'}</s>{'name': 'sleep_until_postgrest_full_reload@test/io/postgrest.py', 'description': 'Sleep until schema cach...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_HCONN_ERROR = 2018
0
{'name': 'test_part@src/titiler/application/tests/routes/test_cog.py', 'description': 'test /bbox endpoint.', 'signature': 'def test_part(rio, app):'}</s>{'name': 'test_point@src/titiler/application/tests/routes/test_cog.py', 'description': 'test /point endpoint.', 'code': 'def test_point(rio, app):\n """test /point...
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': 'test_c@tests/models/weng_lin/test_thurstone_mosteller_full.py', 'description': 'Ensure the c function from Thurstone-Mosteller Full Pairing works as expected.', 'signature': 'def test_c() -> None:'}</s>{'name': 'test_sum_q@tests/models/weng_lin/test_thurstone_mosteller_full.py', 'description': 'Ensure the sum...
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': 'poly_log@copulae/special/special_func.py', 'description': "Computes the polylogarithm function. Current implementation only takes care of :math:`s \\leq 0`\n\n.. math::\n\n L_s(z) = \\sum_{k=1}^\\infty \\frac{z^k}{k^s}\n\nParameters\n----------\nz: {array_like, scalar}\n Numeric or complex vector\n\ns: ...
1
{'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': 'analyze_enemy_ub@analyze.py', 'description': 'analyze enemy ub\n\n\nArgs\n time_count (int): count up after ub\n work_frame (ndarray): expand frame\n find_time (string): m:ss\n ub_data_enemy (list): found ub data with enemy ub\n\n\nReturns', 'signature': 'def analyze_enemy_ub(time_count, work_fram...
0
{'name': '_n_choose_2@test/test_data.py', 'description': 'Calculates the number of 2-combinations of n elements.', 'signature': 'def _n_choose_2(n):'}</s>{'name': 'test_robust_standard_dense_with_low_nnz_columns@test/test_data.py', 'description': 'DOCSTRING', 'code': 'def test_robust_standard_dense_with_low_nnz_columns...
0
{'name': 'TestObjectsE2E.test_create_alias_a_record@e2e_tests/test_objects.py', 'description': 'Create two A records with different names, but pointing to the same\nipv4addr', 'signature': 'def test_create_alias_a_record(self):'}</s>{'name': 'DhcpStatistics@infoblox_client/objects.py', 'description': "DhcpStatistics: D...
0
{'name': 'create_train_input_fn@object_detection/inputs.py', 'description': 'Creates a train `input` function for `Estimator`.\n\nArgs:\n train_config: A train_pb2.TrainConfig.\n train_input_config: An input_reader_pb2.InputReader.\n model_config: A model_pb2.DetectionModel.\n\nReturns:\n `input_fn` for `Estimator`...
0
{'name': 'MaxPoolDark.forward@YOLOv4/darknet.py', 'description': 'darknet output_size = (input_size + p - k) / s +1\np : padding = k - 1\nk : size\ns : stride\ntorch output_size = (input_size + 2*p -k) / s +1\np : padding = k//2', 'signature': 'def forward(self, x):'}</s>{'name': 'save_conv@YOLOv4/tool/config.py', 'des...
0
{'name': 'ModelTraining.run@bdpy/ml/learning.py', 'description': 'Run training.', 'signature': 'def run(self):'}</s>{'name': 'ModelTraining@bdpy/ml/learning.py', 'description': "Model training with chunking and distributed computation class.\n\nAttributes\n----------\nmodel\n Prediction model instance\nX, Y : array_l...
1
{'name': 'CloudflarePlugin.register@plugins/cloudflare.py', 'description': 'Implement ServicePlugin.register().', 'signature': 'def register(self, log, hostname, ip, options):'}</s>{'name': '_get_ipv6_from_dnsrecords@plugins/cloudflare.py', 'description': 'Find the AAAA record in dns records, and return tuple (id, addr...
1
{'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': 'VxmDense.__init__@voxelmorph/tf/networks.py', 'description': "Parameters:\n inshape: Input shape. e.g. (192, 192, 192)\n nb_unet_features: Unet convolutional features. Can be specified via a list of lists with\n the form [[encoder feats], [decoder feats]], or as a single integer. \n If Non...
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': '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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQRC_MD_ERROR = 2026
0
{'name': 'ProcessGlobalSuppresions@tools/cpplint.py', 'description': 'Updates the list of global error suppressions.\n\nParses any lint directives in the file that have global effect.\n\nArgs:\n lines: An array of strings, each representing a line of the file, with the\n last element being empty if the file is...
0
{'name': 'test_novalidate_noerrors@cerberus/tests/test_validation.py', 'description': 'In v0.1.0 and below `self.errors` raised an exception if no\nvalidation had been performed yet.', 'signature': 'def test_novalidate_noerrors(validator):'}</s>{'name': 'test_empty_skips_regex@cerberus/tests/test_validation.py', 'descr...
0
{'name': 'find_on_path@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'Yield distributions accessible on a sys.path directory', 'signature': 'def find_on_path(importer, path_item, only=False):'}</s>{'name': 'resolve_egg_link@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'Given a path to a...
0
{'name': 'call_api@flickr_api/method_call.py', 'description': ' Performs the calls to the Flickr REST interface.\n\nParameters:\n api_key:\n The API_KEY to use. If none is given and a auth_handler is used\n the key stored in the auth_handler is used, otherwise, the values\n stored in the `fli...
1
{'name': 'main@agfusion/cli.py', 'description': 'Main function for processing command line options', 'signature': 'def main():'}</s>agfusion_db = os.path.join(os.path.split(__file__)[0], "data", "agfusion.db")
1
{'name': 'SelectMultipleFormFieldTestCase.test_field_to_python_value_is_encoded_string@test_suite/test_forms.py', 'description': 'Widget may return encoded string as value for key in POST', 'signature': 'def test_field_to_python_value_is_encoded_string(self):'}</s>{'name': 'SelectMultipleFormField@select_multiple_field...
1
{'name': 'DataLoader_.__init__@torchkge/inference.py', 'description': "Parameters\n----------\nbatch_size: int\n Size of the required batches.\nuse_cuda: str (opt, default = None)\n Can be either None (no use of cuda at all), 'all' to move all the\n dataset to cuda and then split in batches or 'batch' to simpl...
0
{'name': '_check_type@src/monty/json.py', 'description': 'Alternative to isinstance that avoids imports.\n\nChecks whether obj is an instance of the type defined by type_str. This\nremoves the need to explicitly import type_str. Handles subclasses like\nisinstance does. E.g.:\n class A:\n pass\n\n\n class ...
0
{'name': 'fill_and_finalize_subplot@cityscapesscripts/evaluation/plot3dResults.py', 'description': 'Plot data to subplots by selecting correct data for given ``category`` and looping over\nall classes in ``accept_classes``.\n\nArgs:\n category (str): score category, one of\n ["PR", "AP", "Center_Dist", "Size_...
0
{'name': 'IUCoordinator.service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Entry point for all service calls.', 'signature': 'def service_call('}</s>{'name': 'IURQStatus@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Define the return status o...
0
{'name': 'AcousticCorpusMixin.load_reference_alignments@montreal_forced_aligner/corpus/acoustic_corpus.py', 'description': 'Load reference alignments to use in alignment evaluation from a directory\n\nParameters\n----------\nreference_directory: :class:`~pathlib.Path`\n Directory containing reference alignments', 's...
0
{'name': 'from_json_schema_type@typesystem/json_schema.py', 'description': 'Build a typed field from a JSON schema object.', 'signature': 'def from_json_schema_type('}</s>{'name': 'get_standard_properties@typesystem/json_schema.py', 'description': 'DOCSTRING', 'code': 'def get_standard_properties(field: Field) -> dict:...
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': 'DocumentedDict.info_str@oggm/cfg.py', 'description': 'Info string for the documentation.', 'signature': 'def info_str(self, key):'}</s>G = 9.80665
0
{'name': 'mat2d.set_row_strlabs@src/python_scripts/afnipy/lib_mat2d_base.py', 'description': 'input a list of strings; must match number of mat rows', 'signature': 'def set_row_strlabs(self, L):'}</s>{'name': 'vec_range_limit@src/python_scripts/afnipy/afni_util.py', 'description': 'restrict the values to [minv, maxv]\n...
0
{'name': 'device_removed@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'A device is removed', 'signature': 'def device_removed(notification):'}</s>{'name': 'set_OOB@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Send OOB to device', 'code': 'def set_OOB(sniffer, payload):\n """Send OOB ...
0