text
string
label
int64
{'name': 'error_screen@displays/papiruszero2in.py', 'description': 'Error screen\n ', 'signature': 'def error_screen(message="ERROR"):'}</s>lnurl_cancel_notice_2 = "(Non compatibile con LNURL?"
0
{'name': 'is_on_the_line@articles/inversion.py', 'description': "Check if 'point' is on the line given by two points 'lp1' and 'lp2'.", 'signature': 'def is_on_the_line(point, lp1, lp2, thres = 1e-6):'}</s>{'name': 'InversedDot@articles/inversion.py', 'description': 'DOCSTRING', 'base_classes': ['VMobject'], 'methods':...
0
{'name': 'train_one_epoch@train.py', 'description': 'ops: dict mapping from string to tf ops ', 'signature': 'def train_one_epoch(sess, ops, train_writer):'}</s>BN_DECAY_CLIP = 0.99
0
{'name': 'Architecture.__get_register@gef.py', 'description': "Return a register's value.", 'signature': 'def __get_register(self, regname: str) -> int:'}</s>{'name': 'style_byte@gef.py', 'description': 'DOCSTRING', 'code': 'def style_byte(b: int, color: bool = True) -> str:\n style = {\n "nonprintable": "yel...
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': 'XLNetFeedForward@technique_classification/transformers_classifier/modeling_xlnet.py', 'descr...
0
{'name': 'test_when_inheriting_a_singleton_instance@tests/test_scoped_resolution.py', 'description': 'In this test, we have a FancyDbMessageWriter in the parent\nBoth scopes should resolve, with the same connection string.', 'signature': 'def test_when_inheriting_a_singleton_instance():'}</s>{'name': 'test_when_the_par...
0
{'name': '_run_cmd@bin/smrtsv.py', 'description': 'Run a command with the proper environment set.\n\n:param args: A tuple of arguments starting with the command name.\n\n:return: Return code or -1 if the process did not complete.', 'signature': 'def _run_cmd(args):'}</s>CLUSTER_FLAG = ("--drmaa", CLUSTER_SETTINGS, "-w"...
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': 'serve_file_helper@videodl/views.py', 'description': 'Serves the given local server file to remote client via attachment.', 'code': 'de...
0
{'name': 'format_filename@nhentai/utils.py', 'description': 'It used to be a whitelist approach allowed only alphabet and a part of symbols.\nbut most doujinshi\'s names include Japanese 2-byte characters and these was rejected.\nso it is using blacklist approach now.\nif filename include forbidden characters (\'/:,;*?...
0
{'name': 'Client.__init__@python-sdk/pachyderm_sdk/client.py', 'description': "Creates a Pachyderm client.\n\nParameters\n----------\nhost : str, optional\n The pachd host. Default is 'localhost', which is used with\n ``pachctl port-forward``.\nport : int, optional\n The port to connect to. Default is 30650.\n...
0
{'name': 'get_info@venv/Lib/site-packages/numpy/distutils/system_info.py', 'description': 'notfound_action:\n 0 - do nothing\n 1 - display warning message\n 2 - raise error', 'signature': 'def get_info(name, notfound_action=0):'}</s>{'name': 'dict_append@venv/Lib/site-packages/numpy/distutils/system_info.py', 'descr...
0
{'name': 'Product._load@eoreader/products/product.py', 'description': 'Core function loading optical data bands\n\nArgs:\n bands (list): Band list\n pixel_size (float): Pixel size of the band, in meters\n size (Union[tuple, list]): Size of the array (width, height). Not used if pixel_size is provided.\n kwa...
0
{'name': 'Serial._update_dtr_state@serial/serialwin32.py', 'description': 'Set terminal status line: Data Terminal Ready', 'signature': 'def _update_dtr_state(self):'}</s>CLRRTS = 4
0
{'name': 'get_user@backend/app/routers/user.py', 'description': "Endpoint to get a user's info by id.\n\nWarnings:\n Need security on this endpoint.", 'signature': 'def get_user(user_id: int, db: Session = Depends(get_db)):'}</s>{'name': 'decode_token@backend/app/auth.py', 'description': "Returns the user for the to...
0
{'name': 'initialize_jwst_image@grizli/jwst_utils.py', 'description': 'Make copies of some header keywords to make the headers look like\nand HST instrument\n\n1) Apply gain correction [*NOT PERFORMED*]\n2) Clip DQ bits\n3) Copy header keywords\n4) Apply exposure-level 1/f correction\n5) Apply flat field if necessary\n...
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': 'test_get_cve_id_state_in_choices@test-http/src/test/cve_id_tests/cve_id_as_org_admin.py', 'description': "state parameter can only be 'REJECTED', 'PUBLISHED' or 'RESERVED' ", 'signature': 'def test_get_cve_id_state_in_choices(org_admin_headers):'}</s>{'name': 'test_get_cve_id@test-http/src/test/cve_id_tests/c...
0
{'name': 'TodoistAPI._update_state@todoist/api.py', 'description': 'Updates the local state, with the data returned by the server after a\nsync.', 'signature': 'def _update_state(self, syncdata):'}</s>{'name': 'Project@todoist/models.py', 'description': 'Implements a project.', 'base_classes': ['Model'], 'methods': [{'...
1
{'name': 'process_line@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_internal/req/req_file.py', 'description': 'Process a single requirements line; This can result in creating/yielding\nrequirements, or updating the finder.\n\nFor lines that contain requirements, the only options that have an effect\nare from SUPPOR...
1
{'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': 'CheckBraces@scripts/cpplint.py', 'description': 'Looks for misplaced braces (e.g. at the end of line).\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 f...
0
{'name': 'InfobloxObject.fetch@infoblox_client/objects.py', 'description': 'Fetch object from NIOS by _ref or searchfields\n\nUpdate existent object with fields returned from NIOS\n\nReturns:\n True if object successfully fetched. False otherwise.\nRaises:\n InfobloxFetchGotMultipleObjects:\n If fetch got ...
0
{'name': 'VolumeGANGenerator.__init__@models/volumegan_generator.py', 'description': 'Initializes with basic settings.\n\nRaises:\n ValueError: If the `resolution` is not supported, or `architecture`\n is not supported.', 'signature': 'def __init__(self,'}</s>{'name': '_should_use_custom_op@third_party/styleg...
0
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>CSR_MHPMCOUNTER6 = 2822
0
{'name': 'Ty.assert_isadjoint@discopy/rigid.py', 'description': 'Raise ``AxiomError`` if two rigid types are not adjoints.\n\nParameters:\n other : The alleged right adjoint.', 'signature': 'def assert_isadjoint(self, other):'}</s>{'name': 'Box@discopy/closed.py', 'description': 'A closed box is a monoidal box in a ...
0
{'name': 'gen_invalid_vectors@contrib/testgen/gen_base58_test_vectors.py', 'description': 'Generate invalid test vectors', 'signature': 'def gen_invalid_vectors():'}</s>b58chars = __b58chars
1
{'name': '__listAllUE9Unix@src/LabJackPython.py', 'description': 'Private listAll function for use on unix and mac machines to find UE9s.\n ', 'signature': 'def __listAllUE9Unix(connectionType):'}</s>{'name': 'StringToDoubleAddress@src/LabJackPython.py', 'description': 'Converts an IP string to a number (base 10).\n...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIA_CHINIT_ADAPTERS = 101
0
{'name': 'count_velocity_smartseq3@kb_python/count.py', 'description': 'Generates count matrices for Smartseq3 (DEPRECATED).\n\nArgs:\n index_path: Path to kallisto index\n t2g_path: Path to transcript-to-gene mapping\n out_dir: Path to output directory\n fastqs: List of FASTQ file paths\n whitelist_path...
1
{'name': 'ensure_vpc@aegea/util/aws/__init__.py', 'description': 'If a default VPC exists in the current account/region, return it; otherwise, return the first VPC managed by aegea,\ncreating a new one (with an associated IGW, route table, and subnet per AZ) if it does not exist.', 'signature': 'def ensure_vpc():'}</s>...
1
{'name': 'PIVX_FakeStakeTest.spend_utxo@test/functional/fake_stake/base_test.py', 'description': 'spend amount from previously unspent output to a provided address\n:param utxo: (JSON) returned from listunspent used as input\n addresslist: (string) destination address\n:return: txhash: ...
0
{'name': '_tokenize_large_file_content@onlinejudge_command/pretty_printers.py', 'description': '`_tokenize_large_file_content` constructs the intermediate representations. They have no color infomation.\n ', 'signature': 'def _tokenize_large_file_content(*, content: bytes, limit: int, head: int, tail: int, char_in_l...
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': 'generate_script@tools/ipp_custom_library_tool_python/tool/core.py', 'description': 'Generates build script', 'signature': 'def generate_script(dispatcher_type: utils.DispatcherType = utils.DispatcherType.DYNAMIC):'}</s>ARCHITECTURES = [INTEL64]
0
{'name': 'test_topoplotFast@mne_icalabel/iclabel/tests/test_features.py', 'description': 'Test topoplotFast on a single component.', 'signature': 'def test_topoplotFast(file, eeglab_result_file):'}</s>raw_topo_feature_path = dataset_path / "topo/topo-feature-raw.mat"
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': 'GenericTemplateView.upload@nssmf/views.py', 'description': 'Upload a Generic Template by providing the content of the Generic Template.\nThe PUT method uploads the content of a Generic Template.', 'signature': 'def upload(self, request, *args, **kwargs):'}</s>MIDDLEWARE = [ 'django.middleware.security.Sec...
0
{'name': 'save_alias@d2lbook/library.py', 'description': 'Save alias into the library file', 'signature': 'def save_alias(tab_lib):'}</s>{'name': 'add_html_tab@d2lbook/notebook.py', 'description': 'Add html codes for the tabs', 'code': 'def add_html_tab(nb: notebooknode.NotebookNode,\n tabs: List[str]) ...
0
{'name': 'TopLevelMixin.repeat@altair/vegalite/v5/api.py', 'description': "Return a RepeatChart built from the chart\n\nFields within the chart can be set to correspond to the row or\ncolumn using `alt.repeat('row')` and `alt.repeat('column')`.\n\nParameters\n----------\nrepeat : list\n a list of data column names t...
0
{'name': 'FutureBase._computed@asynq/futures.py', 'description': 'Protected method invoked when value or error property\nis set.\n\nRaises on_computed event.', 'signature': 'def _computed(self):'}</s>{'name': 'async_exception_hook@asynq/debug.py', 'description': 'Exception hook capable of printing async stack traces.',...
0
{'name': 'check_project_manifest@tests/test_generator.py', 'description': 'Perform the following:\n\n * checks that `config_path` exists\n * loads the contents of `config_path` using `serializer.load`\n * check that the contents match with the values provided in input. Specifically:\n * "name" == app_na...
0
{'name': 'InfobloxObject.fetch@infoblox_client/objects.py', 'description': 'Fetch object from NIOS by _ref or searchfields\n\nUpdate existent object with fields returned from NIOS\n\nReturns:\n True if object successfully fetched. False otherwise.\nRaises:\n InfobloxFetchGotMultipleObjects:\n If fetch got ...
0
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>PF_DIVERT_TO = 1
0
{'name': 'GTestHelpTest.TestHelpFlag@third-party/googletest/googletest/test/gtest_help_test.py', 'description': 'Verifies correct behavior when help flag is specified.\n\nThe right message must be printed and the tests must\nskipped when the given flag is specified.\n\nArgs:\n flag: A flag to pass to the binary or No...
0
{'name': 'render@versioneer.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'plus_or_dot@versioneer.py', 'description': "Return a + if we don't already have one, else return a .", 'code': 'def plus_or_dot(pieces):\n """Return a +...
0
{'name': 'before_request@back/api_1_0/auth.py', 'description': '想要在API访问前加login_required监护。\n为了让api蓝本中的所有API都一次性加上监护,可以用before_request修饰器应用到整个蓝本\n:return:', 'signature': 'def before_request():'}</s>{'name': 'forbidden@back/api_1_0/errors.py', 'description': 'DOCSTRING', 'code': "def forbidden(message):\n response = ...
1
{'name': 'CSSParser.parse_selectors@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Parse selectors.', 'signature': 'def parse_selectors(self, iselector, index=0, flags=0):'}</s>{'name': 'SelectorLang@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_types.py', 'd...
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>{'name': 'uint64_field@src/betterproto/__init__.py',...
0
{'name': '_encode_htk@scripts/import_corpus.py', 'description': " char *ReWriteString(char *s,char *dst, char q)\n{\n static char stat[MAXSTRLEN*4];\n Boolean noSing,noDbl;\n int n;\n unsigned char *p,*d;\n\n if (dst==NULL) d=(unsigned char*)(dst=stat);\n else d=(unsigned char*)dst;\n\n if (s[0]!=SING_...
0
{'name': 'convert_path@models/stylegan_tf_official/dnnlib/submission/submit.py', 'description': 'Convert a normal path to template and the convert it back to a normal path with given path type.', 'signature': 'def convert_path(path: str, path_type: PathType = PathType.AUTO) -> str:'}</s>{'name': 'is_pickleable@models/s...
0
{'name': 'divisible_shape@dpipe/predict/shape.py', 'description': 'Pads an incoming array to be divisible by ``divisor`` along the ``axes``. Afterwards the padding is removed.\n\nParameters\n----------\ndivisor\n a value an incoming array should be divisible by.\naxis\n axes along which the array will be padded. ...
0
{'name': '_create_hls_manifest@python/src/hdr_conversions.py', 'description': 'Creates a HLS manifest that includes all representations configured in the encoding.\n<p>API endpoint:\nhttps://bitmovin.com/docs/encoding/api-reference/sections/manifests#/Encoding/PostEncodingManifestsHls\n@param encoding The encoding for ...
0
{'name': 'unique@scripts/llnl_scripts/find_unused_tpl_dirs.py', 'description': 'Returns list with unique entries of input list', 'signature': 'def unique(lst):'}</s>{'name': 'get_shared_libs_dir@scripts/llnl_scripts/llnl_lc_build_tools.py', 'description': 'DOCSTRING', 'code': 'def get_shared_libs_dir():\n return pjo...
0
{'name': 'Dicom2STL@dicom2stl/Dicom2STL.py', 'description': 'The primary dicom2stl function', 'signature': 'def Dicom2STL(args):'}</s>{'name': 'readMesh@dicom2stl/utils/vtkutils.py', 'description': 'Read a mesh. Uses suffix to determine specific file type reader.', 'code': 'def readMesh(name):\n """Read a mesh. Uses...
0
{'name': 'safeIntCast@defdap/crystal.py', 'description': 'Cast a tuple of floats to integers, raising an error if rounding is\nover a tolerance.\n\nParameters\n----------\nvec : tuple of float or equivalent\n Vector to cast.\ntol : float\n Tolerance above which an error is raised.\n\nReturns\n-------\ntuple of in...
0
{'name': 'srtip_unwanted_words_from_url@ytmdl/stringutils.py', 'description': 'If more than just the video ID is passed, extract the\nURL and operate on that only.\n\nThe URL will be of the type https://yotuube.com/watch?v=<id>&other_args\n\nWe just need to keep the v arg and remove all the other args', 'signature': 'd...
0
{'name': 'Organization.ghorg@githuborganizer/models/gh.py', 'description': "Lazy loading the client to reduce API calls when we don't actually need them.", 'signature': 'def ghorg(self):'}</s>settings = False
0
{'name': 'update_setup@pipenv_setup/setup_updater.py', 'description': 'Clear install_requires and dependency_links argument and fill new ones. Format the code.\n\n:param dependency_arguments:\n:param filename:\n:param dev: update extras_require or not\n:raise ValueError: when setup.py is not recognized (malformed)', 's...
0
{'name': 'Product._load@eoreader/products/product.py', 'description': 'Core function loading optical data bands\n\nArgs:\n bands (list): Band list\n pixel_size (float): Pixel size of the band, in meters\n size (Union[tuple, list]): Size of the array (width, height). Not used if pixel_size is provided.\n kwa...
1
{'name': 'similarity@snippets/ch09/resolve.py', 'description': "Returns the mean of the partial_ratio score for each field in the two\nentities. Note that if they don't have fields that match, the score will\nbe zero.", 'signature': 'def similarity(n1, n2):'}</s>{'name': 'pairwise_comparisons@snippets/ch09/resolve.py',...
0
{'name': 'wrap@tests/django_functest_tests/test_selenium.py', 'description': 'Returns function with a wrapper', 'signature': 'def wrap(func):'}</s>__all__ = [ "FuncBaseMixin", "FuncWebTestMixin", "FuncSeleniumMixin", "ShortcutLoginMixin", "AdminLoginMixin", "MultiThreadedLiveServerMixin", "U...
0
{'name': 'main@mne_bids_pipeline/steps/preprocessing/_07_make_epochs.py', 'description': 'Run epochs.', 'signature': 'def main(*, config: SimpleNamespace) -> None:'}</s>{'name': '_get_events@mne_bids_pipeline/steps/preprocessing/_07_make_epochs.py', 'description': 'DOCSTRING', 'code': 'def _get_events(\n cfg: Simple...
0
{'name': '_IsType@ament_cpplint/ament_cpplint/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 stac...
0
{'name': '_add_useful_error_message@tests/conftest.py', 'description': 'If an AssertionError is raised in the assert, find any other calls on mock where the first parameter is uri and\nappend those calls to the AssertionErrors message to more easily find the cause of the test failure.', 'signature': 'def _add_useful_er...
0
{'name': 'Client.get_1k_tournaments@clashroyale/royaleapi/client.py', 'description': 'Get a list of tournaments that have at least 1000\nmax players\n\n\\*\\*open: Optional[int] = 0\n Set to 1 to filter tournaments that are\n open\n\\*\\*full: Optional[int] = 0\n Set to 1 to filter tournaments that are\n fu...
0
{'name': 'arcball_map_to_sphere@DenseFusion/lib/transformations.py', 'description': 'Return unit sphere coordinates from window coordinates.', 'signature': 'def arcball_map_to_sphere(point, center, radius):'}</s>{'name': 'compose_matrix@DenseFusion/lib/transformations.py', 'description': 'Return transformation matrix f...
0
{'name': 'MsxReactionSystem.add_variable@wntr/msx/model.py', 'description': "Add a variable object to the registry.\n\nThe appropriate group is determined by querying the object's\nvar_type attribute.\n\nParameters\n----------\nvariable\n Variable to add.\n\nRaises\n------\nTypeError\n If `variable` is not an Msx...
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': '_IsSourceExtension@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'File extension (excluding dot)...
0
{'name': 'language_check@libscanbuild/analyze.py', 'description': 'Find out the language from command line parameters or file name\nextension. The decision also influenced by the compiler invocation. ', 'signature': 'def language_check(opts, continuation=filter_debug_flags):'}</s>{'name': 'capture@libscanbuild/intercep...
0
{'name': 'apply@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/utils.py', 'description': 'Apply an incremental batch to the target BigQuery table via an asynchronous\nload job or external query.\n\nArgs:\n gcs_client: storage.Client\n bq_client: bigquery.Client\n success_blob: storage.Bl...
1
{'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': 'get_arm_tools_prefix_path@puncover/puncover.py', 'description': "Try to find and return the arm tools triple prefix path, like this:\n /usr/local/gcc-arm-none-eabi-9-2019-q4-major/bin/arm-none-eabi-\n\nIt's used to invoke the other tools, like objdump/nm.\n\nNote that we could instead use the '-print-prog-na...
0
{'name': 'get_process@pyngrok/process.py', 'description': "Get the current ``ngrok`` process for the given config's ``ngrok_path``.\n\nIf ``ngrok`` is not running, calling this method will first start a process with\n:class:`~pyngrok.conf.PyngrokConfig`.\n\n:param pyngrok_config: The ``pyngrok`` configuration to use wh...
0
{'name': 'Server.__init__@python/couchdb-python/couchdb/client.py', 'description': 'Initialize the server object.\n\n:param url: the URI of the server (for example\n ``http://localhost:5984/``)\n:param full_commit: turn on the X-Couch-Full-Commit header\n:param session: an http.Session instance or None for a...
0
{'name': 'Parser._parse@util/py_lib/pyratemp.py', 'description': 'Recursive part of `parse()`.\n\n:Parameters:\n - template\n - fpos: position of ``template`` in the complete template (for error-messages)', 'signature': 'def _parse(self, template, fpos=0):'}</s>{'name': 'dummy_raise@util/py_lib/pyratemp.py', 'des...
0
{'name': 'AndroidTestBase.acquire_device@qt4a/androidtestbase.py', 'description': '申请设备接口\n\n:param device_id: 设备ID,用于本地调试\n:type device_id: string', 'signature': 'def acquire_device(self, device_id=None, **kwargs):'}</s>{'name': 'static_property@qt4a/androiddriver/util.py', 'description': '静态属性', 'base_classes': ['pr...
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': 'CodeGenTest.test_fgpu_agent_func_comments@tests/python/codegen/test_codegen.py', 'description': 'Comments and doc string should be removed and not translated', 'signature': 'def test_fgpu_agent_func_comments(self):'}</s>cpp_fgpu_device_local_args_stack = "FLAMEGPU_DEVICE_FUNCTION void funcA(int x){ auto a...
0
{'name': 'HostRecordV6.ipv6addrs@infoblox_client/objects.py', 'description': ':meta private:', 'signature': 'def ipv6addrs(self):'}</s>{'name': 'DiscoveryGridproperties@infoblox_client/objects.py', 'description': "DiscoveryGridproperties: The Grid discovery properties object.\nCorresponds to WAPI object 'discovery:grid...
0
{'name': 'TLP.get_size@fpga/lib/pcie/tb/pcie.py', 'description': 'Return size of TLP in bytes', 'signature': 'def get_size(self):'}</s>TLP_SWAP_64 = (FMT_4DW_DATA, 0x0D)
0
{'name': 'dashboard_get@tessera-server/tessera/views_api.py', 'description': 'Get the metadata for a single dashboard.\n\n ', 'signature': 'def dashboard_get(id):'}</s>{'name': 'dashboard_list_dashboards_in_category@tessera-server/tessera/views_api.py', 'description': 'Listing for a set of dashboards in a specified ...
0
{'name': 'scnym_train@scnym/api.py', 'description': 'Train an scNym model.\n\nParameters\n----------\nadata : AnnData\n [Cells, Genes] experiment containing annotated\n cells to train on.\nconfig : dict\n configuration options.\n\nReturns\n-------\nNone.\nSaves model outputs to `config["out_path"]` and adds mo...
0
{'name': 'ResnetGenerator.__init__@SIM-CycleGAN/models/networks.py', 'description': 'Construct a Resnet-based generator\n\nParameters:\n input_nc (int) -- the number of channels in input images\n output_nc (int) -- the number of channels in output images\n ngf (int) -- the number of filters ...
0
{'name': 'main@tw_cli.py', 'description': 'Parses command line options and calls the function to test the arrays/drives', 'signature': 'def main():'}</s>{'name': 'add_metric@tw_cli.py', 'description': 'DOCSTRING', 'code': 'def add_metric(metric, labels, value):\n global METRICS\n labelstrs = []\n for lk, lv in...
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>MQCACF_LAST_PUB_TIME = 3162
0
{'name': 'Upstream2D.__init__@oggm/core/sia2d.py', 'description': "Create a new 2D model from gridded data.\n\nParameters\n----------\nbed_topo : 2d array\n the topography\ninit_ice_thick : 2d array (optional)\n the initial ice thickness (default is zero everywhere)\ndx : float\n map resolution (m)\ndy : float...
0
{'name': 'test_fail_with_invalid_dbname_and_automatic_recovery_disabled@test/io/test_io.py', 'description': 'Should fail without retries when automatic recovery is disabled and dbname is invalid', 'signature': 'def test_fail_with_invalid_dbname_and_automatic_recovery_disabled(defaultenv):'}</s>{'name': 'wait_until_stat...
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>{'name': 'JWTAuthentication@trino/auth.py', 'description': 'DOCSTRING', 'base_classes': ['Authentication'], 'methods': [{'name': ...
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': 'main.get_info@mcu/qe/qe.py', 'description': 'Extract basis information from the vasprun.xml', 'signature': 'def get_info(self, filename=None): '}</s>AMTOKG = 1.6605402e-27
0
{'name': 'generate_docs_only_paths@scripts/schema/subset_filter.py', 'description': "Returns a list of field paths: ['process.same_as_process'] for subset fields\nmarked as `docs_only: True`", 'signature': 'def generate_docs_only_paths('}</s>{'name': 'field_assertions_and_warnings@scripts/schema/cleaner.py', 'descripti...
0
{'name': 'entry@FastProject/CLI.py', 'description': 'Entry point for the fastproject command-line script\n ', 'signature': 'def entry():'}</s>{'name': 'FP_Output@FastProject/Global.py', 'description': 'Used to have finer control over outputs.', 'code': 'def FP_Output(*args):\n """\n Used to have finer control ...
0
{'name': 'SyntaxErrorTests.test_nonlocal3@didyoumean/didyoumean_sugg_tests.py', 'description': 'nonlocal must be used only when binding to non-global exists.', 'signature': 'def test_nonlocal3(self):'}</s>MUSTBETYPENOTTYPE = (TypeError, re.MUST_BE_TYPE1_NOT_TYPE2_RE)
0
{'name': 'Employee.verifypassword@app/models.py', 'description': 'Check if hashed password matches actual password', 'signature': 'def verifypassword(self, password):'}</s>{'name': 'Role@app/models.py', 'description': 'Create a Role table', 'base_classes': ['db.Model'], 'methods': [{'name': 'Role.__repr__@app/models.py...
0
{'name': 'RetroFig.make_plot@src/python_scripts/afnipy/lib_physio_plot.py', 'description': 'Create the plot', 'signature': 'def make_plot(self, do_show = False, do_interact = False, do_save = True):'}</s>{'name': 'read_attribute@src/python_scripts/afnipy/afni_base.py', 'description': 'DOCSTRING', 'code': 'def read_attr...
0
{'name': 'details@resrc/userprofile/views.py', 'description': 'Displays details about a profile', 'signature': 'def details(request, user_name):'}</s>{'name': 'Profile@resrc/userprofile/models.py', 'description': 'DOCSTRING', 'base_classes': ['models.Model'], 'methods': [{'name': 'Profile.save@resrc/userprofile/models....
1
{'name': 'process_line@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_internal/req/req_file.py', 'description': 'Process a single requirements line; This can result in creating/yielding\nrequirements, or updating the finder.\n\nFor lines that contain requirements, the only options that have ...
1
{'name': 'is_odd@nelpy/utils.py', 'description': 'Returns True if n is odd, and False if n is even.\nAssumes integer.', 'signature': 'def is_odd(n):'}</s>{'name': 'find_nearest_indices@nelpy/utils.py', 'description': 'Finds nearest index in array to value.\n\nParameters\n----------\narray : np.array\n This is the ar...
0
{'name': '_AppHandler.__init__@jupyterlab/commands.py', 'description': 'Create a new _AppHandler object', 'signature': 'def __init__(self, options):'}</s>{'name': '_format_compatibility_errors@jupyterlab/commands.py', 'description': 'Format a message for compatibility errors.', 'code': 'def _format_compatibility_errors...
0
{'name': '_AppHandler.build@jupyterlab/commands.py', 'description': 'Build the application.', 'signature': 'def build('}</s>{'name': 'lt@jupyterlab/semver.py', 'description': 'DOCSTRING', 'code': 'def lt(a, b, loose):\n return compare(a, b, loose) < 0'}
0