text string | label int64 |
|---|---|
{'name': 'xy_rotate_box@apphelper/image.py', 'description': '绕 cx,cy点 w,h 旋转 angle 的坐标\nx_new = (x-cx)*cos(angle) - (y-cy)*sin(angle)+cx\ny_new = (x-cx)*sin(angle) + (y-cy)*sin(angle)+cy', 'signature': 'def xy_rotate_box(cx,cy,w,h,angle):'}</s>{'name': 'rotate@apphelper/image.py', 'description': '点(x,y) 绕(cx,cy)点旋转', '... | 1 |
{'name': 'run_migrations_offline@migrations/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\nCalls to context.execut... | 0 |
{'name': 'do_setup@versioneer.py', 'description': 'Main VCS-independent setup function for installing Versioneer.', 'signature': 'def do_setup():'}</s>{'name': 'do_vcs_install@versioneer.py', 'description': 'Git-specific installation logic for Versioneer.\n\nFor Git, this means creating/changing .gitattributes to mark ... | 1 |
{'name': 'p_member_declarator@ctypesgen/parser/cgrammar.py', 'description': 'member_declarator : declarator gcc_attributes\n| COLON constant_expression gcc_attributes\n| declarator COLON constant_expression gcc_attributes', 'signature': 'def p_member_declarator(p):'}</s>{'name': 'p_additive_expression@ctypesgen/parser/... | 0 |
{'name': '_type_expression@swagger_to/ts_angular5_client.py', 'description': 'Translate the type definition in Typescript representation to a type expression as Typescript code.\n\n:param typedef: Typescript representation of the type definition\n:param path: path in the Swagger spec\n:return: Typescript code', 'signat... | 0 |
{'name': 'utcrel@dwave/cloud/utils/time.py', 'description': 'Return a timezone-aware `datetime` relative to now (UTC), shifted by\n`offset` seconds in to the future.\n\nExample:\n a_minute_from_now = utcrel(60)', 'signature': 'def utcrel(offset: int) -> datetime:'}</s>{'name': 'datetime_to_timestamp@dwave/cloud/util... | 0 |
{'name': 'IUSequenceRun.running@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Indicate if this sequence is running', 'signature': 'def running(self) -> bool:'}</s>CONF_ACTUAL = "actual" | 0 |
{'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': 'logout@app/auth/views.py', 'description': 'Handle requests to the /logout route\nLog an employee out through the logout link', 'signature': 'def logout():'}</s>{'name': 'Employee@app/models.py', 'description': 'Create an Employee table', 'base_classes': ['UserMixin', 'db.Model'], 'methods': [{'name': 'Employe... | 0 |
{'name': 'socksocket.connect@nova/proxy/socks.py', 'description': "Connects to the specified destination through a proxy.\nUses the same API as socket's connect().\nTo select the proxy server, use set_proxy().\n\ndest_pair - 2-tuple of (IP/hostname, port).", 'signature': 'def connect(self, dest_pair, catch_errors=None)... | 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>ICMP_MASKREPLY = 18 | 0 |
{'name': 'build_model@joeynmt/model.py', 'description': 'Build and initialize the model according to the configuration.\n\n:param cfg: dictionary configuration containing model specifications\n:param src_vocab: source vocabulary\n:param trg_vocab: target vocabulary\n:return: built and initialized model', 'signature': '... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIAV_NOT_APPLICABLE = -1 | 0 |
{'name': 'Numeral.__rgt__@src/api/python/z3/z3num.py', 'description': 'Return True if `other > self`.\n\n>>> 2 > Numeral(Sqrt(2))\nTrue', 'signature': 'def __rgt__(self, other):'}</s>{'name': 'PiecewiseLinearOrder@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def PiecewiseLinearOrder(a, index):\n re... | 0 |
{'name': 'suspended@tubes/_siphon.py', 'description': 'A token value meaning that L{SiphonPendingValues} was suspended.', 'signature': 'def suspended():'}</s>whatever = object() | 0 |
{'name': 'create_config@python-build-with-qt/PyQt-x11-gpl-4.8/configure.py', 'description': 'Create the PyQt configuration module so that it can be imported by build\nscripts.\n\nmodule is the module file name.\ntemplate is the template file name.\nmacros is the dictionary of platform specific build macros.', 'signatur... | 0 |
{'name': 'create_function@src/makefun/main.py', 'description': 'Creates a function with signature `func_signature` that will call `func_impl` when called. All arguments received\nby the generated function will be propagated as keyword-arguments to `func_impl` when it is possible (so all the\ntime, except for var-positi... | 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>{'name': 'InvalidBlock@vimdoc/error.py', 'description': 'DOCSTRING', 'base_classes': ['ParseError'], 'methods': []} | 0 |
{'name': 'SpawnInstance.__init__@osquery/management.py', 'description': 'Keyword arguments:\npath -- the path to and osqueryd binary to spawn', 'signature': 'def __init__(self, path=None):'}</s>WINDOWS_PLATFORM = "win32" | 1 |
{'name': 'eGetRawS@src/LabJackPython.py', 'description': 'Function not yet implemented.\n\nFor Windows only.', 'signature': 'def eGetRawS(Handle, pIOType, Channel, pValue, x1):'}</s>LJ_chCONTROL_FIRMWARE_VERSION = 14 | 0 |
{'name': 'ParserElement.setDebugActions@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Enable display of debugging messages while doing pattern matching.', 'signature': 'def setDebugActions( self, startAction, successAction, exceptionAction ):'}</s>{'name': 'NotAny@tests/_lib_vendors/pkg_resour... | 0 |
{'name': 'TestLoader.resolve@Contents/Libraries/Shared/nose/loader.py', 'description': 'Resolve name within module\n ', 'signature': 'def resolve(self, name, module):'}</s>__all__ = ['TestLoader', 'defaultTestLoader'] | 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': '_dashboards_response@tessera-server/tessera/views_api.py', 'description': 'Return a Flask response object for a list of dashboards in API\nformat. dashboards must be a list of dashboard model objects, which\nwill be converted to their JSON representation.\n ', 'signature': 'def _dashboards_response(dashboa... | 0 |
{'name': '_requests_retry_session@test/common.py', 'description': 'create a retry session for HTTP/HTTPS requests\n@param: retries (num of retry time)\n@param: backoff_factor\n@param: status_forcelist (list of error status code to trigger retry)\n@param: session\nreturns: session', 'signature': 'def _requests_retry_ses... | 0 |
{'name': 'datetime_from_timestamp@yaql/standard_library/date_time.py', 'description': ':yaql:datetime\n\nReturns datetime object built by timestamp.\n\n:signature: datetime(timestamp, offset => timespan(0))\n:arg timestamp: timespan object to represent datetime\n:argType timestamp: number\n:arg offset: datetime offset ... | 0 |
{'name': 'MGWRResults.__init__@stwr/gwr.py', 'description': 'Initialize class', 'signature': 'def __init__(self, model, params, predy, S, CCT, R, w):'}</s>{'name': 'get_AIC@stwr/diagnostics.py', 'description': 'Get AIC calue\n\nGaussian: p96, (4.22), Fotheringham, Brunsdon and Charlton (2002)\n\nGWGLM: AIC(G)=D(G) + 2... | 0 |
{'name': 'process_query@da/compiler/incgen.py', 'description': "Generates stub and hook for 'query'.", 'signature': 'def process_query(query, state):'}</s>STUB_ASSIGN_JB = "
def {1}(_{0}):
global {0}
{0} = _{0}
return {0}
" | 0 |
{'name': 'MatchListener.exitPropTestLike@stix2matcher/matcher.py', 'description': "Consumes an observation data map, {obs_id: {...}, ...}, representing\n selected values from Cyber Observable objects in each observation\n (grouped by observation index and root Cyber Observable object ID).\n See exitObjectPath().\nPr... | 0 |
{'name': 'UserGenericPermsMixin.has_module_perms@protector/models.py', 'description': 'Returns True if the user has any permissions in the given app label.\nUses pretty much the same logic as has_perm, above.', 'signature': 'def has_module_perms(self, app_label):'}</s>SELF_GROUP_ROLE_UPDATED = "Self-role added for user... | 0 |
{'name': 'ProcessLine@tools/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a line of the file,\n wi... | 0 |
{'name': 'IsOutOfLineMethodDefinition@tools/cpplint.py', 'description': 'Check if current line contains an out-of-line method definition.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\nReturns:\n True if current line contains an out-of-line method d... | 0 |
{'name': 'createInstanceAgent@BlendNet/providers/aws/__init__.py', 'description': 'Creating a new instance for BlendNet Agent', 'signature': 'def createInstanceAgent(cfg):'}</s>{'name': 'Instance@BlendNet/providers/aws/Instance.py', 'description': 'DOCSTRING', 'base_classes': ['InstanceProvider'], 'methods': [{'name': ... | 0 |
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie... | 0 |
{'name': 'ref@gget/gget_ref.py', 'description': 'Fetch FTPs for reference genomes and annotations by species from Ensembl.\n\nArgs:\n- species Defines the species for which the reference should be fetched in the format "<genus>_<species>",\n e.g. species = "homo_sapiens".\n Sup... | 0 |
{'name': 'IUCoordinator.service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Entry point for all service calls.', 'signature': 'def service_call('}</s>{'name': 's2b@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Convert the service code to bool'... | 0 |
{'name': 'usage@examples/musx.py', 'description': 'Prints usage message.', 'signature': 'def usage():'}</s>{'name': 'WCNFPlus@pysat/formula.py', 'description': "WCNF formulas augmented with *native* cardinality constraints.\n\nThis class inherits most of the functionality of the :class:`WCNF`\nclass. The only differenc... | 0 |
{'name': 'Decoder.decode_list@transit/decoder.py', 'description': "Special case decodes map-as-array.\nOtherwise lists are treated as Python lists.\n\nArguments follow the same convention as the top-level 'decode'\nfunction.", 'signature': 'def decode_list(self, node, cache, as_map_key):'}</s>SUB = "^" | 0 |
{'name': 'bring_to_current_schema@fink_broker/ztf/hbase_utils.py', 'description': 'Check all columns exist, fill if necessary, and cast data\n\nParameters\n----------\ndf: DataFrame\n Spark DataFrame with raw alert data\n\nReturns\n-------\nout: DataFrame\n Spark DataFrame with HBase data structure', 'signature':... | 0 |
{'name': 'IncInterfaceGenerator.do_table3_transformation@da/compiler/incgen.py', 'description': "Transformation defined in Table 3 of OOPSLA paper.\n\nThis transforms single quantifications over comparisons into min/max\naggregates. Returns None if table 3 can not be applied to 'node'.", 'signature': 'def do_table3_tra... | 0 |
{'name': 'ResourceManager.lookup@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Search for a resource and return an absolute file path, or `None`.\n\nThe :attr:`path` list is searched in order. The first match is\nreturend. Symlinks are followed. The result is cached to speed up\nfuture lookups. ', 's... | 0 |
{'name': 'expand_subdirs@compilelib.py', 'description': 'Recursively expands subdirectories for first-level subdirectory lists,\nexcept the root directory indicated as ".".', 'signature': 'def expand_subdirs(dirlist):'}</s>_rx_export_elem_decl = re.compile(r'^EXPORT_ELEMENT\(([a-zA-Z0-9_]+)\)') | 0 |
{'name': 'IPDatabase.generate_vsim_tcl@ipstools/ipstools/IPDatabase.py', 'description': "Exports the `vsim.tcl` script.\n\n :param filename: Output TCL script file name.\n :type filename: str\n\n :param source: 'ips' or 'rtl'\n :type source: str\n\nThis function exports the `vs... | 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': 'main@emissionsapi/autoupdater.py', 'description': 'Entrypoint for running this as a module or from the binary.\nTriggers the autoupdater.\nThe autoupdater will download and add all missing product files\nof the configured products and the configured interval to the database.', 'signature': 'def main():'}</s>{... | 0 |
{'name': 'networkd_networks@kayobe/plugins/filter/networkd.py', 'description': 'Return a dict representation of networkd network configuration.\n\nThe format is compatible with the systemd_networkd_network variable in the\nstackhpc.linux.systemd_networkd role.\n\n:param context: a Jinja2 Context object.\n:param names: ... | 0 |
{'name': 'collect_cfnstacksets@last_stackset_operations.py', 'description': 'Description: This function collects the information about existing stacksets\n@param faws_acct: Account Object of type "aws_acct_access"\n@param fRegion: String for the region in which to collect the stacksets\n@return:\n - dict of list... | 0 |
{'name': '_find_editable_deps@tasks/deps/_inspect/_inspect.py', 'description': 'Find direct dependencies for editable installation\n\nParameters:\n installed (dict):\n Installed packages\n\n spec (Token):\n The editable dep file token\n\nReturns:\n iterable: List of (requirement, needed-extras) tuples', 'signa... | 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>MQSBC_STRUC_ID = b'SBC ' | 0 |
{'name': 'ListChannels.print_channels_forwardings@lndmanage/lib/listings.py', 'description': 'Prints forwarding statistics for each channel.\n\n:param time_interval_start: int\n:param time_interval_end: int\n:param sort_string: str', 'signature': 'def print_channels_forwardings('}</s>{'name': 'set_lndmanage_home_dir@ln... | 0 |
{'name': 'LinksRepository.find_links@etc/scripts/utils_thirdparty.py', 'description': 'Return a list of link URLs found in the HTML page at `self.url`', 'signature': 'def find_links(self, _CACHE=[]):'}</s>ABOUT_BASE_URL = "https://thirdparty.aboutcode.org/pypi" | 0 |
{'name': 'Client.set_api_version@SalesforcePy/sfdc.py', 'description': 'Sets the api version to be used by the client. If not provided, it will get the latest version\navailable\n\n:return: set version kwarg on client if not defined', 'signature': 'def set_api_version(self, **kwargs):'}</s>{'name': 'Batches@SalesforceP... | 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': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': 'insert_line_breaks@src/api/python/z3/z3printer.py', 'description': 'Break s in lines of size width (approx)', 'c... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIACF_SYSP_TYPE = 1175 | 0 |
{'name': 'Main.update_database@accelerator/control.py', 'description': 'Insert all new jobids (from all workdirs) in database,\ndiscard all deleted or with incorrect hash.', 'signature': 'def update_database(self):'}</s>{'name': 'DotDict@accelerator/extras.py', 'description': "Like a dict, but with d.foo as well as d['... | 0 |
{'name': '_configure_host_iface@kuryr/lib/binding/drivers/veth.py', 'description': 'Configures the interface that is placed on the default net ns\n\n:param ifname: the name of the interface to configure\n:param endpoint_id: the identifier of the endpoint\n:param port_id: the Neutron uuid of the port to which t... | 0 |
{'name': 'logout@n26/cli.py', 'description': 'Logout ', 'signature': 'def logout():'}</s>{'name': 'transactions@n26/cli.py', 'description': 'Show transactions (default: 5) ', 'code': 'def transactions(categories: str, pending: bool, param_from: datetime or None, param_to: datetime or None,\n text_filter... | 0 |
{'name': '_projected_residuals@gneiss/plot/_regression_plot.py', 'description': 'Create projected residual plot\n\nParameters\n----------\nmodel : RegressionModel\n Input regression model to plot prediction.\nplot_width : int, optional\n Width of plot.\nplot_height : int, optional\n Height of plot.\n\nReturns\... | 0 |
{'name': 'create_linux_export_file@tools/ipp_custom_library_tool_python/tool/generators.py', 'description': 'Creates Linux export file\n\n:param export_file:\n:param functions_list:\n:return:', 'signature': 'def create_linux_export_file(export_file, functions_list):'}</s>MAIN_FILE_NAME = "main.c" | 0 |
{'name': 'TestRemoveDeclaration.testNotRemoved@src/tests/testXmlEncodingDecode.py', 'description': "Make sure that invalid, or missing, declarations aren't affected.", 'signature': 'def testNotRemoved(self):'}</s>{'name': 'ValidW3CDTFDate@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['Vali... | 0 |
{'name': 'ClockTree._set_precision@treetime/clock_tree.py', 'description': 'function that sets precision to a (hopefully) reasonable guess based\non the length of the sequence if not explicitly set', 'signature': 'def _set_precision(self, precision):'}</s>BRANCH_GRID_SIZE_FINE = 200 | 1 |
{'name': 'ParserElement.searchString@venv/Lib/site-packages/setuptools/_vendor/pyparsing.py', 'description': 'Another extension to C{L{scanString}}, simplifying the access to the tokens found\nto match the given parse expression. May be called with optional\nC{maxMatches} argument, to clip searching after \'n\' matche... | 0 |
{'name': 'Viewer.initialize@robopianist/viewer/viewer.py', 'description': 'Initialize the viewer.\n\nArgs:\n physics: Physics instance.\n renderer_instance: A renderer.Base instance.\n touchpad: A boolean, use input dedicated to touchpad.', 'signature': 'def initialize(self, physics, renderer_instance, touchpad):'}<... | 0 |
{'name': 'test_merged_dup_stream_alignments@maf/impl/naiveLiftUp.py', 'description': 'Check merged_dup_stream behavior on AlignmentGroups.', 'signature': 'def test_merged_dup_stream_alignments():'}</s>{'name': 'test_find_node_by_name@maf/impl/naiveLiftUp.py', 'description': 'DOCSTRING', 'code': 'def test_find_node_by_n... | 0 |
{'name': 'expect_author@tests/radish/steps.py', 'description': 'Then I will find <author>', 'signature': 'def expect_author(step, author):'}</s>{'name': 'expect_instable_function_pass@tests/radish/steps.py', 'description': 'Then I expect it to pass', 'code': 'def expect_instable_function_pass(step):\n "Then I expect... | 0 |
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>glyph_xywh = dvz.dvz_glyph_xywh | 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... | 1 |
{'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': 'remove_file@tools/lldb/packages/Python/lldbsuite/test/lldbtest.py', 'description': 'DOCSTRING', 'code': 'd... | 0 |
{'name': 'Router.add@src/back/kite/bottle.py', 'description': 'Add a new rule or replace the target for an existing rule. ', 'signature': 'def add(self, rule, method, target, name=None):'}</s>{'name': 'parse_auth@src/back/kite/bottle.py', 'description': 'Parse rfc2617 HTTP authentication header string (basic) and retur... | 0 |
{'name': 'to_aqi@aqi/__init__.py', 'description': 'Calculate the AQI based on a list of pollutants\n\n:param ccs: a list of tuples of pollutants concentrations with\n pollutant constant and concentration as values\n:type ccs: list\n:param algo: algorithm module name\n:type algo: str', 'signature': 'def to_aq... | 1 |
{'name': 'Metrics.print_metrics_mat@musegan/utils/metrics.py', 'description': 'Print the intratrack metrics as a nice formatting table', 'signature': 'def print_metrics_mat(self, metrics_mat):'}</s>{'name': 'tonal_dist@musegan/utils/metrics.py', 'description': 'Return the tonal distance between two chroma features.', '... | 0 |
{'name': 'demean@src/python_scripts/afnipy/afni_util.py', 'description': 'demean the vector (in place), from index ibot to index itop\n\n if ibot == -1, ibot will be 0\n if itop == -1, itop will be len-1\n\nreturn 0 on success, 1 on error', 'signature': 'def demean(vec, ibot=-1, itop=-1):'}</s>{'name': 'vec_moderates@s... | 0 |
{'name': 'main@src/freetype/src/tools/docmaker/docbeauty.py', 'description': 'main program loop', 'signature': 'def main(argv):'}</s>{'name': 'SourceProcessor@src/freetype/src/tools/docmaker/sources.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'SourceProcessor.__init__@src/freetype/src/tool... | 1 |
{'name': 'P2PConnection.disconnect_node@test/functional/test_framework/mininode.py', 'description': 'Disconnect the p2p connection.\n\nCalled by the test logic thread. Causes the p2p connection\nto be disconnected on the next iteration of the asyncore loop.', 'signature': 'def disconnect_node(self):'}</s>{'name': 'msg_... | 0 |
{'name': 'CheckForNonConstReference@ament_cpplint/ament_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 instan... | 0 |
{'name': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo... | 0 |
{'name': 'audio_cqt@feature_extraction.py', 'description': "Compute some audio data's constant-Q spectrogram, normalize, and log-scale\nit\n\nParameters\n----------\naudio_data : np.ndarray\n Some audio signal.\nfs : int\n Sampling rate the audio data is sampled at, should be ``AUDIO_FS``.\n\nReturns\n-------\nmi... | 1 |
{'name': 'main@blogs/ecs-canary-deployments-pipeline/setup/scripts/delete_blog_contents.py', 'description': 'Main function. ', 'signature': 'def main():'}</s>S3_CLIENT = boto3.client('s3') | 1 |
{'name': 'FacebookMiddleware.process_request@fandjango/middleware.py', 'description': 'Process the signed request.', 'signature': 'def process_request(self, request):'}</s>{'name': 'User@fandjango/models.py', 'description': 'Instances of the User class represent Facebook users who\nhave authorized the application.', 'b... | 1 |
{'name': '_nonzero_avg@src/pybnb/solver.py', 'description': 'Returns the average of a list of items, excluding\nzeros. The optional div argument can be set to a list of\nvalues to divide each item by when computing the\naverage.', 'signature': 'def _nonzero_avg(items, div=None):'}</s>_solve_defaults = get_default_args(... | 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': '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': 'weighted_impurity@chapter4/decision_tree_implementation.py', 'description': "Calculate weighted impurity of children after a split\n@param groups: list of children, and a child consists a list of class labels\n@param criterion: metric to measure the quality of a split, 'gini' for Gini Impurity or 'entropy' fo... | 0 |
{'name': 'p_member_declarator@ctypesgen/parser/cgrammar.py', 'description': 'member_declarator : declarator gcc_attributes\n| COLON constant_expression gcc_attributes\n| declarator COLON constant_expression gcc_attributes', 'signature': 'def p_member_declarator(p):'}</s>{'name': 'p_declaration_impl@ctypesgen/parser/cgr... | 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': 'p_identifier_list@ctypesgen/parser/cgrammar.py', 'description': 'identifier_list : IDENTIFIER\n| identifier_list COMMA IDENTIFIER', 'signature': 'def p_identifier_list(p):'}</s>{'name': 'GrammarError@ctypesgen/parser/yacc.py', 'description': 'DOCSTRING', 'base_classes': ['YaccError'], 'methods': []} | 0 |
{'name': '_parse_array@pygdbmi/gdbmiparser.py', 'description': 'Parse an array, stream should be passed the initial [\nreturns:\n Parsed array', 'signature': 'def _parse_array(stream: StringStream) -> list:'}</s>logger = logging.getLogger(__name__) | 1 |
{'name': 'merge_blocks_job@maf/impl/naiveLiftUp.py', 'description': "Combine the lifted blocks and add in the current genome's sequence.", 'signature': 'def merge_blocks_job(job, genome, child_names, block_ids, hal_id, opts):'}</s>{'name': 'maximize_gapless_alignment_length@maf/impl/naiveLiftUp.py', 'description': 'Mer... | 0 |
{'name': '_IsType@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check if expression looks like a type name, returns true if so.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n nesting_state: A NestingState instance which maintains information about\n the current stac... | 0 |
{'name': 'BaseHubConnection.send@signalrcore/hub/base_hub_connection.py', 'description': 'Sends a message\n\nArgs:\n method (string): Method name\n arguments (list|Subject): Method parameters\n on_invocation (function, optional): On invocation send callback\n will be raised on send server function ends.... | 0 |
{'name': 'main@kb_python/main.py', 'description': 'Command-line entrypoint.\n ', 'signature': 'def main():'}</s>{'name': 'get_bustools_binary_path@kb_python/config.py', 'description': 'Dummy function that simply returns the current value of :data:`BUSTOOLS_PATH`.\n ', 'code': 'def get_bustools_binary_path() -> st... | 1 |
{'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': 'Utils.EnableIpv6@packages/python-google-compute-engine/google_compute_engine/distro_lib/el_7/utils.py', 'description': 'Configure the network interfaces for IPv6 using dhclient.\n\nArgs:\n interface: string, the output device names for enabling IPv6.\n logger: logger object, used to write to SysLog and seri... | 0 |
{'name': 'TrainManager.__init__@joeynmt/training.py', 'description': 'Creates a new TrainManager for a model, specified as in configuration.\n\n:param model: torch module defining the model\n:param model_dir: directory to save ckpts\n:param device: torch device\n:param n_gpu: number of gpus. 0 if cpu.\n:param num_worke... | 0 |
{'name': 'TileMatrixSet.rasterio_crs@morecantile/models.py', 'description': 'Return rasterio CRS.', 'signature': 'def rasterio_crs(self):'}</s>{'name': 'CRS@morecantile/models.py', 'description': 'CRS model.\n\nRef: https://github.com/opengeospatial/ogcapi-tiles/blob/master/openapi/schemas/common-geodata/crs.yaml\n\nCo... | 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>EL = b'\xf8' | 0 |
{'name': 'main@Simple_CRuD_Blog_App_with_Streamlit/app.py', 'description': 'A Simple CRUD Blog App', 'signature': 'def main():'}</s>{'name': 'edit_blog_article@Simple_CRuD_Blog_App_with_Streamlit/db_fxns.py', 'description': 'DOCSTRING', 'code': 'def edit_blog_article(article,new_article):\n\tc.execute(\'UPDATE blogtabl... | 0 |
{'name': 'create_test_gitlab@tests/gitlab_test_utils.py', 'description': 'Creates a test GitlabTree instance with mocked data', 'signature': 'def create_test_gitlab(monkeypatch: pytest.MonkeyPatch, '}</s>{'name': 'CloneMethod@gitlabber/method.py', 'description': 'DOCSTRING', 'base_classes': ['enum.IntEnum'], 'methods':... | 1 |
{'name': 'is_x86_64@gef.py', 'description': 'Checks if current target is x86-64', 'signature': 'def is_x86_64() -> bool:'}</s>{'name': 'XFilesCommand@gef.py', 'description': 'Shows all libraries (and sections) loaded by binary. This command extends the GDB command\n`info files`, by retrieving more information from extr... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.