text string | label int64 |
|---|---|
{'name': 'About.set_standard_fields@src/attributecode/model.py', 'description': 'Create fields in an ordered dict to keep a standard ordering. We\ncould use a metaclass to track ordering django-like but this approach\nis simpler.', 'signature': 'def set_standard_fields(self):'}</s>on_windows = "win32" in sys.platform | 0 |
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>{'name': 'ArraySortRef@src/api/python/z3/z3.py', 'de... | 0 |
{'name': 'split@tools/gfx/gfx.py', 'description': 'Split a list by length.', 'signature': 'def split(list_, interval):'}</s>{'name': 'get_tiles@tools/gfx/gfx.py', 'description': 'Split a 2bpp image into 8x8 tiles.', 'code': 'def get_tiles(image):\n """\n Split a 2bpp image into 8x8 tiles.\n """\n return lis... | 0 |
{'name': 'Chat.reset_channel_prefix@twitchAPI/chat/__init__.py', 'description': 'Resets the custom command prefix set by :const:`~twitchAPI.chat.Chat.set_channel_prefix()` back to the global one.\n\n:param channel: The channel or channels you want to reset the channel command prefix for', 'signature': 'def reset_channe... | 0 |
{'name': 'traverse_yaml_tree@src/nitpick/blender.py', 'description': 'Traverse a YAML document recursively and change values, keeping its formatting and comments.', 'signature': 'def traverse_yaml_tree(yaml_obj: YamlObject, change: JsonDict):'}</s>{'name': 'traverse_toml_tree@src/nitpick/blender.py', 'description': 'Tr... | 0 |
{'name': 'IAMDataCollection.__get_iam_data@premise/data_collection.py', 'description': 'Read the IAM result file and return an `xarray` with dimensions:\n\n* region\n* variable\n* year\n\n:param key: encryption key, if provided by user\n:param filedir: file path to IAM file\n:param variables: list of variables to extra... | 0 |
{'name': '_generate_params@blogs/ecs-canary-deployments-pipeline/shared_stack/lambda_functions/deploy_canary_infrastructure/main.py', 'description': 'Generate CFN params. ', 'signature': 'def _generate_params(template_params):'}</s>APPMESH_CLIENT = boto3.client('appmesh') | 0 |
{'name': 'test_admin_works_with_host_special_values@test/io/test_io.py', 'description': 'Should get a success from the admin live and ready endpoints when using special host values for the main app', 'signature': 'def test_admin_works_with_host_special_values(specialhostvalue, defaultenv):'}</s>{'name': 'freeport@test/... | 1 |
{'name': 'CheckStyle@ament_cpplint/ament_cpplint/cpplint.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 inside co... | 0 |
{'name': 'TotalText.parse_carve_txt@dataset/total_text.py', 'description': '.mat file parser\n:param gt_path: (str), mat file path\n:return: (list), TextInstance', 'signature': 'def parse_carve_txt(gt_path):'}</s>{'name': 'ends_with@util/strs.py', 'description': 'suffix: str, list, or tuple', 'code': 'def ends_with(s, ... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_CF_STRUC_FAILED = 2373 | 0 |
{'name': 'train@fairseq_cli/train.py', 'description': 'Train the model for one epoch and return validation losses.', 'signature': 'def train('}</s>{'name': 'get_global_rank@fairseq/distributed/utils.py', 'description': 'DOCSTRING', 'code': 'def get_global_rank():\n if use_xla():\n return xm.get_ordinal()\n ... | 0 |
{'name': 'ImportErrorTests.test_no_module@didyoumean/didyoumean_sugg_tests.py', 'description': "Should be 'math'.", 'signature': 'def test_no_module(self):'}</s>CMP_ARG_REMOVED_MSG = "to use "key" (`cmp` has been replaced by `key` since Python 3 - `functools.cmp_to_key` provides a convenient way to convert cmp function... | 0 |
{'name': 'meshProcessingPipeline@dicom2stl/Dicom2STL.py', 'description': 'Apply a series of filters to the mesh', 'signature': 'def meshProcessingPipeline('}</s>{'name': 'readVTKVolume@dicom2stl/utils/vtkutils.py', 'description': 'Read a VTK volume image file. Returns a vtkStructuredPoints object.', 'code': 'def readVT... | 0 |
{'name': 'gen_inc_module@da/compiler/incgen.py', 'description': 'Generates the interface file from a DistPy AST.', 'signature': 'def gen_inc_module(daast, cmdline_args, filename=""):'}</s>{'name': 'SentEvent@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['EventType'], 'methods': []} | 0 |
{'name': 'DarwinLogEventBasedTestBase.do_test@lldb/packages/Python/lldbsuite/test/darwin_log.py', 'description': 'Runs the test inferior, returning collected events.\n\nThis method runs the test inferior to the first breakpoint hit.\nIt then adds a listener for structured data events, and collects\nall events from that... | 0 |
{'name': 'Cache.get_with_range@shingetsu/cache.py', 'description': 'Get data in range.', 'signature': 'def get_with_range(self, node=None):'}</s>{'name': 'md5digest@shingetsu/util.py', 'description': 'Get MD5 hex digest.\n ', 'code': 'def md5digest(s):\n """Get MD5 hex digest.\n """\n if isinstance(s, str):... | 0 |
{'name': 'get_input_field@click_web/resources/input_fields.py', 'description': 'Convert a click.Parameter into a dict structure describing a html form option', 'signature': 'def get_input_field(ctx: click.Context, param: click.Parameter, command_index, param_index) -> dict:'}</s>{'name': 'FileInput@click_web/resources/... | 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': 'HindcastEnsemble.plot_alignment@src/climpred/classes.py', 'description': 'Plot ``initialized`` ``valid_time`` where matching ``verification`` ``time``.\n\nDepends on ``alignment``. Plots ``days since reference date`` controlled by\n``date2num_units``. ``NaN`` / white space shows where no verification is done.... | 0 |
{'name': 'Lexer.match@mako/lexer.py', 'description': 'compile the given regexp, cache the reg, and call match_reg().', 'signature': 'def match(self, regexp, flags=None):'}</s>{'name': 'Text@mako/parsetree.py', 'description': 'defines plain text in the template.', 'base_classes': ['Node'], 'methods': [{'name': 'Text.__i... | 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': 'BreakpointCommandTestCase.breakpoint_command_sequence@lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py', 'description': 'Test a sequence of breakpoint command add, list, and delete.', 'signature': 'def breakpoint_command_sequence(self):'}</s>STOPPED_DU... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_IIH_ERROR = 2148 | 0 |
{'name': 'get_valid_padding@code/networks/blocks.py', 'description': 'Padding value to remain feature size.', 'signature': 'def get_valid_padding(kernel_size, dilation):'}</s>{'name': 'sequential@code/networks/blocks.py', 'description': 'DOCSTRING', 'code': "def sequential(*args):\n if len(args) == 1:\n if is... | 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': 'forward... | 0 |
{'name': 'test_repair_by_hamming@pyFileFixity/tests/test_repair_ecc.py', 'description': 'recc: tamper ecc file and repair by hamming distance ', 'signature': 'def test_repair_by_hamming():'}</s>{'name': 'conditional_decorator@pyFileFixity/header_ecc.py', 'description': 'DOCSTRING', 'code': 'def conditional_decorator(fl... | 0 |
{'name': 'has_good_and_bad@nix_bisect/bisect_runner.py', 'description': 'Determines if the bisect can start', 'signature': 'def has_good_and_bad():'}</s>{'name': 'bisect_append_log@nix_bisect/bisect_runner.py', 'description': 'Adds one line to the bisect log', 'code': 'def bisect_append_log(msg):\n """Adds one line ... | 0 |
{'name': 'bn_update@utils.py', 'description': 'BatchNorm buffers update (if any).\nPerforms 1 epochs to estimate buffers average using train dataset.\n:param loader: train dataset loader for buffers average estimation.\n:param model: model being update\n:return: None', 'signature': 'def bn_update(loader, model, use_amp... | 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': 'Metafunc.parametrize@tests/_lib_vendors/_pytest/python.py', 'description': "Add new invocations to the underlying test function using the list\nof argvalues for the given argnames. Parametrization is performed\nduring the collection phase. If you need to setup expensive resources\nsee about setting indirect... | 0 |
{'name': 'test_genetic_operations@gplearn/tests/test_genetic.py', 'description': "Check all genetic operations are stable and don't change programs", 'signature': 'def test_genetic_operations():'}</s>{'name': 'test_validate_functions@gplearn/tests/test_genetic.py', 'description': 'Check that valid functions are accepte... | 0 |
{'name': 'g_k@layers.py', 'description': 'Three convolution layers for getting s_k,mu_k conditioning with x_{k-1} and condition h (if specified)\n\nArgs:\n filters: the output channels of the first two convolution layers\n channels: the output channels of s_k, mu_k\n\nReturns:\n shift, logs: 4D tensor', 'signa... | 0 |
{'name': 'go@grizli/pipeline/auto_script.py', 'description': 'Run the full pipeline for a given target\n\nParameters\n----------\nroot : str\n Rootname of the `mastquery` file.\n\nextract_maglim : [min, max]\n Magnitude limits of objects to extract and fit.', 'signature': "def go(root='j010311+131615', "}</s>{'na... | 0 |
{'name': 'main@contrib/mbedtls/tests/scripts/generate_tls13_compat_tests.py', 'description': 'Main function of this program', 'signature': 'def main():'}</s>{'name': 'generate_compat_test@contrib/mbedtls/tests/scripts/generate_tls13_compat_tests.py', 'description': 'Generate test case with `ssl-opt.sh` format.', 'code'... | 1 |
{'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>MQOPER_EXCLUDED_PUBLISH = 11 | 0 |
{'name': 'dictOf@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper to easily and clearly define a dictionary by specifying the respective patterns\nfor the key and value. Takes care of defining the C{L{Dict}}, C{L{ZeroOrMore}}, and C{L{Group}} tokens\nin the proper order. The key pattern ... | 0 |
{'name': 'SectionHeader.new_member@pcapng/blocks.py', 'description': "Helper method to create a block that's a member of this section", 'signature': 'def new_member(self, cls, **kwargs):'}</s>LINKTYPE_PCI_EXP = 125 | 0 |
{'name': 'fit_smpl_batch@src/SMPL/fit_smpl.py', 'description': 'fit smpl model with 3d keypoints data', 'signature': 'def fit_smpl_batch(data):'}</s>save_folder = "./Rendered/" | 0 |
{'name': 'non_max_suppression@yolov3/utils/utils.py', 'description': "Removes detections with lower object confidence score than 'conf_thres'\nNon-Maximum Suppression to further filter detections.\nReturns detections with shape:\n (x1, y1, x2, y2, object_conf, conf, class)", 'signature': 'def non_max_suppression(pre... | 1 |
{'name': 'scnym_api@scnym/api.py', 'description': 'scNym: Semi-supervised adversarial neural networks for\nsingle cell classification [Kimmel2020]_.\n\nscNym is a cell identity classifier that transfers annotations from one\nsingle cell experiment to another. The model is implemented as a neural\nnetwork that employs M... | 0 |
{'name': 'ProcessFileData@tools/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.\n lines: An array of strings, each representing a li... | 0 |
{'name': 'RIPPER._grow_ruleset_cn@build/lib/wittgenstein/ripper.py', 'description': 'Grow a Ruleset with pruning.', 'signature': 'def _grow_ruleset_cn('}</s>{'name': '_check_valid_input_data@wittgenstein/preprocess.py', 'description': 'DOCSTRING', 'code': 'def _check_valid_input_data(\n X_or_Xy,\n y=None,\n cl... | 0 |
{'name': 'test_singular_covariance_init_or_prior_strictpd@test/test_mahalanobis_mixin.py', 'description': "Tests that when using the 'covariance' init or prior, it returns the\nappropriate error if the covariance matrix is singular, for algorithms\nthat need a strictly PD prior or init (see\nhttps://github.com/scikit-l... | 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': '_config_create@dwave/cloud/cli.py', 'description': 'Full/simplified dwave create flows.', 'signature': 'def _config_create(config_file, profile, ask_full=False, auto_token=False, project=None):'}</s>__title__ = "D-Wave Cloud Client" | 0 |
{'name': 'TestManager.test_custom_manager2@modeltranslation/tests/tests.py', 'description': 'Test if user-defined queryset is still working', 'signature': 'def test_custom_manager2(self):'}</s>DEFAULT_LANGUAGE = _default_language or AVAILABLE_LANGUAGES[0] | 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': 'plot_cum_error_dist@nelpy/plotting/decoding.py', 'description': 'Plot (and optionally compute) the cumulative distribution of\ndecoding errors, evaluated using a cross-validation procedure.\n\nSee Fig 3.(b) of "Analysis of Hippocampal Memory Replay Using Neural\n Population Decoding", Fabian Kloosterman, 2... | 1 |
{'name': 'CheckStyle@tools/cpplint.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 inside code, etc.\n\nArgs:\n f... | 1 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIA_HARDEN_GET_BACKOUT = 8 | 0 |
{'name': 'Sheet.sort@tksheet/sheet.py', 'description': "Sort the data within specified box regions in the table.\n\nThis method sorts the data within one or multiple box regions defined by their coordinates.\nEach box's columns are sorted independently.\n\nArgs:\n boxes (CreateSpanTypes): A type that can create a Sp... | 0 |
{'name': 'condition@altair/vegalite/v3/api.py', 'description': 'A conditional attribute or encoding\n\nParameters\n----------\npredicate: Selection, LogicalOperandPredicate, expr.Expression, dict, or string\n the selection predicate or test predicate for the condition.\n if a string is passed, it will be treated ... | 0 |
{'name': 'CheckPrintf@tools/cpplint.py', 'description': 'Check for printf related issues.\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 call with any errors found.', 'signature': 'd... | 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': 'map_gateway@pymultimatic/model/mapper.py', 'description': 'Map gateway.', 'signature': 'def map_gateway(json) -> str:'}</s>{'name': 'HvacStatus@pymultimatic/model/status.py', 'description': 'HVAC status.\n\nArgs:\n online (str): Indicate if the system is connected to the cloud.\n update (str): Indicate ... | 0 |
{'name': 'MarkerManager.mark_compiler_output@parseoutput.py', 'description': 'Parse text into a list of OutputMessage objects.\n ', 'signature': 'def mark_compiler_output(self, view, banner, base_dir, text, exit_code):'}</s>{'name': 'Data@symbols.py', 'description': 'Haskell data declaration', 'base_classes': ['... | 0 |
{'name': 'find_path_dfs@One_Stroke/Find_Path.py', 'description': '利用深度优先算法快速求解满足条件的所有的路径,只要经过的网格的个数等于可以走的网格的个数,就是一个解\n:param node_list: 表示走过的网格列表,[[node_index], node_sign]],元素为网格索引和这个网格已经去往周围网格的个数,用于回溯\n:param map: 表示图的数组\n:param solution_list: 存储所有的是解的路径\n:param h: 图的竖直方向网格的个数\n:param w: 图的水平方向网格的个数\n:param s_i: 不可以走的... | 0 |
{'name': 'two1lib.buy@app/toolbox/two1lib.py', 'description': 'Buy from any machine payable endpoint\n\nNote: The two1lib _buy function does not support simply returning an object,\n until then, include a local copy here', 'signature': 'def buy(config, resource, data, method, data_file, output_file,'}</s>DEFAULT_O... | 0 |
{'name': 'Product._reproject@eoreader/products/product.py', 'description': 'Reproject using RPCs (cannot use another pixel size than src to ensure RPCs are valid)\n\nArgs:\n src_arr (np.ndarray): Array to reproject\n src_meta (dict): Metadata\n rpcs (rpc.RPC): RPCs\n dem_path (str): DEM path\n\nReturns:\n ... | 0 |
{'name': 'state_wait_validate@pibooth/plugins/hookspecs.py', 'description': 'Return the next state name if application can switch to it\nelse return None.\n\n:param cfg: application configuration\n:param app: application instance\n:param win: graphical window instance\n:param events: pygame events generated since last ... | 0 |
{'name': 'update_startup_screen@displays/waveshare2in13v3.py', 'description': 'Show startup screen on eInk Display\n ', 'signature': 'def update_startup_screen():'}</s>nocoin_screen_3 = "des pièces en premier" | 0 |
{'name': 'Retryer.__init__@garminexport/retryer.py', 'description': 'Creates a new :class:`Retryer` set up to use a given set of\nstrategies to control its behavior.\n\nWith only default values, the retryer will keep retrying\nindefinitely until a value (any value) is returned by\nthe called function. Any raised errors... | 0 |
{'name': 'PackageFinder._link_package_versions@scripts/pdns/lib/python2.7/site-packages/pip/index.py', 'description': 'Return an InstallationCandidate or None', 'signature': 'def _link_package_versions(self, link, search):'}</s>asciiLetters = frozenset(string.ascii_letters) | 0 |
{'name': 'rgb_to_float@Exercise-2/sensor_stick/scripts/pcl_helper.py', 'description': 'Converts an RGB list to the packed float format used by PCL\n\nFrom the PCL docs:\n"Due to historical reasons (PCL was first developed as a ROS package),\n the RGB information is packed into an integer and casted to a float"\n\nArgs:... | 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': 'scnym_train@scnym/api.py', 'description': 'Train an scNym model.\n\nParameters\n----------\nadata : AnnData\n [Cells, Genes] experiment containing annotated\n cells to train on.\nconfig : dict\n configuration options.\n\nReturns\n-------\nNone.\nSaves model outputs to `config["out_path"]` and adds mo... | 0 |
{'name': 'Plant.pick_petal@src/astrobotany/models.py', 'description': "Pick a petal from a flowering plant.\n\nArgs:\n user: The user picking the petal, if not the plant's owner.\n\nReturns: A string with a description of the resulting action.", 'signature': 'def pick_petal(self, user: User | None = None) -> str:'}<... | 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>MQRC_SUB_ALREADY_EXISTS = 2432 | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_GLOBAL_UOW_CONFLICT = 2351 | 0 |
{'name': 'PacketFilter.kill_states@pf/filter.py', 'description': 'Clear states matching the specified arguments.\n\nStates can be specified by address family, layer-4 protocol, source and\ndestination addresses, interface name, label and routing domain. Return\nthe number of killed states.', 'signature': 'def kill_stat... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIACF_USAGE_WAIT_RATE = 1347 | 0 |
{'name': 'convert_developers@code/html/generate_static_website.py', 'description': ':param developers:\n:param entries:\n:return:', 'signature': 'def convert_developers(developers, entries):'}</s>{'name': 'unique_elements_and_occurrences@code/utils/utils.py', 'description': ' ', 'code': 'def unique_elements_and_occu... | 0 |
{'name': 'check_multiple_rvt_shift_opts@src/python_scripts/afnipy/lib_physio_opts.py', 'description': "Can only use at most one '-rvt_shift*' opt. Simplest to check for\nthat at one time.\n\nParameters\n----------\nargs_dict : dict\n The dictionary of arguments and option values.\n\nReturns\n-------\nis_bad : int\n... | 0 |
{'name': 'ImportNode.modules@redbaron/nodes.py', 'description': 'return a list of string of modules imported', 'signature': 'def modules(self):'}</s>{'name': 'EllipsisNode@redbaron/nodes.py', 'description': 'DOCSTRING', 'base_classes': ['Node'], 'methods': []} | 0 |
{'name': 'QueryXpathCommand.cache_context_nodes@xpath.py', 'description': 'Cache context nodes to allow live mode to work with them.', 'signature': 'def cache_context_nodes(self):'}</s>{'name': 'GotoXmlParseErrorCommand@xpath.py', 'description': 'DOCSTRING', 'base_classes': ['sublime_plugin.TextCommand'], 'methods': [{... | 0 |
{'name': 'Node.__init__@blue_st_sdk/node.py', 'description': 'Constructor.\n\nArgs:\n scan_entry (ScanEntry): BLE device. It contains device information\n and advertising data. Refer to\n `ScanEntry <https://ianharvey.github.io/bluepy-doc/scanentry.html>`_\n for more information.\n\nRaises:\n ... | 1 |
{'name': 'pad_sequences@qbert/representations.py', 'description': 'Partially borrowed from Keras\n# Arguments\n sequences: list of lists where each element is a sequence\n maxlen: int, maximum length\n dtype: type to cast the resulting sequence.\n value: float, value to pad the sequences to the desired valu... | 0 |
{'name': 'init_tables@reedsolo.py', 'description': "Precompute the logarithm and anti-log tables for faster computation later, using the provided primitive polynomial.\nThese tables are used for multiplication/division since addition/substraction are simple XOR operations inside GF of characteristic 2.\nThe basic idea ... | 1 |
{'name': 'TLP.get_lower_address@fpga/lib/pcie/tb/pcie.py', 'description': 'Compute lower address field from address and first byte enable', 'signature': 'def get_lower_address(self):'}</s>{'name': 'PcieExtCap@fpga/lib/pcie/tb/pcie.py', 'description': 'DOCSTRING', 'base_classes': ['PcieCap'], 'methods': [{'name': 'PcieE... | 0 |
{'name': '_build_ssd_model@object_detection/builders/model_builder.py', 'description': 'Builds an SSD detection model based on the model config.\n\nArgs:\n ssd_config: A ssd.proto object containing the config for the desired\n SSDMetaArch.\n is_training: True if this model is being built for training purposes.\n ... | 0 |
{'name': 'OrderFileTestCase.test@llvm-project/lldb/test/API/macosx/order/TestOrderFile.py', 'description': 'Test debug symbols follow the correct order by the order file.', 'signature': 'def test(self):'}</s>{'name': 'EXP_MSG@llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py', 'description': 'A generic "\'%s... | 0 |
{'name': 'render@versioneer.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'get_root@versioneer.py', 'description': 'Get the project root directory.\n\nWe require that all commands are run from the project root, i.e. the\ndirectory... | 0 |
{'name': 'test_node@src/tests/conftest.py', 'description': 'Create Test user.', 'signature': 'def test_node(test_node_data, cli_lab, cli_lab_path, helpers):'}</s>{'name': 'test_node_data@src/tests/conftest.py', 'description': 'returns a dict with test data for a node', 'code': 'def test_node_data():\n """returns a d... | 1 |
{'name': 'TextChangelogFormat.split_categories@contrib/mbedtls/scripts/assemble_changelog.py', 'description': 'A category title is a line with the title in column 0.', 'signature': 'def split_categories(cls, version_body):'}</s>{'name': 'InputFormatError@contrib/mbedtls/scripts/assemble_changelog.py', 'description': 'D... | 0 |
{'name': 'NamespaceLookupTestCase.test_scope_ambiguity_after_using_lookup_with_run_command@tools/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py', 'description': 'Test scope lookup ambiguity after using in lldb.', 'signature': 'def test_scope_ambiguity_after_using_lookup_with_run_command(s... | 0 |
{'name': 'prune_linear_layer@ZEN/modeling.py', 'description': 'Prune a linear layer (a model parameters) to keep only entries in index.\nReturn the pruned layer as a new layer with requires_grad=True.\nUsed to remove heads.', 'signature': 'def prune_linear_layer(layer, index, dim=0):'}</s>{'name': 'BertSelfAttention@ZE... | 0 |
{'name': 'parse_url@src/ahip/util/url.py', 'description': "Given a url, return a parsed :class:`.Url` namedtuple. Best-effort is\nperformed to parse incomplete urls. Fields not provided will be None.\nThis parser is RFC 3986 compliant.\n\nThe parser logic and helper functions are based heavily on\nwork done in the ``rf... | 1 |
{'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': '_phased_eigen_gate_serializer@tensorflow_quantum/core/serialize/serializer.py', 'description': 'Make a standard serializer for phased eigen gates.', 'signature': 'def _phased_eigen_gate_serializer(gate_type, serialized_id):'}</s>{'name': '_max_lang@tensorflow_quantum/core/serialize/serializable_gate_set.py', ... | 0 |
{'name': 'bisect_bad@nix_bisect/bisect_runner.py', 'description': "Mark a commit as bad.\n\nWarning: This may have the side-effect of switching to a different\nrevision.\n\nUnfortunately we don't have control about that. In the future we may want\nto manage the refs and the bisect-log manually.", 'signature': 'def bise... | 0 |
{'name': 'validate@fairseq_cli/train.py', 'description': 'Evaluate the model on the validation set(s) and return the losses.', 'signature': 'def validate('}</s>{'name': 'cli_main@fairseq_cli/train.py', 'description': 'DOCSTRING', 'code': 'def cli_main(\n modify_parser: Optional[Callable[[argparse.ArgumentParser], No... | 0 |
{'name': 'EntriesMaintainer.update_statistics@code/maintenance_entries.py', 'description': 'Generates the statistics page.\n\nShould be done every time the entries change.', 'signature': 'def update_statistics(self):'}</s>{'name': 'strip_wrapped_folders@code/utils/utils.py', 'description': 'If a folder only contains a ... | 0 |
{'name': 'test_get_gtts@tests/unit/test_connect.py', 'description': 'Test all gtts fetch.', 'signature': 'def test_get_gtts(kiteconnect):'}</s>{'name': 'PermissionException@kiteconnect/exceptions.py', 'description': 'Represents permission denied exceptions for certain calls. Default code is 403.', 'base_classes': ['Kit... | 0 |
{'name': 'install@pyderman/__init__.py', 'description': "Downloads the given browser driver, and returns the path it was saved to.\n\n:param browser: The Driver to download. Pass as `pyderman.chrome/firefox/etc.`. Default Chrome.\n:param file_directory: The directory to save the driver.\n:param verbose: If printouts ar... | 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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQBACF_XQH_MSG_ID = 7035 | 0 |
{'name': 'test_minimal_data@tests/builder/builder_test.py', 'description': 'Test the minimal data that must be provided to generate UFOs, and in\nsome cases that additional redundant data is not set.', 'signature': 'def test_minimal_data(ufo_module):'}</s>{'name': 'test_propagate_anchors_custom_parameter_on@tests/build... | 0 |
{'name': 'VimPlugin.LookupTag@vimdoc/module.py', 'description': 'Returns the tag name for the given type and name.', 'signature': 'def LookupTag(self, typ, name):'}</s>{'name': 'NoSuchParentSection@vimdoc/error.py', 'description': 'DOCSTRING', 'base_classes': ['BadStructure'], 'methods': [{'name': 'NoSuchParentSection.... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.