text
string
label
int64
{'name': 'PapermillIO.get_handler@papermill/iorw.py', 'description': 'Get I/O Handler based on a notebook path\n\nParameters\n----------\npath : str or nbformat.NotebookNode or None\nextensions : list of str, optional\n Required file extension options for the path (if path is a string), which\n will log a warning...
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': '_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': '_FilterExcludedFiles@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Filters out files listed in ...
0
{'name': 'orig_torrent@tests/conftest.py', 'description': 'Torrent to remain in qBittorrent for entirety of session.', 'signature': 'def orig_torrent(client):'}</s>TORRENT1_URL = f"https://github.com/rmartin16/qbittorrent-api/raw/main/tests/_resources/{TORRENT1_FILENAME}"
0
{'name': 'test_fail_matchers_error@responses/tests/test_matchers.py', 'description': 'Validate that Exception is raised if request does not match responses.matchers\n validate matchers.urlencoded_params_matcher\n validate matchers.json_params_matcher\n validate matchers.query_param_matcher\n validate matche...
0
{'name': 'A1DInterface.process_data@src/python_scripts/scripts/1d_tool.py', 'description': 'return None on completion, else error code (0 being okay)', 'signature': 'def process_data(self):'}</s>{'name': 'slice_pattern_to_order@src/python_scripts/afnipy/afni_util.py', 'description': 'return a list of slice order indice...
0
{'name': 'convert_to_nii@dvn/utils.py', 'description': 'Convert image files to nifti image files.', 'signature': 'def convert_to_nii(filenames):'}</s>{'name': 'get_volume_from_patches@dvn/utils.py', 'description': 'DOCSTRING', 'code': 'def get_volume_from_patches(patches5d, divs = (2,2,2,1), offset=(5,5,5,0)):\n new...
0
{'name': 'MatchedPairsRMSETest.testSimulateGeoXDataRandomization@trimmed_match/design/tests/matched_pairs_rmse_test.py', 'description': 'Checks randomization within the pair.', 'signature': 'def testSimulateGeoXDataRandomization(self):'}</s>{'name': 'GeoLevelPotentialOutcomes@trimmed_match/design/common_classes.py', 'd...
0
{'name': 'RobotFileParser.can_fetch@src/future/backports/urllib/robotparser.py', 'description': 'using the parsed robots.txt decide if useragent can fetch url', 'signature': 'def can_fetch(self, useragent, url):'}</s>{'name': 'DefragResultBytes@src/future/backports/urllib/parse.py', 'description': 'DOCSTRING', 'base_cl...
0
{'name': 'test_multiplication@unyt/tests/test_units.py', 'description': 'Multiply two units.', 'signature': 'def test_multiplication():'}</s>rate = 1 / time
0
{'name': 'Client.get_constants@clashroyale/royaleapi/client.py', 'description': 'Get the CR Constants\n\nParameters\n----------\n\\*\\*keys: Optional[list] = None\n Filter which keys should be included in the\n response\n\\*\\*exclude: Optional[list] = None\n Filter which keys should be excluded from the\n ...
0
{'name': '_FixPath@gyp/pylib/gyp/generator/msvs.py', 'description': 'Convert paths to a form that will make sense in a vcproj file.\n\nArguments:\n path: The path to convert, may contain / etc.\nReturns:\n The path with all slashes made into backslashes.', 'signature': 'def _FixPath(path, separator="\\\\"):'}</s>{'na...
0
{'name': 'auto_from_etree@a38/fattura.py', 'description': 'Instantiate a Fattura or FatturaElettronicaSemplificata from a parsed XML', 'signature': 'def auto_from_etree('}</s>{'name': 'DatiOrdineAcquisto@a38/fattura.py', 'description': 'DOCSTRING', 'base_classes': ['DatiDocumentiCorrelati'], 'methods': []}
0
{'name': 'CustomMainWidget.addToList@src/gui/main_widget.py', 'description': 'Adds mod data to the list', 'signature': 'def addToList('}</s>{'name': 'get_dark_palette@src/gui/themes.py', 'description': 'DOCSTRING', 'code': 'def get_dark_palette():\n palette = QPalette()\n palette.setColor(QPalette.Window, QColor(...
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.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': 'load_operator@streaming/python/raystreaming/operator.py', 'description': 'Deserialize `descriptor_operator_bytes` to get operator info, then\ncreate streaming operator.\nNote that this function must be kept in sync with\n `io.ray.streaming.runtime.python.GraphPbBuilder.serializeOperator`\n\nArgs:\n descrip...
0
{'name': 'git_ls_local@airflow_code_editor/git.py', 'description': "'git ls-tree' like output for local folders", 'signature': 'def git_ls_local(git_args: List[str]) -> str:'}</s>{'name': 'prepare_api_response@airflow_code_editor/utils.py', 'description': 'Prepare API response (JSON)', 'code': 'def prepare_api_response...
0
{'name': 'DataModule.__init__@src/Pix2Pix/Pix2Pix-PL.py', 'description': 'Parameters:\n url: Download URL of the dataset\n root_dir: Root dir where dataset needs to be downloaded\n img_sz: Size of the Image\n trn_batch_sz: Training Batch Size\n tst_batch_sz: Test Batch Size', 'signatur...
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': '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': 'FloatValueChecker.CheckValue@python/google/protobuf/internal/type_checkers.py', 'description': 'Check and convert proposed_value to float.', 'signature': 'def CheckValue(self, proposed_value):'}</s>_DecodeVarint = _VarintDecoder((1 << 64) - 1, int)
0
{'name': 'LayoutViewSet.download_layout@vulfocus-api/layout_image/views.py', 'description': '下载环境编排压缩包\n:param request:\n:param pk:\n:return:', 'signature': 'def download_layout(self, request, pk=None):'}</s>BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
1
{'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_meta_insight@ut/test.py', 'description': 'DOCSTRING', 'code': 'def test_meta_insight():\n response, data = ci_create_data...
0
{'name': 'UNSUBSCRIBE.encode@src/mqtt/pdu.py', 'description': 'Encode and store an UNSUBCRIBE control packet\n@raise e: C{ValueError} if any encoded topic string exceeds 65535 bytes', 'signature': 'def encode(self):'}</s>{'name': 'SUBACK@src/mqtt/pdu.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods...
0
{'name': 'MeCab.dictionary@mecab/mecab.py', 'description': 'Returns the currently loaded dictionaries.\n\nReturns:\n A list of `Dictionary` objects representing the dictionaries currently loaded.', 'signature': 'def dictionary(self) -> list[Dictionary]:'}</s>{'name': 'to_csv@mecab/utils.py', 'description': 'DOCSTRIN...
0
{'name': 'TestEffectPrediciton.test_mouse_6@test/test_base.py', 'description': 'Test junction location annotated', 'signature': 'def test_mouse_6(self):'}</s>{'name': 'TestEffectPrediciton@test/test_base.py', 'description': 'Test correctly predict junction location annotation and fusion effect.', 'base_classes': ['unit...
1
{'name': 'test_second_hoisted_setting_is_applied@test/io/test_io.py', 'description': 'test that statement_timeout is applied and work_mem is not applied', 'signature': 'def test_second_hoisted_setting_is_applied(defaultenv):'}</s>{'name': 'test_statement_timeout@test/io/test_io.py', 'description': 'Statement timeout ti...
0
{'name': 'main@linodecli/__init__.py', 'description': 'Handle incoming command arguments', 'signature': 'def main(): # pylint: disable=too-many-branches,too-many-statements'}</s>skip_config = any( c in argv for c in ["--skip-config", "--help", "--version", "completion"] ) or TEST_MODE
1
{'name': 'KubeSpawner._options_from_form@kubespawner/spawner.py', 'description': 'Called by jupyterhub when processing a request to spawn a server, where\nthe user either have submitted a POST request via a form or submitted a\nGET request with query parameters.\n\nThis only constructs the user_options dict,\nit should...
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': 'mount_imagenet@train.py', 'description': 'Attaches EBS disks with imagenet data to each task of the job.', 'signature': 'def mount_imagenet(job: ncluster.aws_backend.Job):'}</s>four_machines = [ {'ep': 0, 'sz': 128, 'bs': bs[0], 'trndir': '-sz/160'}, # bs = 256 * 4 * 8 = 8192 {'ep': (0, 6), 'lr': ...
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': '_create_encoding@python/src/rtmp_live_encoding.py', 'description': 'Creates an Encoding object. This is the base object to configure your encoding.\n\nAPI endpoint:\nhttps://bitmovin.com/docs/encoding/api-reference/sections/encodings#/Encoding/PostEncodingEncodings\n\n:param name: A name that will help you id...
0
{'name': 'XLNetPreTrainedModel._init_weights@technique_classification/transformers_classifier/modeling_xlnet.py', 'description': 'Initialize the weights.\n ', 'signature': 'def _init_weights(self, module):'}</s>{'name': 'XLNetLMHeadModel@technique_classification/transformers_classifier/modeling_xlnet.py', 'descr...
0
{'name': 'vis@web500-6/www/vendor/psy/psysh/test/tools/vis.py', 'description': "Encodes the string `src` into libbsd's vis encoding.\n`flags` must be one of the VIS_* constants\n\nC definition:\nint strvis(char *dst, char *src, int flags);", 'signature': 'def vis(src, flags=VIS_WHITE):'}</s>VIS_WHITE = VIS_SP | VIS_TAB...
1
{'name': 'Project.get_generated_project_files@project_generator/project.py', 'description': 'Get generated project files, the content depends on a tool. Look at tool implementation ', 'signature': 'def get_generated_project_files(self, tool):'}</s>VALID_EXTENSIONS = reduce(lambda x,y:x+y,[FILES_EXTENSIONS[key] for key ...
0
{'name': 'SpellTextEditor.correctWord@snakefire/qtx.py', 'description': 'Replaces the selected text with word.', 'signature': 'def correctWord(self, word):'}</s>{'name': 'EditorKeyPressEventFilter@snakefire/qtx.py', 'description': 'DOCSTRING', 'base_classes': ['QtCore.QObject'], 'methods': [{'name': 'EditorKeyPressEven...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIA_MSG_DEQ_COUNT = 38
0
{'name': 'SchemaClass.getHighestType@redfish_service_validator/catalog.py', 'description': "Get Highest possible version for given type.\n\n:param acquiredtype: Type available\n:param limit: Version string limit (full namespace or just version 'v1_x_x')", 'signature': 'def getHighestType(self, my_full_type, limit=None)...
1
{'name': 'TestFacebookWebMiddleware.test_application_authorization@tests/test_fandjango.py', 'description': 'Verify that the user is redirected to authorize the application\nupon querying a view decorated by ``facebook_authorization_required``\nsans code nor access token.', 'signature': 'def test_application_authorizat...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCACF_SYSP_ARCHIVE_PFX2 = 3147
0
{'name': 'TestAllEntityManager.test_is_sub_to_all_manager@entity/tests/model_tests.py', 'description': 'Tests the is_sub_to_all for an entity directly from the entity manager.', 'signature': 'def test_is_sub_to_all_manager(self):'}</s>{'name': 'EntityGroupRemoveEntityTest@entity/tests/model_tests.py', 'description': 'D...
0
{'name': 'TestConfigBase.tearDown@test/test_config.py', 'description': 'Test case common fixture teardown.', 'signature': 'def tearDown(self):'}</s>UPDATE_DONE = False
0
{'name': 'jitcode_transversal_lyap.set_initial_value@jitcode/_jitcode.py', 'description': 'Like the analogous function of `jitcode`/`scipy.integrate.ode`, except that only one initial value per group of synchronised components has to be provided (in the same order as the `groups` argument of the constructor).', 'signat...
0
{'name': 'DistModel.initialize@training_codes/modules/dist_model.py', 'description': "INPUTS\n model - ['net-lin'] for linearly calibrated network\n ['net'] for off-the-shelf network\n ['L2'] for L2 distance in Lab colorspace\n ['SSIM'] for ssim in RGB colorspace\n net - ['squeeze...
0
{'name': 'Serial.write@serial/serialwin32.py', 'description': 'Output the given byte string over the serial port.', 'signature': 'def write(self, data):'}</s>ClearCommError = _stdcall_libraries['kernel32'].ClearCommError
0
{'name': 'noise_per_object_v3_@mmdetection3d/mmdet3d/datasets/pipelines/data_augment_utils.py', 'description': 'Random rotate or remove each groundtruth independently. use kitti viewer\nto test this function points_transform_\n\nArgs:\n gt_boxes (np.ndarray): Ground truth boxes with shape (N, 7).\n points (np.nda...
0
{'name': 'LndNode.__init__@lndmanage/lib/node.py', 'description': ':param config_file: path to the config file\n:param lnd_home: path to lnd home folder\n:param lnd_host: lnd host of format "127.0.0.1:9735"\n:param regtest: if the node is representing a regtest node', 'signature': 'def __init__(self, config_file: Optio...
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': 'findAllQuestionId@static/watool/utilities/Code/exportImportWAFR.py', 'description': "Find all question ID's ", 'signature': 'def findAllQuestionId('}</s>PARSER = argparse.ArgumentParser( formatter_class=argparse.RawDescriptionHelpFormatter, description='''\ This utility has two options to run: -------...
0
{'name': 'CheckREOS@scopy/ScoDruglikeness/rulesfilter.py', 'description': "Check molecular under REOS program\n\nReference:\n Walters, W. Patrick, and Mark Namchuk.\n Nat Rev Drug Discov, 2.4 (2003): 259.\n \nRule details:\n 200 <= MW <= 500\n -5 <= logP <= 5\n nHD <= 5\n nHA <= 10\n nRot <= 8\n...
0
{'name': 'files@svcs/soundscape-authoring/backend/files/views.py', 'description': 'Returns the requested file from the a path\n\nUser generated files are stored in an Azure Storage account.\nThis view is a proxy to that storage.', 'signature': 'def files(_, resource):'}</s>BLOB_PATH_PREFIX = os.environ.get('AZURE_STORA...
1
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCACF_RESOLVED_LOCAL_Q_NAME = 3195
0
{'name': 'test_assert_return@tests/requirement-engineering/gc-aot/runtest.py', 'description': 'm. to search a pattern like (assert_return (invoke function_name ... ) ...)\nn. to search a pattern like (assert_return (invoke $module_name function_name ... ) ...)', 'signature': 'def test_assert_return(r, opts, form):'}</s...
0
{'name': 'test_expected_loss_improvement_is_less_than_total_loss@adaptive/tests/test_learners.py', 'description': 'The estimated loss improvement can never be greater than the total loss.', 'signature': 'def test_expected_loss_improvement_is_less_than_total_loss('}</s>{'name': 'test_uniform_sampling1D@adaptive/tests/te...
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': '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': 'pre_tokenize@examples/basic_language_model_cpm_lm.py', 'description': '分词前处理函数\n ', 'signature': 'def pre_tokenize(text):'}</s>{'name': 'SpTokenizer@bert4keras/tokenizers.py', 'description': '基于SentencePiece模型的封装,使用上跟Tokenizer基本一致。\n ', 'base_classes': ['TokenizerBase'], 'methods': [{'name': 'SpTokenize...
0
{'name': 'UNSUBSCRIBE.encode@src/mqtt/pdu.py', 'description': 'Encode and store an UNSUBCRIBE control packet\n@raise e: C{ValueError} if any encoded topic string exceeds 65535 bytes', 'signature': 'def encode(self):'}</s>log = Logger(namespace='mqtt')
0
{'name': 'ProcessFileData@third_party/cpplint/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 rep...
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': 'build_plotter@brainspace/plotting/surface_plotting.py', 'description': "Build plotter arranged according to the `layout`.\n\nParameters\n----------\nsurfs : dict[str, BSPolyData]\n Dictionary of surfaces.\nlayout : array-like, shape = (n_rows, n_cols)\n Array of surface keys in `surfs`. Specifies how wi...
1
{'name': 'axes_check_and_normalize@csbdeep/utils/utils.py', 'description': 'S(ample), T(ime), C(hannel), Z, Y, X', 'signature': 'def axes_check_and_normalize(axes,length=None,disallowed=None,return_allowed=False):'}</s>{'name': 'normalize_minmse@csbdeep/utils/utils.py', 'description': 'Affine rescaling of x, such that ...
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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCTES_NOSYNC = 0
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': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>{'name': 'hfsc_pktcntr@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []}
0
{'name': 'apply_along_axis@venv/Lib/site-packages/numpy/ma/extras.py', 'description': '(This docstring should be overwritten)', 'signature': 'def apply_along_axis(func1d, axis, arr, *args, **kwargs):'}</s>{'name': 'dtype_short_repr@venv/Lib/site-packages/numpy/core/arrayprint.py', 'description': 'Convert a dtype to a s...
0
{'name': 'unpack_properties@mqttools/common.py', 'description': 'Return a dictionary of unpacked properties.\n\n ', 'signature': 'def unpack_properties(packet_name,'}</s>{'name': 'format_packet@mqttools/common.py', 'description': 'DOCSTRING', 'code': "def format_packet(prefix, packet):\n lines = []\n\n try:\n ...
0
{'name': 'Arcball.drag@transformations.py', 'description': 'Update current cursor window coordinates.', 'signature': 'def drag(self, point):'}</s>{'name': 'angle_between_vectors@transformations.py', 'description': 'Return angle between vectors.\n\nIf directed is False, the input vectors are interpreted as undirected ax...
0
{'name': 'PostgresNode.source_walsender@testgres/node.py', 'description': "Returns master's walsender feeding this replica.", 'signature': 'def source_walsender(self):'}</s>UTILS_LOG_FILE = "utils.log"
0
{'name': 'lookup_address@gef.py', 'description': 'Try to find the address in the process address space.\nReturn an Address object, with validity flag set based on success.', 'signature': 'def lookup_address(address: int) -> Address:'}</s>{'name': 'gef_pybytes@gef.py', 'description': 'Returns an immutable bytes list fro...
0
{'name': 'TestPraetorian.test_read_token_from_header@tests/test_base.py', 'description': "This test verifies that a token may be properly read from a flask\nrequest's header using the configuration settings for header name and\ntype", 'signature': 'def test_read_token_from_header(self, app, db, user_class, client):'}</...
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': 'Application._load_environment@robopianist/viewer/application.py', 'description': 'Loads a new environment.', 'signature': 'def _load_environment(self, zoom_to_scene):'}</s>_MIDI_N_NOTES_LABEL = "Notes"
0
{'name': 'download@ytmdl/core.py', 'description': 'Download the song by using the passed link.\n\nThe song will be saved with the passed title.\nReturn the saved path of the song.', 'signature': 'def download(link, yt_title, args) -> str:'}</s>logger = Logger("song")
1
{'name': 'Cache.search@shingetsu/cache.py', 'description': 'Search node from network and get records.', 'signature': 'def search(self, searchlist=None, myself4=None, myself6=None):'}</s>{'name': 'RecentList@shingetsu/cache.py', 'description': 'Recent updated files list.\n\nProvide file names and tags for node manager.'...
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': 'SpeechLSTMModel.build_model@espresso/models/speech_lstm.py', 'description': 'Build a new model instance.', 'signature': 'def build_model(cls, args, task):'}</s>{'name': 'speech_conv_lstm_swbd@espresso/models/speech_lstm.py', 'description': 'DOCSTRING', 'code': 'def speech_conv_lstm_swbd(args):\n args.dropo...
0
{'name': 'ModelTemporal@tomophantom/TomoP3D.py', 'description': 'Generates 4D (3D+time) phantom based on the model no. in\nthe library file Phantom3DLibrary.dat.\n\nArgs:\n model_no (int): Model number from the Phantom3DLibrary.dat library file.\n phantom_size (int, Tuple(int)): A scalar or a tuple with phantom d...
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': 'JavaObjectUnmarshaller.do_classdesc@javaobj/v1/unmarshaller.py', 'description': 'Handles a TC_CLASSDESC opcode\n\n:param parent:\n:param ident: Log indentation level\n:return: A JavaClass object', 'signature': 'def do_classdesc(self, parent=None, ident=0):'}</s>{'name': 'log_debug@javaobj/utils.py', 'descript...
1
{'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': 'WrappedSocket.handshake@blockchain-env/lib/python3.7/site-packages/urllib3/contrib/securetransport.py', 'description': "Actually performs the TLS handshake. This is run automatically by\nwrapped socket, and shouldn't be needed in user code.", 'signature': 'def handshake('}</s>_protocol_to_min_max = { util...
0
{'name': 'load_snapshots@k8s_snapshots/backends/google.py', 'description': 'Return the existing snapshots.', 'signature': 'def load_snapshots(ctx, label_filters: Dict[str, str]) -> List[Snapshot]:'}</s>{'name': 'UnsupportedVolume@k8s_snapshots/errors.py', 'description': "Raised for PersistentVolumes we can't snapshot "...
0
{'name': 'UnpackTag@third_party/include/protobuf-2.6.1/python/google/protobuf/internal/wire_format.py', 'description': 'The inverse of PackTag(). Given an unsigned 32-bit number,\nreturns a (field_number, wire_type) tuple.', 'signature': 'def UnpackTag(tag):'}</s>{'name': 'EncodeError@third_party/include/protobuf-2.6....
0
{'name': 'match_resolution@macrodensity/tools.py', 'description': 'Match the resolutions of two datasets by cubic spline interpolation.\n\nParameters:\n A (:obj:`numpy.ndarray`): The first dataset containing potential values in the format (x, potential).\n\n B (:obj:`numpy.ndarray`): The second dataset containing...
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': 'update_weights_sgd@chapter5/logistic_regression_from_scratch.py', 'description': 'One weight update iteration: moving weights by one step based on each individual sample\nArgs:\n X_train, y_train (numpy.ndarray, training data set)\n weights (numpy.ndarray)\n learning_rate (float)\nReturns:\n numpy...
0
{'name': 'PACT_Conv1d.get_output_eps@nemo/quant/pact.py', 'description': 'Get the output quantum (:math:`\\varepsilon`) given the input one.\n\n:param eps_in: input quantum :math:`\\varepsilon_{in}`.\n:type eps_in: :py:class:`torch.Tensor`\n:return: output quantum :math:`\\varepsilon_{out}`.\n:rtype: :py:class:`torch...
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': 'jaccard@utils/utils.py', 'description': 'Compute the jaccard overlap of two sets of boxes. The jaccard overlap\nis simply the intersection over union of two boxes. Here we operate on\nground truth boxes and default boxes. If iscrowd=True, put the crowd in box_b.\nE.g.:\n A ∩ B / A ∪ B = A ∩ B / (area(A) ...
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': '_determine_arch_and_proj@s2e_env/commands/new_project.py', 'description': "Check that the given target is supported by S2E.\n\nThe target's magic is checked to see if it is a supported file type (e.g.\nELF, PE, etc.). The architecture and operating system that the target was\ncompiled for (e.g., i386 Windows,...
0
{'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': 'MultiLingualMaskedLMTask.load_dataset@fairseq/tasks/multilingual_masked_lm.py', 'description': 'Load a given dataset split.\n\nArgs:\n split (str): name of the split (e.g., train, valid, test)', 'signature': 'def load_dataset(self, split, epoch=1, combine=False, **kwargs):'}</s>{'name': 'import_user_module...
0
{'name': 'read_metadata@pystore/utils.py', 'description': 'use this to construct paths for future storage support ', 'signature': 'def read_metadata(path):'}</s>DEFAULT_PATH = os.environ.get("PYSTORE_PATH", Path.home() / "pystore")
0
{'name': 'Win32Serial.write@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Output the given string over the serial port.', 'signature': 'def write(self, data):'}</s>LPDWORD = POINTER(DWORD)
0
{'name': 'on_load_data@src/server/server.py', 'description': 'Allow pages to load needed data', 'signature': 'def on_load_data(data):'}</s>MIN_PYTHON_MAJOR_VERSION = 3
0