text string | label int64 |
|---|---|
{'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': 'handler@orders/src/create_order/main.py', 'description': 'Lambda function handler', 'signature': 'def handler(event, _):'}</s>TABLE_NAME = os.environ["TABLE_NAME"] | 0 |
{'name': 'scvelo@pipelines/pipeline_scxl.py', 'description': 'Plot the RNA velocity.\nThis analysis is highly parameterised and different configurations can\nsuggest different interpretations of the data.', 'signature': 'def scvelo(infile, outfile):'}</s>{'name': 'parseGMTs@pipelines/pipeline_scxl.py', 'description': '... | 0 |
{'name': 'build_script_generator@tools/ipp_custom_library_tool_python/tool/generators.py', 'description': 'Generates script for building custom dynamic library\n:return: String that represents script', 'signature': 'def build_script_generator():'}</s>{'name': 'get_env@tools/ipp_custom_library_tool_python/tool/utils.py'... | 0 |
{'name': 'PhoneHome._is_device_info_sent@python/dlr/counter/phone_home.py', 'description': 'check if device information send only single time in DLR installation life time.\n create a dummy binary file in DLR installation path to record process state.\n\nReturns:\n bool: if device info is already sent', 'signatur... | 0 |
{'name': 'calculate_hidden_flow@experiments/causal_trace.py', 'description': 'Runs causal tracing over every token/layer combination in the network\nand returns a dictionary numerically summarizing the results.', 'signature': 'def calculate_hidden_flow('}</s>{'name': 'length_collation@rome/tok_dataset.py', 'description... | 0 |
{'name': 'TestMommyCreatesAssociatedModels.test_create_many_to_many_with_through_option@tests/test_mommy.py', 'description': 'This does not works', 'signature': 'def test_create_many_to_many_with_through_option(self):'}</s>{'name': 'TestFillBlanksTestCase@tests/test_mommy.py', 'description': 'DOCSTRING', 'base_classes'... | 0 |
{'name': 'AndroidReleaseZip.codename@external/containers/emu/emu_downloads_menu.py', 'description': 'First letter of the desert, if any.', 'signature': 'def codename(self):'}</s>{'name': 'SysImgInfo@external/containers/emu/emu_downloads_menu.py', 'description': 'Provides information about a released system image.', 'ba... | 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': 'DbState@hive/db/db_state.py', 'description': 'Manages da... | 0 |
{'name': 'Node.reparentChildren@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/html5lib/treebuilders/base.py', 'description': "Move all the children of the current node to newParent.\nThis is needed so that trees that don't store text as nodes move the\ntext in the correct way\n\n:arg newParent: the node to mo... | 0 |
{'name': 'BitfieldsTestCase.test_and_python_api@tools/lldb/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py', 'description': 'Use Python APIs to inspect a bitfields variable.', 'signature': 'def test_and_python_api(self):'}</s>{'name': 'CMD_MSG@tools/lldb/packages/Python/lldbsuite/test/lldbtest.py', 'de... | 0 |
{'name': 'XingOAuth.clean_oauth_auth@third_party/social_core/backends/xing.py', 'description': "Override of oauth_auth since Xing doesn't like callback_uri\nand oauth_verifier on authenticated API calls", 'signature': 'def clean_oauth_auth(self, access_token):'}</s>{'name': 'BaseOAuth1@third_party/social_core/backends/... | 0 |
{'name': 'eval_one_epoch@action_cls/train.py', 'description': 'ops: dict mapping from string to tf ops ', 'signature': 'def eval_one_epoch(sess, ops, test_writer):'}</s>OPTIMIZER = FLAGS.optimizer | 0 |
{'name': 'parse_cli@isi_data_insights_config.py', 'description': 'Setup the command line args and parse them.', 'signature': 'def parse_cli():'}</s>{'name': '_parse_derived_stats@isi_data_insights_config.py', 'description': 'DOCSTRING', 'code': 'def _parse_derived_stats(config_file, stat_group, derived_stats_name, pars... | 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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIA_QMOPT_TRACE_REORG = 167 | 0 |
{'name': 'Hub._process_event@custom_components/hubitat/hubitatmaker/hub.py', 'description': 'Process an event received from the hub.', 'signature': 'def _process_event(self, event: dict[str, Any]) -> None:'}</s>{'name': 'DeviceAttribute@custom_components/hubitat/hubitatmaker/const.py', 'description': 'DOCSTRING', 'base... | 1 |
{'name': 'get_model_prediction@run/mutate_lemon.py', 'description': 'Get model prediction on different backends and calculate distance by metrics', 'signature': 'def get_model_prediction(res_dict, model_path, model_name, exp, test_size, backends):'}</s>{'name': '_generate_and_predict@run/mutate_lemon.py', 'description'... | 0 |
{'name': 'Constraint.lhs@linopy/constraints.py', 'description': 'Get the left-hand-side linear expression of the constraint.\n\nThe function raises an error in case no model is set as a\nreference.', 'signature': 'def lhs(self) -> expressions.LinearExpression:'}</s>FILL_VALUE = {"labels": -1, "lower": np.nan, "upper": ... | 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': 'dmtxVersion@pylibdmtx/wrapper.py', 'description': 'Returns the version of the libdmtx libraray\n\nReturns:\n str: Version string', 'signature': 'def dmtxVersion():'}</s>{'name': 'DmtxPackOrder@pylibdmtx/wrapper.py', 'description': 'DOCSTRING', 'base_classes': ['IntEnum'], 'methods': []} | 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': 'find_source_libraries@ctypesgen/processor/operations.py', 'description': 'find_source_libraries() determines which library contains each function\nand variable.', 'signature': 'def find_source_libraries(data, opts):'}</s>{'name': 'DarwinLibraryLoader@ctypesgen/libraryloader.py', 'description': 'Library loader... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_MR_INTERVAL_WRONG_TYPE = 4074 | 0 |
{'name': 'sample_goal@python/rrc_simulation/tasks/move_cube.py', 'description': 'Sample a goal pose for the cube.\n\nArgs:\n difficulty (int): Difficulty level. The higher, the more difficult is\n the goal. Possible levels are:\n\n - 1: Random goal position on the table, no orientation.\n - 2... | 1 |
{'name': 'ActivationChecker._check_all_lights_off@script.service.hue/resources/lib/lightgroup.py', 'description': 'Checks if ALL the lights in the given scene are off', 'signature': 'def _check_all_lights_off(self, scene_id, all_light_states):'}</s>{'name': 'cache_get@script.service.hue/resources/lib/kodiutils.py', 'de... | 0 |
{'name': 'get_symmetry_from_database@python/spglib/spglib.py', 'description': 'Return symmetry operations corresponding to a Hall symbol. If fails, return None.\n\nParameters\n----------\nhall_number : int\n The Hall symbol is given by the serial number in between 1 and 530.\n The definition of ``hall_number`` is... | 0 |
{'name': 'files@tasks/_inv/shell.py', 'description': "Determine a filelist\n\nParameters:\n base (str):\n Base path to start from\n\n wildcard (str):\n Glob to match against\n\n recursive (bool):\n Deep walk into the tree? Default: true\n\n prune (iterable):\n List of directory basenames to ignore.\n ... | 0 |
{'name': 'CosS3Client.get_vod_playlist@qcloud_cos/cos_client.py', 'description': "查询指定时间段播放列表文件\n\n:param Bucket(string): 存储桶名称.\n:param ChannelName(string): 直播通道名称.\n:param StartTime(int): 播放列表ts文件的起始时间,格式为unix时间戳.\n:param EndTime(int): 播放列表ts文件的结束时间,格式为unix时间戳.\n:param kwargs(dict): 设置请求headers.\n:return(string).\n\n... | 0 |
{'name': 'split_scopes@info_popup.py', 'description': 'Splits "foo, bar, baz" into ["foo", "bar", "baz"]', 'signature': 'def split_scopes(scopes):'}</s>{'name': 'SublimeHaskellShowType@types.py', 'description': 'DOCSTRING', 'base_classes': ['CommandWin.SublimeHaskellTextCommand'], 'methods': [{'name': 'SublimeHaskellSh... | 0 |
{'name': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p... | 0 |
{'name': 'TestDecode.testDecodeBadUTF8@src/tests/testXmlEncodingDecode.py', 'description': 'Ensure bad UTF-8 is flagged as such, but still decoded.', 'signature': 'def testDecodeBadUTF8(self):'}</s>{'name': 'MissingOutlineType@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['Warning'], 'meth... | 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>MQRCCF_SHORT_TIMER_ERROR = 3040 | 0 |
{'name': 'Wheel.update@scripts/pdns/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.py', 'description': 'Update the contents of a wheel in a generic way. The modifier should\nbe a callable which expects a dictionary argument: its keys are\narchive-entry paths, and its values are absolute filesystem paths\nwhere t... | 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>amount_screen_5 = "Fee" | 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': 'AbstractTransform.__call__@rising/transforms/abstract.py', 'description': 'Call super class with correct torch context\n\nArgs:\n *args: forwarded positional arguments\n **kwargs: forwarded keyword arguments\n\nReturns:\n Any: transformed data', 'signature': 'def __call__(self, *args, **kwargs) -> An... | 1 |
{'name': 'create_textured_principled_bsdf@io_scene_minecraft_json/import_minecraft_json.py', 'description': 'Create new material with `mat_name` and texture path `tex_path`\n ', 'signature': 'def create_textured_principled_bsdf(mat_name, tex_path):'}</s>DIRECTIONS = np.array([
"north",
"east",
"west",
... | 0 |
{'name': 'streaming_classify@pairtools/lib/parse.py', 'description': 'Parse input sam file into individual reads, pairs, walks,\nthen write to the outstream(s).\n\nAdditional kwargs:\n min_mapq,\n drop_readid,\n drop_seq,\n drop_sam,\n add_pair_index,\n add_columns, # comma-separated list\n report_... | 0 |
{'name': 'get_neutron_subnetpool_name@kuryr/lib/utils.py', 'description': 'Returns a Neutron subnetpool name.\n\n:param subnet_cidr: The subnetpool allocation cidr\n:returns: the Neutron subnetpool_name name formatted appropriately', 'signature': 'def get_neutron_subnetpool_name(subnet_cidr):'}</s>{'name': 'register_ke... | 0 |
{'name': 'identify_token@sqf/parser.py', 'description': 'The function that converts a token from tokenize to a BaseType.', 'signature': 'def identify_token(token):'}</s>{'name': 'IfDefResult@sqf/interpreter_types.py', 'description': 'DOCSTRING', 'base_classes': ['_Statement', 'InterpreterType'], 'methods': [{'name': 'I... | 0 |
{'name': 'ContentProcessor.add_markup@src/freetype/src/tools/docmaker/content.py', 'description': 'Add a new markup section.', 'signature': 'def add_markup(self):'}</s>re_source_block_formats = [re_source_block_format1, re_source_block_format2] | 0 |
{'name': 'build_badodabCV_kernel@sgmcmcjax/kernels.py', 'description': 'build BADODAB kernel with Control Variates\n\nArgs:\n dt (float): step size\n loglikelihood (Callable): log-likelihood for a single data point\n logprior (Callable): log-prior for a single data point\n data (Tuple): tuple of data. It sh... | 0 |
{'name': 'PacketFilter.set_limit@pf/filter.py', 'description': "Set hard limits on the memory pools used by Packet Filter.\n\n'limit' can be either one of the PF_LIMIT_* constants or a string; a\n'value' of UINT_MAX means unlimited. Raise PFError if the current pool\nsize exceeds the requested hard limit.", 'signature'... | 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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRCCF_SSL_CIPHER_SPEC_ERROR = 4092 | 0 |
{'name': 'NodeList.tell_update@shingetsu/node.py', 'description': 'Tell update other nodes.\n\nIf node is None, node is myself.', 'signature': 'def tell_update(self, cache, stamp="", id="", node=None):'}</s>search_lock = run_dir + "/touch.txt" | 0 |
{'name': 'ProcessFile@tools/cpplint.py', 'description': 'Does google-lint on a single file.\n\nArgs:\n filename: The name of the file to parse.\n\n vlevel: The level of errors to report. Every error of confidence\n >= verbose_level will be reported. 0 is a good default.\n\n extra_check_functions: An array of addi... | 0 |
{'name': 'Viewer.initialize@robopianist/viewer/viewer.py', 'description': 'Initialize the viewer.\n\nArgs:\n physics: Physics instance.\n renderer_instance: A renderer.Base instance.\n touchpad: A boolean, use input dedicated to touchpad.', 'signature': 'def initialize(self, physics, renderer_instance, touchpad):'}<... | 0 |
{'name': 'convert_date_col_into_multiple_col@eurybia/utils/utils.py', 'description': 'Transform datetime column into multiple columns\n - year\n - month\n - day\nDrop datetime column\nParameters\n----------\ndf: pd.Dataframe\n input DataFrame with datetime columns\nReturns\n-------\npd.Dataframe\n DataFra... | 0 |
{'name': 'main@tests/run_all_tests.py', 'description': 'Main function to parse arguments, set up the testing environment, and\nexecute tests.\n\nThis function performs the following steps:\n1. Parses command line arguments.\n2. Reads configuration from a JSON file if specified.\n3. Merges arguments from the JSON file a... | 0 |
{'name': 'list_members@twitter_to_sqlite/cli.py', 'description': 'Fetch lists - accepts one or more screen_name/list_slug identifiers', 'signature': 'def list_members(db_path, identifiers, auth, ids):'}</s>{'name': 'extract_json@twitter_to_sqlite/archive.py', 'description': 'DOCSTRING', 'code': 'def extract_json(conten... | 0 |
{'name': 'Confluence.add_attachment@confluence/client.py', 'description': 'Add a single attachment to an existing piece of content.\n\n:param content_id: the confluence content to add the attachment to.\n:param file_path: The full location of the file on the local system.\n:param file_name: Optionally the name to give ... | 0 |
{'name': 'SymbioticCC.run@lib/symbioticpy/symbiotic/transform.py', 'description': 'Compile the program, optimize and slice it and\nreturn the name of the created bitcode', 'signature': 'def run(self):'}</s>{'name': 'UnsuppWatch@lib/symbioticpy/symbiotic/transform.py', 'description': 'DOCSTRING', 'base_classes': ['Proce... | 0 |
{'name': 'data_generator@Mask_RCNN/mrcnn/model.py', 'description': 'A generator that returns images and corresponding target class ids,\nbounding box deltas, and masks.\n\ndataset: The Dataset object to pick data from\nconfig: The model config object\nshuffle: If True, shuffles the samples before every epoch\naugment: ... | 0 |
{'name': '_init@third_party/libassimp/port/PyAssimp/pyassimp/core.py', 'description': "Custom initialize() for C structs, adds safely accessible member functionality.\n\n:param target: set the object which receive the added methods. Useful when manipulating\npointers, to skip the intermediate 'contents' deferencing.", ... | 0 |
{'name': 'convert_inspirations@code/html/generate_static_website.py', 'description': ':param inspirations:\n:param entries:\n:return:', 'signature': 'def convert_inspirations(inspirations, entries):'}</s>{'name': 'get_config@code/utils/constants.py', 'description': ':param key:\n:return:', 'code': 'def get_config(key):... | 0 |
{'name': 'generate_files@scripts/update_api.py', 'description': 'Scan the api files in ``api_files`` and emit the relevant API files into\nthe output directories specified. If an output directory is set to ``None``\nthen the files for that language binding or module are not emitted.\n\nThe reason for this function inte... | 0 |
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ... | 0 |
{'name': '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': 'write_entry@code/utils/osg.py', 'description': ':param entry:\n:return:', 'signature': 'def write_entry(entry, overwrite=True):'}</s>{'name': 'EntryTransformer@code/utils/osg_parse.py', 'description': ' ', 'base_classes': ['lark.Transformer'], 'methods': [{'name': 'EntryTransformer.unquoted_value@code/util... | 0 |
{'name': 'PacketFilter.get_queues@pf/filter.py', 'description': 'Retrieve the currently loaded queues.\n\nReturn a tuple of PFQueue objects.', 'signature': 'def get_queues(self):'}</s>PFTM_PURGE = 21 | 0 |
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24... | 0 |
{'name': 'MeshElementField.place@python/taichi/lang/mesh.py', 'description': 'Declares mesh attributes for the mesh element in current mesh.\n\nArgs:\nmembers (Dict[str, Union[PrimitiveType, MatrixType]]): names and types for element attributes.\nreorder: True if reorders the internal memory for coalesced d... | 0 |
{'name': 'page_erase@tools/pydfu.py', 'description': 'Erases a single page.', 'signature': 'def page_erase(addr):'}</s>{'name': 'write_elements@tools/pydfu.py', 'description': 'Writes the indicated elements into the target memory,\nerasing as needed.', 'code': 'def write_elements(elements, mass_erase_used, progress=Non... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQDLV_AS_PARENT = 0 | 0 |
{'name': 'torch_exp_map@scratch/learning_util.py', 'description': 'Exp map for the vector v lying on the tangent space T_xM to \nthe point x in the manifold M.', 'signature': 'def torch_exp_map(x, v, c=1):'}</s>{'name': 'hyp_scale_exp@scratch/learning_util.py', 'description': 'Scalar mult using exp map approach.', 'cod... | 0 |
{'name': 'NewDatabase.write_db_to_matrices@premise/new_database.py', 'description': 'Exports the new database as a sparse matrix representation in csv files.\n\n:param filepath: path provided by the user to store the exported matrices.\nIf it is a string, the path is used as main directory from which\n"iam model" / "pa... | 0 |
{'name': '_summary@python/DisplayTests.py', 'description': 'Display a summary of a build.\n\nReturns a string representing part of a webpage.', 'signature': 'def _summary(req, type, revision, machine=None, buildType=None, timestamp=None):'}</s>{'name': '_getBuildObject@python/DisplayTests.py', 'description': 'Get the b... | 1 |
{'name': 'get_topo_file@oggm/utils/_downloads.py', 'description': "Path(s) to the DEM file(s) covering the desired extent.\n\nIf the needed files for covering the extent are not present, download them.\n\nThe default behavior is to try a list of DEM sources in order, and\nstop once the downloaded data is covering a lar... | 0 |
{'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': 'Sqrt@src/api/python/z3/z3.py', 'descr... | 0 |
{'name': 'GenericTemplateView.upload@nssmf/views.py', 'description': 'Upload a Generic Template by providing the content of the Generic Template.\nThe PUT method uploads the content of a Generic Template.', 'signature': 'def upload(self, request, *args, **kwargs):'}</s>ROOT_URLCONF = "free5gmano.urls" | 0 |
{'name': 'get_follows@weibo_scraper.py', 'description': ':param max_item_limit:\n:param name:\n:param uid:\n:param pages:\n:return:', 'signature': 'def get_follows(name: str = None, uid: str = None, pages: int = None, max_item_limit: int = None):'}</s>{'name': 'get_weibo_tweets@weibo_scraper.py', 'description': 'Get we... | 0 |
{'name': 'apply_mask@echopype/mask/api.py', 'description': 'Applies the provided mask(s) to the Sv variable ``var_name``\nin the provided Dataset ``source_ds``.\n\nThe code allows for these 3 cases of `source_ds` and `mask` dimensions:\n\n1) No channel in both `source_ds` and `mask`,\nbut they have matching `ping_time`... | 1 |
{'name': 'bustools_project@kb_python/count.py', 'description': 'Runs `bustools project`.\n\n bus_path: Path to BUS file to sort\n out_dir: Path to output directory\n map_path: Path to file containing source-to-destination mapping\n ecmap_path: Path to ecmap file, as generated by `kallisto bus`\n txnames_... | 0 |
{'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': 'TFMelGANGenerator.__init__@tensorflow_tts/models/melgan.py', 'description': 'Initialize TFMelGANGenerator module.\nArgs:\n config: config object of Melgan generator.', 'signature': 'def __init__(self, config, **kwargs):'}</s>{'name': 'TFResidualStack@tensorflow_tts/models/melgan.py', 'description': 'Tensor... | 1 |
{'name': 'drop_fields@peewee_migrate/auto.py', 'description': 'Generate migrations to remove fields.', 'signature': 'def drop_fields(model_type: TModelType, *fields: pw.Field, **kwargs) -> str:'}</s>{'name': 'diff_many@peewee_migrate/auto.py', 'description': 'Calculate changes for migrations from models2 to models1.', ... | 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': 'load_heterogeneous_data@HetSANN_MR/utils/process.py', 'description': 'Load data.', 'signature': 'def load_heterogeneous_data(dataset_str,'}</s>{'name': 'load_imdb@HetSANN_MR/utils/process.py', 'description': 'DOCSTRING', 'code': "def load_imdb(dataset=r'../data/imdb/IMDB_processed.mat', target_node=[0]):\n ... | 1 |
{'name': '_BuildBootableImage@tools/releasetools/common.py', 'description': "Build a bootable image from the specified sourcedir.\n\nTake a kernel, cmdline, and optionally a ramdisk directory from the input (in\n'sourcedir'), and turn them into a boot image. 'two_step_image' indicates if\nwe are building a two-step spe... | 0 |
{'name': 'download_setuptools@streaming/language_support/python/distribute_setup.py', 'description': "Download distribute from a specified location and return its filename\n\n`version` should be a valid distribute version number that is available\nas an egg for download under the `download_base` URL (which should end\n... | 0 |
{'name': 'test_print_full@tests/test_main.py', 'description': 'Test --print option for different types of inputs.', 'signature': 'def test_print_full(tmp_path: Path, capsys) -> None:'}</s>{'name': '__write_conda_environment_file@src/conda_devenv/devenv.py', 'description': 'DOCSTRING', 'code': 'def __write_conda_environ... | 0 |
{'name': 'ZiGate.decode_data@zigate/core.py', 'description': 'Decode raw packet message', 'signature': 'def decode_data(self, packet):'}</s>ACTIONS = {} | 0 |
{'name': 'main@src/build/__main__.py', 'description': 'Parse the CLI arguments and invoke the build process.\n\n:param cli_args: CLI arguments\n:param prog: Program name to show in help text', 'signature': 'def main(cli_args: Sequence[str], prog: str | None = None) -> None:'}</s>{'name': '_fs_supports_symlink@src/build... | 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': 'BaseImage.range_threshold@wand/image.py', 'description': "Applies soft & hard thresholding.\n\nFor a soft thresholding, parameters should be monotonically increasing:\n\n with Image(filename='text.png') as img:\n img.range_threshold(0.2, 0.4, 0.6, 0.8)\n\nFor a hard thresholding, parameters should b... | 0 |
{'name': 'term_to_binary@src/api/python/erlang.py', 'description': 'Encode Python types into Erlang terms in binary data', 'signature': 'def term_to_binary(term, compressed=False):'}</s>{'name': '_dict_to_binary@src/api/python/erlang.py', 'description': 'DOCSTRING', 'code': "def _dict_to_binary(term):\n length = len... | 0 |
{'name': 'blast@gget/gget_blast.py', 'description': "BLAST a nucleotide or amino acid sequence against any BLAST DB.\nArgs:\n - sequence Sequence (str) or path to FASTA file.\n (If more than one sequence in FASTA file, only the first will be submitted to BLAST.)\n - program 'blastn', 'blas... | 1 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQSUBTYPE_ADMIN = 2 | 0 |
{'name': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p... | 0 |
{'name': 'spike_directionality_matrix@pyspike/spike_directionality.py', 'description': 'Computes the spike directionality matrix for the given spike trains.\n\n:param spike_trains: List of spike trains.\n:type spike_trains: List of :class:`pyspike.SpikeTrain`\n:param normalize: Normalize by the number of spikes (multip... | 0 |
{'name': 'Client.do_peek@iredis/client.py', 'description': "PEEK command implementation.\n\nIt's a generator, will run different redis commands based on the key's\ntype, yields FormattedText once a command reached result.\n\nRedis current supported types:\n string, list, set, zset, hash and stream.", 'signature': 'd... | 0 |
{'name': 'create_readme@tools/make_readme.py', 'description': 'Creates the README.TXT file. ', 'signature': 'def create_readme():'}</s>{'name': 'get_readme_component@tools/make_readme.py', 'description': 'Loads a README file component. ', 'code': 'def get_readme_component(name):\n """ Loads a README file component. ""... | 1 |
{'name': 'HandGarble.Garble@ap2/fairplay3.py', 'description': 'Sizes at function ingress should be:\n20, 210, 35, 132, 21', 'signature': 'def Garble(self, buffer0: [], buffer1: [], buffer2: [], buffer3: [], buffer4: []):'}</s>static_source_2 = bytearray([0xEC, 0x4E, 0x27, 0x5E, 0xFD, 0xF2, 0xE8, 0x30, 0x97, 0xAE, 0x70,... | 0 |
{'name': 'prepare@joeynmt/prediction.py', 'description': 'Helper function for model and data loading.\n\n:param args: config args\n:param rank: ddp rank\n:param mode: execution mode', 'signature': 'def prepare(args: BaseConfig, rank: int,'}</s>{'name': 'token_accuracy@joeynmt/metrics.py', 'description': 'Compute the ac... | 0 |
{'name': 'createInstanceAgent@BlendNet/providers/aws/__init__.py', 'description': 'Creating a new instance for BlendNet Agent', 'signature': 'def createInstanceAgent(cfg):'}</s>{'name': 'checkDependencies@BlendNet/providers/aws/__init__.py', 'description': 'DOCSTRING', 'code': "def checkDependencies(settings):\n if ... | 0 |
{'name': 'refs@scripts/build_mod_ic.py', 'description': 'Generate val and ref labels.', 'signature': 'def refs(conf):'}</s>fab_pin1_offset = 0.8 | 0 |
{'name': 'TopLevelMixin.save@altair/vegalite/v3/api.py', 'description': "Save a chart to file in a variety of formats\n\nSupported formats are json, html, png, svg, pdf; the last three require\nthe altair_saver package to be installed.\n\nParameters\n----------\nfp : string filename or file-like object\n file in whi... | 0 |
{'name': 'CScript.GetSigOpCount@qa/rpc-tests/test_framework/script.py', 'description': 'Get the SigOp count.\n\nfAccurate - Accurately count CHECKMULTISIG, see BIP16 for details.\n\nNote that this is consensus-critical.', 'signature': 'def GetSigOpCount(self, fAccurate):'}</s>OP_VERNOTIF = CScriptOp(0x66) | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.