text string | label int64 |
|---|---|
{'name': 'VectorWind.__init__@windspharm/xarray.py', 'description': "Initialize a VectorWind instance.\n\n**Arguments:**\n\n*u*, *v*\n Zonal and meridional components of the vector wind\n respectively. Both components should be `~xarray.DataArray`\n instances. The components must have the same dimension\n c... | 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': 'rs_simple_encode_msg@reedsolo6.py', 'description': "Simple Reed-Solomon encoding (mainly an example for you to understand how it works, because it's slower than the inlined function below)", 'signature': 'def rs_simple_encode_msg(msg_in, nsym, fcr=0, generator=2, gen=None):'}</s>{'name': 'rs_generator_poly@re... | 1 |
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQFB_CICS_INTERNAL_ERROR = 401 | 0 |
{'name': 'pload_dem@src/Utility/Pre-Processing/STOFS-3D-Atl-shadow-VIMS/Pre_processing/Bathy_edit/DEM_loading/pload_dem2.py', 'description': 'Core routine to load bathymetry using mpi.', 'signature': 'def pload_dem(grd, grdout, dem_json, dem_dir, reverse_sign=True):'}</s>{'name': 'stofs3d_v8_LA@src/Utility/Pre-Processi... | 0 |
{'name': 'MyInterface.execute@src/python_scripts/scripts/build_afni.py', 'description': 'evaluate what needs to be done, report on it, any apply\n\n- evaluate directories\n - abin_path\n - root_path\n\nreturn 0 on success\n 1 on non-fatal termination error\n -1 on fatal error', 'signature': 'def exe... | 0 |
{'name': 'to_lonlat@tilemapbase/mapping.py', 'description': 'Inverse project from "web mercator" coords back to longitude, latitude.\n\n:param x: The x coordinate, between 0 and 1.\n:param y: The y coordinate, between 0 and 1.\n\n:return: A pair `(longitude, latitude)` in degrees.', 'signature': 'def to_lonlat(x, y):'}... | 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': 'RasterMap@MRT_FUNC_PY4.py', 'description': 'Make a map centered at a given point, with given dimensions', 'signature': 'def RasterMap():'}</s>{'name': 'PlotData@MRT_FUNC_PY4.py', 'description': 'Plot the data for the Scan function', 'code': 'def PlotData(ndata):\n """Plot the data for the Scan function"""\... | 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': 'pytest_fixture_setup@pytest_asyncio/plugin.py', 'description': 'Adjust the event loop policy when an event loop is produced.', 'signature': 'def pytest_fixture_setup('}</s>{'name': 'unused_tcp_port_factory@pytest_asyncio/plugin.py', 'description': 'A factory function, producing different unused TCP ports.', '... | 0 |
{'name': 'sourceforge_import@code/synchronization/sourceforge_import.py', 'description': 'Scraps Sourceforge project sites and adds developer information to the entries', 'signature': 'def sourceforge_import():'}</s>{'name': 'write_screenshots_overview@code/utils/osg.py', 'description': ':param overview:\n:return:', 'c... | 0 |
{'name': 'fetch@wbpy/utils.py', 'description': 'Return response from a URL, and cache results for one day.', 'signature': 'def fetch(url, check_cache=True, cache_response=True):'}</s>path = os.path.join(os.path.dirname(os.path.realpath(__file__)),
"non_ISO_region_codes.json") | 1 |
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ... | 0 |
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ... | 0 |
{'name': 'Worker._handle_sighup@kuyruk/worker.py', 'description': 'Used internally to fail the task when connection to RabbitMQ is\nlost during the execution of the task.', 'signature': 'def _handle_sighup(self, signum: int, frame: Any) -> None:'}</s>task_presend = Signal() | 0 |
{'name': '_SetVeryStronglyConnected@tools/yapf/yapf/yapflib/split_penalty.py', 'description': 'Set a VERY_STRONGLY_CONNECTED penalty annotation for the given nodes.', 'signature': 'def _SetVeryStronglyConnected(*nodes):'}</s>{'name': 'EncodeAndWriteToStdout@tools/yapf/yapf/yapflib/py3compat.py', 'description': "Encode ... | 0 |
{'name': 'Serial._reconfigure_port@serial/serialwin32.py', 'description': 'Set communication parameters on opened port.', 'signature': 'def _reconfigure_port(self):'}</s>ReadFile = _stdcall_libraries['kernel32'].ReadFile | 0 |
{'name': 'view_cmap@src/cmasher/utils.py', 'description': 'Shows a simple plot of the provided `cmap`.\n\nParameters\n----------\ncmap : str or :obj:`~matplotlib.colors.Colormap` object\n The registered name of the colormap in :mod:`matplotlib.cm` or its\n corresponding :obj:`~matplotlib.colors.Colormap` object.\... | 0 |
{'name': 'stoi@pystoi/stoi.py', 'description': "Short term objective intelligibility\nComputes the STOI (See [1][2]) of a denoised signal compared to a clean\nsignal, The output is expected to have a monotonic relation with the\nsubjective speech-intelligibility, where a higher score denotes better\nspeech intelligibil... | 0 |
{'name': 'create_mapping@goblin/mapper.py', 'description': 'Constructor for :py:class:`Mapping`', 'signature': 'def create_mapping(namespace, properties):'}</s>{'name': 'get_hashable_id@goblin/mapper.py', 'description': 'DOCSTRING', 'code': 'def get_hashable_id(val):\n # Use the value "as-is" by default.\n if isi... | 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': 'import_da@da/api.py', 'description': '**DEPRECATED***\n\nImports DistAlgo module \'module\', returns the module object.\n\nThis function mimics the Python builtin __import__() function for DistAlgo\nmodules. \'name\' is the name of the module to be imported, in\n"dotted module name" format. The module must be... | 0 |
{'name': 'Support.__init__@indeterminatebeam/indeterminatebeam.py', 'description': 'Constructs all the necessary attributes for the Support object.\n\nParameters:\n-----------\ncoord: float\n x coordinate of support on a beam (default unit m) (default 0)\nfixed: tuple of 3 booleans\n Degrees of freedom that are f... | 0 |
{'name': 'Afni1D.label_prefix_to_ints@src/python_scripts/afnipy/lib_afni1D.py', 'description': 'return a list of label indices, based on what is kept or dropped\n keep labels in their original order\n\n if keep_pre and one of keep_pre matches, keep\n if drop_pre and one of drop_pre matches, remove\n\nreturn 0 on ... | 0 |
{'name': 'Receipt.formatted_number@django_afip/models.py', 'description': "This receipt's number in the usual format: ``0001-00003087``.", 'signature': 'def formatted_number(self) -> str | None:'}</s>{'name': 'serialize_receipt_data@django_afip/serializers.py', 'description': 'DOCSTRING', 'code': "def serialize_receipt... | 0 |
{'name': 'ZiGate.__haddr@zigate/core.py', 'description': 'convert int addr to hex ', 'signature': 'def __haddr(self, int_addr, length=4):'}</s>ZIGATE_PACKET_RECEIVED = "ZIGATE_PACKET_RECEIVED" | 0 |
{'name': 'remove_junk@kivy_ios/toolchain.py', 'description': 'Remove unused build artifacts. ', 'signature': 'def remove_junk(d):'}</s>{'name': 'ensure_dir@kivy_ios/toolchain.py', 'description': 'DOCSTRING', 'code': 'def ensure_dir(filename):\n makedirs(filename, exist_ok=True)'} | 0 |
{'name': 'Recipe.download_file@kivy_ios/toolchain.py', 'description': 'Download an `url` to `outfn`', 'signature': 'def download_file(self, url, filename, cwd=None):'}</s>{'name': 'shprint@kivy_ios/toolchain.py', 'description': 'DOCSTRING', 'code': 'def shprint(command, *args, **kwargs):\n kwargs["_iter"] = True\n ... | 0 |
{'name': 'K@src/api/python/z3/z3.py', 'description': "Return a Z3 constant array expression.\n\n>>> a = K(IntSort(), 10)\n>>> a\nK(Int, 10)\n>>> a.sort()\nArray(Int, Int)\n>>> i = Int('i')\n>>> a[i]\nK(Int, 10)[i]\n>>> simplify(a[i])\n10", 'signature': 'def K(dom, v):'}</s>{'name': 'ToReal@src/api/python/z3/z3.py', 'de... | 0 |
{'name': 'read_table@bioframe/io/fileops.py', 'description': 'Read a tab-delimited file into a data frame.\n\nEquivalent to :func:`pandas.read_table` but supports an additional\n`schema` argument to populate column names for common genomic formats.\n\nParameters\n----------\nfilepath_or : str, path object or file-like ... | 0 |
{'name': 'PacketFilter.get_queues@pf/filter.py', 'description': 'Retrieve the currently loaded queues.\n\nReturn a tuple of PFQueue objects.', 'signature': 'def get_queues(self):'}</s>TCPS_CLOSE_WAIT = 5 | 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': 'createUsers@apim-traffic-tool/lib/traffic-tool/src/python/create_api_scenario.py', 'description': 'This function will self-signup all the users in carbon\n:return: None', 'signature': 'def createUsers():'}</s>{'name': 'getIDSecret@apim-traffic-tool/lib/traffic-tool/src/python/utils/request_methods.py', 'descr... | 0 |
{'name': 'ImportErrorTests.test_no_module@didyoumean/didyoumean_sugg_tests.py', 'description': "Should be 'math'.", 'signature': 'def test_no_module(self):'}</s>{'name': 'DelItemClass@didyoumean/didyoumean_sugg_tests.py', 'description': 'Custom class with __delitem__.', 'base_classes': [], 'methods': [{'name': 'DelItem... | 0 |
{'name': '_DifferentialExpressionTest._correction@diffxpy/testing/det.py', 'description': 'Performs multiple testing corrections available in statsmodels.stats.multitest.multipletests()\non self.pval.\n\n:param method: Multiple testing correction method.\n Browse available methods in the annotation of statsmodels.st... | 0 |
{'name': 'select_hfr_db@disdat/hyperframe.py', 'description': 'Create an HFrame Record from a row in our DB.\nWhere uuid= && owner= && human_name= && processing_name=\n\nArgs:\n engine_g:\n uuid (str): add to where clause\n owner (str): add to where clause\n human_name (str): add to where clause\n proce... | 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': 'Serial.open@serial/serialposix.py', 'description': 'Open port with current settings. This may throw a SerialException\nif the port cannot be opened.', 'signature': 'def open(self):'}</s>TIOCM_RTS_str = struct.pack('I', TIOCM_RTS) | 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': 'TextDataLoader.generator_creator@ddparser/parser/data_struct/data.py', 'description': 'Returns a generator, each iteration returns a batch of data', 'signature': 'def generator_creator(self):'}</s>{'name': 'backtrack@ddparser/parser/nets/nn.py', 'description': 'Backtrack the position matrix of eisner to gener... | 0 |
{'name': '__listAllUE9Unix@src/LabJackPython.py', 'description': 'Private listAll function for use on unix and mac machines to find UE9s.\n ', 'signature': 'def __listAllUE9Unix(connectionType):'}</s>{'name': 'setChecksum16@src/LabJackPython.py', 'description': 'DOCSTRING', 'code': 'def setChecksum16(buffer):\n t... | 0 |
{'name': 'conn@PythonApplication1/自己的小练习/JD小组开发/readFileTable.py', 'description': "# 现代化的数据库链接方式\n# pymssql.create_engine是数据库引擎\n# ('mysql+mysqldb://root:password@localhost:3306/databasename?charset=utf8')的解释\n# mysql是要用的数据库\n# mysqldb是需要用的接口程序\n# root是数据库账户\n# password是数据库密码\n# localhost是数据库所在服务器的地址,这里是本机\n# 3306是mysq... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQTCPSTACK_MULTIPLE = 1 | 0 |
{'name': 'dpll@aimacode/logic.py', 'description': 'See if the clauses are true in a partial model.', 'signature': 'def dpll(clauses, symbols, model):'}</s>{'name': 'unify_var@aimacode/logic.py', 'description': 'DOCSTRING', 'code': 'def unify_var(var, x, s):\n if var in s:\n return unify(s[var], x, s)\n eli... | 0 |
{'name': 'TestObjectsE2E.test_create_alias_a_record@e2e_tests/test_objects.py', 'description': 'Create two A records with different names, but pointing to the same\nipv4addr', 'signature': 'def test_create_alias_a_record(self):'}</s>{'name': 'RpzCnameIpaddressdnRecord@infoblox_client/objects.py', 'description': 'RpzCna... | 0 |
{'name': 'MarkdownConverter.get_conv_fn@markdownify/__init__.py', 'description': 'Given a tag name, find and return the conversion function.', 'signature': 'def get_conv_fn(self, tag_name):'}</s>{'name': 'abstract_inline_conversion@markdownify/__init__.py', 'description': "This abstracts all simple inline tags like b, ... | 0 |
{'name': 'TestObjectsE2E.test_create_alias_a_record@e2e_tests/test_objects.py', 'description': 'Create two A records with different names, but pointing to the same\nipv4addr', 'signature': 'def test_create_alias_a_record(self):'}</s>{'name': 'HsmThalesgroup@infoblox_client/objects.py', 'description': "HsmThalesgroup: T... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQDLV_ALL_DUR = 2 | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_CFSF_OPERATOR_ERROR = 3246 | 0 |
{'name': 'DjangoDeleteSubscription._model_deleted_handler@graphene_django_cud/subscriptions/delete.py', 'description': 'Handle model updating and notify subscribers', 'signature': 'def _model_deleted_handler(cls, sender, *args, **kwargs):'}</s>{'name': 'DjangoCudSubscriptionBase@graphene_django_cud/subscriptions/core.p... | 0 |
{'name': 'pmt@venv/Lib/site-packages/numpy/lib/financial.py', 'description': "Compute the payment against loan principal plus interest.\n\nGiven:\n * a present value, `pv` (e.g., an amount borrowed)\n * a future value, `fv` (e.g., 0)\n * an interest `rate` compounded once per period, of which\n there are\n * `nper` t... | 0 |
{'name': 'get_env_variable@ponycheckup/settings/base.py', 'description': 'Get the environment variable or return exception ', 'signature': 'def get_env_variable(var_name):'}</s>USE_TZ = False | 0 |
{'name': 'Annotation.get_available_label_stores@wfdb/io/annotation.py', 'description': "Get the label store values that may be used\nfor writing this annotation.\n\nAvailable store values include:\n- the undefined values in the standard WFDB labels\n- the store values not used in the current\n annotation object.\n- th... | 0 |
{'name': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p... | 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': 'Pattern.fix_repeating_arguments@classes/docopt.py', 'description': 'Fix elements that should accumulate/increment values.', 'signature': 'def fix_repeating_arguments(self):'}</s>{'name': 'docopt@classes/docopt.py', 'description': 'Parse `argv` based on command-line interface described in `doc`.\n\n`docopt` cr... | 0 |
{'name': 'nestedExpr@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and\nclosing delimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list\n (de... | 0 |
{'name': 'Header.FillOut@vimdoc/docline.py', 'description': 'Expands the usage line with the given arguments.', 'signature': 'def FillOut(self, name, sep, extra_reqs, extra_opts):'}</s>required_arg = _DelimitedRegex(r'{([a-zA-Z_][a-zA-Z0-9_]*(?:\.\.\.)?)}') | 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>MQAT_NSK = 13 | 0 |
{'name': 'get_plottables@src/mplhep/utils.py', 'description': 'Generate plottable histograms from various histogram data sources.\n\nParameters\n----------\nH : object\n Histogram object with containing values and optionally bins. Can be:\n\n - `np.histogram` tuple\n - PlottableProtocol histogram object\n -... | 1 |
{'name': 'spbasis_from_MomSpaceBasis@doc/src/week46/Programs/NeutronMatterCCD_Ladders.py', 'description': 'converts a lattice to a single particle basis for spin-isospin degeneracy st_degen\nparam lattice_vecs: list of lattice vectors for 1st particle\nparam st_degen: spin-isospin degeneracy\nreturn: basis as a list of... | 0 |
{'name': 'save_using_palette@src/pyradox/image.py', 'description': 'save image using palette and optimization', 'signature': 'def save_using_palette(image, filename, colors = 256):'}</s>{'name': 'colormap_blue_red@src/pyradox/image.py', 'description': 'Given x between 0 and 1, interpolates between blue and red.', 'code... | 0 |
{'name': 'test_page_needs_updating_content_replace_all_labels_and_labels_not_changed@test_package/unit/test_upsert.py', 'description': 'We want to replace all the labels, but they have not changed', 'signature': 'def test_page_needs_updating_content_replace_all_labels_and_labels_not_changed(mocker):'}</s>{'name': 'test... | 0 |
{'name': 'ParserElement.addCondition@blockchain-env/lib/python3.7/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Add a boolean predicate function to expression\'s list of parse actions. See \nL{I{setParseAction}<setParseAction>} for function call signatures. Unlike C{setParseAction}, \nfunctions pas... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQBACF_XQH_CORREL_ID = 7034 | 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': 'py23long@code/pymqi/CMQC.py', 'description': 'DOCSTRING', 'code': 'def py23long(x):\n # this will convert py2\'s int to py2\'s long without ... | 0 |
{'name': 'double_sum@pythoncourse/coursecode/xlwings/backtest_xl/backtest_xl.py', 'description': 'Returns twice the sum of the two arguments', 'signature': 'def double_sum(x, y):'}</s>{'name': 'grab_plot@pythoncourse/coursecode/xlwings/backtest_xl/backtest_xl.py', 'description': 'DOCSTRING', 'code': 'def grab_plot():\n... | 0 |
{'name': 'HiGHS_CMD.actualSolve@pulp/apis/highs_api.py', 'description': 'Solve a well formulated lp problem', 'signature': 'def actualSolve(self, lp):'}</s>{'name': 'LpSolver_CMD@pulp/apis/core.py', 'description': 'A generic command line LP Solver', 'base_classes': ['LpSolver'], 'methods': [{'name': 'LpSolver_CMD.__ini... | 0 |
{'name': 'MQTTSubscribeDriverConfEditor.default_stanza@bin/user/MQTTSubscribe.py', 'description': 'The default configuration stanza. ', 'signature': 'def default_stanza(self):'}</s>{'name': 'CollectData@bin/user/MQTTSubscribe.py', 'description': "Manage fields that are 'grouped together', like wind data. ", 'base_class... | 0 |
{'name': 'convert_to_c3d@Pose2Sim/common.py', 'description': 'Make Visual3D compatible c3d files from a trc path\n\nINPUT:\n- trc_path: string, trc file to convert\n\nOUTPUT:\n- c3d file', 'signature': 'def convert_to_c3d(trc_path):'}</s>{'name': 'sort_stringlist_by_last_number@Pose2Sim/common.py', 'description': "Sort... | 0 |
{'name': 'ParseNolintSuppressions@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Updates the global list of line error-suppressions.\n\nParses any NOLINT comments on the current line, updating the global\nerror_suppressions store. Reports an error if the NOLINT comment\nwas malformed.\n\nArgs:\n filename: s... | 0 |
{'name': 'SAPHash.hash@ap2/fairplay3.py', 'description': 'Expects a block of bytes, 210 bytes long.', 'signature': 'def hash(self, blockIn: bytes) -> bytes:'}</s>{'name': 'HandGarble@ap2/fairplay3.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'HandGarble.Garble@ap2/fairplay3.py', 'descriptio... | 0 |
{'name': 'TestToivanen.test_euclidean_dist_output@tests/test_toivanen.py', 'description': 'Explanation:\n\nTaking euclidean distance with x==0 below:\nx-------------\n| |\n| |\n| |\n| |\n| |\n| |\n--------------\n\nThe max distance in euclidean output wi... | 0 |
{'name': 'GroupFitter.xfit_redshift@grizli/fitting.py', 'description': 'Two-step procedure for fitting redshifts\n\n1. polynomial, spline template fits\n2. redshift grids\n3. ...\n\nParameters\n----------\nprior : None, (array, array)\n Redshift prior (z, pz). Will be interpolated to the redshift\n fit grid\n\nt... | 0 |
{'name': 'BisectRunner.get_next@nix_bisect/bisect_runner.py', 'description': 'Computes the next commit to test.\n\nThis takes skip-ranges into account and prioritizes finding the first\ncommit that unbreaks a skip range.\n\nMay add commits for cherry pick. Returns `False` when the bisect is\nfinished.', 'signature': 'd... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCNO_RECONNECT_AS_DEF = 0 | 0 |
{'name': 'main@kb_python/main.py', 'description': 'Command-line entrypoint.\n ', 'signature': 'def main():'}</s>{'name': 'is_dry@kb_python/config.py', 'description': 'Return whether the current run is a dry run.\n\nReturns:\n Whether the current run is a dry run', 'code': 'def is_dry() -> bool:\n """Return whe... | 0 |
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>ICMP_PARAMPROB = 12 | 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': 'add_line_wrappers@src/python_scripts/afnipy/afni_util.py', 'description': "wrap long lines wit... | 0 |
{'name': 'run@tools/spritemaker.py', 'description': 'Runs this module (menu related)', 'signature': 'def run():'}</s>{'name': 'FilterSprite@tools/spritemaker.py', 'description': 'A Filter sprite is a version of static sprite used for filtering\nother static sprites.\n\nThe primary difference is that any of the initial ... | 0 |
{'name': '_griffin_lim@utils/audio.py', 'description': 'librosa implementation of Griffin-Lim\nBased on https://github.com/librosa/librosa/issues/434', 'signature': 'def _griffin_lim(S, hparams):'}</s>{'name': '_stft_parameters@utils/audio.py', 'description': 'DOCSTRING', 'code': 'def _stft_parameters(hparams):\n n_... | 0 |
{'name': 'ImportErrorTests.test_no_module@didyoumean/didyoumean_sugg_tests.py', 'description': "Should be 'math'.", 'signature': 'def test_no_module(self):'}</s>INTEXPECTED = (TypeError, re.INTEGER_EXPECTED_GOT_RE) | 0 |
{'name': '_add_material_to_particle@blender_kitti/particles.py', 'description': ':param name_prefix:\n:param colors:\n:param obj_particle:\n:return:', 'signature': 'def _add_material_to_particle(name_prefix, colors, obj_particle, material=None):'}</s>logger = logging.getLogger(__name__) | 1 |
{'name': 'Visualizer.display_current_results@utils/visualizer.py', 'description': 'Display current results on visdom; save current results to an HTML file.\n\nParameters:\n visuals (OrderedDict) - - dictionary of images to display or save\n epoch (int) - - the current epoch\n save_result (bool) - - if save the... | 0 |
{'name': 'Client.start_broadcast@opentok/opentok.py', 'description': 'Use this method to start a live streaming broadcast for an OpenTok session. This broadcasts\nthe session to an HLS (HTTP live streaming) or to RTMP streams. To successfully start\nbroadcasting a session, at least one client must be connected to the s... | 1 |
{'name': 'AGraph.draw@pygraphviz/agraph.py', 'description': 'Output graph to path in specified format.\n\n.. caution:: EXPERIMENTAL\n\nThis version of the draw command uses libgvc for drawing instead\nof command line GraphViz tools like in versions <1.6 and the default.\n\nAn attempt will be made to guess the output fo... | 1 |
{'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... | 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_MODIFY_VOLUME_ATTRIBUTES = "ModifyVolumeAttributes" | 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': 'main@tests/run_all_tests.py', 'description': 'Main function to parse arguments, set up the testing environment, and\nexecute tests.\n\nThis function performs the following steps:\n1. Parses command line arguments.\n2. Reads configuration from a JSON file if specified.\n3. Merges arguments from the JSON file a... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIMPO_INQ_FIRST = 0 | 0 |
{'name': 'aprint@art/functions.py', 'description': 'Print 1-line art.\n\n:param artname: art name\n:type artname : str\n:param number: number of repeats\n:type number: int\n:param space: space between arts\n:type space: int\n:return: None', 'signature': 'def aprint(artname, number=1, space=1):'}</s>FONT_MAP = {"block":... | 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': 'is_trivial_dir@src/python_scripts/afnipy/afni_util.py', 'descript... | 0 |
{'name': 'intPrefixedToBytes@tubes/framing.py', 'description': 'Prepend packed network endian lengths to a sequence of bytes representing\nframes.\n\n@param prefixBits: The number of bits to use for the length prefix: either\n 8, 16, or 32.\n\n@return: a new L{ITube} that does the conversion.', 'signature': 'def int... | 0 |
{'name': 'ScanSouthSky@GUI/MRT_FUNC_PY4_GUI.py', 'description': 'Scan the entire south sky, except between 80 and 90 degrees for elevation limited by telescope design', 'signature': 'def ScanSouthSky(ser):'}</s>{'name': 'connectToArduino@GUI/MRT_FUNC_PY4_GUI.py', 'description': 'DOCSTRING', 'code': "def connectToArduin... | 0 |
{'name': 'Serial.open@serial/rfc2217.py', 'description': 'Open port with current settings. This may throw a SerialException\nif the port cannot be opened.', 'signature': 'def open(self):'}</s>RFC2217_REVERSE_STOPBIT_MAP = dict((v, k) for k, v in RFC2217_STOPBIT_MAP.items()) | 0 |
{'name': 'MaskedArray.__imul__@venv/Lib/site-packages/numpy/ma/core.py', 'description': 'Multiply self by other in-place.', 'signature': 'def __imul__(self, other):'}</s>trace = _frommethod('trace') | 0 |
{'name': 'wasm_vec_to_list@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a vector or a POINTER(vector) to a list\nvector of type pointers -> list of type pointers', 'signature': 'def wasm_vec_to_list(vec):'}</s>{'name': 'wasm_foreign_same@language-bindings/python/src/wamr/wasmcapi/binding... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.