text
string
label
int64
{'name': 'GetBestInterface@comtypes/client/_managing.py', 'description': "Try to QueryInterface a COM pointer to the 'most useful'\ninterface.\n\nGet type information for the provided object, either via\nIDispatch.GetTypeInfo(), or via IProvideClassInfo.GetClassInfo().\nGenerate a wrapper module for the typelib, and QI...
0
{'name': 'angle@soundrts/lib/sound.py', 'description': 'angle of x2,y2 related to player x1,y1,o', 'signature': 'def angle(x1, y1, x2, y2, o=0):'}</s>DEFAULT_VOLUME = math.sin( math.pi / 4.0 )
0
{'name': 'TrinoDialect.get_foreign_keys@trino/sqlalchemy/dialect.py', 'description': 'Trino has no support for foreign keys. Returns an empty list.', 'signature': 'def get_foreign_keys('}</s>MISSING_COLUMN_NAME = "MISSING_COLUMN_NAME"
0
{'name': 'to_taichi_type@python/taichi/lang/util.py', 'description': 'Convert numpy or torch or paddle data type to its counterpart in taichi.\n\nArgs:\n dt (DataType): The desired data type to convert.\n\nReturns:\n DataType: The counterpart data type in taichi.', 'signature': 'def to_taichi_type(dt):'}</s>u1 = ...
1
{'name': 'setup_devices_and_management_st@backend-tests/tests/test_deployments.py', 'description': 'Sets up user creates authorized devices.', 'signature': 'def setup_devices_and_management_st(nr_devices=100, deploy_to_group=None):'}</s>{'name': 'TestPhasedRolloutConcurrencyEnterprise@backend-tests/tests/test_deploymen...
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': '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': 'degradation_bsrgan_plus@ldm/modules/image_degradation/bsrgan.py', 'description': 'This is an extended degradation model by combining\nthe degradation models of BSRGAN and Real-ESRGAN\n----------\nimg: HXWXC, [0, 1], its size should be large than (lq_patchsizexsf)x(lq_patchsizexsf)\nsf: scale factor\nuse_shuff...
1
{'name': 'prettyFrameStack@boxx/tool/toolLog.py', 'description': 'get frame return pretty str of stack\n\n>>> prettyFrameLocation(frame)\n__init__ <-f <-ff <-demo.py\n\nParameters\n----------\nframe : frame or int, default 0\n if int:相对于调用此函数frame的 int 深度的对应frame\nendByMain : bool, default True\n 为 True 则在第一个 fra...
0
{'name': 'fifo_test@examples/fifo/tests/test_fifo.py', 'description': 'FIFO Test ', 'signature': 'def fifo_test(dut):'}</s>{'name': 'coverageSection@cocotb_coverage/coverage.py', 'description': '.. deprecated:: 1.0', 'code': 'def coverageSection(*coverItems):\n """.. deprecated:: 1.0"""\n warnings.warn(\n ...
0
{'name': 'BitfieldsTestCase.test_and_python_api@tools/lldb/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py', 'description': 'Use Python APIs to inspect a bitfields variable.', 'signature': 'def test_and_python_api(self):'}</s>{'name': 'EXP_MSG@tools/lldb/packages/Python/lldbsuite/test/lldbtest.py', 'de...
0
{'name': 'TimeEntrySet.all_from_reports@toggl/api/models.py', 'description': 'Method that implements fetching of all time entries through Report API.\nNo limitation on number of time entries.\n\n:param start: From when time entries should be fetched. Defaults to today - 6 days.\n:param stop: Until when time entries sho...
0
{'name': 'ImputationKernel.mice@miceforest/imputation_kernel.py', 'description': "Perform MICE on a given dataset.\n\nMultiple Imputation by Chained Equations (MICE) is an\niterative method which fills in (imputes) missing data\npoints in a dataset by modeling each column using the\nother columns, and then inferring th...
0
{'name': 'ParserElement.addCondition@blockchain-env/lib/python3.7/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Add a boolean predicate function to expression\'s list of parse actions. See \nL{I{setParseAction}<setParseAction>} for function call signatures. Unlike C{setParseAction}, \nfunctions pas...
0
{'name': '_IncludeState.CheckNextIncludeOrder@ament_cpplint/ament_cpplint/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 ...
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': 'BareValidator._error@cerberus/validator.py', 'description': "Creates and adds one or multiple errors.\n\n:param args: Accepts different argument's signatures.\n\n *1. Bulk addition of errors:*\n\n - :term:`iterable` of\n :class:`~cerberus.errors.ValidationError`-instances...
0
{'name': 'PBES1.decrypt@blockchain-env/lib/python3.7/site-packages/Cryptodome/IO/_PBES.py', 'description': 'Decrypt a piece of data using a passphrase and *PBES1*.\n\nThe algorithm to use is automatically detected.\n\n:Parameters:\n data : byte string\n The piece of data to decrypt.\n passphrase : byte string\n ...
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>MQMD2_CURRENT_LENGTH = 364
0
{'name': 'routsign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'name,NAME,begintitle,endtitle\nrname,ctype,rformat\nroutdebugshowvalue', 'signature': 'def routsign2map(rout):'}</s>{'name': 'issigned_chararray@venv/Lib/site-packages/numpy/f2py/auxfuncs.py', 'description': 'DOCSTRING', 'code': "de...
0
{'name': 'TestInvoiceGenerationCommand.test_2nd_sub_billing_after_trial_with_some_consumed_units_overflow@silver/tests/commands/test_generate_docs.py', 'description': 'The subscription:\n * start_date=2015-05-20\n * trial_end=2015-06-03\n * first billing_date=2015-06-01\n * second billing_date=2015-06-04 (r...
1
{'name': 'build_dataset_iter@seq2seq/onmt/inputters/inputter.py', 'description': 'This returns user-defined train/validate data iterator for the trainer\nto iterate over. We implement simple ordered iterator strategy here,\nbut more sophisticated strategy like curriculum learning is ok too.', 'signature': 'def build_da...
0
{'name': 'Record.body_string@shingetsu/cache.py', 'description': 'Remove attach field.', 'signature': 'def body_string(self):'}</s>client_log = run_dir + "/client.txt"
0
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=...
0
{'name': 'task@src/apscheduler/_decorators.py', 'description': 'Decorate a function to have implied defaults as an APScheduler task.\n\n:param id: the task ID to use\n:param str job_executor: name of the job executor that will run the task\n:param int | None max_running_jobs: maximum number of instances of the task tha...
1
{'name': 'LazyRegressor.fit@lazypredict/Supervised.py', 'description': 'Fit Regression algorithms to X_train and y_train, predict and score on X_test, y_test.\nParameters\n----------\nX_train : array-like,\n Training vectors, where rows is the number of samples\n and columns is the number of features.\nX_test : a...
1
{'name': 'get_fedora_run_deps@docker/package/package_generator.py', 'description': 'List all the fedora run dependencies. Return an empty list when using prebuilt static binaries.', 'signature': 'def get_fedora_run_deps(binaries_dir):'}</s>{'name': 'get_build_deps@docker/package/package_generator.py', 'description': 'L...
0
{'name': 'refresh_trust_stores@main.py', 'description': 'Fetch each trust store and update the corresponding local YAML file at ./trust_stores.', 'signature': 'def refresh_trust_stores() -> None:'}</s>{'name': 'import_certificates@main.py', 'description': 'DOCSTRING', 'code': 'def import_certificates(folder_with_certs_...
0
{'name': 'ParserElement.setDebug@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pyparsing.py', 'description': 'Enable display of debugging messages while doing pattern matching.\nSet ``flag`` to True to enable, False to disable.\n\nExample::\n\n wd = Word(alphas).setName("alphaword")\n integer = Word(num...
0
{'name': 'get_versions@versioneer.py', 'description': "Get the project version from whatever source is available.\n\nReturns dict with two keys: 'version' and 'full'.", 'signature': 'def get_versions(verbose=False):'}</s>{'name': 'render_pep440_old@versioneer.py', 'description': 'TAG[.postDISTANCE[.dev0]] .\n\nThe ".de...
0
{'name': 'run_applescript@src/workflow/util.py', 'description': 'Execute an AppleScript script and return its output.\n\n.. versionadded:: 1.31\n\nRun AppleScript either by filepath or code. If ``script`` is a valid\nfilepath, that script will be run, otherwise ``script`` is treated\nas code.\n\nArgs:\n script (str,...
0
{'name': 'build_graph@evaluate.py', 'description': 'build tf graph for predict\nArgs:\n model_name: choose a model to build\n attention_module: must be "se_block" or "cbam_block"\n config_dict: some config for building net\n is_training: whether to train or test, here must be False\nReturn:\n det_loss: a...
0
{'name': 'VNET.__init__@dvn/vnet.py', 'description': 'Builds the network structure based on the parameters provided\nparameters:\n nchannels (int) : the number of input channels to the network.\n nlabels (int) : the number of labels to be predicted.\n nlevels (int) : the number of levels of the VNET, repr...
0
{'name': 'do_call@wrappers/python/indy_vdr/bindings.py', 'description': 'Perform a synchronous library function call.', 'signature': 'def do_call(fn_name, *args):'}</s>{'name': '_load_library@wrappers/python/indy_vdr/bindings.py', 'description': 'Load the CDLL library.\n\nThe python module directory is searched first, ...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_ESCAPE_TYPE_ERROR = 3054
0
{'name': 's3_get@pytorch_pretrained_bert/file_utils.py', 'description': 'Pull a file directly from S3.', 'signature': 'def s3_get(url: str, temp_file: IO) -> None:'}</s>logger = logging.getLogger(__name__)
0
{'name': 'validate@fairseq_cli/train.py', 'description': 'Evaluate the model on the validation set(s) and return the losses.', 'signature': 'def validate('}</s>{'name': 'get_validation_parser@fairseq/options.py', 'description': 'DOCSTRING', 'code': 'def get_validation_parser(default_task=None):\n parser = get_parser...
0
{'name': 'draw_cube@datasets/synthetic_dataset.py', 'description': 'Draw a 2D projection of a cube and output the corners that are visible\nParameters:\n min_size_ratio: min(img.shape) * min_size_ratio is the smallest achievable\n cube side size\n min_angle_rot: minimal angle of rotation\n scale_int...
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': 'displayInfo@source/pi-timolo.py', 'description': 'Display variable settings with plugin overlays if required', 'signature': 'def displayInfo(motioncount, timelapsecount):'}</s>{'name': 'createSubdir@source/pi-timolo.py', 'description': 'Create a subdirectory in directory with\nunique name based on prefix and ...
0
{'name': 'ResetNolintSuppressions@scripts/cpplint.py', 'description': 'Resets the set of NOLINT suppressions to empty.', 'signature': 'def ResetNolintSuppressions():'}</s>{'name': 'CloseExpression@scripts/cpplint.py', 'description': "If input points to ( or { or [ or <, finds the position that closes it.\n\nIf lines[li...
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_CFH_VERSION_ERROR = 3003
0
{'name': 'TestAllEntityManager.test_filter_manager_inactive@entity/tests/model_tests.py', 'description': 'Test filtering inactive entities directly from the manager.', 'signature': 'def test_filter_manager_inactive(self):'}</s>{'name': 'EntityKind@entity/models.py', 'description': 'A kind for an Entity that is useful f...
0
{'name': 'isi_post_to_swagger_path@components/create_swagger_config.py', 'description': 'Convert isi POST base endpoint description to Swagger path.', 'signature': 'def isi_post_to_swagger_path(isi_api_name, isi_obj_name_space, isi_obj_name,'}</s>{'name': 'resolve_schema_issues@components/create_swagger_config.py', 'de...
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': 'extract_nodes@mako/ext/babelplugin.py', 'description': "Extract messages from Mako's lexer node objects\n\n:param nodes: an iterable of Mako parsetree.Node objects to extract from\n:param keywords: a list of keywords (i.e. function names) that should be\n recognized as translation functions\n:...
0
{'name': 'visualize_result@image_adaptive_lut_evaluation.py', 'description': 'Saves a generated sample from the validation set', 'signature': 'def visualize_result():'}</s>{'name': 'ImageDataset_sRGB_unpaired@datasets.py', 'description': 'DOCSTRING', 'base_classes': ['Dataset'], 'methods': [{'name': 'ImageDataset_sRGB_...
0
{'name': 'video_info@videodl/views.py', 'description': 'Retrieves video info and saves it to server database.', 'signature': 'def video_info(request, download_link_uuid):'}</s>{'name': 'DownloadFormat@videodl/forms.py', 'description': 'DOCSTRING', 'base_classes': ['forms.Form'], 'methods': []}
1
{'name': 'TypeAndTypeListTestCase.test@tools/lldb/packages/Python/lldbsuite/test/python_api/type/TestTypeList.py', 'description': 'Exercise SBType and SBTypeList API.', 'signature': 'def test(self):'}</s>{'name': 'skipUnlessSupportedTypeAttribute@tools/lldb/packages/Python/lldbsuite/test/decorators.py', 'description': ...
0
{'name': 'Tempo.__init__@oqupy/tempo.py', 'description': 'Create a Tempo object. ', 'signature': 'def __init__('}</s>{'name': '_spectral_norm@oqupy/tempo.py', 'description': 'DOCSTRING', 'code': 'def _spectral_norm(operator):\n operator_square = np.conj(operator.T) @ operator\n return np.max(np.abs(np.linalg.eigv...
0
{'name': 'main@freezer/main.py', 'description': 'freezer-agent binary main execution', 'signature': 'def main():'}</s>{'name': 'save_config_to_file@freezer/utils/utils.py', 'description': 'DOCSTRING', 'code': "def save_config_to_file(config, f, section='freezer_default'):\n parser = configparser.ConfigParser()\n ...
0
{'name': 'start_sos_kernel@src/sos_notebook/test_utils.py', 'description': "start the global kernel (if it isn't running) and return its client", 'signature': 'def start_sos_kernel():'}</s>{'name': 'execute_promise@src/sos_notebook/test_utils.py', 'description': 'DOCSTRING', 'code': "def execute_promise(js, browser):\n...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQPMO_PUB_OPTIONS_MASK = 2097152
0
{'name': 'Metric.compute_through@metrics.py', 'description': 'Precomputes df -> split df and apply compute() -> postcompute.', 'signature': 'def compute_through(self, df, split_by: Optional[List[Text]] = None):'}</s>{'name': 'Ratio@metrics.py', 'description': "Syntactic sugar for Sum('A') / Sum('B').", 'base_classes': ...
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.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': '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': 'IUSequence.zone_duration@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the duration for the specified zone including adjustments\nand constraints', 'signature': 'def zone_duration('}</s>RES_TIMELINE_NEXT = "next"
0
{'name': 'reset_password@flask_security/views.py', 'description': 'View function that handles a reset password request.', 'signature': 'def reset_password(token):'}</s>{'name': 'reset_password_token_status@flask_security/recoverable.py', 'description': "Returns the expired status, invalid status, and user of a password...
1
{'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': 'GefCommand.load_extra_plugins@gef.py', 'description': 'Load the plugins from the gef-extras setting. Returns the number of new plugins added.', 'signature': 'def load_extra_plugins(self, extra_plugins_dir: pathlib.Path | None = None) -> int:'}</s>{'name': 'use_default_type@gef.py', 'description': 'DOCSTRING',...
0
{'name': 'Designmap.set_style_mapping_node@src/simple_idml/components.py', 'description': 'Do it only if self.style_mapping_node is None.', 'signature': 'def set_style_mapping_node(self):'}</s>{'name': 'Spread@src/simple_idml/components.py', 'description': ' Spread coordinates system\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': 'on_download_logs@src/server/server.py', 'description': 'Download logs (as .zip file).', 'signature': 'def on_download_logs(data):'}</s>{'name': 'determineHostAddress@src/server/server.py', 'description': 'Determines local host IP address. Will wait and retry to get valid IP, in\ncase system is starting up an...
0
{'name': 'FieldConfigPage.updateContent@source/configdialog.py', 'description': 'Update page contents from current format settings.\n ', 'signature': 'def updateContent(self):'}</s>_refLevelList = ['No Other Reference', 'File Info Reference', 'Any Ancestor Reference', 'Parent Reference', ...
0
{'name': 'CPLEX_CMD.readsol@pulp/apis/cplex_api.py', 'description': 'Read a CPLEX solution file', 'signature': 'def readsol(filename):'}</s>LpBinary = "Binary"
0
{'name': '_AdbIOManager.send@adb_shell/adb_device.py', 'description': 'Send a message to the device.\n\nParameters\n----------\nmsg : AdbMessage\n The data that will be sent\nadb_info : _AdbTransactionInfo\n Info and settings for this ADB transaction', 'signature': 'def send(self, msg, adb_info):'}</s>CLASS = 255
0
{'name': 'BaseRequest.query@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'The :attr:`query_string` parsed into a :class:`FormsDict`. These\nvalues are sometimes called "URL arguments" or "GET parameters", but\nnot to be confused with "URL wildcards" as they are provided by the\n:class:`Router`. ', 's...
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': 'distributed_train@mpirun_dis.py', 'description': '1. replay memory\n - for each timestep\n 2. async batch data \n 3. ', 'signature': 'def distributed_train(sess, env, args, actors, critics, noise, ave_n):'}</s>{'name': 'main@mpirun_dis.py', 'description': 'DOCSTRING', 'code': 'def main(args):\n # ...
0
{'name': 'FormatCode@tools/yapf/yapf/yapflib/yapf_api.py', 'description': 'Format a string of Python code.\n\nThis provides an alternative entry point to YAPF.\n\nArguments:\n unformatted_source: (unicode) The code to format.\n filename: (unicode) The name of the file being reformatted.\n remaining arguments: see co...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIAMO_CLOSES = 709
0
{'name': 'toggleManager@BlendNet/addon.py', 'description': "Running the manager instance if it's not already started or stopping it", 'signature': 'def toggleManager():'}</s>{'name': 'isPathAbsolute@BlendNet/utils.py', 'description': "Will check the path: it's absolute or not in cross-platform way", 'code': "def isPath...
0
{'name': 'CheckPrintf@tools/cpplint.py', 'description': 'Check for printf related issues.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any errors found.', 'signature': 'd...
0
{'name': 'GTestFailIfNoTestLinkedTest.Run@third_party/libgtest/googletest/test/googletest-fail-if-no-test-linked-test.py', 'description': 'Run the given program with the given flag.\n\nArgs:\n program_name: Name of the program to run.\n flag: The command line flag to pass to the program, or None.\n env: Dictionary w...
0
{'name': 'geticmptypebynumber@pf/_utils.py', 'description': 'Return the ICMP type as a string.', 'signature': 'def geticmptypebynumber(type, af):'}</s>PFR_DIR_IN = 0
0
{'name': 'init_mp_pool@oggm/workflow.py', 'description': 'Necessary because at import time, cfg might be uninitialized', 'signature': 'def init_mp_pool(reset=False):'}</s>BASENAMES = DocumentedDict()
0
{'name': 'apply_flt_dq@grizli/utils.py', 'description': 'Read and apply the compact exposure information file\n\nParameters\n----------\nfilename : str\n FLT/FLC filename.\n\nreplace : (str, str)\n Replace arguments for output DQ filename:\n\n >>> output_filename = filename.replace(replace[0], replace[1])\n\no...
0
{'name': 'Video.get_audio_idx@plex_mpv_shim/media.py', 'description': 'Returns the index of the selected stream', 'signature': 'def get_audio_idx(self):'}</s>{'name': 'get_transcode_session@plex_mpv_shim/utils.py', 'description': 'DOCSTRING', 'code': 'def get_transcode_session(domain, create=True):\n if domain not i...
0
{'name': '_len_preprocessed_single@src/betterproto/__init__.py', 'description': 'Calculate the size of adjusted values for serialization without fully serializing them.', 'signature': 'def _len_preprocessed_single(proto_type: str, wraps: str, value: Any) -> int:'}</s>WIRE_FIXED_64 = 1
0
{'name': 'create_config@python-build-with-qt/PyQt-x11-gpl-4.8/configure.py', 'description': 'Create the PyQt configuration module so that it can be imported by build\nscripts.\n\nmodule is the module file name.\ntemplate is the template file name.\nmacros is the dictionary of platform specific build macros.', 'signatur...
1
{'name': 'BaseImage.export_pixels@wand/image.py', 'description': 'Export pixel data from a raster image to\na list of values.\n\nThe ``channel_map`` tells ImageMagick which color\nchannels to export, and what order they should be\nwritten as -- per pixel. Valid entries for\n``channel_map`` are:\n\n- ``\'R\'`` - Red cha...
0
{'name': '_decode_number@fips-files/generators/sjson/__init__.py', 'description': 'Parse a number.\n\nnext_char -- the next byte in the stream.', 'signature': 'def _decode_number(stream, next_char):'}</s>{'name': '_skip_cpp_style_comment@fips-files/generators/sjson/__init__.py', 'description': 'DOCSTRING', 'code': "def...
0
{'name': 'HostRecordV6.ipv6addrs@infoblox_client/objects.py', 'description': ':meta private:', 'signature': 'def ipv6addrs(self):'}</s>{'name': 'NsgroupForwardingmember@infoblox_client/objects.py', 'description': "NsgroupForwardingmember: Forwarding Member Name Server Group\nobject.\nCorresponds to WAPI object 'nsgroup...
0
{'name': 'SignatureHash@qa/rpc-tests/test_framework/script.py', 'description': 'Consensus-correct SignatureHash\n\nReturns (hash, err) to precisely match the consensus-critical behavior of\nthe SIGHASH_SINGLE bug. (inIdx is *not* checked for validity)', 'signature': 'def SignatureHash(script, txTo, inIdx, hashtype):'}<...
0
{'name': 'include_decl@src/services/mpiwrap/wrap.py', 'description': 'This function is used by macros to include attributes MPI declarations in their scope.', 'signature': 'def include_decl(scope, decl):'}</s>mpi_handle_types = set(["MPI_Comm", "MPI_Errhandler", "MPI_File", "MPI_Group", "MPI_Info", ...
0
{'name': 'visualize_pdb@enzynet/visualization.py', 'description': 'Plots PDB in a volume and saves it in a file.', 'signature': 'def visualize_pdb(pdb_id: Text, p: int = 5, v_size: int = 32, num: int = 1,'}</s>{'name': 'sparsify@enzynet/volume.py', 'description': 'Returns labels in binary NumPy array.', 'code': 'def sp...
0
{'name': 'TDClient.searchDF@tdameritrade/client.py', 'description': 'search for symbol as a dataframe', 'signature': 'def searchDF(self, symbol, projection="symbol-search"):'}</s>CANCEL_ORDER = BASE + "accounts/{accountId}/orders/{orderId}"
0
{'name': 'wasm_vec_to_list@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a vector or a POINTER(vector) to a list\nvector of type pointers -> list of type pointers', 'signature': 'def wasm_vec_to_list(vec):'}</s>{'name': 'wasm_globaltype_vec_delete@language-bindings/python/src/wamr/wasmcap...
0
{'name': 'GTestFilterUnitTest.RunAndVerifyWithSharding@swap-ssdb-1.9.2/tests/googletest/googletest/test/gtest_filter_unittest.py', 'description': 'Checks that binary runs correct tests for the given filter and shard.\n\nRuns all shards of gtest_filter_unittest_ with the given filter, and\nverifies that the right set of...
1
{'name': 'normalize_dictionary@CherryConText/trunk/pyConTextKit/templates/media/admin/helpers.py', 'description': 'Converts all the keys in "data_dict" to strings. The keys must be\nconvertible using str().', 'signature': 'def normalize_dictionary(data_dict):'}</s>checkbox = forms.CheckboxInput({'class': 'action-select...
0
{'name': 'quantize_pact@nemo/transform.py', 'description': "Takes a PyTorch module and makes it quantization-aware with PACT, recursively.\n\nThe function follows recursively the data structures containing PyTorch layers (typically as hierarchical lists, e.g.\nblock-level :py:class:`torch.nn.Sequential` for networks li...
0
{'name': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>_z3_pre_html_precedence = {Z3_OP_BUDIV: 2, Z3_OP_BUREM: 2, Z3_OP_BLSHR: 4, Z3_OP_ULEQ: 8, Z3_OP_ULT: 8, ...
0
{'name': 'enable_notebook@mpld3/_display.py', 'description': 'Enable the automatic display of figures in the IPython Notebook.\n\nThis function should be used with the inline Matplotlib backend\nthat ships with IPython that can be enabled with `%pylab inline`\nor `%matplotlib inline`. This works by adding an HTML forma...
0
{'name': 'isa_c@riscvmodel/isa.py', 'description': 'Decorator for the instructions. The decorator contains the static information for the\ninstructions, in particular the encoding parameters and the assembler mnemonic.\n\n:param mnemonic: Assembler mnemonic\n:return: Wrapper class that overwrites the actual definition ...
0
{'name': 'convert_pdb_to_mmcif@colabfold/batch.py', 'description': 'convert existing pdb files into mmcif with the required poly_seq and revision_date', 'signature': 'def convert_pdb_to_mmcif(pdb_file: Path):'}</s>{'name': 'set_model_type@colabfold/batch.py', 'description': 'DOCSTRING', 'code': 'def set_model_type(is_c...
0
{'name': 'SlipSystem.generateFamily@defdap/crystal.py', 'description': 'Generate the family of slip systems which this system belongs to.\n\nReturns\n-------\nlist of SlipSystem\n The family of slip systems.', 'signature': 'def generateFamily(self):'}</s>{'name': 'reduceIdc@defdap/crystal.py', 'description': 'Reduce...
1
{'name': 'NetSuiteClient.login@netsuitesdk/internal/client.py', 'description': 'Authenticate and login user for a Netsuite session. The passport argument is\nof type Passport(email, password, role and account) which holds the credentials\nand can be created with NetSuiteClient.create_password.\n\n:param int application...
1
{'name': 'aprint@art/functions.py', 'description': 'Print 1-line art.\n\n:param artname: art name\n:type artname : str\n:param number: number of repeats\n:type number: int\n:param space: space between arts\n:type space: int\n:return: None', 'signature': 'def aprint(artname, number=1, space=1):'}</s>{'name': 'indirect_f...
0
{'name': 'Asizer._sizer@pyFileFixity/lib/profilers/visual/pympler/asizeof.py', 'description': 'Size an object, recursively.\n ', 'signature': 'def _sizer(self, obj, deep, sized):'}</s>{'name': '_Prof@pyFileFixity/lib/profilers/visual/pympler/asizeof.py', 'description': 'Internal type profile class.\n ', 'base...
0