text
string
label
int64
{'name': 'port_bind@kuryr/lib/binding/drivers/veth.py', 'description': 'Binds the Neutron port to the network interface on the host.\n\n:param endpoint_id: the ID of the endpoint as string\n:param port: the container Neutron port dictionary as returned by\n python-neutronclient\n:param sub...
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': 'SessionRedirectMixin.rebuild_proxies@src/requests/sessions.py', 'description': 'This method re-evaluates the proxy configuration by considering the\nenvironment variables. If we are redirected to a URL covered by\nNO_PROXY, we strip the proxy configuration. Otherwise, we set missing\nproxy keys for this URL (...
1
{'name': 'parse_capture_filter@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': '"Parse given capture filter', 'signature': 'def parse_capture_filter(capture_filter):'}</s>CTRL_CMD_ADD = 2
0
{'name': 'Device.close@src/LabJackPython.py', 'description': 'close()\n\nCloses the device.\n\nOn Windows, this method only sets the device handle to None but does\nnot close the device. Instead use the Close function from the\nLabJackPython module which closes all devices in the program, and is\nthe only device close ...
0
{'name': 'Message.to_dict@src/betterproto/__init__.py', 'description': 'Returns a JSON serializable dict representation of this object.\n\nParameters\n-----------\ncasing: :class:`Casing`\n The casing to use for key values. Default is :attr:`Casing.CAMEL` for\n compatibility purposes.\ninclude_default_values: :cl...
0
{'name': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>PF_POOL_RANDOM = 2
0
{'name': 'attrs@vendor/attr/_make.py', 'description': 'A class decorator that adds `dunder\n<https://wiki.python.org/moin/DunderAlias>`_\\ -methods according to the\nspecified attributes using `attr.ib` or the *these* argument.\n\n:param these: A dictionary of name to `attr.ib` mappings. This is\n useful to avoid t...
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': 'render@skein/_version.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'git_pieces_from_vcs@skein/_version.py', 'description': "Get version from 'git describe' in the root of the source tree.\n\nThis only gets called if the...
0
{'name': 'PacketFilter.set_limit@pf/filter.py', 'description': "Set hard limits on the memory pools used by Packet Filter.\n\n'limit' can be either one of the PF_LIMIT_* constants or a string; a\n'value' of UINT_MAX means unlimited. Raise PFError if the current pool\nsize exceeds the requested hard limit.", 'signature'...
0
{'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': 'file_encode@shingetsu/title.py', 'description': 'Encode for filename.\n ', 'code': "def file_encode(type, query):\n ''...
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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>{'name': 'FilterOperator@code/pymqi/__init__.py', 'description': "Creates low-level filters basing on what's been provided in the high-level\npymqi.Filte...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_MCAST_SUB_STATUS = 2572
0
{'name': 'MessageSender.send@uamqp/sender.py', 'description': 'Add a single message to the internal pending queue to be processed\nby the Connection without waiting for it to be sent.\n\n:param message: The message to send.\n:type message: ~uamqp.message.Message\n:param callback: The callback to be run once a dispositi...
0
{'name': 'find_otherside_modules@rtl/vendor/pulp_platform_register_interface/vendor/lowrisc_opentitan/util/topgen/intermodule.py', 'description': 'Find far-end port based on given module and signal name\n ', 'signature': 'def find_otherside_modules(topcfg: OrderedDict, m,'}</s>IM_CONN_TYPE = ['1-to-1', '1-to-N', 'br...
0
{'name': 'test_fail_if_model_outputs_do_not_match_shapes@tests/mlmc/test_MLMCSimulator.py', 'description': 'Ensures simulator throws an exception if inputs and outputs with differing\nnumbers of samples are provided.', 'signature': 'def test_fail_if_model_outputs_do_not_match_shapes(filename_2d_5_column_data,'}</s>{'na...
0
{'name': 'main@infraform/cli/list.py', 'description': 'Runner main entry.', 'signature': 'def main(args):'}</s>LOG = logging.getLogger(__name__)
1
{'name': 'EnumDecoder@python/google/protobuf/internal/decoder.py', 'description': 'Returns a decoder for enum field.', 'signature': 'def EnumDecoder(field_number, is_repeated, is_packed, key, new_default,'}</s>SInt32Sizer = _ModifiedSizer( _SignedVarintSize, wire_format.ZigZagEncode)
0
{'name': 'Join._joiner@topojson/core/join.py', 'description': "Entry point for the class Join. This function identifies junctions\n(intersection points) of shared paths.\n\nThe join function is the second step in the topology computation.\nThe following sequence is adopted:\n1. extract\n2. join\n3. cut\n4. dedup\n5. ha...
1
{'name': 'test_put_get_delete_replication@ut/test.py', 'description': '设置、获取、删除跨园区复制配置', 'signature': 'def test_put_get_delete_replication():'}</s>{'name': 'test_list_bucket_inventory_configrations@ut/test.py', 'description': '测试列举bucket清单', 'code': 'def test_list_bucket_inventory_configrations():\n """测试列举bucket清单"...
0
{'name': '_parabolic_bed_from_topo@oggm/core/centerlines.py', 'description': 'this returns the parabolic bedshape for all points on idl', 'signature': 'def _parabolic_bed_from_topo(gdir, idl, interpolator):'}</s>_doc = "The glacier outlines in the local map projection (Transverse Mercator or UTM)."
0
{'name': 'change_password@flask_security/views.py', 'description': 'View function which handles a change password request.', 'signature': 'def change_password():'}</s>{'name': 'register_user@flask_security/registerable.py', 'description': 'DOCSTRING', 'code': 'def register_user(**kwargs):\n confirmation_link, token ...
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': 'unset_config@src/workflow/util.py', 'description': 'Delete a workflow variable from ``info.plist``.\n\n.. versionadded:: 1.33\n\nArgs:\n name (str): Name of variable to delete.\n bundleid (str, optional): Bundle ID of workflow variable belongs to.', 'signature': 'def unset_config(name, bundleid=None):'}...
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': 'create_codes_index_of_exchanges_matrix@premise/export.py', 'description': 'Create a dictionary with row/column indices of the A matrix\nas key and the activity code as value.\n:return: a dictionary to map indices to activity codes\n:rtype: dict', 'signature': 'def create_codes_index_of_exchanges_matrix(databa...
0
{'name': 'runBody@cxxtest/cxxtestgen.py', 'description': 'Body of TestDescription::run()', 'signature': 'def runBody( suite, test ):'}</s>{'name': 'isGenerated@cxxtest/cxxtestgen.py', 'description': 'Checks whether a suite class should be created', 'code': "def isGenerated(suite):\n '''Checks whether a suite class s...
0
{'name': '_https_resolve@local/common/dns.py', 'description': '此函数功能实现仅限于解析为 A、AAAA 记录', 'signature': 'def _https_resolve(server, qname, qtype, query_data):'}</s>{'name': 'reset_dns@local/common/dns.py', 'description': 'DOCSTRING', 'code': "def reset_dns():\n dns.clear()\n #保持链接 GAE/GWS 列表不过期\n dns.set('google...
0
{'name': 'main@freezer/main.py', 'description': 'freezer-agent binary main execution', 'signature': 'def main():'}</s>{'name': 'StorageManager@freezer/storage/multiple.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'StorageManager.__init__@freezer/storage/multiple.py', 'description': ...
0
{'name': 'IntegrationTestFiltering.test_filter_with_queryset@tests/rest_framework/test_integration.py', 'description': 'Regression test for #814.', 'signature': 'def test_filter_with_queryset(self):'}</s>{'name': 'IsoDateTimeFilter@django_filters/filters.py', 'description': 'Uses IsoDateTimeField to support filtering o...
0
{'name': 'read_info@mcu/elk/elk_io.py', 'description': 'Read the INFO.OUT file', 'signature': 'def read_info(filename): '}</s>{'name': 'read_dos@mcu/elk/elk_io.py', 'description': 'Read TDOS.OUT, IDOS.OUT, PDOS_Sss_Aaaaa.OUT\n\nFor PDOS_Sss_Aaaaa.OUT: \ne (a.u.) | s | p(-1,0,+1) | d(-2,-1,0,+1,+2) | ...
0
{'name': 'GoogleParser.parse@docstring_parser/google.py', 'description': 'Parse the Google-style docstring into its components.\n\n:returns: parsed docstring', 'signature': 'def parse(self, text: str) -> Docstring:'}</s>RETURNS_KEYWORDS = {"return", "returns"}
0
{'name': 'detect@peachpy/x86_64/abi.py', 'description': 'Detects host ABI (either process ABI or system ABI, depending on parameters)\n\n:param bool system_abi: specified whether system ABI or process ABI should be detected. The two may differ, e.g.\n when a 64-bit system runs 32-bit Python interpreter.\n\n:returns:...
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...
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>{'nam...
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>MQIACF_MAX_ACTIVITIES = 1236
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>{'name': 'write_exit_guard@src/services/mpiwrap/wrap.py', 'description': 'After a call, set in_wrapper back to ...
0
{'name': 'get_config_from_root@versioneer.py', 'description': 'Read the project setup.cfg file to determine Versioneer config.', 'signature': 'def get_config_from_root(root):'}</s>{'name': 'do_setup@versioneer.py', 'description': 'Main VCS-independent setup function for installing Versioneer.', 'code': 'def do_setup():...
0
{'name': 'TestMommyCreatesAssociatedModels.test_create_many_to_many_with_through_option@tests/test_mommy.py', 'description': 'This does not works', 'signature': 'def test_create_many_to_many_with_through_option(self):'}</s>{'name': 'TestFillAutoFieldsTestCase@tests/test_mommy.py', 'description': 'DOCSTRING', 'base_clas...
0
{'name': 'run_java_acc@dev-support/checkcompatibility.py', 'description': "Run the compliance checker to compare 'src' and 'dst'. ", 'signature': 'def run_java_acc(src_name, src_jars, dst_name, dst_jars, annotations, skip_annotations, name):'}</s>{'name': 'get_scratch_dir@dev-support/checkcompatibility.py', 'descriptio...
1
{'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_post@versioneer.py', 'description': 'TAG[.postDISTANCE[.dev0]+gHEX] .\n\nTh...
0
{'name': 'DocumentPointer.__init__@src/jsonspec/pointer/bases.py', 'description': ':param pointer: a string or DocumentPointer instance', 'signature': 'def __init__(self, pointer):'}</s>{'name': 'OutOfBounds@src/jsonspec/pointer/exceptions.py', 'description': 'Raised when a member of a mapping does not exists.\n\n:ivar...
0
{'name': 'post_comment@shingetsu/mch/post.py', 'description': 'Post article.', 'signature': 'def post_comment(env, thread_key, name, mail, body, passwd, tag=None):'}</s>cache_hash_method = "asis"
0
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils subclasses used by Versioneer.\n\nIf the package uses a different cmdclass (e.g. one from numpy), it\nshould be provide as an argument.', 'signature': 'def get_cmdclass(cmdclass=None):'}</s>{'name': 'render_pep440_pre@versioneer....
0
{'name': 'test_extract_sacpz_default@tests/test_win32.py', 'description': 'Extract SAC PZ files using default settings.', 'signature': 'def test_extract_sacpz_default():'}</s>{'name': 'read_ctable@HinetPy/win32.py', 'description': 'Read a channel table file.\n\nParameters\n----------\nctable: str\n Channle table fil...
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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCHSSTATE_IN_MREXIT = 1100
0
{'name': 'Response.from_raw@nsq/response.py', 'description': 'Return a new response from a raw buffer', 'signature': 'def from_raw(conn, raw):'}</s>{'name': 'Response@nsq/response.py', 'description': 'A response from NSQ', 'base_classes': ['object'], 'methods': [{'name': 'Response.from_raw@nsq/response.py', 'descriptio...
1
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inline=False):'}</s>...
0
{'name': '_validate@src/feedvalidator/__init__.py', 'description': 'validate RSS from string, returns validator object', 'signature': 'def _validate(aString, firstOccurrenceOnly, loggedEvents, base, encoding, selfURIs=None, mediaType=None):'}</s>{'name': 'ValidRFC2822Date@src/feedvalidator/logging.py', 'description': '...
0
{'name': 'readState@GUI/MRT_FUNC_PY4_GUI.py', 'description': 'Initialize the dictionary, unless a previous state is passed in', 'signature': 'def readState(ser, init=None):'}</s>{'name': 'ResetArduinoUno@GUI/MRT_FUNC_PY4_GUI.py', 'description': 'Reset the Arduino to clear previous data', 'code': 'def ResetArduinoUno(se...
0
{'name': 'RackspaceContainer._get_object_infos@cloud_browser/cloud/rackspace.py', 'description': 'Get raw object infos (single-shot).', 'signature': 'def _get_object_infos('}</s>{'name': 'RackspaceConnection@cloud_browser/cloud/rackspace.py', 'description': 'Rackspace connection wrapper.', 'base_classes': ['base.CloudC...
0
{'name': 'Analyzer.value@sqf/analyzer.py', 'description': 'Given a single token, recursively evaluates and returns its value', 'signature': 'def value(self, token, namespace_name=None):'}</s>{'name': 'values_to_expressions@sqf/expressions_cache.py', 'description': 'DOCSTRING', 'code': 'def values_to_expressions(values,...
1
{'name': 'populate_subreddit_lists@tor/core/initialize.py', 'description': 'Get the list of subreddits to monitor and loads it into memory.\n\n:return: None.', 'signature': 'def populate_subreddit_lists(cfg: Config) -> None:'}</s>{'name': 'initialize@tor/core/initialize.py', 'description': 'Initialize the bot.', 'code'...
0
{'name': 'OneVsAllAggregative.classify@quapy/method/aggregative.py', 'description': 'If the base quantifier is not probabilistic, returns a matrix of shape `(n,m,)` with `n` the number of\ninstances and `m` the number of classes. The entry `(i,j)` is a binary value indicating whether instance\n`i `belongs to class `j`....
0
{'name': 'InputsTest.test_error_with_bad_eval_model_config@object_detection/inputs_test.py', 'description': 'Tests that a TypeError is raised with improper eval model config.', 'signature': 'def test_error_with_bad_eval_model_config(self):'}</s>{'name': '_update_focal_loss_gamma@object_detection/utils/config_util.py', ...
0
{'name': 'Circuit.id@discopy/quantum/circuit.py', 'description': 'The identity circuit on a given domain.\n\nParameters:\n dom : The domain (and codomain) of the identity,\n or ``qubit ** dom`` if ``dom`` is an ``int``.', 'signature': 'def id(cls, dom: int | Ty = None):'}</s>{'name': 'Cap@discopy/tensor.py'...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQSCO_STRUC_ID_ARRAY = [b"S", b"C", b"O", b" "]
0
{'name': 'get_hhh_investigator@website/web/__init__.py', 'description': 'Returns all the captures related to a cookie name entry, used in the web interface.', 'signature': 'def get_hhh_investigator(hhh: str, offset: int | None=None, limit: int | None=None, search: str | None=None) -> tuple[int, list[tuple[str, str, str...
0
{'name': 'scope_vars@agents/bdq/common/tf_util.py', 'description': 'Get variables inside a scope\nThe scope can be specified as a string\n\nParameters\n----------\nscope: str or VariableScope\n scope in which the variables reside.\ntrainable_only: bool\n whether or not to return only the variables that were marke...
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': 'template@src/back/kite/bottle.py', 'description': 'Get a rendered template as a string iterator.\nYou can use a name, a filename or a template string as first parameter.\nTemplate rendering arguments can be passed as dictionaries\nor directly (as keyword arguments).', 'signature': 'def template(*args, **kwarg...
0
{'name': 'common_main@tools/warn/warn_common.py', 'description': 'Shared main function for Google3 and non-Google3 versions of warn.py.', 'signature': 'def common_main(use_google3, create_launch_subprocs_fn, classify_warnings_fn,'}</s>{'name': 'parse_input_file_android@tools/warn/warn_common.py', 'description': 'Parse ...
0
{'name': 'show_settings@versions/speed-cam_8.87.py', 'description': 'Initialize and Display program variable settings from config.py', 'signature': 'def show_settings():'}</s>IM_SAVE_4AI_POS_DIR = "media/ai/pos"
0
{'name': 'ProcessFileData@compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array...
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': 'XMLElement.get_character_style_range@src/simple_idml/components.py', 'description': 'The applied style may be contained or the container. ', 'signature': 'def get_character_style_range(self):'}</s>RECTO = "recto"
0
{'name': 'block_wmad_estimator@training_codes/utils/utils_model.py', 'description': "Accepts a torch tensor and provides an estimate of the standard deviation \nof the noise degrading blocks of the input. The overlap of the extracted \nblocks is defined through blckStride. The function can be applied on a\na batch of m...
0
{'name': 'NodeList.tell_update@shingetsu/node.py', 'description': 'Tell update other nodes.\n\nIf node is None, node is myself.', 'signature': 'def tell_update(self, cache, stamp="", id="", node=None):'}</s>template_dir = _get_value(_extconf, 'Path', 'template_dir', '../template', 'path')
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': 'get@dwave/cloud/cli.py', 'description': 'Fetch Leap API token.', 'signature': 'def get(*, config_file, profile, token_type, json_output, raw_output, output):'}</s>{'name': 'get_default_configfile_path@dwave/cloud/config/loaders.py', 'description': "Return the default configuration-file path.\n\nTypically retu...
0
{'name': 'load_aut_xml@tulip/interfaces/gr1c.py', 'description': 'Return strategy constructed from output of `gr1c`.\n\n@return:\n - if a strategy is given in the XML string,\n then return it as a graph.\n - else, return `(GRSpec, None)`,\n where the first element is the specification\n as read fro...
0
{'name': 'make_pattern_catalog@wfc/wfc_patterns.py', 'description': 'Returns a pattern catalog (dictionary of pattern hashes to consituent tiles), \nan ordered list of pattern weights, and an ordered list of pattern contents.', 'signature': 'def make_pattern_catalog('}</s>{'name': 'identity_grid@wfc/wfc_patterns.py', '...
0
{'name': 'ImagePolicyUpdateCommon.build_payloads_to_commit@plugins/module_utils/image_policy/update.py', 'description': '### Summary\nBuild a list of payloads to commit. Skip any payloads that do not\nexist on the controller.\n\nExpects self.payloads to be a list of dict, with each dict\nbeing a payload for the image ...
0
{'name': 'TableHandler.generate_table@SyntaxParser/BackUp/Materials/Sample/prettytable.py', 'description': 'Generates from a list of rows a PrettyTable object.', 'signature': 'def generate_table(self, rows):'}</s>_re = re.compile("\033\[[0-9;]*m")
0
{'name': 'getToolTips@qt4c/util.py', 'description': '获取系统的浮动tips\n\n:type className: 字符串\n:param className: 类名,默认值为"tooltips_class32"\n:type retry: 整数\n:param retry: 尝试次数,每个0.5秒尝试一次', 'signature': "def getToolTips(className='tooltips_class32', retry=10):"}</s>{'name': 'getDpi@qt4c/util.py', 'description': 'DOCSTRING', ...
0
{'name': 'parse_args@src/python_scripts/afnipy/lib_cdiflist.py', 'description': 'Go through user-entered options and fill an object with the values.\nThese will be used to setup plotting.', 'signature': 'def parse_args(full_argv):'}</s>{'name': 'check_list_2dmat_and_mask@src/python_scripts/afnipy/afni_util.py', 'descri...
0
{'name': 'git_pieces_from_vcs@versioneer.py', 'description': "Get version from 'git describe' in the root of the source tree.\n\nThis only gets called if the git-archive 'subst' keywords were *not*\nexpanded, and _version.py hasn't already been rewritten with a short\nversion string, meaning we're inside a checked out ...
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': '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': 'SelectorPattern@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py'...
0
{'name': 'authenticate@src/server/server.py', 'description': 'Sends a 401 response that enables basic auth.', 'signature': 'def authenticate():'}</s>RELEASE_VERSION = "4.3.0-dev.4"
0
{'name': 'to_traintest_folders@detectree2/preprocessing/tiling.py', 'description': 'Send tiles to training (+validation) and test dir\n\nWith "strict" it is possible to automatically ensure no overlap between train/val and test tiles.\n\nArgs:\n tiles_folder: folder with tiles\n out_folder: folder to save train a...
1
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils subclasses used by Versioneer.', 'signature': 'def get_cmdclass():'}</s>{'name': 'write_to_version_file@versioneer.py', 'description': 'Write the given version number to the given _version.py file.', 'code': 'def write_to_version...
1
{'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': '_path_is_ancestor@blockchain-env/lib/python3.7/site-packages/flask/cli.py', 'description': 'Take ``other`` and remove the length of ``path`` from it. Then join it\nto ``path``. If it is the original value, ``path`` is an ancestor of\n``other``.', 'signature': 'def _path_is_ancestor(path, other):'}</s>{'name':...
0
{'name': 'corefdiffbyevent@code/link_coref.py', 'description': 'comprise features for clustering events', 'signature': 'def corefdiffbyevent(pubdate,events,features,weight,threshold):'}</s>{'name': 'similarity@code/link_coref.py', 'description': 'DOCSTRING', 'code': 'def similarity(verblist,eventType):\n global w2vm...
0
{'name': 'BatchBase.flush@asynq/batching.py', 'description': "Flushes the batch.\n\nAlmost the same as ``self.value()``, but:\n\n* this method doesn't throw an error even if underlying batch\n flush actually completed with an error\n* on the other hand, subsequent flush throws an error.\n\nSo this method is intended t...
0
{'name': 'TypeErrorTests.test_keyword_sort_cmpkey@didyoumean/didyoumean_sugg_tests.py', 'description': 'Sort and sorted functions have a cmp/key param dep. on the vers.', 'signature': 'def test_keyword_sort_cmpkey(self):'}</s>CANNOTCONCAT = (TypeError, re.CANNOT_CONCAT_RE)
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': 'URL.to_text@boltons/urlutils.py', 'description': "Render a string representing the current state of the URL\nobject.\n\n>>> url = URL('http://listen.hatnote.com')\n>>> url.fragment = 'en'\n>>> print(url.to_text())\nhttp://listen.hatnote.com#en\n\nBy setting the *full_quote* flag, the URL can either be fully\n...
0
{'name': 'answer_question@server.py', 'description': ' Will get entities for the question.\n Generate subgraph\n Run corechain and aux predictions\n\n\n:param question: str: intended question to answer\n:return:', 'signature': 'def answer_question(question, entities=None):'}</s>GET_RIGHT_PROPERTIES_OF_RESOURCE...
0
{'name': 'P2PConnection._on_data@test/functional/test_framework/mininode.py', 'description': 'Try to read P2P messages from the recv buffer.\n\nThis method reads data from the buffer in a loop. It deserializes,\nparses and verifies the P2P header, then passes the P2P payload to\nthe on_message callback for processing.'...
0
{'name': 'RequirementCommand._build_package_finder@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_internal/cli/base_command.py', 'description': 'Create a package finder appropriate to this requirement command.', 'signature': 'def _build_package_finder('}</s>skip_requirements_regex = partial( Option, # A regex...
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': 'SFTuner.prepare_dataset@text2text/sft.py', 'description': 'Prepare training (and eval) dataset.', 'signature': 'def prepare_dataset(self, '}</s>{'name': 'PeftModelArguments@text2text/sft.py', 'description': 'Defines and stores t2t default values for PEFT model configs.', 'base_classes': [], 'methods': []}
0
{'name': 'balance@n26/cli.py', 'description': 'Show account balance ', 'signature': 'def balance():'}</s>{'name': 'spaces@n26/cli.py', 'description': 'Show spaces ', 'code': 'def spaces():\n """ Show spaces """\n spaces_data = API_CLIENT.get_spaces()["spaces"]\n if JSON_OUTPUT:\n _print_json(spaces_data...
0
{'name': 'serialise_key@amulet_map_editor/api/wx/util/key_config.py', 'description': 'Get the serialised version of the key that was pressed/released.', 'signature': 'def serialise_key(evt: Union[wx.KeyEvent, wx.MouseEvent]) -> Optional[KeyType]:'}</s>Numpad_Right = "NUMPAD_RIGHT"
0
{'name': 'authenticate@src/server/server.py', 'description': 'Sends a 401 response that enables basic auth.', 'signature': 'def authenticate():'}</s>Auth_succeeded_flag = False
0