text string | label int64 |
|---|---|
{'name': 'SciQuery.get_rdb_compute_domain@py3/SciServer/SciQuery.py', 'description': "Returns an object of class RDBComputeDomain, either defined by the input name or identifiers, or that\nwhich is set in the SciQuery instance.\n\n:param rdb_compute_domain: defines a domain or environment of multiple databases where us... | 0 |
{'name': 'loadingList@main.py', 'description': '载入官方列表\n:return:', 'signature': 'def loadingList():'}</s>Path_equip = "data/equip/" | 0 |
{'name': 'CosS3Client.get_async_fetch_task@qcloud_cos/cos_client.py', 'description': "获取异步拉取对象到COS的任务状态\n\n:param Bucket(string): 存储桶名称.\n:param TaskId(string): 异步拉取任务查询的唯一标识.\n:kwargs(dict): 扩展参数.\n:return(dict): 异步任务的状态\n\n.. code-block:: python\n\n config = CosConfig(Region=region, SecretId=secret_id, SecretKey=s... | 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>KEY_TAB = 258 | 0 |
{'name': 'get_epsg@detectree2/models/evaluation.py', 'description': 'Splitting up the file name to get EPSG', 'signature': 'def get_epsg(file):'}</s>{'name': 'positives_test@detectree2/models/evaluation.py', 'description': 'Determines number of true postives, false positives and false negatives.\n\nStore the numbers of... | 0 |
{'name': 'SegWitTest.test_max_witness_push_length@test/functional/p2p_segwit.py', 'description': 'Should only allow up to 520 byte pushes in witness stack ', 'signature': 'def test_max_witness_push_length(self):'}</s>{'name': 'CScriptInvalidError@test/functional/test_framework/script.py', 'description': 'Base class for... | 0 |
{'name': 'minimal_init@soundrts/clientmedia.py', 'description': 'initialize sound, voice, screen, window title, keyboard', 'signature': 'def minimal_init():'}</s>YOU_ARE_NOW_IN_OBSERVER_MODE = [4313] | 0 |
{'name': 'ParseArguments@scripts/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args):'}</s>_TYPES = re.c... | 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': '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': 'main@rpmvenv/cli.py', 'description': 'Build an RPM.', 'signature': 'def main(argv=sys.argv[1:]):'}</s>{'name': 'generate_rpm@rpmvenv/cli.py', 'description': 'Generate an RPM from the given arguments mapping.', 'code': 'def generate_rpm(source, destination, specfile, verbose=False):\n """Generate an RPM fro... | 1 |
{'name': 'User.initialize@src/astrobotany/models.py', 'description': 'Register a new player.', 'signature': 'def initialize(cls, username: str) -> User:'}</s>badge_16 = Badge("butterfly", series=1, number=16, symbol="🦋") | 0 |
{'name': '_NestingState.Update@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Update nesting state with current line.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to cal... | 0 |
{'name': 'download_official_website_layout@vulfocus-api/layout_image/views.py', 'description': '下载官网编排场景(社区)', 'signature': 'def download_official_website_layout(request):'}</s>{'name': 'get_local_ip@vulfocus-api/tasks/tasks.py', 'description': '获取本机IP\n:return: ip', 'code': 'def get_local_ip():\n """\n 获取本机IP\n ... | 0 |
{'name': 'create_yaml@hokusai/commands/review_app.py', 'description': 'create yaml for review app ', 'signature': 'def create_yaml(source_file, app_name):'}</s>{'name': 'setup_review_app@hokusai/commands/review_app.py', 'description': 'prepare for creating a review app ', 'code': "def setup_review_app(source_file, app_... | 0 |
{'name': 'TestMonitorClientEnterprise.test_monitorclient_logs_and_surround@tests/tests/test_monitor_client.py', 'description': 'Tests more lines of logs surrounding a line matching a pattern', 'signature': 'def test_monitorclient_logs_and_surround(self, monitor_commercial_setup_no_client):'}</s>URL_EMAILS = "/tenants/{... | 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': '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': 'DifferentialExpressionTestWald.plot_vs_ttest@diffxpy/testing/det.py', 'description': 'Normalizes data by size factors if any were used in model.\n\n:param log10:\n:param show: Whether (if save is not None) and where (save indicates dir and file stem) to display plot.\n:param save: Path+file name stem to save ... | 0 |
{'name': 'convert_entries@code/html/generate_static_website.py', 'description': ':param entries:\n:param inspirations:\n:param developers:\n:return:', 'signature': 'def convert_entries(entries, inspirations, developers):'}</s>extended_alphabet = alphabet + extra | 0 |
{'name': 'SemisupervisedTranslationTask.load_dataset@fairseq/tasks/semisupervised_translation.py', 'description': 'Load a dataset split.', 'signature': 'def load_dataset(self, split, epoch=1, **kwargs):'}</s>{'name': 'move_to_cpu@fairseq/utils.py', 'description': 'DOCSTRING', 'code': 'def move_to_cpu(sample):\n def ... | 0 |
{'name': 'ProcessFileData@llvm-4.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.... | 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>{'name': 'Error@code/pymqi/__init__.py', 'description': 'Base class for all PyMQI exceptions.\n ', 'base_classes': ['Exception'], 'm... | 0 |
{'name': 'test_table_update_completed@delivery/tests/integ/test_events.py', 'description': 'Test that the TableUpdate function reacts to changes to DynamoDB and sends events to EventBridge', 'signature': 'def test_table_update_completed(table_name, listener, order):'}</s>{'name': 'test_table_update_failed@delivery/test... | 0 |
{'name': 'extract_from_coords@grizli/aws/sky_wfss.py', 'description': ' ', 'signature': "def extract_from_coords(ra=189.0706488, dec=62.2089502, grisms=['F356W-GRISMR','F410M-GRISMR','F444W-GRISMR'], size=48, grp=None, clean=False, get_cutout=True, cutout_filter='F444W-CLEAR', prefix='gdn-grism', verbose=True, mb_kw... | 0 |
{'name': 'SmallMoleculeTemplateGenerator._match_residue@openmmforcefields/generators/template_generators.py', 'description': 'Determine whether a residue matches a Molecule template and return a list of corresponding atoms.\n\nThis implementation uses NetworkX for graph isomorphism determination.\n\nParameters\n-------... | 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': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQ_PSB_NAME_LENGTH = 8 | 0 |
{'name': '_Command._decode_transfer_data@pyocd/probe/pydapaccess/dap_access_cmsis_dap.py', 'description': 'Take a byte array and extract the data from it\n\nDecode the response returned by a DAP_Transfer CMSIS-DAP command\nand return it as an array of bytes.', 'signature': 'def _decode_transfer_data(self, data):'}</s>{... | 0 |
{'name': 'Family.set_default_priors@bambi/families/family.py', 'description': 'Set default priors for non-parent parameters\n\nParameters\n----------\npriors : dict\n The keys are the names of non-parent parameters and the values are their default priors.', 'signature': 'def set_default_priors(self, priors):'}</s>{'... | 0 |
{'name': 'LinkRegistry.add_valve@wntr/network/model.py', 'description': "Adds a valve to the water network model.\n\nParameters\n----------\nname : string\n Name of the valve.\nstart_node_name : string\n Name of the start node.\nend_node_name : string\n Name of the end node.\ndiameter : float, optional\n ... | 0 |
{'name': 'sign_tx@bit/transaction.py', 'description': 'Signs inputs in provided transaction object for which unspents\nare provided and can be signed by the private key.\n\n:param private_key: Private key\n:type private_key: ``PrivateKey`` or ``MultiSig``\n:param tx: Transaction object\n:type tx: ``TxObj``\n:param unsp... | 0 |
{'name': 'GetTokens@swap-ssdb-1.9.2/tests/googletest/googlemock/scripts/generator/cpp/tokenize.py', 'description': 'Returns a sequence of Tokens.\n\nArgs:\n source: string of C++ source code.\n\nYields:\n Token that represents the next token in the source.', 'signature': 'def GetTokens(source):'}</s>{'name': '_GetStr... | 1 |
{'name': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>{'name': '_check_fp_args@src/api/python/z3/z3.p... | 0 |
{'name': 'PrintUsage@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Prints a brief usage string and exits, optionally with an error message.\n\nArgs:\n message: The optional error message.', 'signature': 'def PrintUsage(message):'}</s>_C_HEADERS = frozenset([
# System C headers
'assert.h',
'compl... | 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': 'perftest@Cheetah/Tests/Performance.py', 'description': "Performance test decorator based off the 'timedtest'\ndecorator found in this Active State recipe:\n http://code.activestate.com/recipes/440700/", 'signature': 'def perftest(max_num_pystones, current_pystone=None):'}</s>{'name': 'DurationError@Cheetah... | 1 |
{'name': 'sign_tx@bit/transaction.py', 'description': 'Signs inputs in provided transaction object for which unspents\nare provided and can be signed by the private key.\n\n:param private_key: Private key\n:type private_key: ``PrivateKey`` or ``MultiSig``\n:param tx: Transaction object\n:type tx: ``TxObj``\n:param unsp... | 1 |
{'name': 'fetch_rib@app/tasks/__init__.py', 'description': 'Process the routeview data.', 'signature': 'def fetch_rib(force=False):'}</s>{'name': 'to_download@app/tasks/__init__.py', 'description': 'Check to see if we need to download.', 'code': 'def to_download():\n """Check to see if we need to download."""\n n... | 1 |
{'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': 'lin_vec_sum@src/python_scripts/afnipy/afni_util.py', 'description... | 0 |
{'name': 'diff_entire_folder_against_full_history_subcommand@ascmhl/commands.py', 'description': 'Checks MHL hashes from all generations against all file hash entries.\n\nROOT_PATH: the root path to use for the asc mhl history\n\nTraverses through the content of a folder. The command finds all files that are existent i... | 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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_SOURCE_BUFFER_ERROR = 2145 | 0 |
{'name': 'apply_along_axis@venv/Lib/site-packages/numpy/ma/extras.py', 'description': '(This docstring should be overwritten)', 'signature': 'def apply_along_axis(func1d, axis, arr, *args, **kwargs):'}</s>not_equal = _MaskedBinaryOperation(umath.not_equal) | 0 |
{'name': 'make_utxo@qa/rpc-tests/replace-by-fee.py', 'description': 'Create a txout with a given amount and scriptPubKey\n\nMines coins as needed.\n\nconfirmed - txouts created will be confirmed in the blockchain;\n unconfirmed otherwise.', 'signature': 'def make_utxo(node, amount, confirmed=True, scriptPubK... | 0 |
{'name': 'expr_value@tools/kconfig_new/kconfiglib.py', 'description': "Evaluates the expression 'expr' to a tristate value. Returns 0 (n), 1 (m),\nor 2 (y).\n\n'expr' must be an already-parsed expression from a Symbol, Choice, or\nMenuNode property. To evaluate an expression represented as a string, use\nKconfig.eval_s... | 0 |
{'name': 'LibcxxPrettyPrinter.__call__@llvm-project/libcxx/utils/gdb/libcxx/printers.py', 'description': 'Return the pretty printer for a val, if the type is supported.', 'signature': 'def __call__(self, val):'}</s>{'name': 'StdFposPrinter@llvm-project/libcxx/utils/gdb/libcxx/printers.py', 'description': 'Print a std::... | 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_GREATERTHAN = CScriptOp(0xa0) | 0 |
{'name': 'ParseArguments@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'sign... | 0 |
{'name': 'Serial.write@serial/serialwin32.py', 'description': 'Output the given byte string over the serial port.', 'signature': 'def write(self, data):'}</s>CLRDTR = 6 | 0 |
{'name': 'station_marker@metro_map_saver/map_saver/templatetags/metromap_utils.py', 'description': "Generate the SVG shape for a station based on\n whether it's a transfer station and what its shape is.\n\nConsider: some stations could probably be optimized into a single SVG, or at least fewer.\n\n For example, a... | 1 |
{'name': 'testWriteXMLParametersGAFF@openmoltools/tests/test_forcefield_generators.py', 'description': 'Test writing XML parameters loaded from Amber GAFF parameter files ', 'signature': 'def testWriteXMLParametersGAFF():'}</s>{'name': 'test_atom_topology_index@openmoltools/tests/test_forcefield_generators.py', 'descri... | 0 |
{'name': 'Component.becomes@src/nagare/component.py', 'description': 'Replace a component by an object or an other component.\n\nIn:\n - ``o`` -- object to be replaced by\n - ``view`` -- the name of the view to use (``None`` for the default view)\n - ``url`` -- the url fragment to add before all the links generated ... | 0 |
{'name': 'test_aspls_overflow@tests/test_weighting.py', 'description': 'Ensures exponential overflow does not occur from aspls weighting.', 'signature': 'def test_aspls_overflow(one_d, asymmetric_coef):'}</s>{'name': 'expected_lsrpls@tests/test_weighting.py', 'description': 'The weighting for the locally symmetric rewe... | 0 |
{'name': 'GroupFLT.subtract_median_filter@grizli/multifit.py', 'description': 'Remove a median filter calculated along the dispersion axis.\n\nParameters\n----------\nfilter_size : int\n Size of the median filter.\n\nfilter_central : int\n Mask the central `filter_central` pixels of the filter.\n\nrevert : bool\n... | 0 |
{'name': 'writeSuites@cxxtest/cxxtestgen.py', 'description': 'Write all TestDescriptions and SuiteDescriptions', 'signature': 'def writeSuites(output):'}</s>{'name': 'usageString@cxxtest/cxxtestgen.py', 'description': 'Construct program usage string', 'code': "def usageString():\n '''Construct program usage string''... | 0 |
{'name': 'Pdf.Render@reference/ThinkDSP/code/thinkstats2.py', 'description': 'Generates a sequence of points suitable for plotting.\n\nIf options includes low and high, it must also include n;\nin that case the density is evaluated an n locations between\nlow and high, including both.\n\nIf options includes xs, the den... | 0 |
{'name': 'load_operator@streaming/python/raystreaming/operator.py', 'description': 'Deserialize `descriptor_operator_bytes` to get operator info, then\ncreate streaming operator.\nNote that this function must be kept in sync with\n `io.ray.streaming.runtime.python.GraphPbBuilder.serializeOperator`\n\nArgs:\n descrip... | 0 |
{'name': 'main@da/compiler/ui.py', 'description': 'Main entry point when invoking compiler module from command line.\n\n ', 'signature': 'def main(argv=None):'}</s>{'name': 'dafile_to_pseudofile@da/compiler/ui.py', 'description': "Compiles a DistAlgo source file to Python file.\n\n'filename' is the input DistAlgo so... | 1 |
{'name': 'list_build_history@buildtest/cli/history.py', 'description': 'This method is entry point for ``buildtest history list`` which prints all previous builds\nstored in **BUILD_HISTORY_DIR**. Each directory has a ``build.json`` file that stores content\nof each build that was run by ``buildtest build``.\n\nArgs:\n... | 0 |
{'name': 'build_would_succeed@nix_bisect/nix.py', 'description': 'Determines build success without actually building if possible', 'signature': 'def build_would_succeed('}</s>{'name': 'BuildFailure@nix_bisect/nix.py', 'description': 'A failure during build.', 'base_classes': ['Exception'], 'methods': [{'name': 'BuildFa... | 1 |
{'name': 'SyntaxErrorTests.test_nonlocal3@didyoumean/didyoumean_sugg_tests.py', 'description': 'nonlocal must be used only when binding to non-global exists.', 'signature': 'def test_nonlocal3(self):'}</s>UNSUPPORTEDOPERANDSUGG = (TypeError, re.UNSUPPORTED_OP_SUGG_RE) | 0 |
{'name': 'BaseRequest.POST@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'The values of :attr:`forms` and :attr:`files` combined into a single\n:class:`FormsDict`. Values are either strings (form values) or\ninstances of :class:`cgi.FieldStorage` (file uploads).', 'signature': 'def POST(self):'}</s>{'... | 0 |
{'name': 'Cache.get_with_range@shingetsu/cache.py', 'description': 'Get data in range.', 'signature': 'def get_with_range(self, node=None):'}</s>get_timeout = 2*60 | 0 |
{'name': 'EmbeddingCtx.__init__@persia/ctx.py', 'description': 'Arguments:\n preprocess_mode (PreprocessMode): different preprocess mode effect the\n behavior of :meth:`.prepare_features`.\n model (torch.nn.Module): denese neural network PyTorch model.\n embedding_config (EmbeddingConfig, optional): the... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCMD_STOP_CHANNEL_LISTENER = 142 | 0 |
{'name': 'get_version@versioneer.py', 'description': 'Get the short version string for this project.', 'signature': 'def get_version():'}</s>{'name': 'versions_from_file@versioneer.py', 'description': 'Try to determine the version from _version.py if present.', 'code': 'def versions_from_file(filename):\n """Try to ... | 0 |
{'name': '_FunctionDataTypeDef.__call__@lib/rule_engine/types.py', 'description': '.. versionadded:: 4.0.0\n\n:param str name: The name of the function, e.g. "split".\n:param return_type: The data type of the functions return value.\n:param tuple argument_types: The data types of the functions arguments.\n:param int mi... | 0 |
{'name': 'User.initialize@src/astrobotany/models.py', 'description': 'Register a new player.', 'signature': 'def initialize(cls, username: str) -> User:'}</s>badge_106 = Badge("smiling face with sunglasses", series=2, number=6, symbol="😎") | 0 |
{'name': 'Constraint.__repr__@linopy/constraints.py', 'description': 'Print the constraint arrays.', 'signature': 'def __repr__(self) -> str:'}</s>{'name': 'iterate_slices@linopy/common.py', 'description': 'Generate slices of an xarray Dataset or DataArray with a specified soft maximum size.\n\nThe slicing is performed... | 0 |
{'name': 'parse_wkt@emissionsapi/web.py', 'description': "Function wrapper replacing 'geoframe', 'country' and 'polygon' with a\nWKT polygon.\n\n:param f: Function to call\n:type f: Function\n:raises e: Possible exception of f\n:return: Result of f", 'signature': 'def parse_wkt(f):'}</s>{'name': 'get_country_codes@emis... | 0 |
{'name': 'TestBrierScore.test@verif/tests/test_metric.py', 'description': "These have been checked against the Brier scores in the verification R package. The 'bins'\nattribute was set to False, and the code had to be changed because it didn't work for cases\nwhere forecasts were not equal to whole 1/10ths (i.e. 0.1, 0... | 0 |
{'name': 'test_element_count@third_party/dawn/third_party/dxc/tools/clang/bindings/python/tests/cindex/test_type.py', 'description': 'Ensure Type.element_count works.', 'signature': 'def test_element_count():'}</s>{'name': 'get_tu@third_party/dawn/third_party/dxc/tools/clang/bindings/python/tests/cindex/util.py', 'desc... | 1 |
{'name': 'MessageSetItemDecoder@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/decoder.py', 'description': 'Returns a decoder for a MessageSet item.\n\nThe parameter is the message Descriptor.\n\nThe message set message looks like this:\n message MessageSet {\n repeated group Item = 1 {\n ... | 0 |
{'name': '_ClassifyInclude@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Figures out what kind of header \'include\' is.\n\nArgs:\n fileinfo: The current file cpplint is running over. A FileInfo instance.\n include: The path to a #included file.\n is_system: True if the #include used <> rather than ""... | 0 |
{'name': 'pytest_pyfunc_call@pytest_asyncio/plugin.py', 'description': 'Pytest hook called before a test case is run.\n\nWraps marked tests in a synchronous function\nwhere the wrapped test coroutine is executed in an event loop.', 'signature': 'def pytest_pyfunc_call(pyfuncitem: Function) -> object | None:'}</s>{'name... | 0 |
{'name': 'test_linkauth_rw_pb@tests/bundles/test_hframe.py', 'description': 'Write LINKAUTH PBs to disk and back.\n:return:', 'signature': 'def test_linkauth_rw_pb():'}</s>{'name': 'S3LinkRecord@disdat/hyperframe.py', 'description': 'DOCSTRING', 'base_classes': ['LinkBase'], 'methods': [{'name': 'S3LinkRecord.__init__@... | 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': 'CustomOp._process_notify@hive/indexer/custom_op.py', 'description': "Handle legacy 'follow' plugin ops (follow/mute/clear, reblog)\n\nmark_read {date: {type: 'date'}}", 'signature': 'def _process_notify(cls, account, op_json, block_date):'}</s>{'name': 'FeedCache@hive/indexer/feed_cache.py', 'description': 'M... | 0 |
{'name': 'read_section_header@pcapng/structs.py', 'description': "Read a section header block from a stream.\n\n.. note::\n The byte order magic will be removed from the returned data\n This is ok as we don't need it anymore once we determined\n the correct endianness of the section.\n\n:returns: a dict contai... | 0 |
{'name': 'gen_data@sgmcmcjax/models/logistic_regression.py', 'description': 'Generate data with dimension `dim` and `N` data points\n\nParameters\n----------\nkey: uint32\n random key\ndim: int\n dimension of data\nN: int\n Size of dataset\n\nReturns\n-------\ntheta_true: ndarray\n Theta array used to gener... | 0 |
{'name': 'SegWitTest.test_uncompressed_pubkey@test/functional/p2p_segwit.py', 'description': 'Test uncompressed pubkey validity in segwit transactions.\n\nUncompressed pubkeys are no longer supported in default relay policy,\nbut (for now) are still valid in blocks.', 'signature': 'def test_uncompressed_pubkey(self):'}... | 1 |
{'name': 'add_matcher@llvm-12.0.0-project/clang/docs/tools/dump_ast_matchers.py', 'description': 'Adds a matcher to one of our categories.', 'signature': 'def add_matcher(result_type, name, args, comment, is_dyncast=False):'}</s>traversal_matchers = {} | 1 |
{'name': '_n_choose_2@test/test_data.py', 'description': 'Calculates the number of 2-combinations of n elements.', 'signature': 'def _n_choose_2(n):'}</s>X = np.array([[1.0, 5.0], [2.0, 3.0], [1.0, 1.0],]) | 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.... | 1 |
{'name': 'Zenodo._create@src/showyourwork/zenodo.py', 'description': 'Create a draft of a Zenodo deposit for the current repo & branch.', 'signature': 'def _create(self, slug=None, branch=None):'}</s>{'name': 'get_repo_sha@src/showyourwork/git.py', 'description': 'Return the SHA for the current git commit.', 'code': 'd... | 0 |
{'name': 'datetime.tzname@src/future/backports/datetime.py', 'description': 'Return the timezone name.\n\nNote that the name is 100% informational -- there\'s no requirement that\nit mean anything in particular. For example, "GMT", "UTC", "-500",\n"-5:00", "EDT", "US/Eastern", "America/New York" are all valid replies.'... | 0 |
{'name': 'errorUse@TDScanner/sqlmap/lib/techniques/error/use.py', 'description': 'Retrieve the output of a SQL query taking advantage of the error-based\nSQL injection vulnerability on the affected parameter.', 'signature': 'def errorUse(expression, dump=False):'}</s>{'name': '_formatPartialContent@TDScanner/sqlmap/lib... | 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': '_SimpleDecoder@python/google/protobuf/internal/decoder.py', 'description': "Return a constructor for a decoder for fields of a particular type.\n\nArgs:\n wire_type: The field's wire type.\n decode_value: A function which decodes an individual value, e.g.\n _DecodeVarint()", 'signature': 'def _Si... | 0 |
{'name': '_getInputFromUser@packstack/installer/run_setup.py', 'description': 'this private func reads the data from the user\nfor the given param', 'signature': 'def _getInputFromUser(param):'}</s>WARN_NM_ENABLED = "Warning: NetworkManager is active on %s. OpenStack networking currently does not work on systems that h... | 0 |
{'name': 'BaseTemplate.search@src/back/kite/bottle.py', 'description': 'Search name in all directories specified in lookup.\nFirst without, then with common extensions. Return first hit. ', 'signature': 'def search(cls, name, lookup=[]):'}</s>{'name': '_re_flatten@src/back/kite/bottle.py', 'description': 'Turn all capt... | 0 |
{'name': 'fileUrlToSystemPath@main/pyuno/source/module/uno.py', 'description': 'returns a system path (determined by the system, the python interpreter is running on)', 'signature': 'def fileUrlToSystemPath( url ):'}</s>{'name': 'invoke@main/pyuno/source/module/uno.py', 'description': 'use this function to pass exactly... | 0 |
{'name': 'get_bind_addrs@qa/rpc-tests/test_framework/netutil.py', 'description': 'Get bind addresses as (host,port) tuples for process pid.', 'signature': 'def get_bind_addrs(pid):'}</s>{'name': 'get_socket_inodes@qa/rpc-tests/test_framework/netutil.py', 'description': 'Get list of socket inodes for process pid.', 'cod... | 1 |
{'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': 'TCam.shutdown@ESP32/python/tcam.py', 'description': "shutdown()\n\nUse this to not only disconnect the socket, but also shut down the manager thread. If you are using\nthis object in an ipython session, you may find that the session won't exit until you ctrl+c. This is\nbecause the manager thread is still a... | 0 |
{'name': 'pure@funcparserlib/parser.py', 'description': "Wrap any object into a parser.\n\nType: `(A) -> Parser[A, A]`\n\nA pure parser doesn't touch the tokens sequence, it just returns its pure `x`\nvalue.\n\nAlso known as `return` in Haskell.", 'signature': 'def pure(x: _A) -> Parser[Any, _A]:'}</s>{'name': 'a@funcp... | 0 |
{'name': 'run@utils/data_preparation_rdf_type.py', 'description': ' Main script which calls and does everything.\n:return: nothing', 'signature': 'def run():'}</s>GET_OBJECT = "SELECT DISTINCT ?entity WHERE { %(target_resource)s %(property)s ?entity } " | 0 |
{'name': 'torgb@boxx/ylimg/ylimgTool.py', 'description': 'try to transfer a tensor to normalized RGB image\n\nnormalizing img value to 0~1\nand transpose (..., 3, w, h) to (..., w, h, 3)', 'signature': 'def torgb(img):'}</s>logModFuns = {
type(os):lambda x:colorFormat.r%(__typee__(x)),
} | 0 |
{'name': 'ADE20KSemanticSegmentationDataset.get_example@datasets/ade20k/ade20k_semantic_segmentation_dataset.py', 'description': 'Returns the i-th example.\n\nArgs:\n i (int): The index of the example.\n\nReturns:\n When :obj:`split` is either :obj:`train` or :obj:`val`, it returns\n a tuple consited of a colo... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.