text string | label int64 |
|---|---|
{'name': 'textures_locate_cmd@cjio/cjio.py', 'description': 'Output the location of the texture files.', 'signature': 'def textures_locate_cmd():'}</s>{'name': 'off2cj@cjio/cityjson.py', 'description': 'DOCSTRING', 'code': 'def off2cj(file):\n l = file.readline()\n # print(l)\n while (len(l) <= 1) or (l[0] == ... | 0 |
{'name': 'main._generate_dos@mcu/qe/qe.py', 'description': "Processing/collecting the DOS data before the plotting function\n\nTDOS dimensions: [spin , [E(eV), tdos(E)]]\n\nspin : spin of DOS.\nlm : string or a list of string, e.g. 'Ni:s' or ['Ni:s','C:s,px,pz']", 'signature': 'def _generate_dos... | 1 |
{'name': 'main@linodecli/__init__.py', 'description': 'Handle incoming command arguments', 'signature': 'def main(): # pylint: disable=too-many-branches,too-many-statements'}</s>{'name': 'CLI@linodecli/cli.py', 'description': 'Responsible for loading or baking a spec and handling incoming commands', 'base_classes': []... | 0 |
{'name': 'GenerateOutput@gyp/pylib/gyp/generator/msvs.py', 'description': "Generate .sln and .vcproj files.\n\nThis is the entry point for this generator.\nArguments:\n target_list: List of target pairs: 'base/base.gyp:base'.\n target_dicts: Dict of target properties keyed on target pair.\n data: Dictionary containi... | 0 |
{'name': 'on_restore_database@src/server/server.py', 'description': 'Restore database.', 'signature': 'def on_restore_database(data):'}</s>{'name': 'build_atomic_result_caches@src/server/server.py', 'description': 'DOCSTRING', 'code': 'def build_atomic_result_caches(params):\n RaceContext.pagecache.set_valid(False)\... | 0 |
{'name': 'wizard_font@art/utils.py', 'description': 'Check input text length for wizard mode.\n\n:param text: input text\n:type text:str\n:return: font as str', 'signature': 'def wizard_font(text):'}</s>FONT_NAMES = sorted(FONT_MAP) | 0 |
{'name': 'check@src/python/checking.py', 'description': "Checks whether inputs and the graph are of the appropriate types and\nhave the required properties.\nFor non-specified REFs, removes nodes that cannot be reached due to\nresource limits.\n\nParameters\n----------\nG : object instance :class:`nx.Digraph()`\n mu... | 0 |
{'name': 'TestObjectsE2E.test_host_record_ea_inheritance@e2e_tests/test_objects.py', 'description': 'Checks if EA inheritance for record:host object\nworks as expected', 'signature': 'def test_host_record_ea_inheritance(self):'}</s>{'name': 'DiscoveryDeviceinterface@infoblox_client/objects.py', 'description': "Discover... | 0 |
{'name': 'balance@n26/cli.py', 'description': 'Show account balance ', 'signature': 'def balance():'}</s>REFERENCE_TEXT = "referenceText" | 0 |
{'name': 'Serial._update_dtr_state@serial/serialwin32.py', 'description': 'Set terminal status line: Data Terminal Ready', 'signature': 'def _update_dtr_state(self):'}</s>EV_PERR = 512 | 0 |
{'name': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>PF_TRANS_RULESET = 0 | 0 |
{'name': 'SysTrayIcon.update@python/site-packages/winsystray/traybar.py', 'description': 'update icon image and/or hover text ', 'signature': 'def update(self, icon=None, hover_text=None, menu=None):'}</s>DispatchMessage = ctypes.windll.user32.DispatchMessageA | 0 |
{'name': 'Retry.with_deadline@stream/clients/python/bookkeeper/common/retry.py', 'description': 'Return a copy of this retry with the given deadline.\nArgs:\n deadline (float): How long to keep retrying.\nReturns:\n Retry: A new retry instance with the given deadline.', 'signature': 'def with_deadline(self, deadl... | 0 |
{'name': 'PPOTrainer.train@ss_baselines/savi/ppo/ppo_trainer.py', 'description': 'Main method for training PPO.\n\nReturns:\n None', 'signature': 'def train(self) -> None:'}</s>{'name': 'NpEncoder@ss_baselines/common/utils.py', 'description': 'DOCSTRING', 'base_classes': ['json.JSONEncoder'], 'methods': [{'name': 'N... | 0 |
{'name': 'countedArray@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pyparsing.py', 'description': "Helper to define a counted list of expressions.\n\nThis helper defines a pattern of the form::\n\n integer expr expr expr...\n\nwhere the leading integer tells how many expr expressions follow.\nThe matched ... | 0 |
{'name': 'IUCoordinator.service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Entry point for all service calls.', 'signature': 'def service_call('}</s>SERVICE_SUSPEND = "suspend" | 1 |
{'name': '_lookup_module@dill/session.py', 'description': 'lookup name or id of obj if module is imported', 'signature': 'def _lookup_module(modmap, name, obj, main_module):'}</s>{'name': '_getattr@dill/_dill.py', 'description': 'DOCSTRING', 'code': 'def _getattr(objclass, name, repr_str):\n # hack to grab the refer... | 0 |
{'name': 'run_migrations_offline@todolist/infra/database/alembic/env.py', 'description': "Run migrations in 'offline' mode.\n\nThis configures the context with just a URL\nand not an Engine, though an Engine is acceptable\nhere as well. By skipping the Engine creation\nwe don't even need a DBAPI to be available.\n\nCa... | 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': 'test_polort_const@src/python_scripts/afnipy/afni_util.py', 'description': ... | 0 |
{'name': 'OutputWriterFactory._create_writer@mokapot/confidence.py', 'description': 'Create appropriate writer based on output type and level.\n\nMeant to be used internally. (see `build_writers`)', 'signature': 'def _create_writer('}</s>{'name': 'BufferType@mokapot/tabular_data/base.py', 'description': 'DOCSTRING', 'b... | 0 |
{'name': 'process_direct_grism_visit@grizli/prep.py', 'description': 'Full processing of a direct (+grism) image visit.\n\nParameters\n----------\ndirect : dict\n Dictionary with keys \'files\' and \'product\' for the direct images.\n\ngrism : dict\n Dictionary with keys \'files\' and \'product\' for the grism im... | 0 |
{'name': 'build_recipes@bioconda_utils/build.py', 'description': 'Build one or many bioconda packages.\n\nArguments:\n recipe_folder: Directory containing possibly many, and possibly nested, recipes.\n config_path: Path to config file\n packages: Glob indicating which packages should be considered. Note that package... | 0 |
{'name': 'main@src/build/__main__.py', 'description': 'Parse the CLI arguments and invoke the build process.\n\n:param cli_args: CLI arguments\n:param prog: Program name to show in help text', 'signature': 'def main(cli_args: Sequence[str], prog: str | None = None) -> None:'}</s>{'name': '_setup_cli@src/build/__main__.... | 1 |
{'name': 'CheckLanguage@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Checks rules from the 'C++ language rules' section of cppguide.html.\n\nSome of these rules are hard to test (function overloading, using\nuint32 inappropriately), but we do the best we can.\n\nArgs:\n filename: The name of the current fi... | 0 |
{'name': 'TestReadFromDevice.test_read_rx_with_close_brace_escaped@xbee/thread/tests/test_ieee.py', 'description': 'An escaped rx data frame including a close brace must be read properly.', 'signature': 'def test_read_rx_with_close_brace_escaped(self):'}</s>{'name': 'stringToBytes@xbee/python2to3.py', 'description': 's... | 0 |
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils subclasses used by Versioneer.', 'signature': 'def get_cmdclass():'}</s>{'name': 'render_pep440_pre@versioneer.py', 'description': 'TAG[.post.devDISTANCE] -- No -dirty.\n\nExceptions:\n1: no tags. 0.post.devDISTANCE', 'code': 'de... | 0 |
{'name': 'inside_hole@src/character_segmentation.py', 'description': 'Check if a segment has a hole or not', 'signature': 'def inside_hole(word_img, end_idx, start_idx):'}</s>{'name': 'fill@src/character_segmentation.py', 'description': 'DOCSTRING', 'code': 'def fill(binary_img, VP):\n\n (h, w) = binary_img.shape\n\... | 0 |
{'name': 'Tempo.__init__@oqupy/tempo.py', 'description': 'Create a Tempo object. ', 'signature': 'def __init__('}</s>DEFAULT_TOLERANCE = 0.0039 | 0 |
{'name': 'MeanBlender._predict@lightautoml/automl/blend.py', 'description': 'Simple fit_predict - just average.\n\nArgs:\n predictions: Dataset with predictions.\n\nReturns:\n Dataset with averaged predictions.', 'signature': 'def _predict(self, predictions: Sequence[LAMLDataset]) -> LAMLDataset:'}</s>{'name': 'B... | 0 |
{'name': 'add_constructor@Others_Labs/code/Survey-Survey/yaml/__init__.py', 'description': 'Add a constructor for the given tag.\nConstructor is a function that accepts a Loader instance\nand a node object and produces the corresponding Python object.', 'signature': 'def add_constructor(tag, constructor, Loader=Loader)... | 0 |
{'name': 'config_file@test/conftest.py', 'description': 'Prepares Bioconda config.yaml', 'signature': 'def config_file(tmpdir: py.path.local, case):'}</s>{'name': 'RepoData@bioconda_utils/utils.py', 'description': 'Singleton providing access to package directory on anaconda cloud\n\nIf the first call provides a filenam... | 0 |
{'name': 'CreateAction.post@src/pinnwand/handler/website.py', 'description': "POST handler for the 'web' side of things.", 'signature': 'def post(self) -> None: # type: ignore'}</s>static = base / "static" | 0 |
{'name': 'Executor._create_cmd_header@click_web/resources/cmd_exec.py', 'description': 'Generate a command header.\nNote:\n here we always allow to generate HTML as long as we have it between CLICK-WEB comments.\n This way the JS frontend can insert it in the correct place in the DOM.', 'signature': "def _create_... | 0 |
{'name': 'CheckComment@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Checks for common mistakes in TODO comments.\n\nArgs:\n comment: The text of the comment from the line in question.\n filename: The name of the current file.\n linenum: The number of the line to check.\n error: The function to call ... | 0 |
{'name': '_to_request@swagger_to/elm_client.py', 'description': 'Translate an endpoint to a client request function.\n\n:param endpoint: to be translated\n:param typedefs: table of Elm type definitions\n:return: representation of the request function suitable for generating Elm client code', 'signature': 'def _to_reque... | 0 |
{'name': 'SegWitTest.test_witness_sigops@test/functional/p2p_segwit.py', 'description': 'Ensure sigop counting is correct inside witnesses.', 'signature': 'def test_witness_sigops(self):'}</s>OP_NEGATE = CScriptOp(0x8f) | 0 |
{'name': 'convert_inputs_to_datetimes@transit-network-analysis-tools/AnalysisHelpers.py', 'description': 'Parse start and end day and time from tool inputs and convert them to datetimes.', 'signature': 'def convert_inputs_to_datetimes(start_day_input, end_day_input, start_time_input, end_time_input):'}</s>TIME_FIELD = ... | 0 |
{'name': 'main@alphapy/sport_flow.py', 'description': 'The main program for SportFlow.\n\nNotes\n-----\n(1) Initialize logging.\n(2) Parse the command line arguments.\n(3) Get the game configuration.\n(4) Get the model configuration.\n(5) Generate game frames for each season.\n(6) Create statistics for each team.\n(7) ... | 1 |
{'name': 'PFGid._str_to_num@pf/rule.py', 'description': 'Convert a string to a numeric group ID.', 'signature': 'def _str_to_num(self, s):'}</s>{'name': 'pf_status@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []} | 0 |
{'name': 'Application._perform_deferred_reload@robopianist/viewer/application.py', 'description': 'Performs the deferred part of initialization related to Physics reload.\n\nArgs:\n params: Deferred reload parameters, an instance of ReloadParams.', 'signature': 'def _perform_deferred_reload(self, params):'}</s>MOD_NON... | 0 |
{'name': 'AverageLearner1D.to_dataframe@adaptive/learner/average_learner1D.py', 'description': 'Return the data as a `pandas.DataFrame`.\n\nParameters\n----------\nwith_default_function_args : bool, optional\n Include the ``learner.function``\'s default arguments as a\n column, by default True\nfunction_prefix : ... | 1 |
{'name': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>LOG_INFO = 6 | 0 |
{'name': 'read_archived_xml@eoreader/utils.py', 'description': 'Overload of sertit.files.read_archived_xml to cache its reading:\nthis operation is expensive when done with large archives (especially tars) stored on the cloud (and thus better done only once)', 'signature': 'def read_archived_xml(archive_path: AnyPathSt... | 0 |
{'name': 'PerfectModelEnsemble._compute_persistence@src/climpred/classes.py', 'description': "Verify a simple persistence forecast of the control run against itself.\n\nNote: uses :py:func:`~climpred.reference.compute_persistence_from_first_lead`\nif ``set_options(PerfectModel_persistence_from_initialized_lead_0=True)`... | 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>MQMC_AS_PARENT = 0 | 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>OP_RIGHT = CScriptOp(0x81) | 0 |
{'name': 'RequestsMock.add_passthru@responses/__init__.py', 'description': "Register a URL prefix or regex to passthru any non-matching mock requests to.\n\nFor example, to allow any request to 'https://example.com', but require\nmocks for the remainder, you would add the prefix as so:\n\n>>> import responses\n>>> resp... | 0 |
{'name': 'GTestFailIfNoTestLinkedTest.Run@third_party/libgtest/googletest/test/googletest-fail-if-no-test-linked-test.py', 'description': 'Run the given program with the given flag.\n\nArgs:\n program_name: Name of the program to run.\n flag: The command line flag to pass to the program, or None.\n env: Dictionary w... | 0 |
{'name': 'GtkydInfo.read_all_hdrs@src/python_scripts/afnipy/lib_gtkyd.py', 'description': 'go through all infiles and get header info. This populates a list\nof headers, one-for-one with the infiles', 'signature': 'def read_all_hdrs(self):'}</s>{'name': 'write_to_timing_file@src/python_scripts/afnipy/afni_util.py', 'de... | 0 |
{'name': 'identify_token@sqf/parser.py', 'description': 'The function that converts a token from tokenize to a BaseType.', 'signature': 'def identify_token(token):'}</s>{'name': 'parse_strings_and_comments@sqf/parser.py', 'description': 'Function that parses the strings of a script, transforming them into `String`.', '... | 0 |
{'name': 'CacheList.remove_removed@shingetsu/cache.py', 'description': 'Remove removed record from disk.', 'signature': 'def remove_removed(self):'}</s>archive_dir = _get_value(_extconf, 'Path', 'archive_dir',
'/var/local/www/archive', 'path') | 0 |
{'name': 'MQTTSubscribeDriverConfEditor.default_stanza@bin/user/MQTTSubscribe.py', 'description': 'The default configuration stanza. ', 'signature': 'def default_stanza(self):'}</s>user_root = os.getenv('USER_ROOT') | 0 |
{'name': 'test_cross_module_gil_nested_pybind11_released@bindings/python/ext/pybind11/tests/test_gil_scoped.py', 'description': 'Makes sure that the GIL can be nested acquired/released by another module\nfrom a GIL-released state using pybind11 locking logic.', 'signature': 'def test_cross_module_gil_nested_pybind11_re... | 0 |
{'name': 'MainWindows.createtableWidget_vulnMenu@FrameScan-GUI.py', 'description': "''\n创建右键菜单", 'signature': 'def createtableWidget_vulnMenu(self):'}</s>{'name': 'Ui_MainWindow@Gui/main.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Ui_MainWindow.setupUi@Gui/main.py', 'description':... | 0 |
{'name': 'AssessmentBase.__init__@pelicun/assessment.py', 'description': 'Initialize an Assessment object.\n\nParameters\n----------\nconfig_options:\n User-specified configuration dictionary.', 'signature': 'def __init__(self, config_options: dict[str, Any] | None = None) -> None:'}</s>{'name': '_get_limit_probs@pe... | 0 |
{'name': '_makeTags@blockchain-env/lib/python3.7/site-packages/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml,'}</s>alphas8bit = srange(r"[\0xc0-\0xd6\0xd8-\0xf6\0xf8-\0xff]") | 0 |
{'name': 'DepthImage.open@autolab_core/image.py', 'description': 'Creates a DepthImage from a file.\n\nParameters\n----------\nfilename : :obj:`str`\n The file to load the data from. Must be one of .png, .jpg,\n .npy, or .npz.\n\nframe : :obj:`str`\n A string representing the frame of reference in which the ne... | 0 |
{'name': 'safe_dump_all@strictyaml/ruamel/main.py', 'description': 'Serialize a sequence of Python objects into a YAML stream.\nProduce only basic YAML tags.\nIf stream is None, return the produced string instead.', 'signature': 'def safe_dump_all(documents, stream=None, **kwds):'}</s>enforce = object() | 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>py_fgpu_for_graph_in_fns = "@pyflamegpu.agent_function
def func(message_in: pyflamegpu.Mes... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCSRV_CONVERT_YES = 1 | 0 |
{'name': 'Agent.concatQuery@TDScanner/sqlmap/lib/core/agent.py', 'description': "Take in input a query string and return its processed nulled,\ncasted and concatenated query string.\n\nExamples:\n\nMySQL input: SELECT user, password FROM mysql.user\nMySQL output: CONCAT('mMvPxc',IFNULL(CAST(user AS CHAR(10000)), ' '),... | 0 |
{'name': 'convert_to_en_symbols@text/__init__.py', 'description': 'Converts built-in korean symbols to english, to be used for english training\n ', 'signature': 'def convert_to_en_symbols():'}</s>{'name': '_text_to_sequence@text/__init__.py', 'description': 'Converts a string of text to a sequence of IDs correspond... | 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': 'delete_database@databricks-adx-integration/src/code/tools/ADXProvisionTool/create_dataexplorer_database.py', 'description': 'deletedatabase\n\n:param number_of_companies: number_of_companies\n :type number_of_companies: int\n ', 'signature': 'def delete_database(number_of_companies):'}</s>{'name': 'create_dat... | 0 |
{'name': 'LM.get_dict@app/libs/lm.py', 'description': 'Return all the variables that are needed to do an online estimation in a dictionary.\n ', 'signature': 'def get_dict(self):'}</s>{'name': 'Count@app/libs/base.py', 'description': 'Class to represent a counter using an online estimator.\n\n:var ... | 0 |
{'name': 'NetworkDaemon.__init__@packages/python-google-compute-engine/google_compute_engine/networking/network_daemon.py', 'description': 'Constructor.\n\nArgs:\n ip_forwarding_enabled: bool, True if ip forwarding is enabled.\n proto_id: string, the routing protocol identifier for Google IP changes.\n ip_aliases: b... | 0 |
{'name': 'pump_efficiency@proptools/turbopump.py', 'description': 'Pump efficiency estimate.\n\nBased on figure 6-23 in Huzel and Huang.\n\nArguments:\n dp: Pump pressure rise [units: pascal].\n m_dot: Pump mass flow [units: kilogram second**-1].\n rho: Density of pumped fluid [units: kilogram meter**-3].\n ... | 1 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_CONN_NAME_ERROR = 4062 | 0 |
{'name': 'IUController.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this controller as a dict', 'signature': 'def as_dict(self, extended=False) -> OrderedDict:'}</s>CONF_AUTOPLAY = "autoplay" | 0 |
{'name': 'extend@udiskie/common.py', 'description': 'Merge two dicts and return a new dict. Much like subclassing works.', 'signature': 'def extend(a: dict, b: dict) -> dict:'}</s>{'name': 'AttrDictView@udiskie/common.py', 'description': 'Provide attribute access view to a dictionary.', 'base_classes': [], 'methods': [... | 0 |
{'name': '_CppLintState.PrintErrorCounts@tools/cpplint.py', 'description': 'Print a summary of errors by category, and the total.', 'signature': 'def PrintErrorCounts(self):'}</s>{'name': 'ExpectingFunctionArgs@tools/cpplint.py', 'description': "Checks whether where function type arguments are expected.\n\nArgs:\n cle... | 0 |
{'name': 'TypeAndTypeListTestCase.test@tools/lldb/packages/Python/lldbsuite/test/python_api/type/TestTypeList.py', 'description': 'Exercise SBType and SBTypeList API.', 'signature': 'def test(self):'}</s>{'name': 'skipUnlessFeature@tools/lldb/packages/Python/lldbsuite/test/decorators.py', 'description': 'DOCSTRING', 'c... | 0 |
{'name': 'parse_argv@support/docopt.py', 'description': "Parse command-line argument vector.\n\nIf options_first:\n argv ::= [ long | shorts ]* [ argument ]* [ '--' [ argument ]* ] ;\nelse:\n argv ::= [ long | shorts | argument ]* [ '--' [ argument ]* ] ;", 'signature': 'def parse_argv(tokens, options, options_fi... | 0 |
{'name': 'get_local_part@src/future/backports/email/_header_value_parser.py', 'description': 'local-part = dot-atom / quoted-string / obs-local-part\n\n ', 'signature': 'def get_local_part(value):'}</s>{'name': 'get_atext@src/future/backports/email/_header_value_parser.py', 'description': "atext = <matches _atext_ma... | 0 |
{'name': 'UE4Binary@client/python/unrealcv/automation.py', 'description': "Return a platform-dependent binary for user.\n\nExamples\n--------\n>>> binary = UE4Binary('./WindowsNoEditor/RealisticRendering.exe') # For windows\n>>> binary = UE4Binary('./LinuxNoEditor/RealisticRendering/Binaries/RealisticRendering') # For... | 1 |
{'name': 'FeatureTrack.get_subtrack@src/pygenomeviz/track/feature.py', 'description': 'Get subtrack by name\n\nIf no subtrack found, raise error.\n\nParameters\n----------\nname : str | None, optional\n Target subtrack name. If None, first subtrack is returned.\n\nReturns\n-------\nsubtrack : FeatureSubTrack\n Ta... | 0 |
{'name': 'MainInterface.process_options@src/python_scripts/scripts/uber_ttest.py', 'description': 'return 1 on valid and exit\n 0 on valid and continue\n-1 on invalid', 'signature': 'def process_options(self):'}</s>{'name': 'SubjectList@src/python_scripts/afnipy/lib_subjects.py', 'description': 'list of Subject elemen... | 0 |
{'name': 'makedb@cblaster/database.py', 'description': 'makedb module entry point.\n\nWill parse genome files in `paths` and create:\n\n 1. `database`.sqlite3\n SQLite3 database used for looking up genome context of hit genes\n\n 2. `database`.dmnd\n DIAMOND search database\n\n 3. `database`.fasta\n F... | 0 |
{'name': 'isa_c@riscvmodel/isa.py', 'description': 'Decorator for the instructions. The decorator contains the static information for the\ninstructions, in particular the encoding parameters and the assembler mnemonic.\n\n:param mnemonic: Assembler mnemonic\n:return: Wrapper class that overwrites the actual definition ... | 0 |
{'name': 'displayhtml@nocaptcha_recaptcha/client.py', 'description': 'Gets the HTML to display for reCAPTCHA\n\nsite_key -- The public api key provided by Google ReCaptcha', 'signature': 'def displayhtml(site_key, gtag_attrs, js_params):'}</s>PY2 = sys.version_info[0] == 2 | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQMCP_NONE = 0 | 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': '_run_snake_target@bin/smrtsv.py', 'description': 'Run a snakemake target.\n\n:param args: Arguments processed from the command line.\n:param cmd: The command to run as a tuple starting with the name of the snakemake target.\n\n:return: Return code from snakemake.', 'signature': 'def _run_snake_target(args, *c... | 0 |
{'name': 'attention_layer@baseline/bert/modeling.py', 'description': 'Performs multi-headed attention from `from_tensor` to `to_tensor`.\n\nThis is an implementation of multi-headed attention based on "Attention\nis all you Need". If `from_tensor` and `to_tensor` are the same, then\nthis is self-attention. Each timeste... | 0 |
{'name': 'build_match_function@onlinejudge_command/subcommand/test.py', 'description': "build_match_function builds the function to compare actual outputs and expected outputs.\n\nThis function doesn't any I/O.", 'signature': 'def build_match_function(*, compare_mode: CompareMode, error: Optional[float], judge_command:... | 1 |
{'name': 'preaggregate_time@verif/data.py', 'description': 'Aggregate array across time\n\nArgs:\n array (np.array): 3D array of observations or forecasts\n times (np.array): 1D array of unixtimes (seconds)\n aggregator (verif.aggregator.Aggregator): Aggregate with this function\n length (float): Aggregate ... | 0 |
{'name': 'many@funcparserlib/parser.py', 'description': 'Return a parser that applies the parser `p` as many times as it succeeds at\nparsing the tokens.\n\nReturn a parser that infinitely applies the parser `p` to the input sequence\nof tokens as long as it successfully parses them. The parsed value is a list of\nthe ... | 0 |
{'name': 'TokenList._get_first_name@sqlparse/sql.py', 'description': 'Returns the name of the first token with a name', 'signature': 'def _get_first_name(self, idx=None, reverse=False, keywords=False,'}</s>{'name': 'Having@sqlparse/sql.py', 'description': 'A HAVING clause.', 'base_classes': ['TokenList'], 'methods': []... | 0 |
{'name': '_AddMessageMethods@python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>{'name': '_AddMergeFromStringMethod@python/google/protobuf/internal/python_message.py', 'description'... | 1 |
{'name': 'run@examples/python/learning_pytorch.py', 'description': 'Run num epochs of training episodes.\nSkip frame_repeat number of frames after each action.', 'signature': 'def run(game, agent, actions, num_epochs, frame_repeat, steps_per_epoch=2000):'}</s>{'name': 'DQNAgent@examples/python/learning_pytorch.py', 'de... | 0 |
{'name': 'init@tilemapbase/ordnancesurvey.py', 'description': 'Perform a search for tile files, and so initialise the support.\n\n:param start_directory: The string name of the directory to search. May\n also be an iterable of strings to search more than one directory. All\n sub-directories will be searched for val... | 0 |
{'name': 'CheckStyle@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces insid... | 0 |
{'name': 'prim_generate_maze_wall@Perfect Maze/Simple_Prim_Maze_Wall.py', 'description': '根据Prim算法,遍历墙生成a*b大小的迷宫,动态展示迷宫的生成过程\n:param a: 迷宫的行数\n:param b: 迷宫的列数\n:param path: 是否在最终的迷宫中添加路径,默认添加\n:return: 表示迷宫内所有墙的状态的字典', 'signature': 'def prim_generate_maze_wall(a, b, path=True):'}</s>Column = 39 | 0 |
{'name': 'Logistic.pointwise_gradient@dask_glm/families.py', 'description': 'Logistic gradient, evaluated point-wise.', 'signature': 'def pointwise_gradient(beta, X, y):'}</s>{'name': 'Normal@dask_glm/families.py', 'description': 'Implements methods for `Linear regression`_,\n\nUseful for modeling continuous outcomes.\... | 0 |
{'name': 'render_git_describe@rising/_version.py', 'description': "TAG[-DISTANCE-gHEX][-dirty].\n\nLike 'git describe --tags --dirty --always'.\n\nExceptions:\n1: no tags. HEX[-dirty] (note: no 'g' prefix)", 'signature': 'def render_git_describe(pieces):'}</s>{'name': 'render@rising/_version.py', 'description': 'Rende... | 0 |
{'name': 'PKIS2DatasetProvider.from_source@kinoml/datasets/pkis2.py', 'description': "Create a PKIS2 DatasetProvider from the raw data.\n\nParameters\n----------\npath_or_url: str or pathlib.Path\n CSV file with the protein-ligand measurements.\npath_or_url_constructs: str or pathlib.Path\n CSV file with the cons... | 1 |
{'name': 'default_frequencies@config/parse.py', 'description': 'Get frequencies as the maximum of the upper levels.\n\n:param cores: the list of cpu cores\n:param caches: the dictionary of caches', 'signature': 'def default_frequencies(cores, caches):'}</s>{'name': 'do_for_first@config/util.py', 'description': 'Evaluat... | 0 |
{'name': 'pre_clean_addr_str@scourgify/cleaning.py', 'description': 'Remove any known undesirable sub-strings and special characters.\n\nCleaning should be enacted on an addr_str to remove known characters\nand phrases that might prevent usaddress from successfully parsing.\nFollows USPS pub 28 guidelines for undesirab... | 0 |
{'name': '_default_value@swagger_to/py_client.py', 'description': 'Determine the default value of the given type definition.\n\n:param typedef: type definition in Python representation.\n:return: Python code', 'signature': 'def _default_value(typedef: Typedef) -> str:'}</s>{'name': '_docstring@swagger_to/py_client.py',... | 0 |
{'name': 'RecorderBase.initialize@OnePy/sys_module/base_recorder.py', 'description': '根据最新价格更新账户信息', 'signature': 'def initialize(self):'}</s>{'name': 'RealizedPnlSeriesBase@OnePy/sys_module/models/base_series.py', 'description': 'DOCSTRING', 'base_classes': ['SeriesBase'], 'methods': [{'name': 'RealizedPnlSeriesBase.u... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.