text string | label int64 |
|---|---|
{'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>record_viewport = dvz.dvz_record_vie... | 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': 'test_main_svgs_folder@tests/fonts2svg_test.py', 'description': "Confirm that 'SVG_FOLDER_NAME' is created when output folder is not\nprovided.", 'signature': 'def test_main_svgs_folder(fixtures_dir, tmp_path):'}</s>{'name': 'test_adjust_to_viewbox_default@tests/fonts2svg_test.py', 'description': 'DOCSTRING', ... | 0 |
{'name': 'Status.__init__@robopianist/viewer/application.py', 'description': 'Instance initializer.\n\nArgs:\n time_multiplier: Instance of util.TimeMultiplier.\n pause: An observable pause subject, instance of util.ObservableFlag.\n frame_timer: A Timer instance counting duration of frames.', 'signature': 'def __in... | 1 |
{'name': 'compute_sparse_agent_cell_f@self_organising_systems/biomakerca/env_logic.py', 'description': "Compute a sparse agent cell_f.\n\nThis works for ExclusiveOp, ParallelOp and ReproduceOp.\nNote that the cell_f *requires* to have the proper argument name 'programs',\nso this is an informal interface.\n\nif it is u... | 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': 'SublimeHaskellPreviousError@parseoutput.py', 'description': 'DOCSTRING', 'base_... | 0 |
{'name': 'Command.get_handler@src/PtpUploader/web/management/commands/runuploader.py', 'description': 'Return the default WSGI handler for the runner.', 'signature': 'def get_handler(self, *args, **options):'}</s>{'name': '__UploadMovieGetParamsCommon@src/PtpUploader/Ptp.py', 'description': 'DOCSTRING', 'code': 'def __... | 0 |
{'name': 'VtkFile.addData@pyevtk/vtk.py', 'description': 'Add array description to xml header section.\n\nParameters\n----------\nname : str\n data array name.\ndata : array-like\n one numpy array or a tuple with 3 numpy arrays.\n If a tuple, the individual arrays must represent the components\n of a vector... | 1 |
{'name': '_sum_ft@third_party/sync_batchnorm/batchnorm.py', 'description': 'sum over the first and last dimention', 'signature': 'def _sum_ft(tensor):'}</s>{'name': 'SynchronizedBatchNorm1d@third_party/sync_batchnorm/batchnorm.py', 'description': "Applies Synchronized Batch Normalization over a 2d or 3d input that is s... | 0 |
{'name': 'process_lookup_path@gef.py', 'description': 'Look up for a path in the process memory mapping.\nReturn a Section object if found, None otherwise.', 'signature': 'def process_lookup_path(name: str, perm: Permission = Permission.ALL) -> Section | None:'}</s>{'name': 'align_address_to_page@gef.py', 'description'... | 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>MQCACH_LISTENER_DESC = 3555 | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCMD_INQUIRE_ENTITY_AUTH = 88 | 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': 'BVSubNoUnderflow@src/api/python/z3/z3.py',... | 0 |
{'name': 'cli@blogger_cli/commands/cmd_convert.py', 'description': ' Convert from diffrent file format to html\n\nUsage:\n\n blogger convert filename.ipynb\n\n blogger convert file1 file2 file3 -b blog1 -no-imgex\n\n blogger convert file1 file2 file3 -b blog1 --topic Tech\n\n blogger convert filename --not-code -o ~/us... | 0 |
{'name': 'BaseImage.polaroid@wand/image.py', 'description': "Creates a special effect simulating a Polaroid photo.\n\n:see: Example of :ref:`polaroid`.\n\n:param angle: applies a shadow effect along this angle.\n:type angle: :class:`numbers.Real`\n:param caption: Writes a message at the bottom of the photo's border.\n:... | 0 |
{'name': 'AutoBackup.ensure_addon_slugs@custom_components/auto_backup/manager.py', 'description': 'Expand wildcards and replace addon names with their appropriate slugs.', 'signature': 'def ensure_addon_slugs(addons: List[str], installed_addons: List[Dict]):'}</s>EVENT_BACKUP_SUCCESSFUL = f"{DOMAIN}.backup_successful" | 0 |
{'name': 'update_amount_screen@displays/papiruszero2in.py', 'description': 'Update the amount screen to reflect new coins inserted\n ', 'signature': 'def update_amount_screen():'}</s>startup_screen_3 = "- ingresar monedas -" | 0 |
{'name': 'get_arguments@train_s4GAN_wrn38.py', 'description': 'Parse all the arguments provided from the CLI.\n\nReturns:\n A list of parsed arguments.', 'signature': 'def get_arguments():'}</s>INPUT_SIZE = "321,321" | 1 |
{'name': 'Connection.send_with_data_passthrough@h11/_connection.py', 'description': 'Identical to :meth:`send`, except that in situations where\n:meth:`send` returns a single :term:`bytes-like object`, this instead\nreturns a list of them -- and when sending a :class:`Data` event, this\nlist is guaranteed to contain th... | 1 |
{'name': 'Grid.face_node_connectivity@uxarray/grid/grid.py', 'description': 'Indices of the nodes that make up each face.\n\nDimensions: ``(n_face, n_max_face_nodes)``\n\nNodes are in counter-clockwise order.', 'signature': 'def face_node_connectivity(self) -> xr.DataArray:'}</s>{'name': '_read_icon@uxarray/io/_icon.py... | 0 |
{'name': 'UpdateItemTest.test_update_foreignkey@feedreader/test_views.py', 'description': 'Update foreign key', 'signature': 'def test_update_foreignkey(self):'}</s>{'name': 'EditFeeds@feedreader/views.py', 'description': 'Edit feed subscriptions', 'base_classes': ['LoginRequiredMixin', 'FormView'], 'methods': [{'name'... | 0 |
{'name': '_deaugment_averaging@pytorch_toolbelt/inference/tta.py', 'description': 'Average predictions of TTA-ed model.\nThis function assumes TTA dimension is 0, e.g [T, B, C, Ci, Cj, ..]\n\nArgs:\n x: Input tensor of shape [T, B, ... ]\n reduction: Reduction mode ("sum", "mean", "gmean", "hmean", function, None... | 0 |
{'name': 'run_bind_test@qa/rpc-tests/rpcbind_test.py', 'description': 'Start a node with requested rpcallowip and rpcbind parameters,\nthen try to connect, and check if the set of bound addresses\nmatches the expected set.', 'signature': 'def run_bind_test(tmpdir, allow_ips, connect_to, addresses, expected):'}</s>{'nam... | 0 |
{'name': 'get_connector_mapping@os_brick/initiator/connector.py', 'description': 'Get connector mapping based on platform.\n\nThis is used by Nova to get the right connector information.\n\n:param arch: The architecture being requested.', 'signature': 'def get_connector_mapping(arch=None):'}</s>{'name': 'BrickException... | 0 |
{'name': 'DebPkgToolsTestCase.test_custom_pretty_printer@deb_pkg_tools/tests.py', 'description': 'Test pretty printing of control file fields and parsed relationships.', 'signature': 'def test_custom_pretty_printer(self):'}</s>{'name': 'inspect_package@deb_pkg_tools/package.py', 'description': 'Get the metadata and con... | 0 |
{'name': 'check_pypi@carml/cli.py', 'description': 'Check a PyPI package hash across multiple circuits.', 'signature': 'def check_pypi(cfg, package, revision):'}</s>_log = functools.partial(log.msg, system='carml') | 0 |
{'name': 'cfg_explore_get_cfg@cfgexplorer/utils.py', 'description': ':param cfg\n:type cfg: cfg\n:param proj\n:type proj: bool\n:param starts: the start points (address) in CFGs, if none, the CFG will start with main func entry address\n:type starts: list\n:param port: server port to host the web app. make sure the por... | 1 |
{'name': '_batched_write_command_impl@venv/Lib/site-packages/pymongo/message.py', 'description': 'Create a batched OP_QUERY write command.', 'signature': 'def _batched_write_command_impl('}</s>{'name': 'insert@venv/Lib/site-packages/pymongo/message.py', 'description': 'Get an **insert** message.', 'code': 'def insert(c... | 0 |
{'name': 'FrankaFramesInterface.reset_K_frame@franka_tools/src/franka_tools/frames_interface.py', 'description': 'Reset K frame to default. (defined by DEFAULT_K_FRAME global variable defined above)\nBy default this resets to align the stiffness frame to the end-effector frame.\n\n:rtype: bool\n:return: success status ... | 1 |
{'name': 'person_ui@Pose2Sim/synchronization.py', 'description': 'Step 2: Initializes the UI for person and frame selection.\n\nINPUTS:\n- frame_rgb: The initial RGB frame to display\n- cam_name: Name of the current camera\n- frame_number: Initial frame number to display\n- search_around_frames: Frame ranges to search ... | 1 |
{'name': 'descriptor_loss_sparse@notebooks/test_sparse_loss.py', 'description': 'consider batches of descriptors\n:param descriptors:\n Output from descriptor head\n tensor [descriptors, Hc, Wc]\n:param descriptors_warped:\n Output from descriptor head of warped image\n tensor [descriptors, Hc, Wc]', 'signa... | 1 |
{'name': 'Contract.create@ib_insync/contract.py', 'description': 'Create and a return a specialized contract based on the given secType,\nor a general Contract if secType is not given.', 'signature': "def create(**kwargs) -> 'Contract':"}</s>{'name': 'run@ib_insync/util.py', 'description': 'By default run the event loo... | 0 |
{'name': 'CheckForNewlineAtEOF@third_party/cpplint/cpplint.py', 'description': 'Logs an error if there is no newline char at the end of the file.\n\nArgs:\n filename: The name of the current file.\n lines: An array of strings, each representing a line of the file.\n error: The function to call with any errors found.... | 0 |
{'name': 'GetBestInterface@comtypes/client/_managing.py', 'description': "Try to QueryInterface a COM pointer to the 'most useful'\ninterface.\n\nGet type information for the provided object, either via\nIDispatch.GetTypeInfo(), or via IProvideClassInfo.GetClassInfo().\nGenerate a wrapper module for the typelib, and QI... | 0 |
{'name': 'TLP.get_size@fpga/lib/pcie/tb/pcie.py', 'description': 'Return size of TLP in bytes', 'signature': 'def get_size(self):'}</s>TLP_PREFIX_MRIOV = (FMT_TLP_PREFIX, 0x00) | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_ITEM_TYPE_ERROR = 2327 | 0 |
{'name': 'R_wz_sc@mcu/wannier90/pywannier90_vasp.py', 'description': 'TODO: document it\nRef: This is the replication of the R_wz_sc function of ws_distance.F90', 'signature': 'def R_wz_sc(w90, R_in, R0, ws_search_size=[2,2,2], ws_distance_tol=1e-6):'}</s>AUTOA3 = AUTOA2 * AUTOA | 0 |
{'name': 'end_point_path_to_api_obj_name@components/create_swagger_config.py', 'description': 'Convert the end point url to an object and api name.', 'signature': 'def end_point_path_to_api_obj_name(end_point):'}</s>{'name': 'isi_delete_to_swagger_path@components/create_swagger_config.py', 'description': 'Convert isi D... | 0 |
{'name': 'imGrad@training_codes/utils/utils_model.py', 'description': 'Computes the discrete gradient of an input batch of images of size \nB x C x H x W. The output is of size B x 2*C x H x W where in the 2nd \ndimension from 0:C the gradient with respect to the y-axis of each channel\nof the image is stored, while in... | 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>VB_WITNESS_BIT = 1 | 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>spaceCharacters = frozenset([
"\t",
"\n",
"\u000C",
" ",
"\r"
]) | 0 |
{'name': 'load_partition@streaming/python/raystreaming/partition.py', 'description': 'Deserialize `descriptor_partition_bytes` to get partition info, then\nget or load partition function.\nNote that this function must be kept in sync with\n `io.ray.streaming.runtime.python.GraphPbBuilder.serializePartition`\n\nArgs:\n ... | 0 |
{'name': 'WeatherIrrigarion.__init__@cfg/hass/custom_components/wb_irrigation/sensor.py', 'description': 'Initialize the sensor.', 'signature': 'def __init__(self, hass, conf):'}</s>CONF_DEBUG = "debug" | 1 |
{'name': 'RobustFileHandler.stream_emit@logSetup.py', 'description': "Emit a record.\n\nIf a formatter is specified, it is used to format the record.\nThe record is then written to the stream with a trailing newline. If\nexception information is present, it is formatted using\ntraceback.print_exception and appended to... | 0 |
{'name': 'CosS3Client.ci_auditing_image_batch@qcloud_cos/cos_client.py', 'description': "图片同步批量审核接口 https://cloud.tencent.com/document/product/436/63593\n\n:param Bucket(string): 存储桶名称.\n:param Input(dict array): 需要审核的图片信息,每个array元素为dict类型,支持的参数如下:\n Object: 存储在 COS 存储桶中的图片文件名称,例如在目录 test 中的文件 image.... | 0 |
{'name': 'InputsTest.test_faster_rcnn_resnet50_eval_input@object_detection/inputs_test.py', 'description': 'Tests the eval input function for FasterRcnnResnet50.', 'signature': 'def test_faster_rcnn_resnet50_eval_input(self, eval_batch_size=1):'}</s>{'name': '_apply_with_random_selector@object_detection/core/preprocess... | 0 |
{'name': 'GenericMeta.__new__@vendor/typing.py', 'description': 'Create a new generic class. GenericMeta.__new__ accepts\nkeyword arguments that are used for internal bookkeeping, therefore\nan override should pass unused keyword arguments to super().', 'signature': 'def __new__(cls, name, bases, namespace,'}</s>{'name... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQFB_SUBSCRIBER_IS_PUBLISHER = 502 | 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': 'scatter@nbinteract/plotting.py', 'description': 'Generates an interactive scatter chart that allows users to change the\nparameters of the inputs x_fn and y_fn.\n\nArgs:\n x_fn (Array | (*args -> Array str | Array int | Array float)):\n If array, uses array values for x-coordinates.\n\n If fu... | 0 |
{'name': 'test_trigger_unpacking@tests/unit/test_client.py', 'description': 'Usual semantics for unpacking **kwargs ', 'signature': 'def test_trigger_unpacking(client, flush):'}</s>{'name': 'test_trigger_no_handlers@tests/unit/test_client.py', 'description': 'trigger an event with no handlers ', 'code': 'def test_trigg... | 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': 'test_Pseudocosts_observation@python/ecole/tests/test_observation.py', 'description': 'Observation of Pseudocosts is a numpy array.', 'signature': 'def test_Pseudocosts_observation(model):'}</s>{'name': 'test_extract@python/ecole/tests/test_observation.py', 'description': 'Obtain observation.', 'code': 'def te... | 0 |
{'name': 'replicate@src/zfs_tools/zbackup.py', 'description': 'Replicate given filesystem, possibly after deleting snapshots from other tiers.', 'signature': 'def replicate(filesystem, destination, options):'}</s>{'name': 'send_failure_email@src/zfs_tools/zbackup.py', 'description': 'Email recipient with failure messag... | 0 |
{'name': 'IULogger.log_service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Message that we have received a service call', 'signature': 'def log_service_call('}</s>CONF_VOLUME = "volume" | 0 |
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>{'name': 'ifreq@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []} | 0 |
{'name': 'get_int@cloud_browser/common.py', 'description': 'Convert value to integer.\n\n:param value: Integer value.\n:param default: Default value on failed conversion.\n:param test_fn: Constraint function. Use default if returns ``False``.\n:return: Integer value.\n:rtype: ``int``', 'signature': 'def get_int(value,... | 0 |
{'name': 'show_usage@linodecli/plugins/obj/__init__.py', 'description': 'Shows space used by all buckets in this cluster, and total space', 'signature': 'def show_usage(get_client, args, **kwargs): # pylint: disable=unused-argument'}</s>{'name': '_denominate@linodecli/plugins/obj/helpers.py', 'description': 'Coverts b... | 1 |
{'name': 'PlotModel.__init__@openmc_plotter/plotmodel.py', 'description': 'Initialize PlotModel class attributes ', 'signature': 'def __init__(self, use_settings_pkl, model_path, default_res):'}</s>_REACTION_UNITS = "reactions/source" | 0 |
{'name': 'Telegram._add_mbus@dsmr_parser/objects.py', 'description': 'The given DsmrObject is assumed to be Mbus related and will be grouped into a MbusDevice.\nGrouping is done by the DsmrObject channel ID.', 'signature': 'def _add_mbus(self, obis_reference, dsmr_object, obis_name):'}</s>{'name': 'MBusObjectPeak@dsmr_... | 0 |
{'name': 'generate_difference_report@llvm-12.0.0-project/libcxx/utils/google-benchmark/tools/gbench/report.py', 'description': "Calculate and report the difference between each test of two benchmarks\nruns specified as 'json1' and 'json2'.", 'signature': 'def generate_difference_report('}</s>BC_OKBLUE = BenchmarkColor(... | 0 |
{'name': 'Command.tosieve@sievelib/commands.py', 'description': 'Generate the sieve syntax corresponding to this command\n\nRecursive method.\n\n:param indentlevel: current indentation level\n:param target: opened file pointer where the content will be printed', 'signature': 'def tosieve(self, indentlevel: int = 0, tar... | 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': '_coerce_char@src/api/python/z3/z3.py', 'de... | 0 |
{'name': 'MatchListener.exitPropTestOrder@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().\nP... | 1 |
{'name': 'field_rgb@grizli/pipeline/auto_script.py', 'description': "RGB image of the field mosaics\n\nParameters\n----------\n\nroot : str\n Field rootname\n\nxsize : float\n Figure size\n\noutput_dpi : int\n Figure DPI\n\nHOME_PATH : str\n Path to look for mosaic files\n\nshow_ir : bool\n Clip around W... | 0 |
{'name': '_text_replace_case_sensitive@fletcher/algorithms/string.py', 'description': 'Replace occurrences of ``pat`` with ``repl`` in the Series/Index with some other string. For every\nrow, only the first ``max_repl`` replacements will be performed. If ``max_repl = -1`` we consider that\nwe have no limit for the numb... | 0 |
{'name': 'display_result@onlinejudge_command/subcommand/test.py', 'description': 'display_result prints the result of the test and its statistics.\n\nThis function prints many logs and does some I/O.', 'signature': 'def display_result(proc: subprocess.Popen, answer: str, memory: Optional[float], test_input_path: pathli... | 0 |
{'name': 'find_legal_form@tools/alias_generation.py', 'description': "Find name if it contains any of legal forms\n\nArgs:\n legal_forms (list[str]): ['株式会社', '有限会社', '合同会社'] \n name (str): 'TIS株式会社'\nReturn:\n if find, ['株式会社']\n else, []", 'signature': 'def find_legal_form(legal_forms, name):'}</s>{'name': 's... | 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': 'test_conv2d@tests/sampling/priors/test_fourier_conv2d.py', 'description': 'TODO: Consider separating out the test for Conv2dTranspose since it only\nsupports a subset of strides/dilatons.', 'signature': 'def test_conv2d(config: ConfigFourierConv2d = None):'}</s>{'name': 'Conv2dTranspose@gpflow_sampling/bases/... | 1 |
{'name': 'IncInterfaceGenerator.do_table4_transformation@da/compiler/incgen.py', 'description': 'Transformation defined in Table 4 of OOPSLA paper.\n\nThis transformation breaks up quantification conditions involving\nlogical operators (and/or) in the hopes of creating opportunities to\napply table 3.\n\nNote 1: unlike... | 0 |
{'name': 'GWRResults.summary@stwr/gwr.py', 'description': 'Print out GWR summary', 'signature': 'def summary(self):'}</s>__author__ = "STWR is XiangQue xiangq@uidaho.edu and GWR,MGWR is Taylor Oshan Tayoshan@gmail.com" | 0 |
{'name': 'FileInfo.BaseName@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'File base name - text after the final slash, before the final period.', 'signature': 'def BaseName(self):'}</s>_HEADERS_CONTAINING_TEMPLATES = (
('<deque>', ('deque',)),
('<functional>', ('unary_function', 'binary_function',
... | 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': 'Logger.level_matches@bootstrap.py', 'description': '>>> l = Logger([])\n>>> l.level_matches(3, 4)\nFalse\n>>> l.level_matches(3, 2)\nTrue\n>>> l.level_matches(slice(None, 3), 3)\nFalse\n>>> l.level_matches(slice(None, 3), 2)\nTrue\n>>> l.level_matches(slice(1, 3), 1)\nTrue\n>>> l.level_matches(slice(2, 3), 1)... | 0 |
{'name': 'draw_lnurl_qr@displays/waveshare2in13v3.py', 'description': 'Draw a lnurl qr code on the e-ink screen\n ', 'signature': 'def draw_lnurl_qr(qr_img):'}</s>payment_failed_1 = "Payment failed!" | 0 |
{'name': 'run@slim/datasets/download_and_convert_mnist.py', 'description': 'Runs the download and conversion operation.\n\nArgs:\n dataset_dir: The dataset directory where the dataset is stored.', 'signature': 'def run(dataset_dir):'}</s>REVIEW_DIR_FOR_BBOX_SELECTED_TO_GET_INPUT_FOR_HEATMAP = HEATMAP_REVIEW_DIR + "bbo... | 0 |
{'name': 'find_on_path@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'Yield distributions accessible on a sys.path directory', 'signature': 'def find_on_path(importer, path_item, only=False):'}</s>{'name': '_sset_dict@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'DOCSTRING', 'code': 'de... | 0 |
{'name': 'WSCTask.load_dataset@examples/roberta/wsc/wsc_task.py', 'description': 'Load a given dataset split.\n\nArgs:\n split (str): name of the split (e.g., train, valid, test)', 'signature': 'def load_dataset('}</s>{'name': 'LegacyFairseqTask@fairseq/tasks/fairseq_task.py', 'description': 'DOCSTRING', 'base_class... | 0 |
{'name': 'get_connector_mapping@os_brick/initiator/connector.py', 'description': 'Get connector mapping based on platform.\n\nThis is used by Nova to get the right connector information.\n\n:param arch: The architecture being requested.', 'signature': 'def get_connector_mapping(arch=None):'}</s>HUAWEISDSHYPERVISOR = "H... | 0 |
{'name': 'test_thirdoct@tests/test_utils_octave.py', 'description': 'Test thirdoct by comparing to Octave', 'signature': 'def test_thirdoct():'}</s>ATOL = 1e-05 | 1 |
{'name': 'Glome.check@python/pyglome/glome.py', 'description': "Check whether a tag is correct for some message and counter.\n\nChecks if a tag matches some provided message and counter.\nThe method generates the matching tag following GLOME protocol\nspecification in the context of a communication from the users'\npee... | 0 |
{'name': 'parse_query_sequences@cblaster/helpers.py', 'description': 'Creates a Cluster object from query sequences.\n\nIf EMBL/GenBank, Cluster will use exact genomic coordinates parsed from file.\nOtherwise, a fake Cluster will be created where genes are drawn to scale,\nbut always on positive strand and with fixed i... | 0 |
{'name': 'PyniniTrainerMixin._alignments@montreal_forced_aligner/g2p/trainer.py', 'description': 'Trains the aligner and constructs the alignments FAR.', 'signature': 'def _alignments(self) -> None:'}</s>{'name': '_get_far_labels@montreal_forced_aligner/g2p/trainer.py', 'description': 'Extracts label set from acceptors... | 0 |
{'name': 'Chapter.text@AO3/chapters.py', 'description': "This chapter's text", 'signature': 'def text(self):'}</s>{'name': 'UnloadedError@AO3/utils.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': [{'name': 'UnloadedError.__init__@AO3/utils.py', 'description': 'DOCSTRING', 'code': 'def __init_... | 0 |
{'name': 'BertConfig.to_json_string@purifier/modeling_purifier.py', 'description': 'Serializes this instance to a JSON string.', 'signature': 'def to_json_string(self):'}</s>{'name': 'gelu@purifier/modeling_purifier.py', 'description': "Implementation of the gelu activation function.\nFor information: OpenAI GPT's gelu... | 0 |
{'name': 'StandardizeMol.__init__@scopy/ScoPretreat/pretreat.py', 'description': 'Initialize a Standardizer with optional custom parameters.\n\n:param normalizations: A list of Normalizations to apply (default: :data:`~molvs.normalize.NORMALIZATIONS`).\n:param acid_base_pairs: A list of AcidBasePairs for competitive re... | 0 |
{'name': 'cropconcat_layer@network/utils/util_func.py', 'description': 'crop tensor1 to have same H,W size with tensor2 and concat them together, used in network building.\n:param tensor1: input tensor bigger one.\n:param tensor2: input smaller one.\n:param concat_dim: concatenate dimension.\n:param name: layer name.\n... | 0 |
{'name': 'create@pyeit/mesh/wrapper.py', 'description': 'Generating 2D/3D meshes using distmesh (pyEIT built-in)\n\nParameters\n----------\nn_el: int\n number of electrodes (point-type electrode)\nfd: function\n distance function (circle in 2D, ball in 3D)\nfh: function\n mesh size quality control function\np_... | 1 |
{'name': 'pytest_pycollect_makeitem_convert_async_functions_to_subclass@pytest_asyncio/plugin.py', 'description': 'Converts coroutines and async generators collected as pytest.Functions\nto AsyncFunction items.', 'signature': 'def pytest_pycollect_makeitem_convert_async_functions_to_subclass('}</s>{'name': 'unused_udp_... | 0 |
{'name': 'Bottle.route@src/back/kite/bottle.py', 'description': "A decorator to bind a function to a request URL. Example::\n\n @app.route('/hello/:name')\n def hello(name):\n return 'Hello %s' % name\n\nThe ``:name`` part is a wildcard. See :class:`Router` for syntax\ndetails.\n\n:param path: Request path... | 0 |
{'name': 'engine.classical@src/bids/external/inflect.py', 'description': 'turn classical mode on and off for various categories\n\nturn on all classical modes:\nclassical()\nclassical(all=True)\n\nturn on or off specific claassical modes:\ne.g.\nclassical(herd=True)\nclassical(names=False)\n\nBy default all classical m... | 0 |
{'name': 'DNSIncoming.readQuestions@stino/pyarduino/base/zeroconf.py', 'description': 'Reads questions section of packet', 'signature': 'def readQuestions(self):'}</s>{'name': 'DNSPointer@stino/pyarduino/base/zeroconf.py', 'description': 'A DNS pointer record', 'base_classes': ['DNSRecord'], 'methods': [{'name': 'DNSPo... | 0 |
{'name': 'FileInfo.BaseName@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'File base name - text after the final slash, before the final period.', 'signature': 'def BaseName(self):'}</s>{'name': 'CheckCheck@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Checks the use of CHECK and EXPECT macros.\n\n... | 0 |
{'name': 'Builtins.from_defaults@lib/rule_engine/builtins.py', 'description': 'Initialize a :py:class:`Builtins` instance with a set of default values.', 'signature': 'def from_defaults(cls, values=None, **kwargs):'}</s>{'name': '_is_reduced@lib/rule_engine/ast.py', 'description': 'Check if the ast expression *value* i... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCA_MONITOR_Q_NAME = 2066 | 0 |
{'name': '_export_xml@contrib/xml/xmlio.py', 'description': 'Exports Tulip data structures to XML structures for later import.\n\nThis function is called both internal\n\n@param data:\n the data structure to be exported into an XML tree.\n@return:\n `None` (if parent is not `None`), or\n an xml tree', 'signatu... | 0 |
{'name': 'BaseRequest.POST@src/back/kite/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>{'name': 'parse_date@src/... | 0 |
{'name': 'temp_html_filepath@folium/utilities.py', 'description': 'Yields the path of a temporary HTML file containing data.', 'signature': 'def temp_html_filepath(data: str) -> Iterator[str]:'}</s>{'name': 'validate_locations@folium/utilities.py', 'description': 'Validate an iterable with lat/lon coordinate pairs.', '... | 0 |
{'name': 'ParseArguments@third_party/cpplint/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>_... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.