text string | label int64 |
|---|---|
{'name': 'test_print_full@tests/test_main.py', 'description': 'Test --print option for different types of inputs.', 'signature': 'def test_print_full(tmp_path: Path, capsys) -> None:'}</s>_selector_pattern = re.compile(r".*?#\s*\[(.*)\].*") | 0 |
{'name': 'Section.__setitem__@BlDevCube/lib.bflb_configobj.pyc.py', 'description': "Correctly set a value.\n\nMaking dictionary values Section instances.\n(We have to special case 'Section' instances - which are also dicts)\n\nKeys must be strings.\nValues need only be strings (or lists of strings) if\n``main.stringify... | 0 |
{'name': 'SelectMultipleField.formfield@select_multiple_field/models.py', 'description': 'This returns the correct formclass without calling super\n\nReturns select_multiple_field.forms.SelectMultipleFormField', 'signature': 'def formfield(self, **kwargs):'}</s>{'name': 'encode_list_to_csv@select_multiple_field/codecs.... | 0 |
{'name': 'AutoUplift._generate_data_depend_uplift_candidates@lightautoml/addons/uplift/base.py', 'description': "Generate uplift candidates.\n\nGenerate new uplift candidates which depend from data.\n\nIf there is imbalance in treatment , adds the simple linear model for smaller stage.\n\nArgs:\n data: Dataset to tr... | 0 |
{'name': 'CosS3Client.change_object_storage_class@qcloud_cos/cos_client.py', 'description': "改变文件的存储类型\n\n:param Bucket(string): 存储桶名称.\n:param Key(string): COS路径.\n:param StorageClass(bool): 是否需要SDK计算Content-MD5,打开此开关会增加上传耗时.\n:kwargs(dict): 设置上传的headers.\n:return(dict): 上传成功返回的结果,包含ETag等信息.\n\n.. code-block:: python\... | 0 |
{'name': 'pytest_pycollect_makeitem_convert_async_functions_to_subclass@pytest_asyncio/plugin.py', 'description': 'Converts coroutines and async generators collected as pytest.Functions\nto AsyncFunction items.', 'signature': 'def pytest_pycollect_makeitem_convert_async_functions_to_subclass('}</s>_MULTIPLE_LOOPS_REQUE... | 0 |
{'name': 'sql_connection@_dbms_/__init__.py', 'description': 'Returns SQLite3 connection to db created at provided path.\n\nArgs:\n dbpath: Local db path for SQLite3 Database file.\n\nReturns:\n Local db connection object.', 'signature': "def sql_connection(dbpath='mydatabase.db'):"}</s>{'name': 'add_label@_dbms_... | 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': 'gameIsUnsupported@gameScanner.py', 'description': 'Check for if user selected path is not supported by our mod\nsystem.arc = Old MG version of Higurashi\nnscript.dat = Old Nscripter version of games\n\n:returns if unsupported, returns (True, identifier), giving the identifier that caused the unsupported detec... | 0 |
{'name': 'void_transaction@capone/api/actions.py', 'description': 'Create a new transaction that voids the given Transaction.\n\nThe evidence will be the same as the voided Transaction. The ledger\nentries will be the same except have debits and credits swapped.\n\nIf `notes` is not given, a default note will be set.\n... | 1 |
{'name': 'config_cmd@buildtest/cli/config.py', 'description': 'Entry point for ``buildtest config`` command. This method will invoke other methods depending on input argument.\n\nArgs:\n command_args (dict): Parsed arguments from `ArgumentParser.parse_args <https://docs.python.org/3/library/argparse.html#argparse.Ar... | 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': 'PrintMenu@GUI/MRT_FUNC_PY4_GUI.py', 'description': 'Provide the user the available commands ', 'code': 'def PrintMenu():\n """ Pr... | 0 |
{'name': 'Engine.generate_markups@rupo/api.py', 'description': 'Генерация разметок по текстам.\n\n:param input_path: путь к папке/файлу с текстом.\n:param input_type: тип файлов с текстов.\n:param output_path: путь к файлу с итоговыми разметками.\n:param output_type: тип итогового файла.', 'signature': 'def generate_ma... | 0 |
{'name': 'KeyValueStore.transaction@skein/kv.py', 'description': "An atomic transaction on the key-value store.\n\nParameters\n----------\nconditions : Condition or sequence of Conditions, optional\n A sequence of conditions to evaluate together. The conditional\n expression succeeds if all conditions evaluate to... | 0 |
{'name': 'setup@gget/gget_setup.py', 'description': 'Function to install third-party dependencies for a specified gget module.\nSome modules require pip to be installed (https://pip.pypa.io/en/stable/installation).\nSome modules require curl to be installed (https://everything.curl.dev/get).\n\nArgs:\n- module (str)... | 0 |
{'name': 'bisect_steps_remaining@nix_bisect/git.py', 'description': 'Estimate of remaining steps, including the current one.\n\nThis is an approximation.', 'signature': 'def bisect_steps_remaining():'}</s>{'name': 'update_ref@nix_bisect/git.py', 'description': 'Updates or creates a reference.', 'code': 'def update_ref(... | 0 |
{'name': 'Lexer.match@mako/lexer.py', 'description': 'compile the given regexp, cache the reg, and call match_reg().', 'signature': 'def match(self, regexp, flags=None):'}</s>{'name': 'TextTag@mako/parsetree.py', 'description': 'DOCSTRING', 'base_classes': ['Tag'], 'methods': [{'name': 'TextTag.__init__@mako/parsetree.... | 0 |
{'name': 'backup_or_reap_snapshots@src/zfs_tools/zbackup.py', 'description': 'Backup and/or reap snapshots for the given filesystem, as per the given properties and options.', 'signature': 'def backup_or_reap_snapshots(tier, filesystem, properties, options):'}</s>{'name': 'snapshots_property@src/zfs_tools/zbackup.py', ... | 1 |
{'name': 'CScript.raw_iter@test/functional/test_framework/script.py', 'description': 'Raw iteration\n\nYields tuples of (opcode, data, sop_idx) so that the different possible\nPUSHDATA encodings can be accurately distinguished, as well as\ndetermining the exact opcode byte indexes. (sop_idx)', 'signature': 'def raw_ite... | 0 |
{'name': 'findpeaks.plot1d@findpeaks/findpeaks.py', 'description': 'Plot the 1D results.\n\nParameters\n----------\nlegend : bool, (default: True)\n Show the legend.\nfigsize : (int, int), (default: None)\n (width, height) in inches.\n\nReturns\n-------\nfig_axis : tuple containing axis for each figure.', 'signat... | 0 |
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>IPTOS_LOWDELAY = 16 | 0 |
{'name': 'upConv@src/pyrtools/pyramids/c/wrapper.py', 'description': "Upsample matrix image, followed by convolution with matrix filt.\n\nThese arguments should be 1D or 2D matrices, and image must be larger (in both dimensions) than\nfilt. The origin of filt is assumed to be floor(size(filt)/2)+1.\n\nUpsampling facto... | 0 |
{'name': 'Region.__add__@polytope/polytope.py', 'description': 'Return union with Polytope or Region.\n\nApplies convex simplification if possible.\nTo turn off this check,\nuse Region.union\n\n@type other: L{Polytope} or L{Region}\n@rtype: L{Region}', 'signature': 'def __add__(self, other):'}</s>{'name': 'simplices2po... | 0 |
{'name': 'parse_tcsh_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for tcsh scripter.\n\nInput\n-----\nargv : list of args (not including prog name)\n\nReturn\n------\n\niopts : an object with the argument values stored, including a\n self-"check_req()" method, as well.', 'signature... | 0 |
{'name': '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': 'github_release@src/scriv/ghrel.py', 'description': 'Create GitHub releases from the changelog.\n\nOnly the most recent changelog entry is used, unless --all is provided.', 'signature': 'def github_release('}</s>{'name': 'Scriv@src/scriv/scriv.py', 'description': 'Public API to the scriv application.', 'base_c... | 1 |
{'name': '_sorted_long_to_wide@confidence_interval_display.py', 'description': "Returns a df in wide format for metrics.\n\nThe input df is in so-called long, or tidy, format, i.e., each\nrow is one metric for one slice. This function transforms the df to a wide\nformat, where all metrics for one slice are collected in... | 0 |
{'name': 'init_rest_server@policy/pmrest.py', 'description': 'Initialize and register REST server.', 'signature': 'def init_rest_server(asyncio_loop, profiles_ref, cib_ref, pib_ref, rest_port=None):'}</s>loop = None | 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': 'nestedExpr@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and closing\ndelimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list (default=C{"("}); can also be a pyparsing expres... | 0 |
{'name': 'is_item@itemadapter/utils.py', 'description': 'Return True if the given object belongs to one of the supported types, False otherwise.\n\nAlias for ItemAdapter.is_item', 'signature': 'def is_item(obj: Any) -> bool:'}</s>{'name': '_is_attrs_class@itemadapter/utils.py', 'description': 'DOCSTRING', 'code': 'def ... | 0 |
{'name': 'process_query@da/compiler/incgen.py', 'description': "Generates stub and hook for 'query'.", 'signature': 'def process_query(query, state):'}</s>{'name': 'PythonExpr@da/compiler/dast.py', 'description': 'This is placeholder for unsupported Python expressions.', 'base_classes': ['Expression'], 'methods': []} | 0 |
{'name': 'Hero_filter@goneng.py', 'description': "根据条件筛选数据 分析chess数据然后绘制列表,注意所有的参数必须为str字符串 '0'表示不考虑这个条件\n:param chess: 字典数据\n:param price: 费用条件\n:param jobId:职业id\n:param raceId:羁绊id\n:param keyword:关键字 搜索\n:return:", 'signature': "def Hero_filter(chess, price='0', jobId='0', raceId='0', keyword=''):"}</s>{'name': 'Cr... | 0 |
{'name': 'RIPPER._set_theory_dl_lookup@build/lib/ruleset/ripper.py', 'description': 'Precalculate rule theory dls for various-sized rules. ', 'signature': 'def _set_theory_dl_lookup(self, df, size=15, verbosity=0):'}</s>{'name': 'RulesetStats@build/lib/ruleset/ripper.py', 'description': 'DOCSTRING', 'base_classes': [],... | 0 |
{'name': 'test_make_pod_with_scheduler_name@tests/test_objects.py', 'description': 'Test specification of the simplest possible pod specification with non-default scheduler name', 'signature': 'def test_make_pod_with_scheduler_name():'}</s>{'name': 'test_make_resources_all@tests/test_objects.py', 'description': 'Test s... | 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>NEG_INFINITY = "-Infinity" | 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': '_calcsize@pyFileFixity/lib/profilers/visual/pympler/asizeof.py', 'description': "struct.calcsize() handling 'z' for Py_... | 0 |
{'name': 'get_daily_urls_to_download@aiopvpc/parser.py', 'description': 'Make URLs for ESIOS price series.', 'signature': 'def get_daily_urls_to_download('}</s>{'name': '_timezone_offset@aiopvpc/parser.py', 'description': 'DOCSTRING', 'code': 'def _timezone_offset(tz: zoneinfo.ZoneInfo = REFERENCE_TZ) -> timedelta:\n ... | 0 |
{'name': 'vec_symm@diffcp/cones.py', 'description': 'Returns a vectorized representation of a symmetric matrix `X`.\n\nVectorization (including scaling) as per SCS.\nvec(X) = (X11, sqrt(2)*X21, ..., sqrt(2)*Xk1, X22, sqrt(2)*X32, ..., Xkk)', 'signature': 'def vec_symm(X):'}</s>{'name': 'vec_psd_dim@diffcp/cones.py', 'd... | 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>MQOO_SET_IDENTITY_CONTEXT = 1024 | 0 |
{'name': 'parse_url@src/ahip/util/url.py', 'description': "Given a url, return a parsed :class:`.Url` namedtuple. Best-effort is\nperformed to parse incomplete urls. Fields not provided will be None.\nThis parser is RFC 3986 compliant.\n\nThe parser logic and helper functions are based heavily on\nwork done in the ``rf... | 0 |
{'name': 'TestDecode.testDecodeBadUTF8@src/tests/testXmlEncodingDecode.py', 'description': 'Ensure bad UTF-8 is flagged as such, but still decoded.', 'signature': 'def testDecodeBadUTF8(self):'}</s>__author__ = "Sam Ruby <http://intertwingly.net/> and Mark Pilgrim <http://diveintomark.org/>" | 0 |
{'name': 'CheckForNonConstReference@third_party/cpplint/cpplint.py', 'description': 'Check for non-const references.\n\nSeparate from CheckLanguage since it scans backwards from current\nline, instead of scanning forward.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance conta... | 0 |
{'name': 'ZWaveServices.register@custom_components/zwave_mqtt/services.py', 'description': 'Register all our services.', 'signature': 'def register(self):'}</s>DISC_NODE_ID = "node_id" | 0 |
{'name': 'QnliProcessor._create_examples@examples/utils_sequence_level_task.py', 'description': 'Creates examples for the training and dev sets.', 'signature': 'def _create_examples(self, lines, set_type):'}</s>{'name': 'MnliMismatchedProcessor@examples/utils_sequence_level_task.py', 'description': 'Processor for the M... | 0 |
{'name': 'parseMappingFile@amptk/amptklib.py', 'description': 'function to parse mapping file pull out primers and barcode sequences', 'signature': 'def parseMappingFile(input, output):'}</s>{'name': 'fastq_strip_padding@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': 'def fastq_strip_padding(file, output):\n ... | 0 |
{'name': 'Display.grab_server@Monika After Story/game/python-packages/Xlib/display.py', 'description': 'Disable processing of requests on all other client connections\nuntil the server is ungrabbed. Server grabbing should be avoided\nas much as possible.', 'signature': 'def grab_server(self, onerror = None):'}</s>GXand... | 0 |
{'name': 'BayesNet.new_from_nx_graph@graphs/BayesNet.py', 'description': 'Returns a BayesNet constructed from nx_graph.\n\nParameters\n----------\nnx_graph : networkx DiGraph\n\nReturns\n-------\nBayesNet', 'signature': 'def new_from_nx_graph(nx_graph):'}</s>{'name': 'BayesNode@nodes/BayesNode.py', 'description': "A Ba... | 1 |
{'name': 'DDPPOTrainer.train@habitat_baselines/rl/ddppo/algo/ddppo_trainer.py', 'description': 'Main method for DD-PPO.\n\nReturns:\n None', 'signature': 'def train(self, ckpt_path="", ckpt=-1, start_updates=0) -> None:'}</s>{'name': 'construct_envs@habitat_baselines/common/env_utils.py', 'description': "Create Vect... | 1 |
{'name': 'AnalyticsCollector.is_git_operations_compliant@app/util/analytics/analytics.py', 'description': 'Calculate expected git operations for a given test duration (only for BITBUCKET).\n\n:return: True with "OK" message if the result matches the requirements,\n otherwise False with an explanatory message.',... | 0 |
{'name': 'train@ddparser/run.py', 'description': 'Train', 'signature': 'def train(env):'}</s>{'name': 'numericalize@ddparser/parser/data_struct/utils.py', 'description': 'Convert the dtype of sequence to int', 'code': 'def numericalize(sequence):\n """Convert the dtype of sequence to int"""\n return [int(i) for i... | 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': 'get_para_and_perp_components@articles/inversion.py', 'description': 'DOCSTRING', 'code': 'def get_para_a... | 0 |
{'name': 'cblaster@cblaster/main.py', 'description': "Run cblaster.\n\nThis function is the central workflow for the entire cblaster package.\n\nArguments:\n query_file (str): Path to FASTA format query file\n query_ids (list): NCBI protein sequence identifiers\n query_profiles(list): Pfam profile identifiers\... | 0 |
{'name': 'get_network_fn@nets/nets_factory.py', 'description': 'Returns a network_fn such as `logits, end_points = network_fn(images)`.\n\nArgs:\n name: The name of the network.\n num_classes: The number of classes to use for classification.\n weight_decay: The l2 coefficient for the model weights.\n is_training: `... | 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': 'test_make_pod_with_scheduler_name@tests/test_objects.py', 'description': 'Test specification of the simplest possible pod specification with non-default scheduler name', 'signature': 'def test_make_pod_with_scheduler_name():'}</s>{'name': 'test_make_namespace@tests/test_objects.py', 'description': 'DOCSTRING'... | 0 |
{'name': 'test_https_h1@test/integration/test_integration_basics.py', 'description': 'Test h1 over https.\n\nRuns the CLI configured to use HTTP/1 over https against our test server, and sanity\nchecks statistics from both client and server.', 'signature': 'def test_https_h1(https_test_server_fixture):'}</s>{'name': 't... | 0 |
{'name': 'convert_model@lib/nn/sync_batchnorm/batchnorm.py', 'description': 'Traverse the input module and its child recursively\n and replace all instance of torch.nn.modules.batchnorm.BatchNorm*N*d\n to SynchronizedBatchNorm*N*d\n\nArgs:\n module: the input module needs to be convert to SyncBN model\n\nExample... | 0 |
{'name': 'CWLDAG.__init__@cwl_airflow/extensions/cwldag.py', 'description': 'Updates kwargs with the required defaults if they were not explicitely provided\nby user. dispatcher and gatherer are set to CWLJobDispatcher() and CWLJobGatherer()\nif those were not provided by user. If user sets his own operators for dispat... | 0 |
{'name': '_EpanetRule.add_action_on_false@wntr/epanet/io.py', 'description': 'Add an "else" action from an IfThenElseControl', 'signature': "def add_action_on_false(self, action, prefix=' ELSE'):"}</s>{'name': '_str_time_to_sec@wntr/epanet/io.py', 'description': "Converts EPANET time format to seconds.\n\n\nParameters\... | 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.__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_assignment_stub_and_hook@da/compiler/incgen.py', 'description': "Generate assignment stub and hook node for 'nameobj'.\n\nAssignment stubs notifies the incrementalizer of changes to value of\nvariables, and gives the incrementalizer a chance to perform necessary\nhousekeeping.", 'signature': 'def gen... | 0 |
{'name': 'HeroesMap.xyz2_set_terrain@h3m/phlm/phlm.py', 'description': 'Creates a terrain horizontally, vertically or diagonally\nfrom one coordinate to another. \n\nNOTE that there needs to be several adjacent tiles for terrain or \nit cannot exist, see what happens when you try to place e.g a row \nof terrain in the ... | 0 |
{'name': 'cleanup_unused_ckeditor_images_on_update@django_ckeditor_5/signals.py', 'description': "Removes unused images when an object is updated.\nIf any unexpected error occurs, it will be logged, but the deletion process won't break the update.", 'signature': 'def cleanup_unused_ckeditor_images_on_update(sender, ins... | 0 |
{'name': 'ClusterAction.start_clusters@qingcloud/iaas/actions/cluster.py', 'description': 'Start one or more clusters.\n@param clusters: the array of clusters IDs.', 'signature': 'def start_clusters(self, clusters,'}</s>ACTION_DELETE_BORDER_STATICS = "DeleteBorderStatics" | 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>{'name': 'reset@shingetsu/tiedobj.py', 'description': 'DOCSTRING', 'code': 'def reset():\n try:\n lock.... | 0 |
{'name': 'remove_binder_link@nams/builder_lib.py', 'description': 'Remove a binder link from a given notebook at the nb_relpath.', 'signature': 'def remove_binder_link(nb_relpath: Path, docroot: Path) -> None:'}</s>{'name': 'parse_navigation@nams/builder_lib.py', 'description': 'Collect all files in mkdocs navigation\n... | 0 |
{'name': 'make_shell_context@app/manage.py', 'description': 'Create a python REPL with several default imports\nin the context of the app', 'signature': 'def make_shell_context():'}</s>manager = Manager(app) | 0 |
{'name': 'generate_release_changelog@extra/release_tool.py', 'description': 'Generate changelog and write it to a file', 'signature': 'def generate_release_changelog('}</s>{'name': 'determine_version_bump@extra/release_tool.py', 'description': 'DOCSTRING', 'code': 'def determine_version_bump(state, repo, from_v, to_v):... | 0 |
{'name': 'get_local_file_content@etc/scripts/utils_thirdparty.py', 'description': 'Return the content at `url` as text. Return the content as bytes is\n`as_text` is False.', 'signature': 'def get_local_file_content(path, as_text=True):'}</s>{'name': 'is_pure_wheel@etc/scripts/utils_thirdparty.py', 'description': 'DOCST... | 0 |
{'name': 'EnergyDensity_FermiGas@doc/BookChapters/Programs/NeutronMatterCCD_Ladders.py', 'description': 'Computes energy density of free Fermi gas at Fermi momentum and spin/isospin degeneracy\nparam kF: Fermi momentum in inverse fm\nparam st_degen: spin-isospin degeneracy; default 2\nreturn: Energy density in MeV/fm**... | 0 |
{'name': 'test_suite@tests/test_suite.py', 'description': 'Returns suite of tests for natto-py', 'signature': 'def test_suite():'}</s>{'name': 'TestMecab@tests/test_mecab.py', 'description': 'Tests the behavior of the natto.mecab.MeCab class.\n\nAssumes that the MECAB_PATH and MECAB_CHARSET environment variables have\n... | 1 |
{'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': 'ReplaceByFeeTest.test_new_unconfirmed_inputs@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that add new unconfirmed inputs are rejected', 'signature': 'def test_new_unconfirmed_inputs(self):'}</s>{'name': 'p2p_port@qa/rpc-tests/test_framework/util.py', 'description': 'DOCSTRING', 'code': 'def ... | 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': 'RepeatChart.interactive@altair/vegalite/v3/api.py', 'description': 'Make chart axes scales interactive\n\nParameters\n----------\nname : string\n The selection name to use for the axes scales. This name should be\n unique among all selections within the chart.\nbind_x : boolean, default True\n If tru... | 0 |
{'name': 'repl@todoman/cli.py', 'description': 'Start an interactive shell.', 'signature': 'def repl(ctx: click.Context) -> None:'}</s>{'name': 'path@todoman/cli.py', 'description': "Print the path to a task's file.", 'code': 'def path(ctx: AppContext, id: int) -> None:\n """Print the path to a task\'s file."""\n ... | 0 |
{'name': '_collect_metrics@test/lib/commonsplunk.py', 'description': 'Verify metrics by running the given api query\n@param: dimension (metric dimension)\n@param: metric_name (metric name)\n@param: start_time (search start time)\n@param: end_time (search end time)\nreturns events', 'signature': 'def _collect_metrics(st... | 0 |
{'name': 'GetPostCtrl.post_detail@back/controller/posts.py', 'description': '用户点击文章链接跳详情页的数据接口,返回在这里找\n:param post_info:\n:return:', 'signature': 'def post_detail(post_info):'}</s>{'name': 'MakeupPost@back/controller/__init__.py', 'description': '各种数据组装', 'base_classes': [], 'methods': [{'name': 'MakeupPost.post_info_j... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQMDE_CURRENT_VERSION = 2 | 0 |
{'name': 'INFO@lib/charliecloud.py', 'description': 'Note: Use print() for output; this function is for logging.', 'signature': 'def INFO(msg, hint=None, **kwargs):'}</s>profiling = False | 0 |
{'name': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>TCPS_FIN_WAIT_2 = 9 | 0 |
{'name': 'Metric.compute_util_metric_on_sql@metrics.py', 'description': 'Computes a util metric with caching and filtering handled correctly.', 'signature': 'def compute_util_metric_on_sql('}</s>{'name': 'CompositeMetric@metrics.py', 'description': "Class for Metrics formed by composing two Metrics.\n\nAttributes:\n n... | 0 |
{'name': 'TempGitHandler._get_local_mirror@bioconda_utils/githandler.py', 'description': "Get a (cached) local mirror of a remote repo\n\nThis is used to speed up getting full repo copies. The bioconda-recipes\nrepo has grown to be quite large, and copying it every time a checkout\nof a branch is needed takes too long.... | 0 |
{'name': 'EVPTestCase.test_load_key_string_pubkey_rsa@tests/test_evp.py', 'description': 'Testing creating a PKey instance from PEM string.', 'signature': 'def test_load_key_string_pubkey_rsa(self):'}</s>{'name': 'IOBuffer@src/M2Crypto/BIO.py', 'description': "Object interface to BIO_f_buffer.\n\nIts principal function... | 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': 'get_sitemessage_urls@sitemessage/toolbox.py', 'description': "Returns sitemessage urlpatterns, that can be attached to urlpatterns of a project:\n\n# Example from urls.py.\n\nfrom sitemessage.toolbox import get_sitemessage_urls\n\nurlpatterns = patterns('',\n # Your URL Patterns belongs here.\n\n) + get_si... | 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': 'engine.number_to_words@src/bids/external/inflect.py', 'description': 'Return a number in words.\n\ngroup = 1, 2 or 3 to group numbers before turning into words\ncomma: define comma\n\nandword:\n word for \'and\'. Can be set to \'\'.\n e.g. "one hundred and one" vs "one hundred one"\n\nzero: word for \'0... | 0 |
{'name': 'up_to_climate@oggm/tests/test_workflow.py', 'description': 'Run the tasks you want.', 'signature': 'def up_to_climate(reset=False, use_mp=None):'}</s>PATHS = PathOrderedDict() | 1 |
{'name': 'validate@fairseq_cli/train.py', 'description': 'Evaluate the model on the validation set(s) and return the losses.', 'signature': 'def validate('}</s>{'name': 'all_to_all@fairseq/distributed/utils.py', 'description': 'Perform an all-to-all operation on a 1D Tensor.', 'code': 'def all_to_all(tensor, group):\n ... | 0 |
{'name': 'Display.grab_server@Monika After Story/game/python-packages/Xlib/display.py', 'description': 'Disable processing of requests on all other client connections\nuntil the server is ungrabbed. Server grabbing should be avoided\nas much as possible.', 'signature': 'def grab_server(self, onerror = None):'}</s>{'nam... | 0 |
{'name': 'estimate_fao56@cfg/hass/custom_components/wb_irrigation/sensor.py', 'description': 'Estimate fao56 from weather ', 'signature': 'def estimate_fao56(day_of_year,'}</s>{'name': 'monthly_soil_heat_flux2@cfg/hass/custom_components/wb_irrigation/pyeto/fao.py', 'description': 'Estimate monthly soil heat flux (Gmon... | 0 |
{'name': 'LatentDiffusion._prior_bpd@ldm/models/diffusion/ddpm.py', 'description': "Get the prior KL term for the variational lower-bound, measured in\nbits-per-dim.\nThis term can't be optimized, as it only depends on the encoder.\n:param x_start: the [N x C x ...] tensor of inputs.\n:return: a batch of [N] KL values ... | 0 |
{'name': 'main@trainer.py', 'description': 'train model until the maximum number of steps reached\n:param model_type: model type\n:param model_name: model name\n:param logger: logger\n:return: None', 'signature': 'def main(model_type, model_name, logger):'}</s>{'name': 'gray_denormalizer@utils.py', 'description': 'Get ... | 0 |
{'name': 'StorageDriver.add_measures_to_metrics@gnocchi/storage/__init__.py', 'description': 'Update a metric with a new measures, computing new aggregations.\n\n:param metrics_and_measures: A dict there keys are `storage.Metric`\n objects and values are timeseries array of\n ... | 0 |
{'name': 'multiple_format_hash_file@ascmhl/hasher.py', 'description': "computes and returns a new hash strings for a file\n\narguments:\nfile_path -- string value, path of file to generate hash for.\nhash_formats -- string values, each entry is one of the supported hash formats, e.g. 'md5', 'xxh64'", 'signature': 'def ... | 0 |
{'name': 'Merger.description@bcml/mergers/__init__.py', 'description': 'The description of this merger in the UI', 'signature': 'def description(self) -> str:'}</s>{'name': 'ProfileNotFoundError@bcml/util.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': []} | 0 |
{'name': 'process_lookup_path@gef.py', 'description': 'Look up for a path in the process memory mapping.\nReturn a Section object if found, None otherwise.', 'signature': 'def process_lookup_path(name: str, perm: Permission = Permission.ALL) -> Section | None:'}</s>{'name': 'highlight_text@gef.py', 'description': "High... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.